hubspot-api-client 9.6.0 → 10.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (371) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/Gemfile.lock +4 -4
  4. data/README.md +4 -0
  5. data/lib/hubspot-api-client.rb +16 -3
  6. data/lib/hubspot/codegen/automation/actions/api_client.rb +14 -0
  7. data/lib/hubspot/codegen/cms/audit-logs/api_client.rb +14 -0
  8. data/lib/hubspot/codegen/cms/blogs/authors/api/default_api.rb +2 -2
  9. data/lib/hubspot/codegen/cms/blogs/authors/api_client.rb +14 -0
  10. data/lib/hubspot/codegen/cms/blogs/blog-posts/api/default_api.rb +2 -2
  11. data/lib/hubspot/codegen/cms/blogs/blog-posts/api_client.rb +14 -0
  12. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post.rb +108 -102
  13. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/layout_section.rb +4 -2
  14. data/lib/hubspot/codegen/cms/blogs/tags/api/default_api.rb +2 -2
  15. data/lib/hubspot/codegen/cms/blogs/tags/api_client.rb +14 -0
  16. data/lib/hubspot/codegen/cms/domains/api_client.rb +14 -0
  17. data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +1 -1
  18. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +1 -1
  19. data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +1 -1
  20. data/lib/hubspot/codegen/cms/hubdb/api_client.rb +15 -1
  21. data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
  22. data/lib/hubspot/codegen/cms/hubdb/configuration.rb +1 -1
  23. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3.rb +1 -1
  24. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_json_node.rb +1 -1
  25. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +1 -1
  26. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +1 -1
  27. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb +1 -1
  28. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +1 -1
  29. data/lib/hubspot/codegen/cms/hubdb/models/column.rb +1 -1
  30. data/lib/hubspot/codegen/cms/hubdb/models/column_input.rb +1 -1
  31. data/lib/hubspot/codegen/cms/hubdb/models/error.rb +1 -1
  32. data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +1 -1
  33. data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +1 -1
  34. data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +1 -1
  35. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +1 -1
  36. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +5 -3
  37. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_input.rb +1 -1
  38. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +1 -1
  39. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_input.rb +1 -1
  40. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_live_input.rb +1 -1
  41. data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +1 -1
  42. data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +1 -1
  43. data/lib/hubspot/codegen/cms/hubdb/models/option.rb +1 -1
  44. data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +1 -1
  45. data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +1 -1
  46. data/lib/hubspot/codegen/cms/performance/api_client.rb +14 -0
  47. data/lib/hubspot/codegen/cms/site-search/api/default_api.rb +2 -5
  48. data/lib/hubspot/codegen/cms/site-search/api_client.rb +14 -0
  49. data/lib/hubspot/codegen/cms/site-search/models/content_search_result.rb +19 -2
  50. data/lib/hubspot/codegen/cms/site-search/models/indexed_data.rb +5 -2
  51. data/lib/hubspot/codegen/cms/site-search/models/search_hit_field.rb +17 -15
  52. data/lib/hubspot/codegen/cms/url-redirects/api_client.rb +14 -0
  53. data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +80 -0
  54. data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +214 -0
  55. data/lib/hubspot/codegen/communication_preferences/api_client.rb +404 -0
  56. data/lib/hubspot/codegen/communication_preferences/api_error.rb +59 -0
  57. data/lib/hubspot/codegen/communication_preferences/configuration.rb +254 -0
  58. data/lib/hubspot/codegen/communication_preferences/models/error.rb +290 -0
  59. data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +256 -0
  60. data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +372 -0
  61. data/lib/hubspot/codegen/communication_preferences/models/public_subscription_statuses_response.rb +231 -0
  62. data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +283 -0
  63. data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +339 -0
  64. data/lib/hubspot/codegen/communication_preferences/models/subscription_definitions_response.rb +216 -0
  65. data/lib/hubspot/codegen/conversations/visitor-identification/api_client.rb +14 -0
  66. data/lib/hubspot/codegen/crm/associations/api_client.rb +14 -0
  67. data/lib/hubspot/codegen/crm/companies/api/associations_api.rb +6 -12
  68. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +11 -14
  69. data/lib/hubspot/codegen/crm/companies/api/search_api.rb +3 -3
  70. data/lib/hubspot/codegen/crm/companies/api_client.rb +14 -0
  71. data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +20 -20
  72. data/lib/hubspot/codegen/crm/companies/models/collection_response_associated_id_forward_paging.rb +226 -0
  73. data/lib/hubspot/codegen/crm/companies/models/{collection_response_simple_public_object.rb → collection_response_simple_public_object_with_associations_forward_paging.rb} +5 -5
  74. data/lib/hubspot/codegen/crm/companies/models/{collection_response_with_total_simple_public_object.rb → collection_response_with_total_simple_public_object_forward_paging.rb} +4 -5
  75. data/lib/hubspot/codegen/crm/companies/models/forward_paging.rb +210 -0
  76. data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +1 -12
  77. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +288 -0
  78. data/lib/hubspot/codegen/crm/contacts/api/associations_api.rb +6 -12
  79. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +11 -14
  80. data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +3 -3
  81. data/lib/hubspot/codegen/crm/contacts/api_client.rb +14 -0
  82. data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +20 -20
  83. data/lib/hubspot/codegen/crm/contacts/models/collection_response_associated_id_forward_paging.rb +226 -0
  84. data/lib/hubspot/codegen/crm/contacts/models/{collection_response_simple_public_object.rb → collection_response_simple_public_object_with_associations_forward_paging.rb} +5 -5
  85. data/lib/hubspot/codegen/crm/contacts/models/{collection_response_with_total_simple_public_object.rb → collection_response_with_total_simple_public_object_forward_paging.rb} +4 -5
  86. data/lib/hubspot/codegen/crm/contacts/models/forward_paging.rb +210 -0
  87. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +1 -12
  88. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +288 -0
  89. data/lib/hubspot/codegen/crm/deals/api/associations_api.rb +6 -12
  90. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +11 -14
  91. data/lib/hubspot/codegen/crm/deals/api/search_api.rb +3 -3
  92. data/lib/hubspot/codegen/crm/deals/api_client.rb +14 -0
  93. data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +20 -20
  94. data/lib/hubspot/codegen/crm/deals/models/collection_response_associated_id_forward_paging.rb +226 -0
  95. data/lib/hubspot/codegen/crm/deals/models/{collection_response_simple_public_object.rb → collection_response_simple_public_object_with_associations_forward_paging.rb} +5 -5
  96. data/lib/hubspot/codegen/crm/deals/models/{collection_response_with_total_simple_public_object.rb → collection_response_with_total_simple_public_object_forward_paging.rb} +4 -5
  97. data/lib/hubspot/codegen/crm/deals/models/forward_paging.rb +210 -0
  98. data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +1 -12
  99. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +288 -0
  100. data/lib/hubspot/codegen/crm/extensions/accounting/api_client.rb +14 -0
  101. data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +24 -16
  102. data/lib/hubspot/codegen/crm/extensions/calling/api_client.rb +14 -0
  103. data/lib/hubspot/codegen/crm/extensions/calling/configuration.rb +1 -1
  104. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +14 -4
  105. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +14 -4
  106. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +16 -1
  107. data/lib/hubspot/codegen/crm/extensions/cards/api/cards_api.rb +25 -17
  108. data/lib/hubspot/codegen/crm/extensions/cards/api_client.rb +14 -0
  109. data/lib/hubspot/codegen/crm/extensions/cards/configuration.rb +1 -1
  110. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_client.rb +14 -0
  111. data/lib/hubspot/codegen/crm/imports/api/default_api.rb +90 -0
  112. data/lib/hubspot/codegen/crm/imports/api_client.rb +14 -0
  113. data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_error_forward_paging.rb +226 -0
  114. data/lib/hubspot/codegen/crm/{schemas/models/paging.rb → imports/models/forward_paging.rb} +11 -20
  115. data/lib/hubspot/codegen/crm/imports/models/import_row_core.rb +238 -0
  116. data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +353 -0
  117. data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +2 -2
  118. data/lib/hubspot/codegen/crm/line_items/api/associations_api.rb +6 -12
  119. data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +11 -14
  120. data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +3 -3
  121. data/lib/hubspot/codegen/crm/line_items/api_client.rb +14 -0
  122. data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +20 -20
  123. data/lib/hubspot/codegen/crm/line_items/models/collection_response_associated_id_forward_paging.rb +226 -0
  124. data/lib/hubspot/codegen/crm/line_items/models/{collection_response_simple_public_object.rb → collection_response_simple_public_object_with_associations_forward_paging.rb} +5 -5
  125. data/lib/hubspot/codegen/crm/line_items/models/{collection_response_with_total_simple_public_object.rb → collection_response_with_total_simple_public_object_forward_paging.rb} +4 -5
  126. data/lib/hubspot/codegen/crm/line_items/models/forward_paging.rb +210 -0
  127. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +1 -12
  128. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +288 -0
  129. data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +6 -12
  130. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +11 -14
  131. data/lib/hubspot/codegen/crm/objects/api/search_api.rb +10 -10
  132. data/lib/hubspot/codegen/crm/objects/api_client.rb +14 -0
  133. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +3 -6
  134. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +6 -12
  135. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/search_api.rb +3 -3
  136. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api_client.rb +14 -0
  137. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +20 -20
  138. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/{collection_response_simple_public_object.rb → collection_response_associated_id_forward_paging.rb} +5 -5
  139. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
  140. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/{collection_response_with_total_simple_public_object.rb → collection_response_with_total_simple_public_object_forward_paging.rb} +4 -5
  141. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/forward_paging.rb +212 -0
  142. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +1 -12
  143. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +290 -0
  144. data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +20 -20
  145. data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id_forward_paging.rb +226 -0
  146. data/lib/hubspot/codegen/crm/objects/models/{collection_response_simple_public_object.rb → collection_response_simple_public_object_with_associations_forward_paging.rb} +5 -5
  147. data/lib/hubspot/codegen/crm/objects/models/{collection_response_with_total_simple_public_object.rb → collection_response_with_total_simple_public_object_forward_paging.rb} +4 -5
  148. data/lib/hubspot/codegen/crm/objects/models/forward_paging.rb +210 -0
  149. data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +1 -12
  150. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +288 -0
  151. data/lib/hubspot/codegen/crm/owners/api/default_api.rb +9 -3
  152. data/lib/hubspot/codegen/crm/owners/api_client.rb +14 -0
  153. data/lib/hubspot/codegen/crm/owners/models/{collection_response_public_owner.rb → collection_response_public_owner_forward_paging.rb} +4 -4
  154. data/lib/hubspot/codegen/crm/owners/models/{paging.rb → forward_paging.rb} +3 -3
  155. data/lib/hubspot/codegen/crm/pipelines/api_client.rb +14 -0
  156. data/lib/hubspot/codegen/crm/products/api/associations_api.rb +6 -12
  157. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +11 -14
  158. data/lib/hubspot/codegen/crm/products/api/search_api.rb +3 -3
  159. data/lib/hubspot/codegen/crm/products/api_client.rb +14 -0
  160. data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +20 -20
  161. data/lib/hubspot/codegen/crm/products/models/collection_response_associated_id_forward_paging.rb +226 -0
  162. data/lib/hubspot/codegen/crm/products/models/{collection_response_simple_public_object.rb → collection_response_simple_public_object_with_associations_forward_paging.rb} +5 -5
  163. data/lib/hubspot/codegen/crm/products/models/{collection_response_with_total_simple_public_object.rb → collection_response_with_total_simple_public_object_forward_paging.rb} +4 -5
  164. data/lib/hubspot/codegen/crm/products/models/forward_paging.rb +210 -0
  165. data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +1 -12
  166. data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +288 -0
  167. data/lib/hubspot/codegen/crm/properties/api_client.rb +14 -0
  168. data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +3 -6
  169. data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +6 -12
  170. data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +3 -3
  171. data/lib/hubspot/codegen/crm/quotes/api_client.rb +14 -0
  172. data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +20 -20
  173. data/lib/hubspot/codegen/crm/quotes/models/collection_response_associated_id_forward_paging.rb +226 -0
  174. data/lib/hubspot/codegen/crm/quotes/models/{collection_response_simple_public_object.rb → collection_response_simple_public_object_with_associations_forward_paging.rb} +5 -5
  175. data/lib/hubspot/codegen/crm/quotes/models/{collection_response_with_total_simple_public_object.rb → collection_response_with_total_simple_public_object_forward_paging.rb} +4 -5
  176. data/lib/hubspot/codegen/crm/{schemas/models/previous_page.rb → quotes/models/forward_paging.rb} +14 -28
  177. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +1 -12
  178. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +288 -0
  179. data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +23 -17
  180. data/lib/hubspot/codegen/crm/schemas/api_client.rb +14 -0
  181. data/lib/hubspot/codegen/crm/schemas/models/association_definition.rb +1 -75
  182. data/lib/hubspot/codegen/crm/schemas/models/association_definition_egg.rb +4 -78
  183. data/lib/hubspot/codegen/crm/schemas/models/{collection_response_object_schema.rb → collection_response_object_schema_no_paging.rb} +7 -16
  184. data/lib/hubspot/codegen/crm/schemas/models/object_schema.rb +15 -1
  185. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition.rb +15 -1
  186. data/lib/hubspot/codegen/crm/schemas/models/object_type_property_create.rb +2 -2
  187. data/lib/hubspot/codegen/crm/tickets/api/associations_api.rb +6 -12
  188. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +11 -14
  189. data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +3 -3
  190. data/lib/hubspot/codegen/crm/tickets/api_client.rb +14 -0
  191. data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +20 -20
  192. data/lib/hubspot/codegen/crm/tickets/models/collection_response_associated_id_forward_paging.rb +226 -0
  193. data/lib/hubspot/codegen/crm/tickets/models/{collection_response_simple_public_object.rb → collection_response_simple_public_object_with_associations_forward_paging.rb} +5 -5
  194. data/lib/hubspot/codegen/crm/tickets/models/{collection_response_with_total_simple_public_object.rb → collection_response_with_total_simple_public_object_forward_paging.rb} +4 -5
  195. data/lib/hubspot/codegen/crm/tickets/models/forward_paging.rb +210 -0
  196. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +1 -12
  197. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +288 -0
  198. data/lib/hubspot/codegen/crm/timeline/api_client.rb +14 -0
  199. data/lib/hubspot/codegen/events/api_client.rb +14 -0
  200. data/lib/hubspot/codegen/files/files/api_client.rb +14 -0
  201. data/lib/hubspot/codegen/marketing/transactional/api/default_api.rb +60 -60
  202. data/lib/hubspot/codegen/marketing/transactional/api_client.rb +14 -0
  203. data/lib/hubspot/codegen/oauth/api_client.rb +14 -0
  204. data/lib/hubspot/codegen/webhooks/api_client.rb +14 -0
  205. data/lib/hubspot/version.rb +1 -1
  206. data/spec/codegen/cms/blogs/authors/api/default_api_spec.rb +24 -24
  207. data/spec/codegen/cms/blogs/blog-posts/api/default_api_spec.rb +26 -26
  208. data/spec/codegen/cms/blogs/blog-posts/models/blog_post_spec.rb +14 -14
  209. data/spec/codegen/cms/blogs/tags/api/default_api_spec.rb +24 -24
  210. data/spec/codegen/cms/hubdb/api/rows_api_spec.rb +1 -1
  211. data/spec/codegen/cms/hubdb/api/rows_batch_api_spec.rb +1 -1
  212. data/spec/codegen/cms/hubdb/api/tables_api_spec.rb +1 -1
  213. data/spec/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_spec.rb +1 -1
  214. data/spec/codegen/cms/hubdb/models/batch_input_json_node_spec.rb +1 -1
  215. data/spec/codegen/cms/hubdb/models/batch_input_string_spec.rb +1 -1
  216. data/spec/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors_spec.rb +1 -1
  217. data/spec/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging_spec.rb +1 -1
  218. data/spec/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging_spec.rb +1 -1
  219. data/spec/codegen/cms/hubdb/models/column_input_spec.rb +1 -1
  220. data/spec/codegen/cms/hubdb/models/column_spec.rb +1 -1
  221. data/spec/codegen/cms/hubdb/models/error_detail_spec.rb +1 -1
  222. data/spec/codegen/cms/hubdb/models/error_spec.rb +1 -1
  223. data/spec/codegen/cms/hubdb/models/foreign_id_spec.rb +1 -1
  224. data/spec/codegen/cms/hubdb/models/forward_paging_spec.rb +1 -1
  225. data/spec/codegen/cms/hubdb/models/hub_db_table_clone_request_spec.rb +1 -1
  226. data/spec/codegen/cms/hubdb/models/hub_db_table_row_v3_input_spec.rb +1 -1
  227. data/spec/codegen/cms/hubdb/models/hub_db_table_row_v3_spec.rb +1 -1
  228. data/spec/codegen/cms/hubdb/models/hub_db_table_v3_input_spec.rb +1 -1
  229. data/spec/codegen/cms/hubdb/models/hub_db_table_v3_live_input_spec.rb +1 -1
  230. data/spec/codegen/cms/hubdb/models/hub_db_table_v3_spec.rb +1 -1
  231. data/spec/codegen/cms/hubdb/models/import_result_spec.rb +1 -1
  232. data/spec/codegen/cms/hubdb/models/next_page_spec.rb +1 -1
  233. data/spec/codegen/cms/hubdb/models/option_spec.rb +1 -1
  234. data/spec/codegen/cms/hubdb/models/simple_user_spec.rb +1 -1
  235. data/spec/codegen/cms/hubdb/models/standard_error_spec.rb +1 -1
  236. data/spec/codegen/cms/site-search/api/default_api_spec.rb +0 -1
  237. data/spec/codegen/cms/site-search/models/content_search_result_spec.rb +1 -1
  238. data/spec/codegen/cms/site-search/models/indexed_data_spec.rb +1 -1
  239. data/spec/codegen/cms/site-search/models/search_hit_field_spec.rb +2 -2
  240. data/spec/codegen/communication_preferences/api/definition_api_spec.rb +46 -0
  241. data/spec/codegen/communication_preferences/api/status_api_spec.rb +71 -0
  242. data/spec/codegen/communication_preferences/models/error_detail_spec.rb +65 -0
  243. data/spec/codegen/communication_preferences/models/error_spec.rb +77 -0
  244. data/spec/codegen/communication_preferences/models/public_subscription_status_spec.rb +101 -0
  245. data/spec/codegen/communication_preferences/models/public_subscription_statuses_response_spec.rb +47 -0
  246. data/spec/codegen/communication_preferences/models/public_update_subscription_status_request_spec.rb +63 -0
  247. data/spec/codegen/communication_preferences/models/subscription_definition_spec.rb +95 -0
  248. data/spec/codegen/communication_preferences/models/subscription_definitions_response_spec.rb +41 -0
  249. data/spec/codegen/crm/companies/api/associations_api_spec.rb +2 -4
  250. data/spec/codegen/crm/companies/api/basic_api_spec.rb +4 -5
  251. data/spec/codegen/crm/companies/api/search_api_spec.rb +1 -1
  252. data/spec/codegen/crm/companies/models/batch_read_input_simple_public_object_id_spec.rb +3 -3
  253. data/spec/codegen/crm/companies/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  254. data/spec/codegen/crm/companies/models/{collection_response_simple_public_object_spec.rb → collection_response_simple_public_object_with_associations_forward_paging_spec.rb} +6 -6
  255. data/spec/codegen/crm/companies/models/{collection_response_with_total_simple_public_object_spec.rb → collection_response_with_total_simple_public_object_forward_paging_spec.rb} +6 -6
  256. data/spec/codegen/crm/companies/models/forward_paging_spec.rb +41 -0
  257. data/spec/codegen/crm/companies/models/simple_public_object_spec.rb +0 -6
  258. data/spec/codegen/crm/companies/models/simple_public_object_with_associations_spec.rb +77 -0
  259. data/spec/codegen/crm/contacts/api/associations_api_spec.rb +2 -4
  260. data/spec/codegen/crm/contacts/api/basic_api_spec.rb +4 -5
  261. data/spec/codegen/crm/contacts/api/search_api_spec.rb +1 -1
  262. data/spec/codegen/crm/contacts/models/batch_read_input_simple_public_object_id_spec.rb +3 -3
  263. data/spec/codegen/crm/contacts/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  264. data/spec/codegen/crm/contacts/models/{collection_response_simple_public_object_spec.rb → collection_response_simple_public_object_with_associations_forward_paging_spec.rb} +6 -6
  265. data/spec/codegen/crm/contacts/models/{collection_response_with_total_simple_public_object_spec.rb → collection_response_with_total_simple_public_object_forward_paging_spec.rb} +6 -6
  266. data/spec/codegen/crm/contacts/models/forward_paging_spec.rb +41 -0
  267. data/spec/codegen/crm/contacts/models/simple_public_object_spec.rb +0 -6
  268. data/spec/codegen/crm/contacts/models/simple_public_object_with_associations_spec.rb +77 -0
  269. data/spec/codegen/crm/deals/api/associations_api_spec.rb +2 -4
  270. data/spec/codegen/crm/deals/api/basic_api_spec.rb +4 -5
  271. data/spec/codegen/crm/deals/api/search_api_spec.rb +1 -1
  272. data/spec/codegen/crm/deals/models/batch_read_input_simple_public_object_id_spec.rb +3 -3
  273. data/spec/codegen/crm/deals/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  274. data/spec/codegen/crm/deals/models/{collection_response_simple_public_object_spec.rb → collection_response_simple_public_object_with_associations_forward_paging_spec.rb} +6 -6
  275. data/spec/codegen/crm/deals/models/{collection_response_with_total_simple_public_object_spec.rb → collection_response_with_total_simple_public_object_forward_paging_spec.rb} +6 -6
  276. data/spec/codegen/crm/deals/models/forward_paging_spec.rb +41 -0
  277. data/spec/codegen/crm/deals/models/simple_public_object_spec.rb +0 -6
  278. data/spec/codegen/crm/deals/models/simple_public_object_with_associations_spec.rb +77 -0
  279. data/spec/codegen/crm/extensions/calling/api/settings_api_spec.rb +2 -2
  280. data/spec/codegen/crm/extensions/calling/models/settings_patch_request_spec.rb +6 -0
  281. data/spec/codegen/crm/extensions/calling/models/settings_request_spec.rb +6 -0
  282. data/spec/codegen/crm/extensions/calling/models/settings_response_spec.rb +6 -0
  283. data/spec/codegen/crm/extensions/cards/api/cards_api_spec.rb +2 -2
  284. data/spec/codegen/crm/imports/api/default_api_spec.rb +47 -0
  285. data/spec/codegen/crm/imports/models/collection_response_public_import_error_forward_paging_spec.rb +47 -0
  286. data/spec/codegen/crm/imports/models/forward_paging_spec.rb +41 -0
  287. data/spec/codegen/crm/imports/models/import_row_core_spec.rb +53 -0
  288. data/spec/codegen/crm/imports/models/public_import_error_spec.rb +97 -0
  289. data/spec/codegen/crm/imports/models/public_import_response_spec.rb +1 -1
  290. data/spec/codegen/crm/line_items/api/associations_api_spec.rb +2 -4
  291. data/spec/codegen/crm/line_items/api/basic_api_spec.rb +4 -5
  292. data/spec/codegen/crm/line_items/api/search_api_spec.rb +1 -1
  293. data/spec/codegen/crm/line_items/models/batch_read_input_simple_public_object_id_spec.rb +3 -3
  294. data/spec/codegen/crm/line_items/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  295. data/spec/codegen/crm/line_items/models/{collection_response_simple_public_object_spec.rb → collection_response_simple_public_object_with_associations_forward_paging_spec.rb} +6 -6
  296. data/spec/codegen/crm/line_items/models/{collection_response_with_total_simple_public_object_spec.rb → collection_response_with_total_simple_public_object_forward_paging_spec.rb} +6 -6
  297. data/spec/codegen/crm/line_items/models/forward_paging_spec.rb +41 -0
  298. data/spec/codegen/crm/line_items/models/simple_public_object_spec.rb +0 -6
  299. data/spec/codegen/crm/line_items/models/simple_public_object_with_associations_spec.rb +77 -0
  300. data/spec/codegen/crm/objects/api/associations_api_spec.rb +2 -4
  301. data/spec/codegen/crm/objects/api/basic_api_spec.rb +4 -5
  302. data/spec/codegen/crm/objects/api/search_api_spec.rb +3 -3
  303. data/spec/codegen/crm/objects/feedback_submissions/api/associations_api_spec.rb +1 -2
  304. data/spec/codegen/crm/objects/feedback_submissions/api/basic_api_spec.rb +2 -4
  305. data/spec/codegen/crm/objects/feedback_submissions/api/search_api_spec.rb +1 -1
  306. data/spec/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id_spec.rb +3 -3
  307. data/spec/codegen/crm/objects/feedback_submissions/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  308. data/spec/codegen/crm/objects/feedback_submissions/models/{collection_response_simple_public_object_spec.rb → collection_response_simple_public_object_with_associations_forward_paging_spec.rb} +6 -6
  309. data/spec/codegen/crm/objects/feedback_submissions/models/{collection_response_with_total_simple_public_object_spec.rb → collection_response_with_total_simple_public_object_forward_paging_spec.rb} +6 -6
  310. data/spec/codegen/crm/objects/feedback_submissions/models/forward_paging_spec.rb +41 -0
  311. data/spec/codegen/crm/objects/feedback_submissions/models/simple_public_object_spec.rb +0 -6
  312. data/spec/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations_spec.rb +77 -0
  313. data/spec/codegen/crm/objects/models/batch_read_input_simple_public_object_id_spec.rb +3 -3
  314. data/spec/codegen/crm/objects/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  315. data/spec/codegen/crm/objects/models/{collection_response_simple_public_object_spec.rb → collection_response_simple_public_object_with_associations_forward_paging_spec.rb} +6 -6
  316. data/spec/codegen/crm/objects/models/{collection_response_with_total_simple_public_object_spec.rb → collection_response_with_total_simple_public_object_forward_paging_spec.rb} +6 -6
  317. data/spec/codegen/crm/objects/models/forward_paging_spec.rb +41 -0
  318. data/spec/codegen/crm/objects/models/simple_public_object_spec.rb +0 -6
  319. data/spec/codegen/crm/objects/models/simple_public_object_with_associations_spec.rb +77 -0
  320. data/spec/codegen/crm/owners/api/default_api_spec.rb +3 -1
  321. data/spec/codegen/crm/owners/models/{collection_response_public_owner_spec.rb → collection_response_public_owner_forward_paging_spec.rb} +6 -6
  322. data/spec/codegen/crm/owners/models/{paging_spec.rb → forward_paging_spec.rb} +6 -6
  323. data/spec/codegen/crm/products/api/associations_api_spec.rb +2 -4
  324. data/spec/codegen/crm/products/api/basic_api_spec.rb +4 -5
  325. data/spec/codegen/crm/products/api/search_api_spec.rb +1 -1
  326. data/spec/codegen/crm/products/models/batch_read_input_simple_public_object_id_spec.rb +3 -3
  327. data/spec/codegen/crm/products/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  328. data/spec/codegen/crm/products/models/{collection_response_simple_public_object_spec.rb → collection_response_simple_public_object_with_associations_forward_paging_spec.rb} +6 -6
  329. data/spec/codegen/crm/products/models/{collection_response_with_total_simple_public_object_spec.rb → collection_response_with_total_simple_public_object_forward_paging_spec.rb} +6 -6
  330. data/spec/codegen/crm/products/models/forward_paging_spec.rb +41 -0
  331. data/spec/codegen/crm/products/models/simple_public_object_spec.rb +0 -6
  332. data/spec/codegen/crm/products/models/simple_public_object_with_associations_spec.rb +77 -0
  333. data/spec/codegen/crm/quotes/api/associations_api_spec.rb +1 -2
  334. data/spec/codegen/crm/quotes/api/basic_api_spec.rb +2 -4
  335. data/spec/codegen/crm/quotes/api/search_api_spec.rb +1 -1
  336. data/spec/codegen/crm/quotes/models/batch_read_input_simple_public_object_id_spec.rb +3 -3
  337. data/spec/codegen/crm/quotes/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  338. data/spec/codegen/crm/quotes/models/{collection_response_simple_public_object_spec.rb → collection_response_simple_public_object_with_associations_forward_paging_spec.rb} +6 -6
  339. data/spec/codegen/crm/quotes/models/{collection_response_with_total_simple_public_object_spec.rb → collection_response_with_total_simple_public_object_forward_paging_spec.rb} +6 -6
  340. data/spec/codegen/crm/quotes/models/forward_paging_spec.rb +41 -0
  341. data/spec/codegen/crm/quotes/models/simple_public_object_spec.rb +0 -6
  342. data/spec/codegen/crm/quotes/models/simple_public_object_with_associations_spec.rb +77 -0
  343. data/spec/codegen/crm/schemas/api/core_api_spec.rb +10 -8
  344. data/spec/codegen/crm/schemas/models/association_definition_egg_spec.rb +0 -20
  345. data/spec/codegen/crm/schemas/models/association_definition_spec.rb +0 -20
  346. data/spec/codegen/crm/schemas/models/{collection_response_object_schema_spec.rb → collection_response_object_schema_no_paging_spec.rb} +6 -12
  347. data/spec/codegen/crm/schemas/models/object_schema_spec.rb +6 -0
  348. data/spec/codegen/crm/schemas/models/object_type_definition_spec.rb +6 -0
  349. data/spec/codegen/crm/schemas/models/object_type_property_create_spec.rb +1 -1
  350. data/spec/codegen/crm/tickets/api/associations_api_spec.rb +2 -4
  351. data/spec/codegen/crm/tickets/api/basic_api_spec.rb +4 -5
  352. data/spec/codegen/crm/tickets/api/search_api_spec.rb +1 -1
  353. data/spec/codegen/crm/tickets/models/batch_read_input_simple_public_object_id_spec.rb +3 -3
  354. data/spec/codegen/crm/tickets/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  355. data/spec/codegen/crm/tickets/models/{collection_response_simple_public_object_spec.rb → collection_response_simple_public_object_with_associations_forward_paging_spec.rb} +6 -6
  356. data/spec/codegen/crm/tickets/models/{collection_response_with_total_simple_public_object_spec.rb → collection_response_with_total_simple_public_object_forward_paging_spec.rb} +6 -6
  357. data/spec/codegen/crm/tickets/models/forward_paging_spec.rb +41 -0
  358. data/spec/codegen/crm/tickets/models/simple_public_object_spec.rb +0 -6
  359. data/spec/codegen/crm/tickets/models/simple_public_object_with_associations_spec.rb +77 -0
  360. data/spec/codegen/files/files/api/files_api_spec.rb +2 -2
  361. data/spec/codegen/files/files/models/file_update_input_spec.rb +1 -1
  362. data/spec/codegen/files/files/models/import_from_url_input_spec.rb +1 -1
  363. data/spec/codegen/marketing/transactional/api/default_api_spec.rb +12 -12
  364. data/spec/features/communication_preferences/definition_api_spec.rb +7 -0
  365. data/spec/features/communication_preferences/status_api_spec.rb +9 -0
  366. data/spec/features/crm/objects/search_api_spec.rb +1 -1
  367. metadata +195 -74
  368. data/lib/hubspot/codegen/crm/schemas/models/next_page.rb +0 -224
  369. data/spec/codegen/crm/schemas/models/next_page_spec.rb +0 -47
  370. data/spec/codegen/crm/schemas/models/paging_spec.rb +0 -47
  371. data/spec/codegen/crm/schemas/models/previous_page_spec.rb +0 -47
