hubspot-api-client 20.0.0.pre.beta.1 → 20.0.0

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 (180) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -1
  3. data/Gemfile.lock +2 -2
  4. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +91 -22
  5. data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +25 -17
  6. data/lib/hubspot/codegen/crm/companies/api/search_api.rb +4 -0
  7. data/lib/hubspot/codegen/crm/companies/models/association_spec.rb +12 -0
  8. data/lib/hubspot/codegen/crm/companies/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  9. data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +1 -0
  10. data/lib/hubspot/codegen/crm/companies/models/public_associations_for_object.rb +10 -0
  11. data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +2 -0
  12. data/lib/hubspot/codegen/crm/companies/models/public_object_id.rb +6 -0
  13. data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +10 -1
  14. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +4 -0
  15. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_for_create.rb +250 -0
  16. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_upsert.rb +4 -0
  17. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +2 -10
  18. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +2 -10
  19. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +10 -1
  20. data/lib/hubspot/codegen/crm/companies/models/simple_public_upsert_object.rb +10 -1
  21. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +163 -26
  22. data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +27 -19
  23. data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +4 -0
  24. data/lib/hubspot/codegen/crm/contacts/models/association_spec.rb +10 -0
  25. data/lib/hubspot/codegen/crm/contacts/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  26. data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +1 -0
  27. data/lib/hubspot/codegen/crm/contacts/models/public_associations_for_object.rb +10 -0
  28. data/lib/hubspot/codegen/crm/contacts/models/public_gdpr_delete_input.rb +2 -0
  29. data/lib/hubspot/codegen/crm/contacts/models/public_object_id.rb +5 -0
  30. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +10 -1
  31. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +2 -0
  32. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_for_create.rb +250 -0
  33. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_upsert.rb +1 -0
  34. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +1 -10
  35. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input_for_create.rb +1 -10
  36. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +13 -1
  37. data/lib/hubspot/codegen/crm/contacts/models/simple_public_upsert_object.rb +10 -1
  38. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +67 -0
  39. data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +11 -9
  40. data/lib/hubspot/codegen/crm/deals/models/association_spec.rb +10 -0
  41. data/lib/hubspot/codegen/crm/deals/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  42. data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +1 -0
  43. data/lib/hubspot/codegen/crm/deals/models/public_associations_for_object.rb +10 -0
  44. data/lib/hubspot/codegen/crm/deals/models/public_object_id.rb +5 -0
  45. data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +10 -1
  46. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +2 -0
  47. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input_for_create.rb +250 -0
  48. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input_upsert.rb +1 -0
  49. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +1 -10
  50. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input_for_create.rb +1 -10
  51. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +10 -1
  52. data/lib/hubspot/codegen/crm/deals/models/simple_public_upsert_object.rb +10 -1
  53. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +3 -2
  54. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +2 -0
  55. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +1 -0
  56. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +10 -1
  57. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +10 -1
  58. data/lib/hubspot/codegen/crm/objects/goals/api/basic_api.rb +1 -0
  59. data/lib/hubspot/codegen/crm/objects/goals/api/batch_api.rb +11 -9
  60. data/lib/hubspot/codegen/crm/objects/goals/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  61. data/lib/hubspot/codegen/crm/objects/goals/models/batch_read_input_simple_public_object_id.rb +1 -0
  62. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object.rb +10 -1
  63. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input.rb +2 -0
  64. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_for_create.rb +252 -0
  65. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_upsert.rb +1 -0
  66. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_input.rb +1 -10
  67. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_input_for_create.rb +1 -15
  68. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_with_associations.rb +10 -1
  69. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_upsert_object.rb +10 -1
  70. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +5 -4
  71. data/lib/hubspot/codegen/crm/products/api/batch_api.rb +11 -9
  72. data/lib/hubspot/codegen/crm/products/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  73. data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +1 -1
  74. data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +10 -1
  75. data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input_for_create.rb +250 -0
  76. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +1 -10
  77. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input_for_create.rb +6 -10
  78. data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +10 -1
  79. data/lib/hubspot/codegen/crm/products/models/simple_public_upsert_object.rb +10 -1
  80. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +73 -4
  81. data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +17 -9
  82. data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +4 -0
  83. data/lib/hubspot/codegen/crm/tickets/models/association_spec.rb +10 -0
  84. data/lib/hubspot/codegen/crm/tickets/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  85. data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +1 -0
  86. data/lib/hubspot/codegen/crm/tickets/models/public_associations_for_object.rb +10 -0
  87. data/lib/hubspot/codegen/crm/tickets/models/public_object_id.rb +5 -0
  88. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +10 -1
  89. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +2 -0
  90. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input_for_create.rb +250 -0
  91. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input_upsert.rb +1 -0
  92. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +1 -10
  93. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input_for_create.rb +1 -10
  94. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +10 -1
  95. data/lib/hubspot/codegen/crm/tickets/models/simple_public_upsert_object.rb +10 -1
  96. data/lib/hubspot/codegen/files/api/files_api.rb +144 -104
  97. data/lib/hubspot/codegen/files/api/folders_api.rb +142 -57
  98. data/lib/hubspot/codegen/files/api_client.rb +1 -1
  99. data/lib/hubspot/codegen/files/api_error.rb +1 -1
  100. data/lib/hubspot/codegen/files/configuration.rb +1 -1
  101. data/lib/hubspot/codegen/files/models/collection_response_file.rb +2 -1
  102. data/lib/hubspot/codegen/files/models/collection_response_folder.rb +1 -1
  103. data/lib/hubspot/codegen/files/models/error.rb +1 -1
  104. data/lib/hubspot/codegen/files/models/error_detail.rb +1 -1
  105. data/lib/hubspot/codegen/files/models/file.rb +33 -14
  106. data/lib/hubspot/codegen/files/models/file_action_response.rb +1 -1
  107. data/lib/hubspot/codegen/files/models/file_stat.rb +1 -1
  108. data/lib/hubspot/codegen/files/models/file_update_input.rb +15 -5
  109. data/lib/hubspot/codegen/files/models/folder.rb +12 -12
  110. data/lib/hubspot/codegen/files/models/folder_action_response.rb +1 -1
  111. data/lib/hubspot/codegen/files/models/folder_input.rb +2 -1
  112. data/lib/hubspot/codegen/files/models/folder_update_input.rb +6 -20
  113. data/lib/hubspot/codegen/files/models/folder_update_input_with_id.rb +244 -0
  114. data/lib/hubspot/codegen/files/models/folder_update_task_locator.rb +2 -1
  115. data/lib/hubspot/codegen/files/models/import_from_url_input.rb +13 -4
  116. data/lib/hubspot/codegen/files/models/import_from_url_task_locator.rb +2 -1
  117. data/lib/hubspot/codegen/files/models/next_page.rb +1 -1
  118. data/lib/hubspot/codegen/files/models/paging.rb +1 -1
  119. data/lib/hubspot/codegen/files/models/previous_page.rb +1 -1
  120. data/lib/hubspot/codegen/files/models/signed_url.rb +18 -17
  121. data/lib/hubspot/codegen/files/models/standard_error.rb +1 -1
  122. data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +7 -3
  123. data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +13 -5
  124. data/lib/hubspot/codegen/oauth/api/tokens_api.rb +5 -1
  125. data/lib/hubspot/codegen/oauth/api_client.rb +2 -2
  126. data/lib/hubspot/codegen/oauth/api_error.rb +1 -1
  127. data/lib/hubspot/codegen/oauth/configuration.rb +1 -1
  128. data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +4 -4
  129. data/lib/hubspot/codegen/oauth/models/error.rb +4 -4
  130. data/lib/hubspot/codegen/oauth/models/error_detail.rb +4 -4
  131. data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +4 -4
  132. data/lib/hubspot/codegen/oauth/models/token_response_if.rb +4 -4
  133. data/lib/hubspot/discovery/cms/client.rb +0 -1
  134. data/lib/hubspot/discovery/crm/companies/client.rb +0 -1
  135. data/lib/hubspot/discovery/crm/contacts/client.rb +0 -2
  136. data/lib/hubspot/discovery/crm/deals/client.rb +0 -1
  137. data/lib/hubspot/discovery/crm/tickets/client.rb +0 -1
  138. data/lib/hubspot/discovery/oauth/api/access_tokens_api.rb +1 -1
  139. data/lib/hubspot/discovery/oauth/api/refresh_tokens_api.rb +1 -1
  140. data/lib/hubspot/discovery/oauth/api/tokens_api.rb +1 -1
  141. data/lib/hubspot/discovery/oauth/client.rb +1 -1
  142. data/lib/hubspot/helpers/camel_case.rb +0 -4
  143. data/lib/hubspot/version.rb +1 -1
  144. data/spec/discovery/cms/client_spec.rb +0 -1
  145. data/spec/discovery/crm/companies/basic_api_spec.rb +1 -0
  146. data/spec/discovery/crm/contacts/basic_api_spec.rb +1 -0
  147. data/spec/discovery/crm/deals/basic_api_spec.rb +1 -0
  148. data/spec/discovery/crm/tickets/basic_api_spec.rb +1 -0
  149. data/spec/discovery/files/files_api_spec.rb +2 -1
  150. data/spec/discovery/files/folders_api_spec.rb +1 -0
  151. data/spec/discovery/oauth/access_tokens_api_spec.rb +1 -1
  152. data/spec/discovery/oauth/refresh_tokens_api_spec.rb +1 -1
  153. data/spec/discovery/oauth/tokens_api_spec.rb +1 -1
  154. metadata +17 -42
  155. data/lib/hubspot/codegen/cms/performance/api/public_performance_api.rb +0 -188
  156. data/lib/hubspot/codegen/cms/performance/api_client.rb +0 -410
  157. data/lib/hubspot/codegen/cms/performance/api_error.rb +0 -61
  158. data/lib/hubspot/codegen/cms/performance/configuration.rb +0 -287
  159. data/lib/hubspot/codegen/cms/performance/models/error.rb +0 -305
  160. data/lib/hubspot/codegen/cms/performance/models/error_detail.rb +0 -271
  161. data/lib/hubspot/codegen/cms/performance/models/performance_view.rb +0 -526
  162. data/lib/hubspot/codegen/cms/performance/models/public_performance_response.rb +0 -345
  163. data/lib/hubspot/codegen/crm/companies/api/merge_api.rb +0 -92
  164. data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +0 -94
  165. data/lib/hubspot/codegen/crm/contacts/api/merge_api.rb +0 -92
  166. data/lib/hubspot/codegen/crm/deals/api/merge_api.rb +0 -92
  167. data/lib/hubspot/codegen/crm/tickets/api/merge_api.rb +0 -92
  168. data/lib/hubspot/discovery/cms/performance/api/public_performance_api.rb +0 -13
  169. data/lib/hubspot/discovery/cms/performance/client.rb +0 -19
  170. data/lib/hubspot/discovery/crm/companies/api/merge_api.rb +0 -13
  171. data/lib/hubspot/discovery/crm/contacts/api/gdpr_api.rb +0 -13
  172. data/lib/hubspot/discovery/crm/contacts/api/merge_api.rb +0 -13
  173. data/lib/hubspot/discovery/crm/deals/api/merge_api.rb +0 -13
  174. data/lib/hubspot/discovery/crm/tickets/api/merge_api.rb +0 -13
  175. data/spec/discovery/cms/performance/public_performance_api_spec.rb +0 -8
  176. data/spec/discovery/crm/companies/merge_api_spec.rb +0 -7
  177. data/spec/discovery/crm/contacts/gdpr_api_spec.rb +0 -7
  178. data/spec/discovery/crm/contacts/merge_api_spec.rb +0 -7
  179. data/spec/discovery/crm/deals/merge_api_spec.rb +0 -7
  180. data/spec/discovery/crm/tickets/merge_api_spec.rb +0 -7
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubspot-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 20.0.0.pre.beta.1
4
+ version: 20.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - HubSpot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-09 00:00:00.000000000 Z
11
+ date: 2025-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -428,14 +428,6 @@ files:
428
428
  - lib/hubspot/codegen/cms/pages/models/version_content_folder.rb
