hubspot-api-client 16.4.0 → 17.0.0.pre.beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +77 -1
- data/Gemfile.lock +1 -1
- data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +66 -66
- data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +9 -9
- data/lib/hubspot/codegen/cms/hubdb/models/{batch_input_json_node.rb → batch_input_hub_db_table_row_v3_batch_update_request.rb} +4 -4
- data/lib/hubspot/codegen/cms/hubdb/models/column.rb +52 -44
- data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +2 -2
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +29 -20
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_batch_update_request.rb +285 -0
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +13 -4
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +60 -52
- data/lib/hubspot/codegen/cms/hubdb/models/option.rb +10 -1
- data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/companies/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/companies/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/companies/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/companies/models/public_object_id.rb +228 -0
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +246 -0
- data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/contacts/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/contacts/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/contacts/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/contacts/models/public_object_id.rb +228 -0
- data/lib/hubspot/codegen/crm/{deals/models/multi_associated_object_with_label.rb → contacts/models/simple_public_object_input_for_create.rb} +28 -26
- data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/deals/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/deals/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/deals/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/{properties/models/paging.rb → deals/models/public_object_id.rb} +19 -14
- data/lib/hubspot/codegen/crm/{tickets/models/multi_associated_object_with_label.rb → deals/models/simple_public_object_input_for_create.rb} +28 -26
- data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/line_items/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/line_items/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/line_items/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/line_items/models/public_object_id.rb +228 -0
- data/lib/hubspot/codegen/crm/line_items/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
- data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/calls/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/calls/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/calls/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/objects/calls/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
- data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/emails/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/emails/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/emails/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/objects/emails/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
- data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/meetings/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/meetings/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
- data/lib/hubspot/codegen/crm/{line_items/models/association_spec_with_label.rb → objects/models/association_spec.rb} +33 -42
- data/lib/hubspot/codegen/crm/objects/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +244 -0
- data/lib/hubspot/codegen/crm/{associations/models/public_association_definiton.rb → objects/models/public_object_id.rb} +11 -25
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +246 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/notes/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/notes/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/notes/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/objects/notes/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
- data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/tasks/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/tasks/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/tasks/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
- data/lib/hubspot/codegen/crm/products/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/products/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/products/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/products/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/products/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/products/models/public_object_id.rb +228 -0
- data/lib/hubspot/codegen/crm/products/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
- data/lib/hubspot/codegen/crm/properties/api/core_api.rb +9 -3
- data/lib/hubspot/codegen/crm/properties/api/groups_api.rb +3 -3
- data/lib/hubspot/codegen/crm/properties/models/batch_read_input_property_name.rb +18 -18
- data/lib/hubspot/codegen/crm/properties/models/batch_response_property.rb +1 -21
- data/lib/hubspot/codegen/crm/properties/models/batch_response_property_with_errors.rb +346 -0
- data/lib/hubspot/codegen/crm/properties/models/{collection_response_property_group.rb → collection_response_property_group_no_paging.rb} +7 -16
- data/lib/hubspot/codegen/crm/properties/models/{collection_response_property.rb → collection_response_property_no_paging.rb} +7 -16
- data/lib/hubspot/codegen/crm/properties/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/quotes/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/quotes/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/quotes/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/quotes/models/public_object_id.rb +228 -0
- data/lib/hubspot/codegen/crm/{contacts/models/multi_associated_object_with_label.rb → quotes/models/simple_public_object_input_for_create.rb} +28 -26
- data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +9 -9
- data/lib/hubspot/codegen/crm/tickets/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/tickets/models/filter.rb +10 -1
- data/lib/hubspot/codegen/crm/tickets/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
- data/lib/hubspot/codegen/crm/tickets/models/public_object_id.rb +228 -0
- data/lib/hubspot/codegen/crm/{companies/models/multi_associated_object_with_label.rb → tickets/models/simple_public_object_input_for_create.rb} +28 -26
- data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +7 -7
- data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +14 -14
- data/lib/hubspot/codegen/oauth/api/tokens_api.rb +6 -6
- data/lib/hubspot/codegen/webhooks/models/error_category.rb +18 -18
- data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +2 -2
- data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +2 -2
- data/lib/hubspot/discovery/crm/companies/client.rb +0 -1
- data/lib/hubspot/discovery/crm/contacts/client.rb +0 -1
- data/lib/hubspot/discovery/crm/deals/client.rb +0 -1
- data/lib/hubspot/discovery/crm/line_items/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/calls/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/emails/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/meetings/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/notes/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/postal_mail/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/tasks/client.rb +0 -1
- data/lib/hubspot/version.rb +1 -1
- data/spec/discovery/cms/hubdb/rows_batch_api_spec.rb +7 -7
- data/spec/discovery/oauth/access_tokens_api_spec.rb +1 -1
- data/spec/discovery/oauth/refresh_tokens_api_spec.rb +2 -2
- data/spec/discovery/oauth/tokens_api_spec.rb +1 -1
- metadata +162 -227
- data/lib/hubspot/codegen/crm/associations/models/collection_response_public_association_definiton.rb +0 -239
- data/lib/hubspot/codegen/crm/companies/api/associations_api.rb +0 -262
- data/lib/hubspot/codegen/crm/companies/models/association_spec_with_label.rb +0 -285
- data/lib/hubspot/codegen/crm/companies/models/labels_between_object_pair.rb +0 -286
- data/lib/hubspot/codegen/crm/contacts/api/associations_api.rb +0 -262
- data/lib/hubspot/codegen/crm/contacts/models/association_spec_with_label.rb +0 -285
- data/lib/hubspot/codegen/crm/contacts/models/labels_between_object_pair.rb +0 -286
- data/lib/hubspot/codegen/crm/deals/api/associations_api.rb +0 -262
- data/lib/hubspot/codegen/crm/deals/models/association_spec_with_label.rb +0 -285
- data/lib/hubspot/codegen/crm/deals/models/labels_between_object_pair.rb +0 -286
- data/lib/hubspot/codegen/crm/line_items/api/associations_api.rb +0 -262
- data/lib/hubspot/codegen/crm/line_items/models/labels_between_object_pair.rb +0 -286
- data/lib/hubspot/codegen/crm/objects/calls/api/associations_api.rb +0 -264
- data/lib/hubspot/codegen/crm/objects/calls/models/association_spec_with_label.rb +0 -287
- data/lib/hubspot/codegen/crm/objects/calls/models/labels_between_object_pair.rb +0 -288
- data/lib/hubspot/codegen/crm/objects/emails/api/associations_api.rb +0 -264
- data/lib/hubspot/codegen/crm/objects/emails/models/association_spec_with_label.rb +0 -287
- data/lib/hubspot/codegen/crm/objects/emails/models/labels_between_object_pair.rb +0 -288
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +0 -264
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/association_spec_with_label.rb +0 -287
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/labels_between_object_pair.rb +0 -288
- data/lib/hubspot/codegen/crm/objects/meetings/api/associations_api.rb +0 -264
- data/lib/hubspot/codegen/crm/objects/meetings/models/association_spec_with_label.rb +0 -287
- data/lib/hubspot/codegen/crm/objects/meetings/models/labels_between_object_pair.rb +0 -288
- data/lib/hubspot/codegen/crm/objects/notes/api/associations_api.rb +0 -264
- data/lib/hubspot/codegen/crm/objects/notes/models/association_spec_with_label.rb +0 -287
- data/lib/hubspot/codegen/crm/objects/notes/models/labels_between_object_pair.rb +0 -288
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/associations_api.rb +0 -264
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/association_spec_with_label.rb +0 -287
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/labels_between_object_pair.rb +0 -288
- data/lib/hubspot/codegen/crm/objects/tasks/api/associations_api.rb +0 -264
- data/lib/hubspot/codegen/crm/objects/tasks/models/association_spec_with_label.rb +0 -287
- data/lib/hubspot/codegen/crm/objects/tasks/models/labels_between_object_pair.rb +0 -288
- data/lib/hubspot/codegen/crm/products/api/associations_api.rb +0 -262
- data/lib/hubspot/codegen/crm/products/models/association_spec_with_label.rb +0 -285
- data/lib/hubspot/codegen/crm/products/models/labels_between_object_pair.rb +0 -286
- data/lib/hubspot/codegen/crm/properties/models/next_page.rb +0 -237
- data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +0 -262
- data/lib/hubspot/codegen/crm/quotes/models/association_spec_with_label.rb +0 -285
- data/lib/hubspot/codegen/crm/quotes/models/labels_between_object_pair.rb +0 -286
- data/lib/hubspot/codegen/crm/quotes/models/multi_associated_object_with_label.rb +0 -244
- data/lib/hubspot/codegen/crm/tickets/api/associations_api.rb +0 -262
- data/lib/hubspot/codegen/crm/tickets/models/association_spec_with_label.rb +0 -285
- data/lib/hubspot/codegen/crm/tickets/models/labels_between_object_pair.rb +0 -286
- data/lib/hubspot/discovery/crm/companies/api/associations_api.rb +0 -13
- data/lib/hubspot/discovery/crm/contacts/api/associations_api.rb +0 -13
- data/lib/hubspot/discovery/crm/deals/api/associations_api.rb +0 -13
- data/lib/hubspot/discovery/crm/line_items/api/associations_api.rb +0 -13
- data/lib/hubspot/discovery/crm/objects/calls/api/associations_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/emails/api/associations_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/associations_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/meetings/api/associations_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/notes/api/associations_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/postal_mail/api/associations_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/tasks/api/associations_api.rb +0 -15
- data/spec/discovery/crm/companies/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/contacts/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/deals/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/line_items/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/objects/calls/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/objects/emails/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/objects/feedback_submissions/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/objects/meetings/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/objects/notes/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/objects/postal_mail/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/objects/tasks/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/products/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/quotes/associations_api_spec.rb +0 -7
- data/spec/discovery/crm/tickets/associations_api_spec.rb +0 -9
- /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/api/audit_logs_api.rb +0 -0
- /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/api_client.rb +0 -0
- /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/api_error.rb +0 -0
- /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/configuration.rb +0 -0
- /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/collection_response_public_audit_log.rb +0 -0
- /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/error.rb +0 -0
- /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/error_detail.rb +0 -0
- /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/next_page.rb +0 -0
- /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/paging.rb +0 -0
- /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/public_audit_log.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/api/blog_posts_api.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/api_client.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/api_error.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/configuration.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/angle.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/attach_to_lang_primary_request_v_next.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/background_image.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_input_blog_post.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_input_json_node.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_input_string.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_response_blog_post.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_response_blog_post_with_errors.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/blog_post.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/blog_post_language_clone_request_v_next.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/collection_response_with_total_blog_post_forward_paging.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/collection_response_with_total_version_blog_post.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/color_stop.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/content_clone_request_v_next.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/content_language_variation.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/content_schedule_request_v_next.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/detach_from_lang_group_request_v_next.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/error.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/error_detail.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/forward_paging.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/gradient.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/layout_section.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/next_page.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/paging.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/previous_page.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/rgba_color.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/row_meta_data.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/set_new_language_primary_request_v_next.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/side_or_corner.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/standard_error.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/styles.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/update_languages_request_v_next.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/version_blog_post.rb +0 -0
- /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/version_user.rb +0 -0
- /data/lib/hubspot/codegen/cms/{site-search → site_search}/api/public_api.rb +0 -0
- /data/lib/hubspot/codegen/cms/{site-search → site_search}/api_client.rb +0 -0
- /data/lib/hubspot/codegen/cms/{site-search → site_search}/api_error.rb +0 -0
- /data/lib/hubspot/codegen/cms/{site-search → site_search}/configuration.rb +0 -0
- /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/content_search_result.rb +0 -0
- /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/error.rb +0 -0
- /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/error_detail.rb +0 -0
- /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/indexed_data.rb +0 -0
- /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/indexed_field.rb +0 -0
- /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/public_search_results.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/content_api.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/extract_api.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/metadata_api.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/source_code_extract_api.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/validation_api.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/api_client.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/api_error.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/configuration.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/action_response.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/asset_file_metadata.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/error.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/error_detail.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/file_extract_request.rb +0 -0
- /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/task_locator.rb +0 -0
- /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/api/redirects_api.rb +0 -0
- /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/api_client.rb +0 -0
- /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/api_error.rb +0 -0
- /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/configuration.rb +0 -0
- /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/collection_response_with_total_url_mapping_forward_paging.rb +0 -0
- /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/error.rb +0 -0
- /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/error_detail.rb +0 -0
- /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/forward_paging.rb +0 -0
- /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/next_page.rb +0 -0
- /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/url_mapping.rb +0 -0
- /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/url_mapping_create_request_body.rb +0 -0
- /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/api/generate_api.rb +0 -0
- /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/api_client.rb +0 -0
- /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/api_error.rb +0 -0
- /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/configuration.rb +0 -0
- /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/error.rb +0 -0
- /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/error_detail.rb +0 -0
- /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/identification_token_generation_request.rb +0 -0
- /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/identification_token_response.rb +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c704c669acaebf044517de23f66af799efeb23849c0841e9e9012a6861d94ff
|
|
4
|
+
data.tar.gz: 8e2353c95414bcbe30f5a967140d7d95338cba1912904e6cdbde2cb2fe5c4991
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d50f6394df9380813c6b99e12f7d71a94344bf93aa6cef9deb39ec1aa38da9285f282690d1c0b874ed597be5e8c81331b4631f7727e1059edddc65841ee9ace0
|
|
7
|
+
data.tar.gz: 3e8e97a0d8f83a0296b444bd7c2a84a3e22cbd433541e94decbd173c6d66b87e27a26c919b6947943fc3c4561447b66e58d8688b83d5793c52741bf4214a72d2
|
data/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,83 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [Unreleased](https://github.com/HubSpot/hubspot-api-ruby/compare/
|
|
8
|
+
## [Unreleased](https://github.com/HubSpot/hubspot-api-ruby/compare/v17.0.0-beta.2...HEAD)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## [17.0.0-beta.2] - 2023-04-28
|
|
12
|
+
### Updated
|
|
13
|
+
|
|
14
|
+
-Add new event types to webhooks.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [17.0.0-beta.1] - 2023-04-11
|
|
18
|
+
### Updated
|
|
19
|
+
|
|
20
|
+
- Rename `cms.hubdb.rows_batch_api.batch_clone_draft_table_rows` => `cms.hubdb.rows_batch_api.clone_draft_table_rows`.
|
|
21
|
+
- Rename `cms.hubdb.rows_batch_api.batch_create_draft_table_rows` => `cms.hubdb.rows_batch_api.create_draft_table_rows`.
|
|
22
|
+
- Rename `cms.hubdb.rows_batch_api.batch_purge_draft_table_rows` => `cms.hubdb.rows_batch_api.purge_draft_table_rows`.
|
|
23
|
+
- Rename `cms.hubdb.rows_batch_api.batch_ReadDrafttable_rows` => `cms.hubdb.rows_batch_api.read_draft_table_rows`.
|
|
24
|
+
- Rename `cms.hubdb.rows_batch_api.batch_read_table_rows` => `cms.hubdb.rows_batch_api.read_table_rows`.
|
|
25
|
+
- Rename `cms.hubdb.rows_batch_api.batch_replace_draft_table_rows` => `cms.hubdb.rows_batch_api.replace_draft_table_rows`.
|
|
26
|
+
- Rename `cms.hubdb.rows_batch_api.batch_update_draft_table_rows` => `cms.hubdb.rows_batch_api.update_draft_table_rows`.
|
|
27
|
+
- `cms.hubdb.tables_api.get_draft_table_details_by_id` => `cms.hubdb.tables_api.get_draft_table_details_by_id(+include_foreign_ids: bool)`
|
|
28
|
+
- `cms.hubdb.tables_api.get_table_details` => `cms.hubdb.tables_api.get_table_details(+include_foreign_ids: bool)`
|
|
29
|
+
- `cms.hubdb.tables_api.update_draft_table` => `cms.hubdb.tables_api.update_draft_table(+include_foreign_ids: bool)`
|
|
30
|
+
- Removed `crm.companies.associations_api`.
|
|
31
|
+
- Removed `crm.contacts.associations_api`.
|
|
32
|
+
- Removed `crm.deals.associations_api`.
|
|
33
|
+
- Removed `crm.line_items.associations_api`.
|
|
34
|
+
- Removed `crm.objects.calls.associations_api`.
|
|
35
|
+
- Removed `crm.objects.emails.associations_api`.
|
|
36
|
+
- Removed `crm.objects.feedback_submissions.associations_api`.
|
|
37
|
+
- Removed `crm.objects.meetings.associations_api`.
|
|
38
|
+
- Removed `crm.objects.notes.associations_api`.
|
|
39
|
+
- Removed `crm.objects.postal_mail.associations_api`.
|
|
40
|
+
- Removed `crm.objects.tasks.associations_api`.
|
|
41
|
+
- Removed `crm.products.associations_api`.
|
|
42
|
+
- Removed `crm.quotes.associations_api`.
|
|
43
|
+
- Removed `crm.tickets.associations_api`.
|
|
44
|
+
- `crm.companies.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
45
|
+
- `crm.companies.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
46
|
+
- `crm.contacts.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
47
|
+
- `crm.contacts.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
48
|
+
- `crm.deals.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
49
|
+
- `crm.deals.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
50
|
+
- `crm.line_items.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
51
|
+
- `crm.line_items.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
52
|
+
- `crm.objects.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
53
|
+
- `crm.objects.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
54
|
+
- `crm.objects.calls.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
55
|
+
- `crm.objects.calls.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
56
|
+
- `crm.objects.emails.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
57
|
+
- `crm.objects.emails.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
58
|
+
- `crm.objects.feedback_submissions.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
59
|
+
- `crm.objects.feedback_submissions.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
60
|
+
- `crm.objects.meetings.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
61
|
+
- `crm.objects.meetings.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
62
|
+
- `crm.objects.notes.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
63
|
+
- `crm.objects.notes.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
64
|
+
- `crm.objects.postal_mail.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
65
|
+
- `crm.objects.postal_mail.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
66
|
+
- `crm.objects.tasks.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
67
|
+
- `crm.objects.tasks.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
68
|
+
- `crm.objects.products.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
69
|
+
- `crm.objects.products.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
70
|
+
- `crm.objects.quotes.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
71
|
+
- `crm.objects.quotes.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
72
|
+
- `crm.objects.tickets.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
|
|
73
|
+
- `crm.objects.tickets.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
|
|
74
|
+
- `marketing.events.marketing_events_external_api.do_search` => `marketing.events.search_api.do_search`
|
|
75
|
+
- Rename `oauth.access_tokens_api.get_accessToken` => `oauth.access_tokens_api.get`.
|
|
76
|
+
- Rename `oauth.refresh_tokens_api.archive_refresh_token` => `oauth.refresh_tokens_api.archive`.
|
|
77
|
+
- Rename `oauth.refresh_tokens_api.get_refreshToken` => `oauth.refresh_tokens_api.get`.
|
|
78
|
+
- Rename `oauth.tokens_api.create_token` => `oauth.tokens_api.create`.
|
|
79
|
+
|
|
80
|
+
### Added
|
|
81
|
+
|
|
82
|
+
- Added param `properties` to `crm.properties.core_api.get_all`.
|
|
83
|
+
- Added param `properties` to `crm.properties.core_api.get_by_name`.
|
|
84
|
+
- Added `high_value` param to all Filters.
|
|
9
85
|
|
|
10
86
|
## [16.4.0] - 2023-03-02
|
|
11
87
|
### Added
|
data/Gemfile.lock
CHANGED
|
@@ -27,8 +27,8 @@ module Hubspot
|
|
|
27
27
|
# @param batch_input_string [BatchInputString] The JSON array of row ids
|
|
28
28
|
# @param [Hash] opts the optional parameters
|
|
29
29
|
# @return [BatchResponseHubDbTableRowV3]
|
|
30
|
-
def
|
|
31
|
-
data, _status_code, _headers =
|
|
30
|
+
def clone_draft_table_rows(table_id_or_name, batch_input_string, opts = {})
|
|
31
|
+
data, _status_code, _headers = clone_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
|
|
32
32
|
data
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -38,17 +38,17 @@ module Hubspot
|
|
|
38
38
|
# @param batch_input_string [BatchInputString] The JSON array of row ids
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
|
41
|
-
def
|
|
41
|
+
def clone_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
|
|
42
42
|
if @api_client.config.debugging
|
|
43
|
-
@api_client.config.logger.debug 'Calling API: RowsBatchApi.
|
|
43
|
+
@api_client.config.logger.debug 'Calling API: RowsBatchApi.clone_draft_table_rows ...'
|
|
44
44
|
end
|
|
45
45
|
# verify the required parameter 'table_id_or_name' is set
|
|
46
46
|
if @api_client.config.client_side_validation && table_id_or_name.nil?
|
|
47
|
-
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.clone_draft_table_rows"
|
|
48
48
|
end
|
|
49
49
|
# verify the required parameter 'batch_input_string' is set
|
|
50
50
|
if @api_client.config.client_side_validation && batch_input_string.nil?
|
|
51
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.
|
|
51
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.clone_draft_table_rows"
|
|
52
52
|
end
|
|
53
53
|
# resource path
|
|
54
54
|
local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/clone'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
|
|
@@ -79,7 +79,7 @@ module Hubspot
|
|
|
79
79
|
auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
|
|
80
80
|
|
|
81
81
|
new_options = opts.merge(
|
|
82
|
-
:operation => :"RowsBatchApi.
|
|
82
|
+
:operation => :"RowsBatchApi.clone_draft_table_rows",
|
|
83
83
|
:header_params => header_params,
|
|
84
84
|
:query_params => query_params,
|
|
85
85
|
:form_params => form_params,
|
|
@@ -90,7 +90,7 @@ module Hubspot
|
|
|
90
90
|
|
|
91
91
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
92
92
|
if @api_client.config.debugging
|
|
93
|
-
@api_client.config.logger.debug "API called: RowsBatchApi#
|
|
93
|
+
@api_client.config.logger.debug "API called: RowsBatchApi#clone_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
94
94
|
end
|
|
95
95
|
return data, status_code, headers
|
|
96
96
|
end
|
|
@@ -101,8 +101,8 @@ module Hubspot
|
|
|
101
101
|
# @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects
|
|
102
102
|
# @param [Hash] opts the optional parameters
|
|
103
103
|
# @return [BatchResponseHubDbTableRowV3]
|
|
104
|
-
def
|
|
105
|
-
data, _status_code, _headers =
|
|
104
|
+
def create_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
|
|
105
|
+
data, _status_code, _headers = create_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts)
|
|
106
106
|
data
|
|
107
107
|
end
|
|
108
108
|
|
|
@@ -112,17 +112,17 @@ module Hubspot
|
|
|
112
112
|
# @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects
|
|
113
113
|
# @param [Hash] opts the optional parameters
|
|
114
114
|
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
|
115
|
-
def
|
|
115
|
+
def create_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
|
|
116
116
|
if @api_client.config.debugging
|
|
117
|
-
@api_client.config.logger.debug 'Calling API: RowsBatchApi.
|
|
117
|
+
@api_client.config.logger.debug 'Calling API: RowsBatchApi.create_draft_table_rows ...'
|
|
118
118
|
end
|
|
119
119
|
# verify the required parameter 'table_id_or_name' is set
|
|
120
120
|
if @api_client.config.client_side_validation && table_id_or_name.nil?
|
|
121
|
-
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.
|
|
121
|
+
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.create_draft_table_rows"
|
|
122
122
|
end
|
|
123
123
|
# verify the required parameter 'batch_input_hub_db_table_row_v3_request' is set
|
|
124
124
|
if @api_client.config.client_side_validation && batch_input_hub_db_table_row_v3_request.nil?
|
|
125
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3_request' when calling RowsBatchApi.
|
|
125
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3_request' when calling RowsBatchApi.create_draft_table_rows"
|
|
126
126
|
end
|
|
127
127
|
# resource path
|
|
128
128
|
local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/create'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
|
|
@@ -153,7 +153,7 @@ module Hubspot
|
|
|
153
153
|
auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
|
|
154
154
|
|
|
155
155
|
new_options = opts.merge(
|
|
156
|
-
:operation => :"RowsBatchApi.
|
|
156
|
+
:operation => :"RowsBatchApi.create_draft_table_rows",
|
|
157
157
|
:header_params => header_params,
|
|
158
158
|
:query_params => query_params,
|
|
159
159
|
:form_params => form_params,
|
|
@@ -164,7 +164,7 @@ module Hubspot
|
|
|
164
164
|
|
|
165
165
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
166
166
|
if @api_client.config.debugging
|
|
167
|
-
@api_client.config.logger.debug "API called: RowsBatchApi#
|
|
167
|
+
@api_client.config.logger.debug "API called: RowsBatchApi#create_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
168
168
|
end
|
|
169
169
|
return data, status_code, headers
|
|
170
170
|
end
|
|
@@ -175,8 +175,8 @@ module Hubspot
|
|
|
175
175
|
# @param batch_input_string [BatchInputString] JSON array of row ids.
|
|
176
176
|
# @param [Hash] opts the optional parameters
|
|
177
177
|
# @return [nil]
|
|
178
|
-
def
|
|
179
|
-
|
|
178
|
+
def purge_draft_table_rows(table_id_or_name, batch_input_string, opts = {})
|
|
179
|
+
purge_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
|
|
180
180
|
nil
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -186,17 +186,17 @@ module Hubspot
|
|
|
186
186
|
# @param batch_input_string [BatchInputString] JSON array of row ids.
|
|
187
187
|
# @param [Hash] opts the optional parameters
|
|
188
188
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
189
|
-
def
|
|
189
|
+
def purge_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
|
|
190
190
|
if @api_client.config.debugging
|
|
191
|
-
@api_client.config.logger.debug 'Calling API: RowsBatchApi.
|
|
191
|
+
@api_client.config.logger.debug 'Calling API: RowsBatchApi.purge_draft_table_rows ...'
|
|
192
192
|
end
|
|
193
193
|
# verify the required parameter 'table_id_or_name' is set
|
|
194
194
|
if @api_client.config.client_side_validation && table_id_or_name.nil?
|
|
195
|
-
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.
|
|
195
|
+
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.purge_draft_table_rows"
|
|
196
196
|
end
|
|
197
197
|
# verify the required parameter 'batch_input_string' is set
|
|
198
198
|
if @api_client.config.client_side_validation && batch_input_string.nil?
|
|
199
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.
|
|
199
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.purge_draft_table_rows"
|
|
200
200
|
end
|
|
201
201
|
# resource path
|
|
202
202
|
local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/purge'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
|
|
@@ -227,7 +227,7 @@ module Hubspot
|
|
|
227
227
|
auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
|
|
228
228
|
|
|
229
229
|
new_options = opts.merge(
|
|
230
|
-
:operation => :"RowsBatchApi.
|
|
230
|
+
:operation => :"RowsBatchApi.purge_draft_table_rows",
|
|
231
231
|
:header_params => header_params,
|
|
232
232
|
:query_params => query_params,
|
|
233
233
|
:form_params => form_params,
|
|
@@ -238,7 +238,7 @@ module Hubspot
|
|
|
238
238
|
|
|
239
239
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
240
240
|
if @api_client.config.debugging
|
|
241
|
-
@api_client.config.logger.debug "API called: RowsBatchApi#
|
|
241
|
+
@api_client.config.logger.debug "API called: RowsBatchApi#purge_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
242
242
|
end
|
|
243
243
|
return data, status_code, headers
|
|
244
244
|
end
|
|
@@ -249,8 +249,8 @@ module Hubspot
|
|
|
249
249
|
# @param batch_input_string [BatchInputString] JSON array of row ids.
|
|
250
250
|
# @param [Hash] opts the optional parameters
|
|
251
251
|
# @return [BatchResponseHubDbTableRowV3]
|
|
252
|
-
def
|
|
253
|
-
data, _status_code, _headers =
|
|
252
|
+
def read_draft_table_rows(table_id_or_name, batch_input_string, opts = {})
|
|
253
|
+
data, _status_code, _headers = read_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
|
|
254
254
|
data
|
|
255
255
|
end
|
|
256
256
|
|
|
@@ -260,17 +260,17 @@ module Hubspot
|
|
|
260
260
|
# @param batch_input_string [BatchInputString] JSON array of row ids.
|
|
261
261
|
# @param [Hash] opts the optional parameters
|
|
262
262
|
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
|
263
|
-
def
|
|
263
|
+
def read_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
|
|
264
264
|
if @api_client.config.debugging
|
|
265
|
-
@api_client.config.logger.debug 'Calling API: RowsBatchApi.
|
|
265
|
+
@api_client.config.logger.debug 'Calling API: RowsBatchApi.read_draft_table_rows ...'
|
|
266
266
|
end
|
|
267
267
|
# verify the required parameter 'table_id_or_name' is set
|
|
268
268
|
if @api_client.config.client_side_validation && table_id_or_name.nil?
|
|
269
|
-
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.
|
|
269
|
+
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.read_draft_table_rows"
|
|
270
270
|
end
|
|
271
271
|
# verify the required parameter 'batch_input_string' is set
|
|
272
272
|
if @api_client.config.client_side_validation && batch_input_string.nil?
|
|
273
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.
|
|
273
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.read_draft_table_rows"
|
|
274
274
|
end
|
|
275
275
|
# resource path
|
|
276
276
|
local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/read'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
|
|
@@ -301,7 +301,7 @@ module Hubspot
|
|
|
301
301
|
auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
|
|
302
302
|
|
|
303
303
|
new_options = opts.merge(
|
|
304
|
-
:operation => :"RowsBatchApi.
|
|
304
|
+
:operation => :"RowsBatchApi.read_draft_table_rows",
|
|
305
305
|
:header_params => header_params,
|
|
306
306
|
:query_params => query_params,
|
|
307
307
|
:form_params => form_params,
|
|
@@ -312,7 +312,7 @@ module Hubspot
|
|
|
312
312
|
|
|
313
313
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
314
314
|
if @api_client.config.debugging
|
|
315
|
-
@api_client.config.logger.debug "API called: RowsBatchApi#
|
|
315
|
+
@api_client.config.logger.debug "API called: RowsBatchApi#read_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
316
316
|
end
|
|
317
317
|
return data, status_code, headers
|
|
318
318
|
end
|
|
@@ -323,8 +323,8 @@ module Hubspot
|
|
|
323
323
|
# @param batch_input_string [BatchInputString] The JSON array of row ids
|
|
324
324
|
# @param [Hash] opts the optional parameters
|
|
325
325
|
# @return [BatchResponseHubDbTableRowV3]
|
|
326
|
-
def
|
|
327
|
-
data, _status_code, _headers =
|
|
326
|
+
def read_table_rows(table_id_or_name, batch_input_string, opts = {})
|
|
327
|
+
data, _status_code, _headers = read_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
|
|
328
328
|
data
|
|
329
329
|
end
|
|
330
330
|
|
|
@@ -334,17 +334,17 @@ module Hubspot
|
|
|
334
334
|
# @param batch_input_string [BatchInputString] The JSON array of row ids
|
|
335
335
|
# @param [Hash] opts the optional parameters
|
|
336
336
|
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
|
337
|
-
def
|
|
337
|
+
def read_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
|
|
338
338
|
if @api_client.config.debugging
|
|
339
|
-
@api_client.config.logger.debug 'Calling API: RowsBatchApi.
|
|
339
|
+
@api_client.config.logger.debug 'Calling API: RowsBatchApi.read_table_rows ...'
|
|
340
340
|
end
|
|
341
341
|
# verify the required parameter 'table_id_or_name' is set
|
|
342
342
|
if @api_client.config.client_side_validation && table_id_or_name.nil?
|
|
343
|
-
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.
|
|
343
|
+
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.read_table_rows"
|
|
344
344
|
end
|
|
345
345
|
# verify the required parameter 'batch_input_string' is set
|
|
346
346
|
if @api_client.config.client_side_validation && batch_input_string.nil?
|
|
347
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.
|
|
347
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.read_table_rows"
|
|
348
348
|
end
|
|
349
349
|
# resource path
|
|
350
350
|
local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/batch/read'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
|
|
@@ -375,7 +375,7 @@ module Hubspot
|
|
|
375
375
|
auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
|
|
376
376
|
|
|
377
377
|
new_options = opts.merge(
|
|
378
|
-
:operation => :"RowsBatchApi.
|
|
378
|
+
:operation => :"RowsBatchApi.read_table_rows",
|
|
379
379
|
:header_params => header_params,
|
|
380
380
|
:query_params => query_params,
|
|
381
381
|
:form_params => form_params,
|
|
@@ -386,7 +386,7 @@ module Hubspot
|
|
|
386
386
|
|
|
387
387
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
388
388
|
if @api_client.config.debugging
|
|
389
|
-
@api_client.config.logger.debug "API called: RowsBatchApi#
|
|
389
|
+
@api_client.config.logger.debug "API called: RowsBatchApi#read_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
390
390
|
end
|
|
391
391
|
return data, status_code, headers
|
|
392
392
|
end
|
|
@@ -394,31 +394,31 @@ module Hubspot
|
|
|
394
394
|
# Replace rows in batch in draft table
|
|
395
395
|
# Replaces multiple rows as a batch in the `draft` version of the table. See the endpoint `PUT /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.
|
|
396
396
|
# @param table_id_or_name [String] The ID or name of the table
|
|
397
|
-
# @param
|
|
397
|
+
# @param batch_input_hub_db_table_row_v3_batch_update_request [BatchInputHubDbTableRowV3BatchUpdateRequest] JSON array of row objects.
|
|
398
398
|
# @param [Hash] opts the optional parameters
|
|
399
399
|
# @return [BatchResponseHubDbTableRowV3]
|
|
400
|
-
def
|
|
401
|
-
data, _status_code, _headers =
|
|
400
|
+
def replace_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts = {})
|
|
401
|
+
data, _status_code, _headers = replace_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts)
|
|
402
402
|
data
|
|
403
403
|
end
|
|
404
404
|
|
|
405
405
|
# Replace rows in batch in draft table
|
|
406
406
|
# Replaces multiple rows as a batch in the `draft` version of the table. See the endpoint `PUT /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.
|
|
407
407
|
# @param table_id_or_name [String] The ID or name of the table
|
|
408
|
-
# @param
|
|
408
|
+
# @param batch_input_hub_db_table_row_v3_batch_update_request [BatchInputHubDbTableRowV3BatchUpdateRequest] JSON array of row objects.
|
|
409
409
|
# @param [Hash] opts the optional parameters
|
|
410
410
|
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
|
411
|
-
def
|
|
411
|
+
def replace_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts = {})
|
|
412
412
|
if @api_client.config.debugging
|
|
413
|
-
@api_client.config.logger.debug 'Calling API: RowsBatchApi.
|
|
413
|
+
@api_client.config.logger.debug 'Calling API: RowsBatchApi.replace_draft_table_rows ...'
|
|
414
414
|
end
|
|
415
415
|
# verify the required parameter 'table_id_or_name' is set
|
|
416
416
|
if @api_client.config.client_side_validation && table_id_or_name.nil?
|
|
417
|
-
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.
|
|
417
|
+
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.replace_draft_table_rows"
|
|
418
418
|
end
|
|
419
|
-
# verify the required parameter '
|
|
420
|
-
if @api_client.config.client_side_validation &&
|
|
421
|
-
fail ArgumentError, "Missing the required parameter '
|
|
419
|
+
# verify the required parameter 'batch_input_hub_db_table_row_v3_batch_update_request' is set
|
|
420
|
+
if @api_client.config.client_side_validation && batch_input_hub_db_table_row_v3_batch_update_request.nil?
|
|
421
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3_batch_update_request' when calling RowsBatchApi.replace_draft_table_rows"
|
|
422
422
|
end
|
|
423
423
|
# resource path
|
|
424
424
|
local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/replace'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
|
|
@@ -440,7 +440,7 @@ module Hubspot
|
|
|
440
440
|
form_params = opts[:form_params] || {}
|
|
441
441
|
|
|
442
442
|
# http body (model)
|
|
443
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
443
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_hub_db_table_row_v3_batch_update_request)
|
|
444
444
|
|
|
445
445
|
# return_type
|
|
446
446
|
return_type = opts[:debug_return_type] || 'BatchResponseHubDbTableRowV3'
|
|
@@ -449,7 +449,7 @@ module Hubspot
|
|
|
449
449
|
auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
|
|
450
450
|
|
|
451
451
|
new_options = opts.merge(
|
|
452
|
-
:operation => :"RowsBatchApi.
|
|
452
|
+
:operation => :"RowsBatchApi.replace_draft_table_rows",
|
|
453
453
|
:header_params => header_params,
|
|
454
454
|
:query_params => query_params,
|
|
455
455
|
:form_params => form_params,
|
|
@@ -460,7 +460,7 @@ module Hubspot
|
|
|
460
460
|
|
|
461
461
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
462
462
|
if @api_client.config.debugging
|
|
463
|
-
@api_client.config.logger.debug "API called: RowsBatchApi#
|
|
463
|
+
@api_client.config.logger.debug "API called: RowsBatchApi#replace_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
464
464
|
end
|
|
465
465
|
return data, status_code, headers
|
|
466
466
|
end
|
|
@@ -468,31 +468,31 @@ module Hubspot
|
|
|
468
468
|
# Update rows in batch in draft table
|
|
469
469
|
# Updates multiple rows as a batch in the `draft` version of the table. See the endpoint `PATCH /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.
|
|
470
470
|
# @param table_id_or_name [String] The ID or name of the table
|
|
471
|
-
# @param
|
|
471
|
+
# @param batch_input_hub_db_table_row_v3_batch_update_request [BatchInputHubDbTableRowV3BatchUpdateRequest] JSON array of row objects.
|
|
472
472
|
# @param [Hash] opts the optional parameters
|
|
473
473
|
# @return [BatchResponseHubDbTableRowV3]
|
|
474
|
-
def
|
|
475
|
-
data, _status_code, _headers =
|
|
474
|
+
def update_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts = {})
|
|
475
|
+
data, _status_code, _headers = update_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts)
|
|
476
476
|
data
|
|
477
477
|
end
|
|
478
478
|
|
|
479
479
|
# Update rows in batch in draft table
|
|
480
480
|
# Updates multiple rows as a batch in the `draft` version of the table. See the endpoint `PATCH /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.
|
|
481
481
|
# @param table_id_or_name [String] The ID or name of the table
|
|
482
|
-
# @param
|
|
482
|
+
# @param batch_input_hub_db_table_row_v3_batch_update_request [BatchInputHubDbTableRowV3BatchUpdateRequest] JSON array of row objects.
|
|
483
483
|
# @param [Hash] opts the optional parameters
|
|
484
484
|
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
|
485
|
-
def
|
|
485
|
+
def update_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts = {})
|
|
486
486
|
if @api_client.config.debugging
|
|
487
|
-
@api_client.config.logger.debug 'Calling API: RowsBatchApi.
|
|
487
|
+
@api_client.config.logger.debug 'Calling API: RowsBatchApi.update_draft_table_rows ...'
|
|
488
488
|
end
|
|
489
489
|
# verify the required parameter 'table_id_or_name' is set
|
|
490
490
|
if @api_client.config.client_side_validation && table_id_or_name.nil?
|
|
491
|
-
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.
|
|
491
|
+
fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.update_draft_table_rows"
|
|
492
492
|
end
|
|
493
|
-
# verify the required parameter '
|
|
494
|
-
if @api_client.config.client_side_validation &&
|
|
495
|
-
fail ArgumentError, "Missing the required parameter '
|
|
493
|
+
# verify the required parameter 'batch_input_hub_db_table_row_v3_batch_update_request' is set
|
|
494
|
+
if @api_client.config.client_side_validation && batch_input_hub_db_table_row_v3_batch_update_request.nil?
|
|
495
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3_batch_update_request' when calling RowsBatchApi.update_draft_table_rows"
|
|
496
496
|
end
|
|
497
497
|
# resource path
|
|
498
498
|
local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/update'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
|
|
@@ -514,7 +514,7 @@ module Hubspot
|
|
|
514
514
|
form_params = opts[:form_params] || {}
|
|
515
515
|
|
|
516
516
|
# http body (model)
|
|
517
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
517
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_hub_db_table_row_v3_batch_update_request)
|
|
518
518
|
|
|
519
519
|
# return_type
|
|
520
520
|
return_type = opts[:debug_return_type] || 'BatchResponseHubDbTableRowV3'
|
|
@@ -523,7 +523,7 @@ module Hubspot
|
|
|
523
523
|
auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
|
|
524
524
|
|
|
525
525
|
new_options = opts.merge(
|
|
526
|
-
:operation => :"RowsBatchApi.
|
|
526
|
+
:operation => :"RowsBatchApi.update_draft_table_rows",
|
|
527
527
|
:header_params => header_params,
|
|
528
528
|
:query_params => query_params,
|
|
529
529
|
:form_params => form_params,
|
|
@@ -534,7 +534,7 @@ module Hubspot
|
|
|
534
534
|
|
|
535
535
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
536
536
|
if @api_client.config.debugging
|
|
537
|
-
@api_client.config.logger.debug "API called: RowsBatchApi#
|
|
537
|
+
@api_client.config.logger.debug "API called: RowsBatchApi#update_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
538
538
|
end
|
|
539
539
|
return data, status_code, headers
|
|
540
540
|
end
|
|
@@ -536,8 +536,8 @@ module Hubspot
|
|
|
536
536
|
# Get the details for the `draft` version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table.
|
|
537
537
|
# @param table_id_or_name [String] The ID or name of the table to return.
|
|
538
538
|
# @param [Hash] opts the optional parameters
|
|
539
|
-
# @option opts [Boolean] :archived Set this to `true` to return an archived table. Defaults to `false`.
|
|
540
539
|
# @option opts [Boolean] :include_foreign_ids Set this to `true` to populate foreign ID values in the result.
|
|
540
|
+
# @option opts [Boolean] :archived Set this to `true` to return an archived table. Defaults to `false`.
|
|
541
541
|
# @return [HubDbTableV3]
|
|
542
542
|
def get_draft_table_details_by_id(table_id_or_name, opts = {})
|
|
543
543
|
data, _status_code, _headers = get_draft_table_details_by_id_with_http_info(table_id_or_name, opts)
|
|
@@ -548,8 +548,8 @@ module Hubspot
|
|
|
548
548
|
# Get the details for the `draft` version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table.
|
|
549
549
|
# @param table_id_or_name [String] The ID or name of the table to return.
|
|
550
550
|
# @param [Hash] opts the optional parameters
|
|
551
|
-
# @option opts [Boolean] :archived Set this to `true` to return an archived table. Defaults to `false`.
|
|
552
551
|
# @option opts [Boolean] :include_foreign_ids Set this to `true` to populate foreign ID values in the result.
|
|
552
|
+
# @option opts [Boolean] :archived Set this to `true` to return an archived table. Defaults to `false`.
|
|
553
553
|
# @return [Array<(HubDbTableV3, Integer, Hash)>] HubDbTableV3 data, response status code and response headers
|
|
554
554
|
def get_draft_table_details_by_id_with_http_info(table_id_or_name, opts = {})
|
|
555
555
|
if @api_client.config.debugging
|
|
@@ -564,8 +564,8 @@ module Hubspot
|
|
|
564
564
|
|
|
565
565
|
# query parameters
|
|
566
566
|
query_params = opts[:query_params] || {}
|
|
567
|
-
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
|
568
567
|
query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
|
|
568
|
+
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
|
569
569
|
|
|
570
570
|
# header parameters
|
|
571
571
|
header_params = opts[:header_params] || {}
|
|
@@ -605,8 +605,8 @@ module Hubspot
|
|
|
605
605
|
# Returns the details for the `published` version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.
|
|
606
606
|
# @param table_id_or_name [String] The ID or name of the table to return.
|
|
607
607
|
# @param [Hash] opts the optional parameters
|
|
608
|
-
# @option opts [Boolean] :archived Set this to `true` to return details for an archived table. Defaults to `false`.
|
|
609
608
|
# @option opts [Boolean] :include_foreign_ids Set this to `true` to populate foreign ID values in the result.
|
|
609
|
+
# @option opts [Boolean] :archived Set this to `true` to return details for an archived table. Defaults to `false`.
|
|
610
610
|
# @return [HubDbTableV3]
|
|
611
611
|
def get_table_details(table_id_or_name, opts = {})
|
|
612
612
|
data, _status_code, _headers = get_table_details_with_http_info(table_id_or_name, opts)
|
|
@@ -617,8 +617,8 @@ module Hubspot
|
|
|
617
617
|
# Returns the details for the `published` version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.
|
|
618
618
|
# @param table_id_or_name [String] The ID or name of the table to return.
|
|
619
619
|
# @param [Hash] opts the optional parameters
|
|
620
|
-
# @option opts [Boolean] :archived Set this to `true` to return details for an archived table. Defaults to `false`.
|
|
621
620
|
# @option opts [Boolean] :include_foreign_ids Set this to `true` to populate foreign ID values in the result.
|
|
621
|
+
# @option opts [Boolean] :archived Set this to `true` to return details for an archived table. Defaults to `false`.
|
|
622
622
|
# @return [Array<(HubDbTableV3, Integer, Hash)>] HubDbTableV3 data, response status code and response headers
|
|
623
623
|
def get_table_details_with_http_info(table_id_or_name, opts = {})
|
|
624
624
|
if @api_client.config.debugging
|
|
@@ -633,8 +633,8 @@ module Hubspot
|
|
|
633
633
|
|
|
634
634
|
# query parameters
|
|
635
635
|
query_params = opts[:query_params] || {}
|
|
636
|
-
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
|
637
636
|
query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
|
|
637
|
+
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
|
638
638
|
|
|
639
639
|
# header parameters
|
|
640
640
|
header_params = opts[:header_params] || {}
|
|
@@ -947,8 +947,8 @@ module Hubspot
|
|
|
947
947
|
# @param table_id_or_name [String] The ID or name of the table to update.
|
|
948
948
|
# @param hub_db_table_v3_request [HubDbTableV3Request] The JSON schema for the table being updated.
|
|
949
949
|
# @param [Hash] opts the optional parameters
|
|
950
|
-
# @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to `false`.
|
|
951
950
|
# @option opts [Boolean] :include_foreign_ids Set this to `true` to populate foreign ID values in the result.
|
|
951
|
+
# @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to `false`.
|
|
952
952
|
# @return [HubDbTableV3]
|
|
953
953
|
def update_draft_table(table_id_or_name, hub_db_table_v3_request, opts = {})
|
|
954
954
|
data, _status_code, _headers = update_draft_table_with_http_info(table_id_or_name, hub_db_table_v3_request, opts)
|
|
@@ -960,8 +960,8 @@ module Hubspot
|
|
|
960
960
|
# @param table_id_or_name [String] The ID or name of the table to update.
|
|
961
961
|
# @param hub_db_table_v3_request [HubDbTableV3Request] The JSON schema for the table being updated.
|
|
962
962
|
# @param [Hash] opts the optional parameters
|
|
963
|
-
# @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to `false`.
|
|
964
963
|
# @option opts [Boolean] :include_foreign_ids Set this to `true` to populate foreign ID values in the result.
|
|
964
|
+
# @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to `false`.
|
|
965
965
|
# @return [Array<(HubDbTableV3, Integer, Hash)>] HubDbTableV3 data, response status code and response headers
|
|
966
966
|
def update_draft_table_with_http_info(table_id_or_name, hub_db_table_v3_request, opts = {})
|
|
967
967
|
if @api_client.config.debugging
|
|
@@ -980,8 +980,8 @@ module Hubspot
|
|
|
980
980
|
|
|
981
981
|
# query parameters
|
|
982
982
|
query_params = opts[:query_params] || {}
|
|
983
|
-
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
|
984
983
|
query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
|
|
984
|
+
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
|
985
985
|
|
|
986
986
|
# header parameters
|
|
987
987
|
header_params = opts[:header_params] || {}
|
|
@@ -16,7 +16,7 @@ require 'time'
|
|
|
16
16
|
module Hubspot
|
|
17
17
|
module Cms
|
|
18
18
|
module Hubdb
|
|
19
|
-
class
|
|
19
|
+
class BatchInputHubDbTableRowV3BatchUpdateRequest
|
|
20
20
|
attr_accessor :inputs
|
|
21
21
|
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -34,7 +34,7 @@ module Hubspot
|
|
|
34
34
|
# Attribute type mapping.
|
|
35
35
|
def self.openapi_types
|
|
36
36
|
{
|
|
37
|
-
:'inputs' => :'Array<
|
|
37
|
+
:'inputs' => :'Array<HubDbTableRowV3BatchUpdateRequest>'
|
|
38
38
|
}
|
|
39
39
|
end
|
|
40
40
|
|
|
@@ -48,13 +48,13 @@ module Hubspot
|
|
|
48
48
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
49
49
|
def initialize(attributes = {})
|
|
50
50
|
if (!attributes.is_a?(Hash))
|
|
51
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Cms::Hubdb::
|
|
51
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Cms::Hubdb::BatchInputHubDbTableRowV3BatchUpdateRequest` initialize method"
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
55
55
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
56
56
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
57
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Cms::Hubdb::
|
|
57
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Cms::Hubdb::BatchInputHubDbTableRowV3BatchUpdateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
58
58
|
end
|
|
59
59
|
h[k.to_sym] = v
|
|
60
60
|
}
|