@@ -62,6 +62,12 @@ describe 'ObjectSchema' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "archived"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
65
71
  describe 'test attribute "id"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,6 +62,12 @@ describe 'ObjectTypeDefinition' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "archived"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
65
71
  describe 'test attribute "id"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -83,7 +83,7 @@ describe 'ObjectTypePropertyCreate' do
83
83
  describe 'test attribute "type"' do
84
84
  it 'should work' do
85
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["string", "number", "date", "datetime", "enumeration"])
86
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["string", "number", "date", "datetime", "enumeration", "bool"])
87
87
  # validator.allowable_values.each do |value|
88
88
  # expect { @instance.type = value }.not_to raise_error
89
89
  # end
@@ -53,8 +53,7 @@ describe 'AssociationsApi' do
53
53
  # @param to_object_id
54
54
  # @param association_type
55
55
  # @param [Hash] opts the optional parameters
56
- # @option opts [Boolean] :paginate_associations
57
- # @return [SimplePublicObject]
56
+ # @return [SimplePublicObjectWithAssociations]
58
57
  describe 'create test' do
59
58
  it 'should work' do
60
59
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -66,10 +65,9 @@ describe 'AssociationsApi' do
66
65
  # @param ticket_id
67
66
  # @param to_object_type
68
67
  # @param [Hash] opts the optional parameters