429
429
  - lib/hubspot/codegen/cms/pages/models/version_page.rb
430
430
  - lib/hubspot/codegen/cms/pages/models/version_user.rb
431
- - lib/hubspot/codegen/cms/performance/api/public_performance_api.rb
432
- - lib/hubspot/codegen/cms/performance/api_client.rb
433
- - lib/hubspot/codegen/cms/performance/api_error.rb
434
- - lib/hubspot/codegen/cms/performance/configuration.rb
435
- - lib/hubspot/codegen/cms/performance/models/error.rb
436
- - lib/hubspot/codegen/cms/performance/models/error_detail.rb
437
- - lib/hubspot/codegen/cms/performance/models/performance_view.rb
438
- - lib/hubspot/codegen/cms/performance/models/public_performance_response.rb
439
431
  - lib/hubspot/codegen/cms/site_search/api/public_api.rb
440
432
  - lib/hubspot/codegen/cms/site_search/api_client.rb
441
433
  - lib/hubspot/codegen/cms/site_search/api_error.rb
@@ -622,7 +614,6 @@ files:
622
614
  - lib/hubspot/codegen/crm/commerce/invoices/models/value_with_timestamp.rb
623
615
  - lib/hubspot/codegen/crm/companies/api/basic_api.rb
624
616
  - lib/hubspot/codegen/crm/companies/api/batch_api.rb
