hubspot-api-client 16.2.1 → 16.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -1
  3. data/Gemfile.lock +1 -1
  4. data/README.md +33 -1
  5. data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +428 -0
  6. data/lib/hubspot/codegen/crm/associations/v4/api/definitions_api.rb +332 -0
  7. data/lib/hubspot/codegen/crm/associations/v4/api_client.rb +412 -0
  8. data/lib/hubspot/codegen/crm/associations/v4/api_error.rb +63 -0
  9. data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +296 -0
  10. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec.rb +278 -0
  11. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +287 -0
  12. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_archive.rb +232 -0
  13. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_post.rb +232 -0
  14. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_default_association_multi_post.rb +232 -0
  15. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_fetch_associations_batch_request.rb +232 -0
  16. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +328 -0
  17. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +348 -0
  18. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +328 -0
  19. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +348 -0
  20. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +348 -0
  21. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_association_spec_with_label_no_paging.rb +232 -0
  22. data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +307 -0
  23. data/lib/hubspot/codegen/crm/associations/v4/models/error_category.rb +278 -0
  24. data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +273 -0
  25. data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +288 -0
  26. data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +246 -0
  27. data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +239 -0
  28. data/lib/hubspot/codegen/crm/associations/v4/models/paging.rb +234 -0
  29. data/lib/hubspot/codegen/crm/associations/v4/models/previous_page.rb +239 -0
  30. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_create_request.rb +244 -0
  31. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_update_request.rb +244 -0
  32. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_archive.rb +246 -0
  33. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +260 -0
  34. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +255 -0
  35. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +258 -0
  36. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association_multi_post.rb +244 -0
  37. data/lib/hubspot/codegen/crm/associations/v4/models/public_fetch_associations_batch_request.rb +239 -0
  38. data/lib/hubspot/codegen/crm/associations/v4/models/public_object_id.rb +230 -0
  39. data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +324 -0
  40. data/lib/hubspot/codegen/crm/properties/models/property.rb +14 -4
  41. data/lib/hubspot/codegen/crm/properties/models/property_create.rb +38 -8
  42. data/lib/hubspot/codegen/crm/properties/models/property_update.rb +18 -8
  43. data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +0 -2
  44. data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +5 -7
  45. data/lib/hubspot/codegen/oauth/api/tokens_api.rb +0 -2
  46. data/lib/hubspot/codegen/oauth/api_client.rb +0 -2
  47. data/lib/hubspot/codegen/oauth/api_error.rb +0 -2
  48. data/lib/hubspot/codegen/oauth/configuration.rb +0 -2
  49. data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +0 -2
  50. data/lib/hubspot/codegen/oauth/models/error.rb +0 -2
  51. data/lib/hubspot/codegen/oauth/models/error_detail.rb +0 -2
  52. data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +0 -2
  53. data/lib/hubspot/codegen/oauth/models/token_response_if.rb +31 -33
  54. data/lib/hubspot/discovery/crm/associations/client.rb +3 -1
  55. data/lib/hubspot/discovery/crm/associations/v4/api/batch_api.rb +15 -0
  56. data/lib/hubspot/discovery/crm/associations/v4/api/definitions_api.rb +15 -0
  57. data/lib/hubspot/discovery/crm/associations/v4/client.rb +21 -0
  58. data/lib/hubspot/helpers/get_all_helper.rb +2 -1
  59. data/lib/hubspot/version.rb +1 -1
  60. data/spec/discovery/cms/blogs/client_spec.rb +9 -0
  61. data/spec/discovery/cms/client_spec.rb +13 -0
  62. data/spec/discovery/crm/associations/client_spec.rb +7 -0
  63. data/spec/discovery/crm/associations/v4/batch_api_spec.rb +11 -0
  64. data/spec/discovery/crm/associations/v4/definitions_api_spec.rb +10 -0
  65. data/spec/discovery/crm/client_spec.rb +21 -0
  66. data/spec/discovery/crm/extensions/client_spec.rb +11 -0
  67. data/spec/discovery/crm/objects/client_spec.rb +13 -0
  68. data/spec/discovery/marketing/client_spec.rb +9 -0
  69. metadata +58 -2
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: 16.2.1
4
+ version: 16.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - HubSpot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-24 00:00:00.000000000 Z
11
+ date: 2023-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -453,6 +453,41 @@ files:
453
453
  - lib/hubspot/codegen/crm/associations/models/public_association_multi.rb
454
454
  - lib/hubspot/codegen/crm/associations/models/public_object_id.rb
455
455
  - lib/hubspot/codegen/crm/associations/models/standard_error.rb