69
- # @option opts [Boolean] :paginate_associations
70
68
  # @option opts [String] :after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
71
69
  # @option opts [Integer] :limit The maximum number of results to display per page.
72
- # @return [CollectionResponseAssociatedId]
70
+ # @return [CollectionResponseAssociatedIdForwardPaging]
73
71
  describe 'get_all test' do
74
72
  it 'should work' do
75
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -63,10 +63,9 @@ describe 'BasicApi' do
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @option opts [Array<String>] :properties A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
65
65
  # @option opts [Array<String>] :associations A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
66
- # @option opts [Boolean] :paginate_associations
67
66
  # @option opts [Boolean] :archived Whether to return only results that have been archived.
68
67
  # @option opts [String] :id_property The name of a property whose values are unique for this object type
69
- # @return [SimplePublicObject]
68
+ # @return [SimplePublicObjectWithAssociations]
70
69
  describe 'get_by_id test' do
71
70
  it 'should work' do
72
71
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -81,9 +80,8 @@ describe 'BasicApi' do
81
80
  # @option opts [String] :after The paging cursor token of the last successfully read resource will be returned as the &#x60;paging.next.after&#x60; JSON property of a paged response containing more results.
82
81
  # @option opts [Array<String>] :properties A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
83
82
  # @option opts [Array<String>] :associations A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