625
- - lib/hubspot/codegen/crm/companies/api/merge_api.rb
626
617
  - lib/hubspot/codegen/crm/companies/api/search_api.rb
627
618
  - lib/hubspot/codegen/crm/companies/api_client.rb
628
619
  - lib/hubspot/codegen/crm/companies/api_error.rb
@@ -630,9 +621,9 @@ files:
630
621
  - lib/hubspot/codegen/crm/companies/models/associated_id.rb
631
622
  - lib/hubspot/codegen/crm/companies/models/association_spec.rb
632
623
  - lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_batch_input.rb
624
+ - lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_batch_input_for_create.rb
633
625
  - lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_batch_input_upsert.rb
634
626
  - lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_id.rb
635
- - lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_input_for_create.rb
636
627
  - lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb
637
628
  - lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object.rb
638
629
  - lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object_with_errors.rb
@@ -655,6 +646,7 @@ files:
655
646
  - lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb
656
647
  - lib/hubspot/codegen/crm/companies/models/simple_public_object.rb
657
648
  - lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb
649
+ - lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_for_create.rb
658
650
  - lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_upsert.rb
659
651
  - lib/hubspot/codegen/crm/companies/models/simple_public_object_id.rb
660
652
  - lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb
@@ -665,8 +657,6 @@ files:
665
657
  - lib/hubspot/codegen/crm/companies/models/value_with_timestamp.rb
666
658
  - lib/hubspot/codegen/crm/contacts/api/basic_api.rb
667
659
  - lib/hubspot/codegen/crm/contacts/api/batch_api.rb
668
- - lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb
669
- - lib/hubspot/codegen/crm/contacts/api/merge_api.rb
670
660
  - lib/hubspot/codegen/crm/contacts/api/search_api.rb
671
661
  - lib/hubspot/codegen/crm/contacts/api_client.rb
