hubspot-api-client 1.0.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -23
- data/lib/hubspot-api-client.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +222 -226
- data/lib/hubspot/codegen/crm/associations/api_client.rb +349 -351
- data/lib/hubspot/codegen/crm/associations/api_error.rb +35 -37
- data/lib/hubspot/codegen/crm/associations/configuration.rb +221 -223
- data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +174 -178
- data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +174 -178
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +262 -266
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +262 -266
- data/lib/hubspot/codegen/crm/associations/models/error.rb +229 -233
- data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +210 -214
- data/lib/hubspot/codegen/crm/associations/models/public_association.rb +184 -188
- data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +186 -190
- data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +173 -177
- data/lib/hubspot/codegen/crm/companies/api/associations_api.rb +216 -220
- data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +338 -340
- data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +249 -253
- data/lib/hubspot/codegen/crm/companies/api/search_api.rb +66 -70
- data/lib/hubspot/codegen/crm/companies/api_client.rb +349 -351
- data/lib/hubspot/codegen/crm/companies/api_error.rb +35 -37
- data/lib/hubspot/codegen/crm/companies/configuration.rb +221 -223
- data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_batch_input.rb +174 -178
- data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_id.rb +174 -178
- data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +188 -192
- data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object.rb +261 -265
- data/lib/hubspot/codegen/crm/companies/models/collection_response_simple_public_object.rb +182 -186
- data/lib/hubspot/codegen/crm/companies/models/collection_response_simple_public_object_id.rb +182 -186
- data/lib/hubspot/codegen/crm/companies/models/collection_response_with_total_simple_public_object.rb +195 -199
- data/lib/hubspot/codegen/crm/companies/models/error.rb +229 -233
- data/lib/hubspot/codegen/crm/companies/models/error_detail.rb +210 -214
- data/lib/hubspot/codegen/crm/companies/models/filter.rb +219 -223
- data/lib/hubspot/codegen/crm/companies/models/filter_group.rb +174 -178
- data/lib/hubspot/codegen/crm/companies/models/next_page.rb +180 -184
- data/lib/hubspot/codegen/crm/companies/models/paging.rb +168 -172
- data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +227 -231
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +235 -239
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +185 -189
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_id.rb +172 -176
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/contacts/api/associations_api.rb +216 -220
- data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +338 -340
- data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +249 -253
- data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +66 -70
- data/lib/hubspot/codegen/crm/contacts/api_client.rb +349 -351
- data/lib/hubspot/codegen/crm/contacts/api_error.rb +35 -37
- data/lib/hubspot/codegen/crm/contacts/configuration.rb +221 -223
- data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input.rb +174 -178
- data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_id.rb +174 -178
- data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +188 -192
- data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object.rb +261 -265
- data/lib/hubspot/codegen/crm/contacts/models/collection_response_simple_public_object.rb +182 -186
- data/lib/hubspot/codegen/crm/contacts/models/collection_response_simple_public_object_id.rb +182 -186
- data/lib/hubspot/codegen/crm/contacts/models/collection_response_with_total_simple_public_object.rb +195 -199
- data/lib/hubspot/codegen/crm/contacts/models/error.rb +229 -233
- data/lib/hubspot/codegen/crm/contacts/models/error_detail.rb +210 -214
- data/lib/hubspot/codegen/crm/contacts/models/filter.rb +219 -223
- data/lib/hubspot/codegen/crm/contacts/models/filter_group.rb +174 -178
- data/lib/hubspot/codegen/crm/contacts/models/next_page.rb +180 -184
- data/lib/hubspot/codegen/crm/contacts/models/paging.rb +168 -172
- data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +227 -231
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +235 -239
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +185 -189
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_id.rb +172 -176
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/deals/api/associations_api.rb +216 -220
- data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +338 -340
- data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +249 -253
- data/lib/hubspot/codegen/crm/deals/api/search_api.rb +66 -70
- data/lib/hubspot/codegen/crm/deals/api_client.rb +349 -351
- data/lib/hubspot/codegen/crm/deals/api_error.rb +35 -37
- data/lib/hubspot/codegen/crm/deals/configuration.rb +221 -223
- data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input.rb +174 -178
- data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_id.rb +174 -178
- data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +188 -192
- data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object.rb +261 -265
- data/lib/hubspot/codegen/crm/deals/models/collection_response_simple_public_object.rb +182 -186
- data/lib/hubspot/codegen/crm/deals/models/collection_response_simple_public_object_id.rb +182 -186
- data/lib/hubspot/codegen/crm/deals/models/collection_response_with_total_simple_public_object.rb +195 -199
- data/lib/hubspot/codegen/crm/deals/models/error.rb +229 -233
- data/lib/hubspot/codegen/crm/deals/models/error_detail.rb +210 -214
- data/lib/hubspot/codegen/crm/deals/models/filter.rb +219 -223
- data/lib/hubspot/codegen/crm/deals/models/filter_group.rb +174 -178
- data/lib/hubspot/codegen/crm/deals/models/next_page.rb +180 -184
- data/lib/hubspot/codegen/crm/deals/models/paging.rb +168 -172
- data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +227 -231
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +235 -239
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +185 -189
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_id.rb +172 -176
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/extensions/cards/api/cards_api.rb +342 -316
- data/lib/hubspot/codegen/crm/extensions/cards/api/sample_response_api.rb +84 -0
- data/lib/hubspot/codegen/crm/extensions/cards/api_client.rb +350 -352
- data/lib/hubspot/codegen/crm/extensions/cards/api_error.rb +36 -38
- data/lib/hubspot/codegen/crm/extensions/cards/configuration.rb +222 -224
- data/lib/hubspot/codegen/crm/extensions/cards/models/action_confirmation_body.rb +245 -0
- data/lib/hubspot/codegen/crm/extensions/cards/models/action_hook_action_body.rb +327 -0
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_actions.rb +175 -179
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_create_request.rb +208 -212
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_body.rb +175 -179
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_property.rb +237 -241
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body.rb +186 -190
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body_patch.rb +182 -186
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_list_response.rb +175 -179
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_object_type_body.rb +214 -218
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_patch_request.rb +193 -197
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_response.rb +228 -232
- data/lib/hubspot/codegen/crm/extensions/cards/models/display_option.rb +224 -228
- data/lib/hubspot/codegen/crm/extensions/cards/models/error.rb +230 -234
- data/lib/hubspot/codegen/crm/extensions/cards/models/error_detail.rb +193 -197
- data/lib/hubspot/codegen/crm/extensions/cards/models/i_frame_action_body.rb +320 -0
- data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_card_payload_response.rb +303 -0
- data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result.rb +272 -0
- data/lib/hubspot/codegen/crm/extensions/cards/models/object_token.rb +278 -0
- data/lib/hubspot/codegen/crm/extensions/cards/models/top_level_actions.rb +237 -0
- data/lib/hubspot/codegen/crm/line_items/api/associations_api.rb +216 -220
- data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +338 -340
- data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +249 -253
- data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +66 -70
- data/lib/hubspot/codegen/crm/line_items/api_client.rb +349 -351
- data/lib/hubspot/codegen/crm/line_items/api_error.rb +35 -37
- data/lib/hubspot/codegen/crm/line_items/configuration.rb +221 -223
- data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_batch_input.rb +174 -178
- data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_id.rb +174 -178
- data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +188 -192
- data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object.rb +261 -265
- data/lib/hubspot/codegen/crm/line_items/models/collection_response_simple_public_object.rb +182 -186
- data/lib/hubspot/codegen/crm/line_items/models/collection_response_simple_public_object_id.rb +182 -186
- data/lib/hubspot/codegen/crm/line_items/models/collection_response_with_total_simple_public_object.rb +195 -199
- data/lib/hubspot/codegen/crm/line_items/models/error.rb +229 -233
- data/lib/hubspot/codegen/crm/line_items/models/error_detail.rb +210 -214
- data/lib/hubspot/codegen/crm/line_items/models/filter.rb +219 -223
- data/lib/hubspot/codegen/crm/line_items/models/filter_group.rb +174 -178
- data/lib/hubspot/codegen/crm/line_items/models/next_page.rb +180 -184
- data/lib/hubspot/codegen/crm/line_items/models/paging.rb +168 -172
- data/lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb +227 -231
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +235 -239
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +185 -189
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_id.rb +172 -176
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +233 -237
- data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +368 -369
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +273 -277
- data/lib/hubspot/codegen/crm/objects/api/search_api.rb +72 -76
- data/lib/hubspot/codegen/crm/objects/api_client.rb +349 -351
- data/lib/hubspot/codegen/crm/objects/api_error.rb +35 -37
- data/lib/hubspot/codegen/crm/objects/configuration.rb +220 -222
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +174 -178
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +174 -178
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +196 -191
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +261 -265
- data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object.rb +182 -186
- data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_id.rb +182 -186
- data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object.rb +195 -199
- data/lib/hubspot/codegen/crm/objects/models/error.rb +229 -233
- data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +210 -214
- data/lib/hubspot/codegen/crm/objects/models/filter.rb +219 -223
- data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +174 -178
- data/lib/hubspot/codegen/crm/objects/models/next_page.rb +180 -184
- data/lib/hubspot/codegen/crm/objects/models/paging.rb +168 -172
- data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +227 -231
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +235 -239
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +185 -189
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +172 -176
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/owners/api/default_api.rb +138 -140
- data/lib/hubspot/codegen/crm/owners/api_client.rb +349 -351
- data/lib/hubspot/codegen/crm/owners/api_error.rb +35 -37
- data/lib/hubspot/codegen/crm/owners/configuration.rb +220 -222
- data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner.rb +182 -186
- data/lib/hubspot/codegen/crm/owners/models/error.rb +229 -233
- data/lib/hubspot/codegen/crm/owners/models/error_detail.rb +192 -196
- data/lib/hubspot/codegen/crm/owners/models/next_page.rb +180 -184
- data/lib/hubspot/codegen/crm/owners/models/paging.rb +168 -172
- data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +242 -246
- data/lib/hubspot/codegen/crm/owners/models/public_team.rb +219 -223
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +458 -462
- data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +422 -426
- data/lib/hubspot/codegen/crm/pipelines/api_client.rb +349 -351
- data/lib/hubspot/codegen/crm/pipelines/api_error.rb +35 -37
- data/lib/hubspot/codegen/crm/pipelines/configuration.rb +220 -222
- data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline.rb +182 -186
- data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_stage.rb +182 -186
- data/lib/hubspot/codegen/crm/pipelines/models/error.rb +229 -254
- data/lib/hubspot/codegen/crm/pipelines/models/error_detail.rb +192 -196
- data/lib/hubspot/codegen/crm/pipelines/models/next_page.rb +180 -184
- data/lib/hubspot/codegen/crm/pipelines/models/paging.rb +168 -172
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +262 -266
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +203 -207
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb +188 -192
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +261 -265
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +201 -205
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +202 -206
- data/lib/hubspot/codegen/crm/products/api/associations_api.rb +215 -219
- data/lib/hubspot/codegen/crm/products/api/basic_api.rb +337 -339
- data/lib/hubspot/codegen/crm/products/api/batch_api.rb +248 -252
- data/lib/hubspot/codegen/crm/products/api/search_api.rb +65 -69
- data/lib/hubspot/codegen/crm/products/api_client.rb +349 -351
- data/lib/hubspot/codegen/crm/products/api_error.rb +35 -37
- data/lib/hubspot/codegen/crm/products/configuration.rb +220 -222
- data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input.rb +174 -178
- data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_id.rb +174 -178
- data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +188 -192
- data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object.rb +261 -265
- data/lib/hubspot/codegen/crm/products/models/collection_response_simple_public_object.rb +182 -186
- data/lib/hubspot/codegen/crm/products/models/collection_response_simple_public_object_id.rb +182 -186
- data/lib/hubspot/codegen/crm/products/models/collection_response_with_total_simple_public_object.rb +195 -199
- data/lib/hubspot/codegen/crm/products/models/error.rb +229 -233
- data/lib/hubspot/codegen/crm/products/models/error_detail.rb +210 -214
- data/lib/hubspot/codegen/crm/products/models/filter.rb +219 -223
- data/lib/hubspot/codegen/crm/products/models/filter_group.rb +174 -178
- data/lib/hubspot/codegen/crm/products/models/next_page.rb +180 -184
- data/lib/hubspot/codegen/crm/products/models/paging.rb +168 -172
- data/lib/hubspot/codegen/crm/products/models/public_object_search_request.rb +227 -231
- data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +235 -239
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +185 -189
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_id.rb +172 -176
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/properties/api/batch_api.rb +203 -207
- data/lib/hubspot/codegen/crm/properties/api/core_api.rb +347 -351
- data/lib/hubspot/codegen/crm/properties/api/groups_api.rb +341 -345
- data/lib/hubspot/codegen/crm/properties/api_client.rb +349 -351
- data/lib/hubspot/codegen/crm/properties/api_error.rb +35 -37
- data/lib/hubspot/codegen/crm/properties/configuration.rb +220 -222
- data/lib/hubspot/codegen/crm/properties/models/batch_input_property_create.rb +174 -178
- data/lib/hubspot/codegen/crm/properties/models/batch_input_property_name.rb +174 -178
- data/lib/hubspot/codegen/crm/properties/models/batch_read_input_property_name.rb +185 -189
- data/lib/hubspot/codegen/crm/properties/models/batch_response_property.rb +261 -265
- data/lib/hubspot/codegen/crm/properties/models/collection_response_property.rb +182 -186
- data/lib/hubspot/codegen/crm/properties/models/collection_response_property_group.rb +182 -186
- data/lib/hubspot/codegen/crm/properties/models/error.rb +229 -233
- data/lib/hubspot/codegen/crm/properties/models/error_detail.rb +210 -214
- data/lib/hubspot/codegen/crm/properties/models/next_page.rb +180 -184
- data/lib/hubspot/codegen/crm/properties/models/option.rb +215 -219
- data/lib/hubspot/codegen/crm/properties/models/option_input.rb +215 -219
- data/lib/hubspot/codegen/crm/properties/models/paging.rb +168 -172
- data/lib/hubspot/codegen/crm/properties/models/property.rb +393 -397
- data/lib/hubspot/codegen/crm/properties/models/property_create.rb +309 -313
- data/lib/hubspot/codegen/crm/properties/models/property_group.rb +210 -214
- data/lib/hubspot/codegen/crm/properties/models/property_group_create.rb +195 -199
- data/lib/hubspot/codegen/crm/properties/models/property_group_update.rb +178 -182
- data/lib/hubspot/codegen/crm/properties/models/property_modification_metadata.rb +203 -207
- data/lib/hubspot/codegen/crm/properties/models/property_name.rb +173 -177
- data/lib/hubspot/codegen/crm/properties/models/property_update.rb +271 -275
- data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +215 -219
- data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +337 -339
- data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +248 -252
- data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +65 -69
- data/lib/hubspot/codegen/crm/quotes/api_client.rb +349 -351
- data/lib/hubspot/codegen/crm/quotes/api_error.rb +35 -37
- data/lib/hubspot/codegen/crm/quotes/configuration.rb +220 -222
- data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_batch_input.rb +174 -178
- data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_id.rb +174 -178
- data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +188 -192
- data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object.rb +261 -265
- data/lib/hubspot/codegen/crm/quotes/models/collection_response_simple_public_object.rb +182 -186
- data/lib/hubspot/codegen/crm/quotes/models/collection_response_simple_public_object_id.rb +182 -186
- data/lib/hubspot/codegen/crm/quotes/models/collection_response_with_total_simple_public_object.rb +195 -199
- data/lib/hubspot/codegen/crm/quotes/models/error.rb +229 -233
- data/lib/hubspot/codegen/crm/quotes/models/error_detail.rb +210 -214
- data/lib/hubspot/codegen/crm/quotes/models/filter.rb +220 -224
- data/lib/hubspot/codegen/crm/quotes/models/filter_group.rb +174 -178
- data/lib/hubspot/codegen/crm/quotes/models/next_page.rb +181 -185
- data/lib/hubspot/codegen/crm/quotes/models/paging.rb +169 -173
- data/lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb +228 -232
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +236 -240
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +186 -190
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_id.rb +173 -177
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +175 -179
- data/lib/hubspot/codegen/crm/tickets/api/associations_api.rb +216 -220
- data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +338 -340
- data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +249 -253
- data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +66 -70
- data/lib/hubspot/codegen/crm/tickets/api_client.rb +350 -352
- data/lib/hubspot/codegen/crm/tickets/api_error.rb +36 -38
- data/lib/hubspot/codegen/crm/tickets/configuration.rb +220 -222
- data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input.rb +175 -179
- data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_id.rb +175 -179
- data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_input.rb +175 -179
- data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +189 -193
- data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object.rb +262 -266
- data/lib/hubspot/codegen/crm/tickets/models/collection_response_simple_public_object.rb +183 -187
- data/lib/hubspot/codegen/crm/tickets/models/collection_response_simple_public_object_id.rb +183 -187
- data/lib/hubspot/codegen/crm/tickets/models/collection_response_with_total_simple_public_object.rb +196 -200
- data/lib/hubspot/codegen/crm/tickets/models/error.rb +230 -234
- data/lib/hubspot/codegen/crm/tickets/models/error_detail.rb +211 -215
- data/lib/hubspot/codegen/crm/tickets/models/filter.rb +220 -224
- data/lib/hubspot/codegen/crm/tickets/models/filter_group.rb +175 -179
- data/lib/hubspot/codegen/crm/tickets/models/next_page.rb +181 -185
- data/lib/hubspot/codegen/crm/tickets/models/paging.rb +169 -173
- data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +228 -232
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +236 -240
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +186 -190
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_id.rb +172 -176
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +174 -178
- data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +64 -68
- data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +316 -320
- data/lib/hubspot/codegen/oauth/api/tokens_api.rb +78 -82
- data/lib/hubspot/codegen/oauth/api_client.rb +350 -352
- data/lib/hubspot/codegen/oauth/api_error.rb +34 -36
- data/lib/hubspot/codegen/oauth/configuration.rb +219 -221
- data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +250 -254
- data/lib/hubspot/codegen/oauth/models/error.rb +245 -249
- data/lib/hubspot/codegen/oauth/models/error_detail.rb +191 -195
- data/lib/hubspot/codegen/oauth/models/json_node.rb +333 -337
- data/lib/hubspot/codegen/oauth/models/refresh_token.rb +206 -210
- data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +239 -243
- data/lib/hubspot/configuration.rb +1 -1
- data/lib/hubspot/helpers/get_all_helper.rb +27 -0
- data/lib/hubspot/{oauth.rb → oauth_helper.rb} +1 -1
- data/lib/hubspot/version.rb +1 -1
- data/sample-apps/companies-app/Gemfile +1 -1
- data/sample-apps/companies-app/Gemfile.lock +4 -3
- data/sample-apps/companies-app/app/controllers/companies_controller.rb +2 -2
- data/sample-apps/companies-app/app/controllers/contacts_controller.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/authorization/get_authorization_uri.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/authorization/tokens/generate.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/authorization/tokens/refresh.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/hubspot/associations/create.rb +5 -5
- data/sample-apps/companies-app/app/lib/services/hubspot/associations/delete.rb +5 -5
- data/sample-apps/companies-app/app/lib/services/hubspot/associations/get_by_id.rb +4 -4
- data/sample-apps/companies-app/app/lib/services/hubspot/companies/create.rb +2 -2
- data/sample-apps/companies-app/app/lib/services/hubspot/companies/destroy.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/hubspot/companies/export.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/hubspot/companies/get_by_id.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/hubspot/companies/search.rb +4 -4
- data/sample-apps/companies-app/app/lib/services/hubspot/companies/update.rb +2 -2
- data/sample-apps/{oauth-app/app/lib/services/hubspot/contacts/get_all.rb → companies-app/app/lib/services/hubspot/contacts/get_page.rb} +3 -3
- data/sample-apps/companies-app/app/lib/services/hubspot/contacts/search.rb +4 -4
- data/sample-apps/companies-app/app/views/oauth/authorization/login.html.erb +1 -1
- data/sample-apps/contacts-app/Gemfile +1 -1
- data/sample-apps/contacts-app/Gemfile.lock +4 -3
- data/sample-apps/contacts-app/app/controllers/contacts_controller.rb +3 -3
- data/sample-apps/contacts-app/app/controllers/properties_controller.rb +3 -3
- data/sample-apps/contacts-app/app/lib/services/authorization/get_authorization_uri.rb +1 -1
- data/sample-apps/contacts-app/app/lib/services/authorization/tokens/generate.rb +1 -1
- data/sample-apps/contacts-app/app/lib/services/authorization/tokens/refresh.rb +1 -1
- data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/create.rb +2 -2
- data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb +2 -2
- data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/export.rb +2 -15
- data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/get_by_id.rb +2 -2
- data/sample-apps/{companies-app/app/lib/services/hubspot/contacts/get_all.rb → contacts-app/app/lib/services/hubspot/contacts/get_page.rb} +3 -3
- data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/search.rb +4 -4
- data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/update.rb +2 -2
- data/sample-apps/contacts-app/app/lib/services/hubspot/owners/get_all.rb +1 -1
- data/sample-apps/contacts-app/app/lib/services/hubspot/properties/create.rb +2 -2
- data/sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb +1 -1
- data/sample-apps/contacts-app/app/lib/services/hubspot/properties/get_all.rb +1 -1
- data/sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb +1 -1
- data/sample-apps/contacts-app/app/lib/services/hubspot/properties/update.rb +3 -3
- data/sample-apps/contacts-app/app/views/oauth/authorization/login.html.erb +1 -1
- data/sample-apps/leaky-bucket-app/.env.template +3 -0
- data/sample-apps/leaky-bucket-app/.gitignore +34 -0
- data/sample-apps/leaky-bucket-app/.ruby-version +1 -0
- data/sample-apps/leaky-bucket-app/Dockerfile +22 -0
- data/sample-apps/leaky-bucket-app/Gemfile +39 -0
- data/sample-apps/leaky-bucket-app/Gemfile.lock +307 -0
- data/sample-apps/leaky-bucket-app/README.md +34 -0
- data/sample-apps/leaky-bucket-app/Rakefile +6 -0
- data/sample-apps/leaky-bucket-app/app/assets/config/manifest.js +3 -0
- data/sample-apps/leaky-bucket-app/app/assets/images/.keep +0 -0
- data/sample-apps/leaky-bucket-app/app/assets/javascripts/application.js +25 -0
- data/sample-apps/leaky-bucket-app/app/assets/javascripts/cable.js +13 -0
- data/sample-apps/leaky-bucket-app/app/assets/javascripts/channels/.keep +0 -0
- data/sample-apps/leaky-bucket-app/app/assets/stylesheets/application.css +90 -0
- data/sample-apps/leaky-bucket-app/app/controllers/application_controller.rb +12 -0
- data/sample-apps/leaky-bucket-app/app/controllers/concerns/.keep +0 -0
- data/sample-apps/leaky-bucket-app/app/controllers/concerns/exception_handler.rb +12 -0
- data/sample-apps/leaky-bucket-app/app/controllers/home_controller.rb +15 -0
- data/sample-apps/leaky-bucket-app/app/controllers/oauth/authorization_controller.rb +19 -0
- data/sample-apps/leaky-bucket-app/app/helpers/application_helper.rb +2 -0
- data/sample-apps/leaky-bucket-app/app/lib/services/authorization/authorize_hubspot.rb +15 -0
- data/sample-apps/leaky-bucket-app/app/lib/services/authorization/get_authorization_uri.rb +33 -0
- data/sample-apps/leaky-bucket-app/app/lib/services/authorization/tokens/base.rb +19 -0
- data/sample-apps/leaky-bucket-app/app/lib/services/authorization/tokens/generate.rb +26 -0
- data/sample-apps/leaky-bucket-app/app/lib/services/authorization/tokens/refresh.rb +33 -0
- data/sample-apps/leaky-bucket-app/app/lib/services/hubspot/contacts/archive_batch.rb +29 -0
- data/sample-apps/leaky-bucket-app/app/lib/services/hubspot/contacts/create_batch.rb +37 -0
- data/sample-apps/leaky-bucket-app/app/models/application_record.rb +3 -0
- data/sample-apps/leaky-bucket-app/app/models/concerns/.keep +0 -0
- data/sample-apps/leaky-bucket-app/app/views/home/index.html.erb +13 -0
- data/sample-apps/leaky-bucket-app/app/views/layouts/application.html.erb +23 -0
- data/sample-apps/leaky-bucket-app/app/views/oauth/authorization/login.html.erb +15 -0
- data/sample-apps/leaky-bucket-app/app/views/shared/_header.html.erb +12 -0
- data/sample-apps/leaky-bucket-app/app/workers/leaky_bucket_worker.rb +25 -0
- data/sample-apps/leaky-bucket-app/bin/bundle +3 -0
- data/sample-apps/leaky-bucket-app/bin/rails +9 -0
- data/sample-apps/leaky-bucket-app/bin/rake +9 -0
- data/sample-apps/leaky-bucket-app/bin/setup +36 -0
- data/sample-apps/leaky-bucket-app/bin/spring +17 -0
- data/sample-apps/leaky-bucket-app/bin/update +31 -0
- data/sample-apps/leaky-bucket-app/bin/yarn +11 -0
- data/sample-apps/leaky-bucket-app/config.ru +5 -0
- data/sample-apps/leaky-bucket-app/config/application.rb +20 -0
- data/sample-apps/leaky-bucket-app/config/boot.rb +3 -0
- data/sample-apps/leaky-bucket-app/config/cable.yml +10 -0
- data/sample-apps/leaky-bucket-app/config/database.yml +25 -0
- data/sample-apps/leaky-bucket-app/config/environment.rb +5 -0
- data/sample-apps/leaky-bucket-app/config/environments/development.rb +65 -0
- data/sample-apps/leaky-bucket-app/config/environments/production.rb +94 -0
- data/sample-apps/leaky-bucket-app/config/environments/test.rb +46 -0
- data/sample-apps/leaky-bucket-app/config/initializers/assets.rb +14 -0
- data/sample-apps/leaky-bucket-app/config/initializers/filter_parameter_logging.rb +4 -0
- data/sample-apps/leaky-bucket-app/config/initializers/hubspot-api-ruby.rb +3 -0
- data/sample-apps/leaky-bucket-app/config/initializers/mime_types.rb +1 -0
- data/sample-apps/leaky-bucket-app/config/initializers/resque.rb +7 -0
- data/sample-apps/leaky-bucket-app/config/initializers/wrap_parameters.rb +14 -0
- data/sample-apps/leaky-bucket-app/config/locales/en.yml +33 -0
- data/sample-apps/leaky-bucket-app/config/puma.rb +34 -0
- data/sample-apps/leaky-bucket-app/config/routes.rb +10 -0
- data/sample-apps/leaky-bucket-app/config/spring.rb +6 -0
- data/sample-apps/leaky-bucket-app/db/seeds.rb +7 -0
- data/sample-apps/leaky-bucket-app/docker-compose.yml +25 -0
- data/sample-apps/leaky-bucket-app/docker-entrypoint.sh +8 -0
- data/sample-apps/leaky-bucket-app/lib/assets/.keep +0 -0
- data/sample-apps/leaky-bucket-app/lib/tasks/.keep +0 -0
- data/sample-apps/leaky-bucket-app/lib/tasks/leaky_bucket.rake +11 -0
- data/sample-apps/leaky-bucket-app/lib/tasks/resque.rake +11 -0
- data/sample-apps/leaky-bucket-app/log/.keep +0 -0
- data/sample-apps/leaky-bucket-app/package.json +5 -0
- data/sample-apps/leaky-bucket-app/public/404.html +67 -0
- data/sample-apps/leaky-bucket-app/public/422.html +67 -0
- data/sample-apps/leaky-bucket-app/public/500.html +66 -0
- data/sample-apps/leaky-bucket-app/public/apple-touch-icon-precomposed.png +0 -0
- data/sample-apps/leaky-bucket-app/public/apple-touch-icon.png +0 -0
- data/sample-apps/leaky-bucket-app/public/favicon.ico +0 -0
- data/sample-apps/leaky-bucket-app/public/robots.txt +1 -0
- data/sample-apps/leaky-bucket-app/resque-entrypoint.sh +9 -0
- data/sample-apps/leaky-bucket-app/tmp/.keep +0 -0
- data/sample-apps/oauth-app/app/controllers/contacts_controller.rb +3 -3
- data/sample-apps/oauth-app/app/lib/services/authorization/get_authorization_uri.rb +1 -1
- data/sample-apps/oauth-app/app/lib/services/authorization/tokens/generate.rb +1 -1
- data/sample-apps/oauth-app/app/lib/services/authorization/tokens/refresh.rb +1 -1
- data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/create.rb +2 -2
- data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb +2 -2
- data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/export.rb +2 -15
- data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/get_by_id.rb +2 -2
- data/sample-apps/{contacts-app/app/lib/services/hubspot/contacts/get_all.rb → oauth-app/app/lib/services/hubspot/contacts/get_page.rb} +3 -3
- data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/search.rb +4 -4
- data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/update.rb +2 -2
- data/sample-apps/oauth-app/app/lib/services/hubspot/owners/get_all.rb +1 -1
- data/sample-apps/oauth-app/app/views/oauth/authorization/login.html.erb +1 -1
- data/sample-apps/rate-limits-redis-sample-app/.env.template +3 -0
- data/sample-apps/rate-limits-redis-sample-app/.gitignore +34 -0
- data/sample-apps/rate-limits-redis-sample-app/.ruby-version +1 -0
- data/sample-apps/rate-limits-redis-sample-app/Dockerfile +22 -0
- data/sample-apps/rate-limits-redis-sample-app/Gemfile +39 -0
- data/sample-apps/rate-limits-redis-sample-app/Gemfile.lock +307 -0
- data/sample-apps/rate-limits-redis-sample-app/README.md +35 -0
- data/sample-apps/rate-limits-redis-sample-app/Rakefile +6 -0
- data/sample-apps/rate-limits-redis-sample-app/app/assets/config/manifest.js +3 -0
- data/sample-apps/rate-limits-redis-sample-app/app/assets/images/.keep +0 -0
- data/sample-apps/rate-limits-redis-sample-app/app/assets/javascripts/application.js +25 -0
- data/sample-apps/rate-limits-redis-sample-app/app/assets/javascripts/cable.js +13 -0
- data/sample-apps/rate-limits-redis-sample-app/app/assets/javascripts/channels/.keep +0 -0
- data/sample-apps/rate-limits-redis-sample-app/app/assets/stylesheets/application.css +90 -0
- data/sample-apps/rate-limits-redis-sample-app/app/controllers/application_controller.rb +12 -0
- data/sample-apps/rate-limits-redis-sample-app/app/controllers/concerns/.keep +0 -0
- data/sample-apps/rate-limits-redis-sample-app/app/controllers/concerns/exception_handler.rb +12 -0
- data/sample-apps/rate-limits-redis-sample-app/app/controllers/home_controller.rb +15 -0
- data/sample-apps/rate-limits-redis-sample-app/app/controllers/oauth/authorization_controller.rb +19 -0
- data/sample-apps/rate-limits-redis-sample-app/app/helpers/application_helper.rb +2 -0
- data/sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/authorize_hubspot.rb +15 -0
- data/sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/get_authorization_uri.rb +33 -0
- data/sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/tokens/base.rb +19 -0
- data/sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/tokens/generate.rb +26 -0
- data/sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/tokens/refresh.rb +33 -0
- data/sample-apps/rate-limits-redis-sample-app/app/lib/services/hubspot/contacts/archive_batch.rb +29 -0
- data/sample-apps/rate-limits-redis-sample-app/app/lib/services/hubspot/contacts/create_batch.rb +37 -0
- data/sample-apps/rate-limits-redis-sample-app/app/models/application_record.rb +3 -0
- data/sample-apps/rate-limits-redis-sample-app/app/models/concerns/.keep +0 -0
- data/sample-apps/rate-limits-redis-sample-app/app/views/home/index.html.erb +13 -0
- data/sample-apps/rate-limits-redis-sample-app/app/views/layouts/application.html.erb +23 -0
- data/sample-apps/rate-limits-redis-sample-app/app/views/oauth/authorization/login.html.erb +15 -0
- data/sample-apps/rate-limits-redis-sample-app/app/views/shared/_header.html.erb +12 -0
- data/sample-apps/rate-limits-redis-sample-app/app/workers/redis_rate_limits_worker.rb +51 -0
- data/sample-apps/rate-limits-redis-sample-app/bin/bundle +3 -0
- data/sample-apps/rate-limits-redis-sample-app/bin/rails +9 -0
- data/sample-apps/rate-limits-redis-sample-app/bin/rake +9 -0
- data/sample-apps/rate-limits-redis-sample-app/bin/setup +36 -0
- data/sample-apps/rate-limits-redis-sample-app/bin/spring +17 -0
- data/sample-apps/rate-limits-redis-sample-app/bin/update +31 -0
- data/sample-apps/rate-limits-redis-sample-app/bin/yarn +11 -0
- data/sample-apps/rate-limits-redis-sample-app/config.ru +5 -0
- data/sample-apps/rate-limits-redis-sample-app/config/application.rb +20 -0
- data/sample-apps/rate-limits-redis-sample-app/config/boot.rb +3 -0
- data/sample-apps/rate-limits-redis-sample-app/config/cable.yml +10 -0
- data/sample-apps/rate-limits-redis-sample-app/config/database.yml +25 -0
- data/sample-apps/rate-limits-redis-sample-app/config/environment.rb +5 -0
- data/sample-apps/rate-limits-redis-sample-app/config/environments/development.rb +63 -0
- data/sample-apps/rate-limits-redis-sample-app/config/environments/production.rb +94 -0
- data/sample-apps/rate-limits-redis-sample-app/config/environments/test.rb +46 -0
- data/sample-apps/rate-limits-redis-sample-app/config/initializers/assets.rb +14 -0
- data/sample-apps/rate-limits-redis-sample-app/config/initializers/filter_parameter_logging.rb +4 -0
- data/sample-apps/rate-limits-redis-sample-app/config/initializers/hubspot-api-ruby.rb +3 -0
- data/sample-apps/rate-limits-redis-sample-app/config/initializers/mime_types.rb +1 -0
- data/sample-apps/rate-limits-redis-sample-app/config/initializers/resque.rb +7 -0
- data/sample-apps/rate-limits-redis-sample-app/config/initializers/wrap_parameters.rb +14 -0
- data/sample-apps/rate-limits-redis-sample-app/config/locales/en.yml +33 -0
- data/sample-apps/rate-limits-redis-sample-app/config/puma.rb +34 -0
- data/sample-apps/rate-limits-redis-sample-app/config/routes.rb +10 -0
- data/sample-apps/rate-limits-redis-sample-app/config/spring.rb +6 -0
- data/sample-apps/rate-limits-redis-sample-app/db/seeds.rb +7 -0
- data/sample-apps/rate-limits-redis-sample-app/docker-compose.yml +25 -0
- data/sample-apps/rate-limits-redis-sample-app/docker-entrypoint.sh +8 -0
- data/sample-apps/rate-limits-redis-sample-app/lib/assets/.keep +0 -0
- data/sample-apps/rate-limits-redis-sample-app/lib/tasks/.keep +0 -0
- data/sample-apps/rate-limits-redis-sample-app/lib/tasks/redis_rate_limits.rake +11 -0
- data/sample-apps/rate-limits-redis-sample-app/lib/tasks/resque.rake +11 -0
- data/sample-apps/rate-limits-redis-sample-app/log/.keep +0 -0
- data/sample-apps/rate-limits-redis-sample-app/package.json +5 -0
- data/sample-apps/rate-limits-redis-sample-app/public/404.html +67 -0
- data/sample-apps/rate-limits-redis-sample-app/public/422.html +67 -0
- data/sample-apps/rate-limits-redis-sample-app/public/500.html +66 -0
- data/sample-apps/rate-limits-redis-sample-app/public/apple-touch-icon-precomposed.png +0 -0
- data/sample-apps/rate-limits-redis-sample-app/public/apple-touch-icon.png +0 -0
- data/sample-apps/rate-limits-redis-sample-app/public/favicon.ico +0 -0
- data/sample-apps/rate-limits-redis-sample-app/public/robots.txt +1 -0
- data/sample-apps/rate-limits-redis-sample-app/resque-entrypoint.sh +9 -0
- data/sample-apps/rate-limits-redis-sample-app/tmp/.keep +0 -0
- data/sample-apps/retry-middleware-sample-app/Gemfile +1 -1
- data/sample-apps/retry-middleware-sample-app/Gemfile.lock +4 -3
- data/sample-apps/retry-middleware-sample-app/app/lib/services/authorization/get_authorization_uri.rb +1 -1
- data/sample-apps/retry-middleware-sample-app/app/lib/services/authorization/tokens/generate.rb +1 -1
- data/sample-apps/retry-middleware-sample-app/app/lib/services/authorization/tokens/refresh.rb +1 -1
- data/sample-apps/retry-middleware-sample-app/app/views/oauth/authorization/login.html.erb +1 -1
- data/sample-apps/retry-middleware-sample-app/lib/tasks/retry_middleware.rake +7 -7
- data/sample-apps/webhooks-contacts-app/Gemfile +1 -1
- data/sample-apps/webhooks-contacts-app/Gemfile.lock +4 -3
- data/sample-apps/webhooks-contacts-app/app/lib/services/authorization/get_authorization_uri.rb +1 -1
- data/sample-apps/webhooks-contacts-app/app/lib/services/authorization/tokens/generate.rb +1 -1
- data/sample-apps/webhooks-contacts-app/app/lib/services/authorization/tokens/refresh.rb +1 -1
- data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/contacts/get_batch.rb +3 -3
- data/sample-apps/webhooks-contacts-app/app/views/oauth/authorization/login.html.erb +1 -1
- data/spec/oauth/api/access_tokens_api_spec.rb +3 -3
- data/spec/oauth/api/refresh_tokens_api_spec.rb +3 -3
- data/spec/oauth/api/tokens_api_spec.rb +3 -3
- data/spec/oauth/api_client_spec.rb +23 -23
- data/spec/oauth/configuration_spec.rb +2 -2
- data/spec/oauth/models/access_token_info_response_spec.rb +3 -3
- data/spec/oauth/models/error_detail_spec.rb +3 -3
- data/spec/oauth/models/error_spec.rb +3 -3
- data/spec/oauth/models/json_node_spec.rb +3 -3
- data/spec/oauth/models/refresh_token_info_response_spec.rb +3 -3
- data/spec/oauth/models/refresh_token_spec.rb +3 -3
- data/spec/objects/api/associations_api_spec.rb +3 -3
- data/spec/objects/api/basic_api_spec.rb +3 -3
- data/spec/objects/api/batch_api_spec.rb +3 -3
- data/spec/objects/api/search_api_spec.rb +3 -3
- data/spec/objects/api_client_spec.rb +23 -23
- data/spec/objects/configuration_spec.rb +2 -2
- data/spec/objects/models/batch_input_simple_public_object_batch_input_spec.rb +3 -3
- data/spec/objects/models/batch_input_simple_public_object_id_spec.rb +3 -3
- data/spec/objects/models/batch_input_simple_public_object_input_spec.rb +3 -3
- data/spec/objects/models/batch_read_input_simple_public_object_id_spec.rb +3 -3
- data/spec/objects/models/batch_response_simple_public_object_spec.rb +3 -3
- data/spec/objects/models/collection_response_simple_public_object_id_spec.rb +3 -3
- data/spec/objects/models/collection_response_simple_public_object_spec.rb +3 -3
- data/spec/objects/models/collection_response_with_total_simple_public_object_spec.rb +3 -3
- data/spec/objects/models/error_detail_spec.rb +3 -3
- data/spec/objects/models/error_spec.rb +3 -3
- data/spec/objects/models/filter_group_spec.rb +3 -3
- data/spec/objects/models/filter_spec.rb +3 -3
- data/spec/objects/models/next_page_spec.rb +3 -3
- data/spec/objects/models/paging_spec.rb +3 -3
- data/spec/objects/models/public_object_search_request_spec.rb +3 -3
- data/spec/objects/models/simple_public_object_batch_input_spec.rb +3 -3
- data/spec/objects/models/simple_public_object_id_spec.rb +3 -3
- data/spec/objects/models/simple_public_object_input_spec.rb +3 -3
- data/spec/objects/models/simple_public_object_spec.rb +3 -3
- data/spec/owners/api/default_api_spec.rb +3 -3
- data/spec/owners/api_client_spec.rb +23 -23
- data/spec/owners/configuration_spec.rb +2 -2
- data/spec/owners/models/collection_response_public_owner_spec.rb +3 -3
- data/spec/owners/models/error_detail_spec.rb +3 -3
- data/spec/owners/models/error_spec.rb +3 -3
- data/spec/owners/models/next_page_spec.rb +3 -3
- data/spec/owners/models/paging_spec.rb +3 -3
- data/spec/owners/models/public_owner_spec.rb +3 -3
- data/spec/owners/models/public_team_spec.rb +3 -3
- data/spec/pipelines/api/pipeline_stages_api_spec.rb +3 -3
- data/spec/pipelines/api/pipelines_api_spec.rb +3 -3
- data/spec/pipelines/api_client_spec.rb +23 -23
- data/spec/pipelines/configuration_spec.rb +2 -2
- data/spec/pipelines/models/collection_response_pipeline_spec.rb +3 -3
- data/spec/pipelines/models/collection_response_pipeline_stage_spec.rb +3 -3
- data/spec/pipelines/models/error_detail_spec.rb +3 -3
- data/spec/pipelines/models/error_spec.rb +3 -3
- data/spec/pipelines/models/next_page_spec.rb +3 -3
- data/spec/pipelines/models/paging_spec.rb +3 -3
- data/spec/pipelines/models/pipeline_input_spec.rb +3 -3
- data/spec/pipelines/models/pipeline_patch_input_spec.rb +3 -3
- data/spec/pipelines/models/pipeline_spec.rb +3 -3
- data/spec/pipelines/models/pipeline_stage_input_spec.rb +3 -3
- data/spec/pipelines/models/pipeline_stage_patch_input_spec.rb +3 -3
- data/spec/pipelines/models/pipeline_stage_spec.rb +3 -3
- data/spec/properties/api/batch_api_spec.rb +3 -3
- data/spec/properties/api/core_api_spec.rb +3 -3
- data/spec/properties/api/groups_api_spec.rb +3 -3
- data/spec/properties/api_client_spec.rb +23 -23
- data/spec/properties/configuration_spec.rb +2 -2
- data/spec/properties/models/batch_input_property_create_spec.rb +3 -3
- data/spec/properties/models/batch_input_property_name_spec.rb +3 -3
- data/spec/properties/models/batch_read_input_property_name_spec.rb +3 -3
- data/spec/properties/models/batch_response_property_spec.rb +3 -3
- data/spec/properties/models/collection_response_property_group_spec.rb +3 -3
- data/spec/properties/models/collection_response_property_spec.rb +3 -3
- data/spec/properties/models/error_detail_spec.rb +3 -3
- data/spec/properties/models/error_spec.rb +3 -3
- data/spec/properties/models/next_page_spec.rb +3 -3
- data/spec/properties/models/option_input_spec.rb +3 -3
- data/spec/properties/models/option_spec.rb +3 -3
- data/spec/properties/models/paging_spec.rb +3 -3
- data/spec/properties/models/property_create_spec.rb +3 -3
- data/spec/properties/models/property_group_create_spec.rb +3 -3
- data/spec/properties/models/property_group_spec.rb +3 -3
- data/spec/properties/models/property_group_update_spec.rb +3 -3
- data/spec/properties/models/property_modification_metadata_spec.rb +3 -3
- data/spec/properties/models/property_name_spec.rb +3 -3
- data/spec/properties/models/property_spec.rb +3 -3
- data/spec/properties/models/property_update_spec.rb +3 -3
- metadata +544 -7
- data/lib/hubspot/codegen/crm/extensions/cards/api/default_api.rb +0 -318
@@ -13,261 +13,257 @@ OpenAPI Generator version: 4.2.2
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module Hubspot
|
16
|
-
module
|
17
|
-
module
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
if @api_client.config.debugging
|
264
|
-
@api_client.config.logger.debug "API called: BatchApi#update_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
265
|
-
end
|
266
|
-
return data, status_code, headers
|
267
|
-
end
|
16
|
+
module Crm
|
17
|
+
module Tickets
|
18
|
+
class BatchApi
|
19
|
+
attr_accessor :api_client
|
20
|
+
|
21
|
+
def initialize(api_client = ApiClient.default)
|
22
|
+
@api_client = api_client
|
23
|
+
end
|
24
|
+
# Archive a batch of tickets by ID
|
25
|
+
# Archive a list of tickets given a collection of IDs. This method will return a `204 No Content` response on success regardless of the initial state of the object (e.g. active, already archived, non-existent).
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [BatchInputSimplePublicObjectId] :batch_input_simple_public_object_id
|
28
|
+
# @return [nil]
|
29
|
+
def archive_batch(opts = {})
|
30
|
+
archive_batch_with_http_info(opts)
|
31
|
+
nil
|
32
|
+
end
|
33
|
+
|
34
|
+
# Archive a batch of tickets by ID
|
35
|
+
# Archive a list of tickets given a collection of IDs. This method will return a `204 No Content` response on success regardless of the initial state of the object (e.g. active, already archived, non-existent).
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [BatchInputSimplePublicObjectId] :batch_input_simple_public_object_id
|
38
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
39
|
+
def archive_batch_with_http_info(opts = {})
|
40
|
+
if @api_client.config.debugging
|
41
|
+
@api_client.config.logger.debug 'Calling API: BatchApi.archive_batch ...'
|
42
|
+
end
|
43
|
+
# resource path
|
44
|
+
local_var_path = '/crm/v3/objects/tickets/batch/archive'
|
45
|
+
|
46
|
+
# query parameters
|
47
|
+
query_params = opts[:query_params] || {}
|
48
|
+
|
49
|
+
# header parameters
|
50
|
+
header_params = opts[:header_params] || {}
|
51
|
+
# HTTP header 'Accept' (if needed)
|
52
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
53
|
+
# HTTP header 'Content-Type'
|
54
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
55
|
+
|
56
|
+
# form parameters
|
57
|
+
form_params = opts[:form_params] || {}
|
58
|
+
|
59
|
+
# http body (model)
|
60
|
+
post_body = opts[:body] || @api_client.object_to_http_body(opts[:'batch_input_simple_public_object_id'])
|
61
|
+
|
62
|
+
# return_type
|
63
|
+
return_type = opts[:return_type]
|
64
|
+
|
65
|
+
# auth_names
|
66
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
67
|
+
|
68
|
+
new_options = opts.merge(
|
69
|
+
:header_params => header_params,
|
70
|
+
:query_params => query_params,
|
71
|
+
:form_params => form_params,
|
72
|
+
:body => post_body,
|
73
|
+
:auth_names => auth_names,
|
74
|
+
:return_type => return_type
|
75
|
+
)
|
76
|
+
|
77
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
78
|
+
if @api_client.config.debugging
|
79
|
+
@api_client.config.logger.debug "API called: BatchApi#archive_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
|
+
end
|
81
|
+
return data, status_code, headers
|
82
|
+
end
|
83
|
+
|
84
|
+
# Create a batch of tickets
|
85
|
+
# Create a batch of tickets. This follows the same rules as creating an individual object.
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @option opts [BatchInputSimplePublicObjectInput] :batch_input_simple_public_object_input
|
88
|
+
# @return [BatchResponseSimplePublicObject]
|
89
|
+
def create_batch(opts = {})
|
90
|
+
data, _status_code, _headers = create_batch_with_http_info(opts)
|
91
|
+
data
|
92
|
+
end
|
93
|
+
|
94
|
+
# Create a batch of tickets
|
95
|
+
# Create a batch of tickets. This follows the same rules as creating an individual object.
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [BatchInputSimplePublicObjectInput] :batch_input_simple_public_object_input
|
98
|
+
# @return [Array<(BatchResponseSimplePublicObject, Integer, Hash)>] BatchResponseSimplePublicObject data, response status code and response headers
|
99
|
+
def create_batch_with_http_info(opts = {})
|
100
|
+
if @api_client.config.debugging
|
101
|
+
@api_client.config.logger.debug 'Calling API: BatchApi.create_batch ...'
|
102
|
+
end
|
103
|
+
# resource path
|
104
|
+
local_var_path = '/crm/v3/objects/tickets/batch/create'
|
105
|
+
|
106
|
+
# query parameters
|
107
|
+
query_params = opts[:query_params] || {}
|
108
|
+
|
109
|
+
# header parameters
|
110
|
+
header_params = opts[:header_params] || {}
|
111
|
+
# HTTP header 'Accept' (if needed)
|
112
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
|
113
|
+
# HTTP header 'Content-Type'
|
114
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
115
|
+
|
116
|
+
# form parameters
|
117
|
+
form_params = opts[:form_params] || {}
|
118
|
+
|
119
|
+
# http body (model)
|
120
|
+
post_body = opts[:body] || @api_client.object_to_http_body(opts[:'batch_input_simple_public_object_input'])
|
121
|
+
|
122
|
+
# return_type
|
123
|
+
return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
|
124
|
+
|
125
|
+
# auth_names
|
126
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
127
|
+
|
128
|
+
new_options = opts.merge(
|
129
|
+
:header_params => header_params,
|
130
|
+
:query_params => query_params,
|
131
|
+
:form_params => form_params,
|
132
|
+
:body => post_body,
|
133
|
+
:auth_names => auth_names,
|
134
|
+
:return_type => return_type
|
135
|
+
)
|
136
|
+
|
137
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
138
|
+
if @api_client.config.debugging
|
139
|
+
@api_client.config.logger.debug "API called: BatchApi#create_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
140
|
+
end
|
141
|
+
return data, status_code, headers
|
142
|
+
end
|
143
|
+
|
144
|
+
# Read a batch of tickets by ID
|
145
|
+
# Read a list of tickets given a collection of IDs. Use the `properties` request body property to control which properties are returned.
|
146
|
+
# @param [Hash] opts the optional parameters
|
147
|
+
# @option opts [Boolean] :archived Whether to return only results that have been archived. (default to false)
|
148
|
+
# @option opts [BatchReadInputSimplePublicObjectId] :batch_read_input_simple_public_object_id
|
149
|
+
# @return [BatchResponseSimplePublicObject]
|
150
|
+
def read_batch(opts = {})
|
151
|
+
data, _status_code, _headers = read_batch_with_http_info(opts)
|
152
|
+
data
|
153
|
+
end
|
154
|
+
|
155
|
+
# Read a batch of tickets by ID
|
156
|
+
# Read a list of tickets given a collection of IDs. Use the `properties` request body property to control which properties are returned.
|
157
|
+
# @param [Hash] opts the optional parameters
|
158
|
+
# @option opts [Boolean] :archived Whether to return only results that have been archived.
|
159
|
+
# @option opts [BatchReadInputSimplePublicObjectId] :batch_read_input_simple_public_object_id
|
160
|
+
# @return [Array<(BatchResponseSimplePublicObject, Integer, Hash)>] BatchResponseSimplePublicObject data, response status code and response headers
|
161
|
+
def read_batch_with_http_info(opts = {})
|
162
|
+
if @api_client.config.debugging
|
163
|
+
@api_client.config.logger.debug 'Calling API: BatchApi.read_batch ...'
|
164
|
+
end
|
165
|
+
# resource path
|
166
|
+
local_var_path = '/crm/v3/objects/tickets/batch/read'
|
167
|
+
|
168
|
+
# query parameters
|
169
|
+
query_params = opts[:query_params] || {}
|
170
|
+
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
171
|
+
|
172
|
+
# header parameters
|
173
|
+
header_params = opts[:header_params] || {}
|
174
|
+
# HTTP header 'Accept' (if needed)
|
175
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
|
176
|
+
# HTTP header 'Content-Type'
|
177
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
178
|
+
|
179
|
+
# form parameters
|
180
|
+
form_params = opts[:form_params] || {}
|
181
|
+
|
182
|
+
# http body (model)
|
183
|
+
post_body = opts[:body] || @api_client.object_to_http_body(opts[:'batch_read_input_simple_public_object_id'])
|
184
|
+
|
185
|
+
# return_type
|
186
|
+
return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
|
187
|
+
|
188
|
+
# auth_names
|
189
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
190
|
+
|
191
|
+
new_options = opts.merge(
|
192
|
+
:header_params => header_params,
|
193
|
+
:query_params => query_params,
|
194
|
+
:form_params => form_params,
|
195
|
+
:body => post_body,
|
196
|
+
:auth_names => auth_names,
|
197
|
+
:return_type => return_type
|
198
|
+
)
|
199
|
+
|
200
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
201
|
+
if @api_client.config.debugging
|
202
|
+
@api_client.config.logger.debug "API called: BatchApi#read_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
203
|
+
end
|
204
|
+
return data, status_code, headers
|
205
|
+
end
|
206
|
+
|
207
|
+
# Update a batch of tickets
|
208
|
+
# Perform a partial upate on a batch of tickets. This follows the same rules as performing partial updates on an individual object.
|
209
|
+
# @param [Hash] opts the optional parameters
|
210
|
+
# @option opts [BatchInputSimplePublicObjectBatchInput] :batch_input_simple_public_object_batch_input
|
211
|
+
# @return [BatchResponseSimplePublicObject]
|
212
|
+
def update_batch(opts = {})
|
213
|
+
data, _status_code, _headers = update_batch_with_http_info(opts)
|
214
|
+
data
|
215
|
+
end
|
216
|
+
|
217
|
+
# Update a batch of tickets
|
218
|
+
# Perform a partial upate on a batch of tickets. This follows the same rules as performing partial updates on an individual object.
|
219
|
+
# @param [Hash] opts the optional parameters
|
220
|
+
# @option opts [BatchInputSimplePublicObjectBatchInput] :batch_input_simple_public_object_batch_input
|
221
|
+
# @return [Array<(BatchResponseSimplePublicObject, Integer, Hash)>] BatchResponseSimplePublicObject data, response status code and response headers
|
222
|
+
def update_batch_with_http_info(opts = {})
|
223
|
+
if @api_client.config.debugging
|
224
|
+
@api_client.config.logger.debug 'Calling API: BatchApi.update_batch ...'
|
225
|
+
end
|
226
|
+
# resource path
|
227
|
+
local_var_path = '/crm/v3/objects/tickets/batch/update'
|
228
|
+
|
229
|
+
# query parameters
|
230
|
+
query_params = opts[:query_params] || {}
|
231
|
+
|
232
|
+
# header parameters
|
233
|
+
header_params = opts[:header_params] || {}
|
234
|
+
# HTTP header 'Accept' (if needed)
|
235
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
|
236
|
+
# HTTP header 'Content-Type'
|
237
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
238
|
+
|
239
|
+
# form parameters
|
240
|
+
form_params = opts[:form_params] || {}
|
241
|
+
|
242
|
+
# http body (model)
|
243
|
+
post_body = opts[:body] || @api_client.object_to_http_body(opts[:'batch_input_simple_public_object_batch_input'])
|
244
|
+
|
245
|
+
# return_type
|
246
|
+
return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
|
247
|
+
|
248
|
+
# auth_names
|
249
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
250
|
+
|
251
|
+
new_options = opts.merge(
|
252
|
+
:header_params => header_params,
|
253
|
+
:query_params => query_params,
|
254
|
+
:form_params => form_params,
|
255
|
+
:body => post_body,
|
256
|
+
:auth_names => auth_names,
|
257
|
+
:return_type => return_type
|
258
|
+
)
|
259
|
+
|
260
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
261
|
+
if @api_client.config.debugging
|
262
|
+
@api_client.config.logger.debug "API called: BatchApi#update_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
268
263
|
end
|
264
|
+
return data, status_code, headers
|
269
265
|
end
|
270
266
|
end
|
271
267
|
end
|
272
268
|
end
|
273
|
-
end
|
269
|
+
end
|