84
- # @option opts [Boolean] :paginate_associations
85
83
  # @option opts [Boolean] :archived Whether to return only results that have been archived.
86
- # @return [CollectionResponseSimplePublicObject]
84
+ # @return [CollectionResponseSimplePublicObjectWithAssociationsForwardPaging]
87
85
  describe 'get_page test' do
88
86
  it 'should work' do
89
87
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -92,10 +90,11 @@ describe 'BasicApi' do
92
90
 
93
91
  # unit tests for update
94
92
  # Update
95
- # Perform a partial update of an Object identified by &#x60;{ticketId}&#x60;. Provided property values will be overwritten. Read-only and non-existent properties will be ignored. Properties values can be cleared by passing an empty string.
93
+ # Perform a partial update of an Object identified by &#x60;{ticketId}&#x60;. &#x60;{ticketId}&#x60; refers to the internal object ID by default, or optionally any unique property value as specified by the &#x60;idProperty&#x60; query param. Provided property values will be overwritten. Read-only and non-existent properties will be ignored. Properties values can be cleared by passing an empty string.
96
94
  # @param ticket_id
97
95
  # @param simple_public_object_input
98
96
  # @param [Hash] opts the optional parameters
97
+ # @option opts [String] :id_property The name of a property whose values are unique for this object type
99
98
  # @return [SimplePublicObject]