672
662
  - lib/hubspot/codegen/crm/contacts/api_error.rb
@@ -674,9 +664,9 @@ files:
674
664
  - lib/hubspot/codegen/crm/contacts/models/associated_id.rb
675
665
  - lib/hubspot/codegen/crm/contacts/models/association_spec.rb
676
666
  - lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input.rb
667
+ - lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input_for_create.rb
677
668
  - lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input_upsert.rb
678
669
  - lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_id.rb
679
- - lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_input_for_create.rb
680
670
  - lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb
681
671
  - lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object.rb
682
672
  - lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object_with_errors.rb
@@ -700,6 +690,7 @@ files:
700
690
  - lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb
701
691
  - lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb
702
692
  - lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb
693
+ - lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_for_create.rb
703
694
  - lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_upsert.rb
704
695
  - lib/hubspot/codegen/crm/contacts/models/simple_public_object_id.rb
705
696
  - lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb
@@ -710,7 +701,6 @@ files:
710
701
  - lib/hubspot/codegen/crm/contacts/models/value_with_timestamp.rb
711
702
  - lib/hubspot/codegen/crm/deals/api/basic_api.rb
712
703
  - lib/hubspot/codegen/crm/deals/api/batch_api.rb
713
- - lib/hubspot/codegen/crm/deals/api/merge_api.rb
714
704
  - lib/hubspot/codegen/crm/deals/api/search_api.rb
715
705
  - lib/hubspot/codegen/crm/deals/api_client.rb
716
706
  - lib/hubspot/codegen/crm/deals/api_error.rb
@@ -718,9 +708,9 @@ files:
718
708
  - lib/hubspot/codegen/crm/deals/models/associated_id.rb
719
709
  - lib/hubspot/codegen/crm/deals/models/association_spec.rb
720
710
  - lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input.rb
711
+ - lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input_for_create.rb
721
712
  - lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input_upsert.rb
722
713
  - lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_id.rb
723
- - lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_input_for_create.rb
724
714
  - lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb
725
715
  - lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object.rb
726
716
  - lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object_with_errors.rb
@@ -743,6 +733,7 @@ files:
743
733
  - lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb
744
734
  - lib/hubspot/codegen/crm/deals/models/simple_public_object.rb
745
735
  - lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb
736
+ - lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input_for_create.rb
746
737
  - lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input_upsert.rb
747
738
  - lib/hubspot/codegen/crm/deals/models/simple_public_object_id.rb
748
739
  - lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb
@@ -1179,9 +1170,9 @@ files:
1179
1170
  - lib/hubspot/codegen/crm/objects/goals/models/associated_id.rb
1180
1171
  - lib/hubspot/codegen/crm/objects/goals/models/association_spec.rb
1181
1172
  - lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_batch_input.rb
1173
+ - lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_batch_input_for_create.rb
1182
1174
  - lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_batch_input_upsert.rb
1183
1175
  - lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_id.rb
1184
- - lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_input_for_create.rb
1185
1176
  - lib/hubspot/codegen/crm/objects/goals/models/batch_read_input_simple_public_object_id.rb
1186
1177
  - lib/hubspot/codegen/crm/objects/goals/models/batch_response_simple_public_object.rb
1187
1178
  - lib/hubspot/codegen/crm/objects/goals/models/batch_response_simple_public_object_with_errors.rb
@@ -1203,6 +1194,7 @@ files:
1203
1194
  - lib/hubspot/codegen/crm/objects/goals/models/public_object_search_request.rb
1204
1195
  - lib/hubspot/codegen/crm/objects/goals/models/simple_public_object.rb
1205
1196
  - lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input.rb
1197
+ - lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_for_create.rb
1206
1198
  - lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_upsert.rb
1207
1199
  - lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_id.rb
1208
1200
  - lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_input.rb
@@ -1538,9 +1530,9 @@ files:
1538
1530
  - lib/hubspot/codegen/crm/products/models/associated_id.rb
1539
1531
  - lib/hubspot/codegen/crm/products/models/association_spec.rb
1540
1532
  - lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input.rb
1533
+ - lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input_for_create.rb
1541
1534
  - lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input_upsert.rb
1542
1535
  - lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_id.rb
1543
- - lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_input_for_create.rb
1544
1536
  - lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb
1545
1537
  - lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object.rb
1546
1538
  - lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object_with_errors.rb
@@ -1562,6 +1554,7 @@ files:
1562
1554
  - lib/hubspot/codegen/crm/products/models/public_object_search_request.rb
1563
1555
  - lib/hubspot/codegen/crm/products/models/simple_public_object.rb
1564
1556
  - lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb
1557
+ - lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input_for_create.rb
1565
1558
  - lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input_upsert.rb
1566
1559
  - lib/hubspot/codegen/crm/products/models/simple_public_object_id.rb
1567
1560
  - lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb
@@ -1659,7 +1652,6 @@ files:
1659
1652
  - lib/hubspot/codegen/crm/schemas/models/property_modification_metadata.rb
1660
1653
  - lib/hubspot/codegen/crm/tickets/api/basic_api.rb
1661
1654
  - lib/hubspot/codegen/crm/tickets/api/batch_api.rb