456
+ - lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb
457
+ - lib/hubspot/codegen/crm/associations/v4/api/definitions_api.rb
458
+ - lib/hubspot/codegen/crm/associations/v4/api_client.rb
459
+ - lib/hubspot/codegen/crm/associations/v4/api_error.rb
460
+ - lib/hubspot/codegen/crm/associations/v4/configuration.rb
461
+ - lib/hubspot/codegen/crm/associations/v4/models/association_spec.rb
462
+ - lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb
463
+ - lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_archive.rb
464
+ - lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_post.rb
465
+ - lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_default_association_multi_post.rb
466
+ - lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_fetch_associations_batch_request.rb
467
+ - lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb
468
+ - lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb
469
+ - lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb
470
+ - lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb
471
+ - lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb
472
+ - lib/hubspot/codegen/crm/associations/v4/models/collection_response_association_spec_with_label_no_paging.rb
473
+ - lib/hubspot/codegen/crm/associations/v4/models/error.rb
474
+ - lib/hubspot/codegen/crm/associations/v4/models/error_category.rb
475
+ - lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb
476
+ - lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb
477
+ - lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb
478
+ - lib/hubspot/codegen/crm/associations/v4/models/next_page.rb
479
+ - lib/hubspot/codegen/crm/associations/v4/models/paging.rb
480
+ - lib/hubspot/codegen/crm/associations/v4/models/previous_page.rb
481
+ - lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_create_request.rb
482
+ - lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_update_request.rb
483
+ - lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_archive.rb
484
+ - lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb
485
+ - lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb
486
+ - lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb
487
+ - lib/hubspot/codegen/crm/associations/v4/models/public_default_association_multi_post.rb
488
+ - lib/hubspot/codegen/crm/associations/v4/models/public_fetch_associations_batch_request.rb
489
+ - lib/hubspot/codegen/crm/associations/v4/models/public_object_id.rb
490
+ - lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb
456
491
  - lib/hubspot/codegen/crm/companies/api/associations_api.rb
457
492
  - lib/hubspot/codegen/crm/companies/api/basic_api.rb
458
493
  - lib/hubspot/codegen/crm/companies/api/batch_api.rb
@@ -1501,6 +1536,9 @@ files:
1501
1536
  - lib/hubspot/discovery/crm/associations/api/batch_api.rb
1502
1537
  - lib/hubspot/discovery/crm/associations/api/types_api.rb
1503
1538
  - lib/hubspot/discovery/crm/associations/client.rb
1539
+ - lib/hubspot/discovery/crm/associations/v4/api/batch_api.rb
1540
+ - lib/hubspot/discovery/crm/associations/v4/api/definitions_api.rb
1541
+ - lib/hubspot/discovery/crm/associations/v4/client.rb
1504
1542
  - lib/hubspot/discovery/crm/client.rb
1505
1543
  - lib/hubspot/discovery/crm/companies/api/associations_api.rb
1506
1544
  - lib/hubspot/discovery/crm/companies/api/basic_api.rb
@@ -1677,7 +1715,9 @@ files:
1677
1715
  - spec/discovery/cms/audit-logs/audit_logs_api_spec.rb
1678
1716
  - spec/discovery/cms/blogs/authors/blog_authors_api_spec.rb
1679
1717
  - spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
1718
+ - spec/discovery/cms/blogs/client_spec.rb
1680
1719
  - spec/discovery/cms/blogs/tags/blog_tags_api_spec.rb
1720
+ - spec/discovery/cms/client_spec.rb
1681
1721
  - spec/discovery/cms/domains/domains_api_spec.rb
1682
1722
  - spec/discovery/cms/hubdb/rows_api_spec.rb
1683
1723
  - spec/discovery/cms/hubdb/rows_batch_api_spec.rb
@@ -1694,7 +1734,11 @@ files:
1694
1734
  - spec/discovery/communication_preferences/status_api_spec.rb
1695
1735
  - spec/discovery/conversations/visitor-identification/generate_api_spec.rb
1696
1736
  - spec/discovery/crm/associations/batch_api_spec.rb
1737
+ - spec/discovery/crm/associations/client_spec.rb
1697
1738
  - spec/discovery/crm/associations/types_api_spec.rb
1739
+ - spec/discovery/crm/associations/v4/batch_api_spec.rb
1740
+ - spec/discovery/crm/associations/v4/definitions_api_spec.rb
1741
+ - spec/discovery/crm/client_spec.rb
1698
1742
  - spec/discovery/crm/companies/associations_api_spec.rb
1699
1743
  - spec/discovery/crm/companies/basic_api_spec.rb
1700
1744
  - spec/discovery/crm/companies/batch_api_spec.rb
@@ -1719,6 +1763,7 @@ files:
1719
1763
  - spec/discovery/crm/extensions/calling/settings_api_spec.rb
1720
1764
  - spec/discovery/crm/extensions/cards/cards_api_spec.rb
1721
1765
  - spec/discovery/crm/extensions/cards/sample_response_api_spec.rb
1766
+ - spec/discovery/crm/extensions/client_spec.rb
1722
1767
  - spec/discovery/crm/extensions/videoconferencing/settings_api_spec.rb
1723
1768
  - spec/discovery/crm/imports/core_api_spec.rb
1724
1769
  - spec/discovery/crm/imports/public_imports_api_spec.rb
@@ -1735,6 +1780,7 @@ files:
1735
1780
  - spec/discovery/crm/objects/calls/batch_api_spec.rb