100
99
  describe 'update test' do
101
100
  it 'should work' do
@@ -37,7 +37,7 @@ describe 'SearchApi' do
37
37
  # Filter, Sort, and Search CRM Objects
38
38
  # @param public_object_search_request
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [CollectionResponseWithTotalSimplePublicObject]
40
+ # @return [CollectionResponseWithTotalSimplePublicObjectForwardPaging]
41
41
  describe 'do_search test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,19 +32,19 @@ describe 'BatchReadInputSimplePublicObjectId' do
32
32
  expect(@instance).to be_instance_of(Hubspot::Crm::Tickets::BatchReadInputSimplePublicObjectId)
33
33
  end
34
34
  end
35
- describe 'test attribute "inputs"' do
35
+ describe 'test attribute "properties"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "properties"' do
41
+ describe 'test attribute "id_property"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "id_property"' do
47
+ describe 'test attribute "inputs"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Tickets
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Hubspot::Crm::Tickets::CollectionResponseAssociatedIdForwardPaging
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'CollectionResponseAssociatedIdForwardPaging' do
21
+ before do
22
+ # run before each test
23
+ @instance = Hubspot::Crm::Tickets::CollectionResponseAssociatedIdForwardPaging.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of CollectionResponseAssociatedIdForwardPaging' do
31
+ it 'should create an instance of CollectionResponseAssociatedIdForwardPaging' do
32
+ expect(@instance).to be_instance_of(Hubspot::Crm::Tickets::CollectionResponseAssociatedIdForwardPaging)
33
+ end
34
+ end
35
+ describe 'test attribute "results"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "paging"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Hubspot::Crm::Tickets::CollectionResponseSimplePublicObject
17
+ # Unit tests for Hubspot::Crm::Tickets::CollectionResponseSimplePublicObjectWithAssociationsForwardPaging
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'CollectionResponseSimplePublicObject' do
20
+ describe 'CollectionResponseSimplePublicObjectWithAssociationsForwardPaging' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Hubspot::Crm::Tickets::CollectionResponseSimplePublicObject.new
23
+ @instance = Hubspot::Crm::Tickets::CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of CollectionResponseSimplePublicObject' do
31
- it 'should create an instance of CollectionResponseSimplePublicObject' do
32
- expect(@instance).to be_instance_of(Hubspot::Crm::Tickets::CollectionResponseSimplePublicObject)
30
+ describe 'test an instance of CollectionResponseSimplePublicObjectWithAssociationsForwardPaging' do
31
+ it 'should create an instance of CollectionResponseSimplePublicObjectWithAssociationsForwardPaging' do
32
+ expect(@instance).to be_instance_of(Hubspot::Crm::Tickets::CollectionResponseSimplePublicObjectWithAssociationsForwardPaging)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "results"' do
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Hubspot::Crm::Tickets::CollectionResponseWithTotalSimplePublicObject
17
+ # Unit tests for Hubspot::Crm::Tickets::CollectionResponseWithTotalSimplePublicObjectForwardPaging
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'CollectionResponseWithTotalSimplePublicObject' do
20
+ describe 'CollectionResponseWithTotalSimplePublicObjectForwardPaging' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Hubspot::Crm::Tickets::CollectionResponseWithTotalSimplePublicObject.new
23
+ @instance = Hubspot::Crm::Tickets::CollectionResponseWithTotalSimplePublicObjectForwardPaging.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of CollectionResponseWithTotalSimplePublicObject' do
31
- it 'should create an instance of CollectionResponseWithTotalSimplePublicObject' do
32
- expect(@instance).to be_instance_of(Hubspot::Crm::Tickets::CollectionResponseWithTotalSimplePublicObject)
30
+ describe 'test an instance of CollectionResponseWithTotalSimplePublicObjectForwardPaging' do
31
+ it 'should create an instance of CollectionResponseWithTotalSimplePublicObjectForwardPaging' do
32
+ expect(@instance).to be_instance_of(Hubspot::Crm::Tickets::CollectionResponseWithTotalSimplePublicObjectForwardPaging)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "total"' do
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Tickets
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Hubspot::Crm::Tickets::ForwardPaging
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ForwardPaging' do
21
+ before do
22
+ # run before each test
23
+ @instance = Hubspot::Crm::Tickets::ForwardPaging.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ForwardPaging' do
31
+ it 'should create an instance of ForwardPaging' do
32
+ expect(@instance).to be_instance_of(Hubspot::Crm::Tickets::ForwardPaging)
33
+ end
34
+ end
35
+ describe 'test attribute "_next"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -56,12 +56,6 @@ describe 'SimplePublicObject' do
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "associations"' do
60
- it 'should work' do
61
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
- end
63
- end
64
-
65
59
  describe 'test attribute "archived"' do