1662
- - lib/hubspot/codegen/crm/tickets/api/merge_api.rb
1663
1655
  - lib/hubspot/codegen/crm/tickets/api/search_api.rb
1664
1656
  - lib/hubspot/codegen/crm/tickets/api_client.rb
1665
1657
  - lib/hubspot/codegen/crm/tickets/api_error.rb
@@ -1667,9 +1659,9 @@ files:
1667
1659
  - lib/hubspot/codegen/crm/tickets/models/associated_id.rb
1668
1660
  - lib/hubspot/codegen/crm/tickets/models/association_spec.rb
1669
1661
  - lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input.rb
1662
+ - lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input_for_create.rb
1670
1663
  - lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input_upsert.rb
1671
1664
  - lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_id.rb
1672
- - lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_input_for_create.rb
1673
1665
  - lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb
1674
1666
  - lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object.rb
1675
1667
  - lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object_with_errors.rb
@@ -1692,6 +1684,7 @@ files:
1692
1684
  - lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb
1693
1685
  - lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb
1694
1686
  - lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb
1687
+ - lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input_for_create.rb
1695
1688
  - lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input_upsert.rb
1696
1689
  - lib/hubspot/codegen/crm/tickets/models/simple_public_object_id.rb
1697
1690
  - lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb
@@ -1761,6 +1754,7 @@ files:
1761
1754
  - lib/hubspot/codegen/files/models/folder_action_response.rb
1762
1755
  - lib/hubspot/codegen/files/models/folder_input.rb
1763
1756
  - lib/hubspot/codegen/files/models/folder_update_input.rb
1757
+ - lib/hubspot/codegen/files/models/folder_update_input_with_id.rb
1764
1758
  - lib/hubspot/codegen/files/models/folder_update_task_locator.rb
1765
1759
  - lib/hubspot/codegen/files/models/import_from_url_input.rb
1766
1760
  - lib/hubspot/codegen/files/models/import_from_url_task_locator.rb
@@ -2021,8 +2015,6 @@ files:
2021
2015
  - lib/hubspot/discovery/cms/pages/api/landing_pages_api.rb
2022
2016
  - lib/hubspot/discovery/cms/pages/api/site_pages_api.rb
2023
2017
  - lib/hubspot/discovery/cms/pages/client.rb
2024
- - lib/hubspot/discovery/cms/performance/api/public_performance_api.rb
2025
- - lib/hubspot/discovery/cms/performance/client.rb
2026
2018
  - lib/hubspot/discovery/cms/site_search/api/public_api.rb
2027
2019
  - lib/hubspot/discovery/cms/site_search/client.rb
2028
2020
  - lib/hubspot/discovery/cms/source_code/api/content_api.rb
@@ -2057,18 +2049,14 @@ files:
2057
2049
  - lib/hubspot/discovery/crm/commerce/invoices/client.rb
2058
2050
  - lib/hubspot/discovery/crm/companies/api/basic_api.rb
2059
2051
  - lib/hubspot/discovery/crm/companies/api/batch_api.rb
2060
- - lib/hubspot/discovery/crm/companies/api/merge_api.rb
2061
2052
  - lib/hubspot/discovery/crm/companies/api/search_api.rb
2062
2053
  - lib/hubspot/discovery/crm/companies/client.rb
2063
2054
  - lib/hubspot/discovery/crm/contacts/api/basic_api.rb
2064
2055
  - lib/hubspot/discovery/crm/contacts/api/batch_api.rb
2065
- - lib/hubspot/discovery/crm/contacts/api/gdpr_api.rb
2066
- - lib/hubspot/discovery/crm/contacts/api/merge_api.rb
2067
2056
  - lib/hubspot/discovery/crm/contacts/api/search_api.rb
2068
2057
  - lib/hubspot/discovery/crm/contacts/client.rb
2069
2058
  - lib/hubspot/discovery/crm/deals/api/basic_api.rb
2070
2059
  - lib/hubspot/discovery/crm/deals/api/batch_api.rb
2071
- - lib/hubspot/discovery/crm/deals/api/merge_api.rb
2072
2060
  - lib/hubspot/discovery/crm/deals/api/search_api.rb
2073
2061
  - lib/hubspot/discovery/crm/deals/client.rb
2074
2062
  - lib/hubspot/discovery/crm/exports/api/public_exports_api.rb
@@ -2168,7 +2156,6 @@ files:
2168
2156
  - lib/hubspot/discovery/crm/schemas/client.rb
2169
2157
  - lib/hubspot/discovery/crm/tickets/api/basic_api.rb
2170
2158
  - lib/hubspot/discovery/crm/tickets/api/batch_api.rb
2171
- - lib/hubspot/discovery/crm/tickets/api/merge_api.rb
2172
2159
  - lib/hubspot/discovery/crm/tickets/api/search_api.rb
2173
2160
  - lib/hubspot/discovery/crm/tickets/client.rb
2174
2161
  - lib/hubspot/discovery/crm/timeline/api/events_api.rb
@@ -2249,7 +2236,6 @@ files:
2249
2236
  - spec/discovery/cms/hubdb/tables_api_spec.rb
2250
2237
  - spec/discovery/cms/pages/landing_pages_api_spec.rb