1736
1781
  - spec/discovery/crm/objects/calls/public_object_api_spec.rb
1737
1782
  - spec/discovery/crm/objects/calls/search_api_spec.rb
1783
+ - spec/discovery/crm/objects/client_spec.rb
1738
1784
  - spec/discovery/crm/objects/emails/associations_api_spec.rb
1739
1785
  - spec/discovery/crm/objects/emails/basic_api_spec.rb
1740
1786
  - spec/discovery/crm/objects/emails/batch_api_spec.rb
@@ -1799,6 +1845,7 @@ files:
1799
1845
  - spec/discovery/events/events_api_spec.rb
1800
1846
  - spec/discovery/files/files/files_api_spec.rb
1801
1847
  - spec/discovery/files/files/folders_api_spec.rb
1848
+ - spec/discovery/marketing/client_spec.rb
1802
1849
  - spec/discovery/marketing/events/attendance_subscriber_state_changes_api_spec.rb
1803
1850
  - spec/discovery/marketing/events/marketing_events_external_api_spec.rb
1804
1851
  - spec/discovery/marketing/events/search_api_spec.rb
@@ -1856,8 +1903,12 @@ test_files:
1856
1903
  - spec/discovery/crm/tickets/basic_api_spec.rb
1857
1904
  - spec/discovery/crm/tickets/public_object_api_spec.rb
1858
1905
  - spec/discovery/crm/tickets/batch_api_spec.rb
1906
+ - spec/discovery/crm/associations/client_spec.rb
1859
1907
  - spec/discovery/crm/associations/types_api_spec.rb
1908
+ - spec/discovery/crm/associations/v4/definitions_api_spec.rb
1909
+ - spec/discovery/crm/associations/v4/batch_api_spec.rb
1860
1910
  - spec/discovery/crm/associations/batch_api_spec.rb
1911
+ - spec/discovery/crm/client_spec.rb
1861
1912
  - spec/discovery/crm/products/search_api_spec.rb
1862
1913
  - spec/discovery/crm/products/associations_api_spec.rb
1863
1914
  - spec/discovery/crm/products/basic_api_spec.rb
@@ -1891,6 +1942,7 @@ test_files:
1891
1942
  - spec/discovery/crm/objects/tasks/basic_api_spec.rb
1892
1943
  - spec/discovery/crm/objects/tasks/public_object_api_spec.rb
1893
1944
  - spec/discovery/crm/objects/tasks/batch_api_spec.rb
1945
+ - spec/discovery/crm/objects/client_spec.rb
1894
1946
  - spec/discovery/crm/objects/emails/search_api_spec.rb
1895
1947
  - spec/discovery/crm/objects/emails/associations_api_spec.rb
1896
1948
  - spec/discovery/crm/objects/emails/basic_api_spec.rb
@@ -1938,6 +1990,7 @@ test_files:
1938
1990
  - spec/discovery/crm/extensions/accounting/sync_api_spec.rb
1939
1991
  - spec/discovery/crm/extensions/accounting/callbacks_api_spec.rb
1940
1992
  - spec/discovery/crm/extensions/accounting/settings_api_spec.rb
1993
+ - spec/discovery/crm/extensions/client_spec.rb
1941
1994
  - spec/discovery/crm/extensions/calling/settings_api_spec.rb
1942
1995
  - spec/discovery/crm/extensions/videoconferencing/settings_api_spec.rb
1943
1996
  - spec/discovery/crm/extensions/cards/sample_response_api_spec.rb
@@ -1957,9 +2010,11 @@ test_files:
1957
2010
  - spec/discovery/base_module_client_spec.rb
1958
2011
  - spec/discovery/cms/audit-logs/audit_logs_api_spec.rb
1959
2012
  - spec/discovery/cms/site-search/public_api_spec.rb
2013
+ - spec/discovery/cms/blogs/client_spec.rb
1960
2014
  - spec/discovery/cms/blogs/authors/blog_authors_api_spec.rb
1961
2015
  - spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
1962
2016
  - spec/discovery/cms/blogs/tags/blog_tags_api_spec.rb
2017
+ - spec/discovery/cms/client_spec.rb
1963
2018
  - spec/discovery/cms/hubdb/rows_api_spec.rb
1964
2019
  - spec/discovery/cms/hubdb/tables_api_spec.rb
1965
2020
  - spec/discovery/cms/hubdb/rows_batch_api_spec.rb
@@ -1974,6 +2029,7 @@ test_files:
1974
2029
  - spec/discovery/conversations/visitor-identification/generate_api_spec.rb
1975
2030
  - spec/discovery/files/files/files_api_spec.rb
1976
2031
  - spec/discovery/files/files/folders_api_spec.rb
2032
+ - spec/discovery/marketing/client_spec.rb
1977
2033
  - spec/discovery/marketing/forms/forms_api_spec.rb
1978
2034
  - spec/discovery/marketing/events/search_api_spec.rb
1979
2035
  - spec/discovery/marketing/events/marketing_events_external_api_spec.rb