66
60
  it 'should work' do
67
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,77 @@
1
+ =begin
2
+ #Tickets
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Hubspot::Crm::Tickets::SimplePublicObjectWithAssociations
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SimplePublicObjectWithAssociations' do
21
+ before do
22
+ # run before each test
23
+ @instance = Hubspot::Crm::Tickets::SimplePublicObjectWithAssociations.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SimplePublicObjectWithAssociations' do
31
+ it 'should create an instance of SimplePublicObjectWithAssociations' do
32
+ expect(@instance).to be_instance_of(Hubspot::Crm::Tickets::SimplePublicObjectWithAssociations)
33
+ end
34
+ end
35
+ describe 'test attribute "id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "properties"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "created_at"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "updated_at"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "archived"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "archived_at"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "associations"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ end
@@ -145,7 +145,7 @@ describe 'FilesApi' do
145
145
  # @param file_id Id of the desired file.
146
146
  # @param [Hash] opts the optional parameters
147
147
  # @option opts [String] :user_agent
148
- # @option opts [String] :file File data that will replace existing file in the file manager.
148
+ # @option opts [File] :file File data that will replace existing file in the file manager.
149
149
  # @option opts [String] :charset_hunch Character set of given file data.
150
150
  # @option opts [String] :options JSON String representing FileReplaceOptions