2251
2238
  - spec/discovery/cms/pages/site_pages_api_spec.rb
2252
- - spec/discovery/cms/performance/public_performance_api_spec.rb
2253
2239
  - spec/discovery/cms/site-search/public_api_spec.rb
2254
2240
  - spec/discovery/cms/source-code/content_api_spec.rb
2255
2241
  - spec/discovery/cms/source-code/extract_api_spec.rb
@@ -2275,16 +2261,12 @@ files:
2275
2261
  - spec/discovery/crm/commerce/invoices/search_api_spec.rb
2276
2262
  - spec/discovery/crm/companies/basic_api_spec.rb
2277
2263
  - spec/discovery/crm/companies/batch_api_spec.rb
2278
- - spec/discovery/crm/companies/merge_api_spec.rb
2279
2264
  - spec/discovery/crm/companies/search_api_spec.rb
2280
2265
  - spec/discovery/crm/contacts/basic_api_spec.rb
2281
2266
  - spec/discovery/crm/contacts/batch_api_spec.rb
2282
- - spec/discovery/crm/contacts/gdpr_api_spec.rb
2283
- - spec/discovery/crm/contacts/merge_api_spec.rb
2284
2267
  - spec/discovery/crm/contacts/search_api_spec.rb
2285
2268
  - spec/discovery/crm/deals/basic_api_spec.rb
2286
2269
  - spec/discovery/crm/deals/batch_api_spec.rb
2287
- - spec/discovery/crm/deals/merge_api_spec.rb
2288
2270
  - spec/discovery/crm/deals/search_api_spec.rb
2289
2271
  - spec/discovery/crm/exports/public_exports_api_spec.rb
2290
2272
  - spec/discovery/crm/extensions/calling/channel_connection_settings_api_spec.rb
@@ -2358,7 +2340,6 @@ files:
2358
2340
  - spec/discovery/crm/schemas/core_api_spec.rb
2359
2341
  - spec/discovery/crm/tickets/basic_api_spec.rb
2360
2342
  - spec/discovery/crm/tickets/batch_api_spec.rb
2361
- - spec/discovery/crm/tickets/merge_api_spec.rb
2362
2343
  - spec/discovery/crm/tickets/search_api_spec.rb
2363
2344
  - spec/discovery/crm/timeline/events_api_spec.rb
2364
2345
  - spec/discovery/crm/timeline/templates_api_spec.rb
@@ -2413,9 +2394,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
2413
2394
  version: '2.7'
2414
2395
  required_rubygems_version: !ruby/object:Gem::Requirement
2415
2396
  requirements:
2416
- - - ">"
2397
+ - - ">="
2417
2398
  - !ruby/object:Gem::Version
2418
- version: 1.3.1
2399
+ version: '0'
2419
2400
  requirements: []
2420
2401
  rubygems_version: 3.2.3
2421
2402
  signing_key:
@@ -2438,7 +2419,6 @@ test_files:
2438
2419
  - spec/discovery/crm/commerce/invoices/basic_api_spec.rb
2439
2420
  - spec/discovery/crm/commerce/invoices/batch_api_spec.rb
2440
2421
  - spec/discovery/crm/tickets/search_api_spec.rb
2441
- - spec/discovery/crm/tickets/merge_api_spec.rb
2442
2422
  - spec/discovery/crm/tickets/basic_api_spec.rb
2443
2423
  - spec/discovery/crm/tickets/batch_api_spec.rb
2444
2424
  - spec/discovery/crm/associations/client_spec.rb
@@ -2462,9 +2442,7 @@ test_files:
2462
2442
  - spec/discovery/crm/quotes/basic_api_spec.rb
2463
2443
  - spec/discovery/crm/quotes/batch_api_spec.rb
2464
2444
  - spec/discovery/crm/contacts/search_api_spec.rb
2465
- - spec/discovery/crm/contacts/merge_api_spec.rb
2466
2445
  - spec/discovery/crm/contacts/basic_api_spec.rb
2467
- - spec/discovery/crm/contacts/gdpr_api_spec.rb
2468
2446
  - spec/discovery/crm/contacts/batch_api_spec.rb
2469
2447
  - spec/discovery/crm/objects/postal_mail/search_api_spec.rb
2470
2448
  - spec/discovery/crm/objects/postal_mail/basic_api_spec.rb
@@ -2505,7 +2483,6 @@ test_files:
2505
2483
  - spec/discovery/crm/objects/communications/basic_api_spec.rb
2506
2484
  - spec/discovery/crm/objects/communications/batch_api_spec.rb
2507
2485
  - spec/discovery/crm/deals/search_api_spec.rb
2508
- - spec/discovery/crm/deals/merge_api_spec.rb
2509
2486
  - spec/discovery/crm/deals/basic_api_spec.rb
2510
2487
  - spec/discovery/crm/deals/batch_api_spec.rb
2511
2488
  - spec/discovery/crm/pipelines/pipeline_stage_audits_api_spec.rb
@@ -2534,7 +2511,6 @@ test_files:
2534
2511
  - spec/discovery/crm/timeline/events_api_spec.rb
2535
2512
  - spec/discovery/crm/timeline/templates_api_spec.rb
2536
2513
  - spec/discovery/crm/companies/search_api_spec.rb
2537
- - spec/discovery/crm/companies/merge_api_spec.rb
2538
2514
  - spec/discovery/crm/companies/basic_api_spec.rb
2539
2515
  - spec/discovery/crm/companies/batch_api_spec.rb
2540
2516
  - spec/discovery/base_module_client_spec.rb
@@ -2556,7 +2532,6 @@ test_files:
2556
2532
  - spec/discovery/cms/source-code/metadata_api_spec.rb
2557
2533
  - spec/discovery/cms/source-code/validation_api_spec.rb
2558
2534
  - spec/discovery/cms/source-code/content_api_spec.rb
2559
- - spec/discovery/cms/performance/public_performance_api_spec.rb
2560
2535
  - spec/discovery/cms/pages/landing_pages_api_spec.rb
2561
2536
  - spec/discovery/cms/pages/site_pages_api_spec.rb
2562
2537
  - spec/discovery/conversations/visitor-identification/generate_api_spec.rb
@@ -1,188 +0,0 @@
1
- =begin
2
- #CMS Performance
3
-
4
- #Use these endpoints to get a time series view of your website's performance.
5
-
6
- The version of the OpenAPI document: v3
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.2.1
10
-
11
- =end
12
-
13
- require 'cgi'
14
-
15
- module Hubspot
16
- module Cms
17
- module Performance
18
- class PublicPerformanceApi
19
- attr_accessor :api_client
20
-
21
- def initialize(api_client = ApiClient.default)
22
- @api_client = api_client
23
- end
24
- # View your website's performance.
25
- # Returns time series data website performance data for the given domain and/or path.
26
- # @param [Hash] opts the optional parameters
27
- # @option opts [String] :domain The domain to search return data for.
28
- # @option opts [String] :path The url path of the domain to return data for.
29
- # @option opts [Boolean] :pad Specifies whether the time series data should have empty intervals if performance data is not present to create a continuous set.
30
- # @option opts [Boolean] :sum Specifies whether the time series data should be summated for the given period. Defaults to false.
31
- # @option opts [String] :period A relative period to return time series data for. This value is ignored if start and/or end are provided. Valid periods: [15m, 30m, 1h, 4h, 12h, 1d, 1w]
32
- # @option opts [String] :interval The time series interval to group data by. Valid intervals: [1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w]
33
- # @option opts [Integer] :start A timestamp in milliseconds that indicates the start of the time period.
34
- # @option opts [Integer] :_end A timestamp in milliseconds that indicates the end of the time period.
35
- # @return [PublicPerformanceResponse]
36
- def get_page(opts = {})
37
- data, _status_code, _headers = get_page_with_http_info(opts)
38
- data
39
- end
40
-
41
- # View your website's performance.
42
- # Returns time series data website performance data for the given domain and/or path.
43
- # @param [Hash] opts the optional parameters
44
- # @option opts [String] :domain The domain to search return data for.
45
- # @option opts [String] :path The url path of the domain to return data for.
46
- # @option opts [Boolean] :pad Specifies whether the time series data should have empty intervals if performance data is not present to create a continuous set.
47
- # @option opts [Boolean] :sum Specifies whether the time series data should be summated for the given period. Defaults to false.
48
- # @option opts [String] :period A relative period to return time series data for. This value is ignored if start and/or end are provided. Valid periods: [15m, 30m, 1h, 4h, 12h, 1d, 1w]
49
- # @option opts [String] :interval The time series interval to group data by. Valid intervals: [1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w]
50
- # @option opts [Integer] :start A timestamp in milliseconds that indicates the start of the time period.
51
- # @option opts [Integer] :_end A timestamp in milliseconds that indicates the end of the time period.
52
- # @return [Array<(PublicPerformanceResponse, Integer, Hash)>] PublicPerformanceResponse data, response status code and response headers
53
- def get_page_with_http_info(opts = {})
54
- if @api_client.config.debugging
55
- @api_client.config.logger.debug 'Calling API: PublicPerformanceApi.get_page ...'
56
- end
57
- # resource path
58
- local_var_path = '/cms/v3/performance/'
59
-
60
- # query parameters
61
- query_params = opts[:query_params] || {}
62
- query_params[:'domain'] = opts[:'domain'] if !opts[:'domain'].nil?
63
- query_params[:'path'] = opts[:'path'] if !opts[:'path'].nil?
64
- query_params[:'pad'] = opts[:'pad'] if !opts[:'pad'].nil?
65
- query_params[:'sum'] = opts[:'sum'] if !opts[:'sum'].nil?
66
- query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?
67
- query_params[:'interval'] = opts[:'interval'] if !opts[:'interval'].nil?
68
- query_params[:'start'] = opts[:'start'] if !opts[:'start'].nil?
69
- query_params[:'end'] = opts[:'_end'] if !opts[:'_end'].nil?
70
-
71
- # header parameters
72
- header_params = opts[:header_params] || {}
73
- # HTTP header 'Accept' (if needed)
74
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
75
-
76
- # form parameters
77
- form_params = opts[:form_params] || {}
78
-
79
- # http body (model)
80
- post_body = opts[:debug_body]
81
-
82
- # return_type
83
- return_type = opts[:debug_return_type] || 'PublicPerformanceResponse'
84
-
85
- # auth_names
86
- auth_names = opts[:debug_auth_names] || ['oauth2']
87
-
88
- new_options = opts.merge(
89
- :operation => :"PublicPerformanceApi.get_page",
90
- :header_params => header_params,
91
- :query_params => query_params,
92
- :form_params => form_params,
93
- :body => post_body,
94
- :auth_names => auth_names,
95
- :return_type => return_type
96
- )
97
-
98
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
99
- if @api_client.config.debugging
100
- @api_client.config.logger.debug "API called: PublicPerformanceApi#get_page\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
101
- end
102
- return data, status_code, headers
103
- end
104
-
105
- # View your website's uptime.
106
- # Returns uptime time series website performance data for the given domain.
107
- # @param [Hash] opts the optional parameters
108
- # @option opts [String] :domain The domain to search return data for.
109
- # @option opts [String] :path
110
- # @option opts [Boolean] :pad Specifies whether the time series data should have empty intervals if performance data is not present to create a continuous set.
111
- # @option opts [Boolean] :sum Specifies whether the time series data should be summated for the given period. Defaults to false.
112
- # @option opts [String] :period A relative period to return time series data for. This value is ignored if start and/or end are provided. Valid periods: [15m, 30m, 1h, 4h, 12h, 1d, 1w]
113
- # @option opts [String] :interval The time series interval to group data by. Valid intervals: [1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w]
114
- # @option opts [Integer] :start A timestamp in milliseconds that indicates the start of the time period.
115
- # @option opts [Integer] :_end A timestamp in milliseconds that indicates the end of the time period.
116
- # @return [PublicPerformanceResponse]
117
- def get_uptime(opts = {})
118
- data, _status_code, _headers = get_uptime_with_http_info(opts)
119
- data
120
- end
121
-
122
- # View your website&#39;s uptime.
123
- # Returns uptime time series website performance data for the given domain.
124
- # @param [Hash] opts the optional parameters
125
- # @option opts [String] :domain The domain to search return data for.
126
- # @option opts [String] :path
127
- # @option opts [Boolean] :pad Specifies whether the time series data should have empty intervals if performance data is not present to create a continuous set.
128
- # @option opts [Boolean] :sum Specifies whether the time series data should be summated for the given period. Defaults to false.
129
- # @option opts [String] :period A relative period to return time series data for. This value is ignored if start and/or end are provided. Valid periods: [15m, 30m, 1h, 4h, 12h, 1d, 1w]
130
- # @option opts [String] :interval The time series interval to group data by. Valid intervals: [1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w]
131
- # @option opts [Integer] :start A timestamp in milliseconds that indicates the start of the time period.
132
- # @option opts [Integer] :_end A timestamp in milliseconds that indicates the end of the time period.
133
- # @return [Array<(PublicPerformanceResponse, Integer, Hash)>] PublicPerformanceResponse data, response status code and response headers
134
- def get_uptime_with_http_info(opts = {})
135
- if @api_client.config.debugging
136
- @api_client.config.logger.debug 'Calling API: PublicPerformanceApi.get_uptime ...'
137
- end
138
- # resource path
139
- local_var_path = '/cms/v3/performance/uptime'
140
-
141
- # query parameters
142
- query_params = opts[:query_params] || {}
143
- query_params[:'domain'] = opts[:'domain'] if !opts[:'domain'].nil?
144
- query_params[:'path'] = opts[:'path'] if !opts[:'path'].nil?
145
- query_params[:'pad'] = opts[:'pad'] if !opts[:'pad'].nil?
146
- query_params[:'sum'] = opts[:'sum'] if !opts[:'sum'].nil?
147
- query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?
148
- query_params[:'interval'] = opts[:'interval'] if !opts[:'interval'].nil?
149
- query_params[:'start'] = opts[:'start'] if !opts[:'start'].nil?
150
- query_params[:'end'] = opts[:'_end'] if !opts[:'_end'].nil?
151
-
152
- # header parameters
153
- header_params = opts[:header_params] || {}
154
- # HTTP header 'Accept' (if needed)
155
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
156
-
157
- # form parameters
158
- form_params = opts[:form_params] || {}
159
-
160
- # http body (model)
161
- post_body = opts[:debug_body]
162
-
163
- # return_type
164
- return_type = opts[:debug_return_type] || 'PublicPerformanceResponse'
165
-
166
- # auth_names
167
- auth_names = opts[:debug_auth_names] || ['oauth2']
168
-
169
- new_options = opts.merge(
170
- :operation => :"PublicPerformanceApi.get_uptime",
171
- :header_params => header_params,
172
- :query_params => query_params,
173
- :form_params => form_params,
174
- :body => post_body,
175
- :auth_names => auth_names,
176
- :return_type => return_type
177
- )
178
-
179
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
180
- if @api_client.config.debugging
181
- @api_client.config.logger.debug "API called: PublicPerformanceApi#get_uptime\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
182
- end
183
- return data, status_code, headers
184
- end
185
- end
186
- end
187
- end
188
- end