151
151
  # @return [File]
@@ -173,7 +173,7 @@ describe 'FilesApi' do
173
173
  # Upload a single file with content specified in request body.
174
174
  # @param [Hash] opts the optional parameters
175
175
  # @option opts [String] :user_agent
176
- # @option opts [String] :file File to be uploaded.
176
+ # @option opts [File] :file File to be uploaded.
177
177
  # @option opts [String] :folder_id Either &#39;folderId&#39; or &#39;folderPath&#39; is required. folderId is the ID of the folder the file will be uploaded to.
178
178
  # @option opts [String] :folder_path Either &#39;folderPath&#39; or &#39;folderId&#39; is required. This field represents the destination folder path for the uploaded file. If a path doesn&#39;t exist, the system will try to create one.
179
179
  # @option opts [String] :file_name Desired name for the uploaded file.
@@ -59,7 +59,7 @@ describe 'FileUpdateInput' do
59
59
  describe 'test attribute "access"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PUBLIC_INDEXABLE", "PUBLIC_NOT_INDEXABLE", "PRIVATE"])
62
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PUBLIC_INDEXABLE", "PUBLIC_NOT_INDEXABLE", "HIDDEN_INDEXABLE", "HIDDEN_NOT_INDEXABLE", "HIDDEN_PRIVATE", "PRIVATE"])
63
63
  # validator.allowable_values.each do |value|
64
64
  # expect { @instance.access = value }.not_to raise_error
65
65
  # end
@@ -35,7 +35,7 @@ describe 'ImportFromUrlInput' do
35
35
  describe 'test attribute "access"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PUBLIC_INDEXABLE", "PUBLIC_NOT_INDEXABLE", "PRIVATE"])
38
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PUBLIC_INDEXABLE", "PUBLIC_NOT_INDEXABLE", "HIDDEN_INDEXABLE", "HIDDEN_NOT_INDEXABLE", "HIDDEN_PRIVATE", "PRIVATE"])
39
39
  # validator.allowable_values.each do |value|
40
40
  # expect { @instance.access = value }.not_to raise_error
41
41
  # end
@@ -44,6 +44,18 @@ describe 'DefaultApi' do
44
44
  end
45
45
  end
46
46
 
47
+ # unit tests for create_token
48
+ # Create a SMTP API token.
49
+ # Create a SMTP API token.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [SmtpApiTokenRequestEgg] :smtp_api_token_request_egg A request object that includes the campaign name tied to the token and whether contacts should be created for recipients of emails.
52
+ # @return [SmtpApiTokenView]
53
+ describe 'create_token test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
47
59
  # unit tests for get_token_by_id
48
60
  # Query a single token by ID.
49
61
  # Query a single token by ID.
@@ -71,18 +83,6 @@ describe 'DefaultApi' do
71
83
  end
72
84
  end
73
85
 
74
- # unit tests for reate_token
75
- # Create a SMTP API token.
76
- # Create a SMTP API token.
77
- # @param [Hash] opts the optional parameters
78
- # @option opts [SmtpApiTokenRequestEgg] :smtp_api_token_request_egg A request object that includes the campaign name tied to the token and whether contacts should be created for recipients of emails.
79
- # @return [SmtpApiTokenView]
80
- describe 'create_token test' do
81
- it 'should work' do
82
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
- end
84
- end
85
-
86
86
  # unit tests for reset_password
87
87
  # Reset the password of an existing token.
88
88
  # Allows the creation of a replacement password for a given token. Once the password is successfully reset, the old password for the token will be invalid.