amocrm 0.5.1 → 0.5.3
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 +26 -0
- data/README.md +1 -1
- data/lib/amocrm/internal/util.rb +31 -0
- data/lib/amocrm/models/catalog_element_create_params.rb +7 -1
- data/lib/amocrm/models/catalog_element_get_by_id_params.rb +8 -1
- data/lib/amocrm/models/catalog_element_list_params.rb +7 -1
- data/lib/amocrm/models/catalog_element_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/catalog_element_update_params.rb +7 -1
- data/lib/amocrm/models/catalog_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/catalog_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/company_get_by_id_params.rb +8 -1
- data/lib/amocrm/models/company_update_by_id_params.rb +8 -1
- data/lib/amocrm/models/contact_get_by_id_params.rb +8 -1
- data/lib/amocrm/models/contact_update_by_id_params.rb +8 -1
- data/lib/amocrm/models/custom_field_create_params.rb +7 -1
- data/lib/amocrm/models/custom_field_delete_by_id_params.rb +7 -1
- data/lib/amocrm/models/custom_field_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/custom_field_group_create_params.rb +7 -1
- data/lib/amocrm/models/custom_field_group_delete_by_id_params.rb +7 -1
- data/lib/amocrm/models/custom_field_group_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/custom_field_group_list_params.rb +7 -1
- data/lib/amocrm/models/custom_field_group_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/custom_field_list_params.rb +7 -1
- data/lib/amocrm/models/custom_field_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/custom_field_update_params.rb +7 -1
- data/lib/amocrm/models/customer_bonus_point_change_params.rb +39 -8
- data/lib/amocrm/models/customer_get_by_id_params.rb +8 -1
- data/lib/amocrm/models/customer_segment_delete_by_id_params.rb +7 -1
- data/lib/amocrm/models/customer_segment_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/customer_segment_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/customer_status_delete_by_id_params.rb +7 -1
- data/lib/amocrm/models/customer_status_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/customer_status_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/customer_transaction_create_params.rb +7 -1
- data/lib/amocrm/models/customer_transaction_delete_by_id_params.rb +7 -1
- data/lib/amocrm/models/customer_transaction_list_by_customer_params.rb +7 -1
- data/lib/amocrm/models/customer_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/entity_follower_add_params.rb +7 -1
- data/lib/amocrm/models/entity_follower_list_params.rb +7 -1
- data/lib/amocrm/models/entity_follower_remove_params.rb +7 -1
- data/lib/amocrm/models/entity_link_link_by_entity_params.rb +7 -1
- data/lib/amocrm/models/entity_link_link_params.rb +7 -1
- data/lib/amocrm/models/entity_link_list_by_entity_params.rb +7 -1
- data/lib/amocrm/models/entity_link_list_params.rb +7 -1
- data/lib/amocrm/models/entity_link_unlink_by_entity_params.rb +7 -1
- data/lib/amocrm/models/entity_link_unlink_params.rb +7 -1
- data/lib/amocrm/models/entity_note_create_params.rb +7 -1
- data/lib/amocrm/models/entity_note_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/entity_note_list_params.rb +7 -1
- data/lib/amocrm/models/entity_note_pin_params.rb +7 -1
- data/lib/amocrm/models/entity_note_unpin_params.rb +7 -1
- data/lib/amocrm/models/entity_note_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/entity_note_update_params.rb +7 -1
- data/lib/amocrm/models/entity_notes_by_parent_create_by_parent_params.rb +7 -1
- data/lib/amocrm/models/entity_notes_by_parent_get_by_parent_id_params.rb +7 -1
- data/lib/amocrm/models/entity_notes_by_parent_list_by_parent_params.rb +7 -1
- data/lib/amocrm/models/entity_notes_by_parent_update_by_parent_id_params.rb +13 -1
- data/lib/amocrm/models/entity_notes_by_parent_update_by_parent_params.rb +7 -1
- data/lib/amocrm/models/event_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/lead_get_by_id_params.rb +8 -1
- data/lib/amocrm/models/lead_update_by_id_params.rb +8 -1
- data/lib/amocrm/models/pipeline_delete_by_id_params.rb +7 -1
- data/lib/amocrm/models/pipeline_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/pipeline_status_create_params.rb +7 -1
- data/lib/amocrm/models/pipeline_status_delete_by_id_params.rb +7 -1
- data/lib/amocrm/models/pipeline_status_get_by_id_params.rb +8 -1
- data/lib/amocrm/models/pipeline_status_list_params.rb +8 -1
- data/lib/amocrm/models/pipeline_status_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/pipeline_status_update_params.rb +7 -1
- data/lib/amocrm/models/pipeline_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/role_delete_by_id_params.rb +7 -1
- data/lib/amocrm/models/role_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/role_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/source_delete_by_id_params.rb +7 -1
- data/lib/amocrm/models/source_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/source_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/tag_create_params.rb +7 -1
- data/lib/amocrm/models/tag_list_params.rb +7 -1
- data/lib/amocrm/models/talk_close_params.rb +8 -1
- data/lib/amocrm/models/talk_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/task_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/task_update_by_id_params.rb +7 -1
- data/lib/amocrm/models/unsorted_lead_accept_params.rb +8 -1
- data/lib/amocrm/models/unsorted_lead_decline_params.rb +8 -1
- data/lib/amocrm/models/user_get_by_id_params.rb +7 -1
- data/lib/amocrm/models/website_button_connect_online_chat_params.rb +7 -1
- data/lib/amocrm/models/website_button_get_by_source_id_params.rb +7 -1
- data/lib/amocrm/models/website_button_update_params.rb +7 -1
- data/lib/amocrm/models/widget_bot_continue_continue_params.rb +7 -1
- data/lib/amocrm/models/widget_get_by_code_params.rb +7 -1
- data/lib/amocrm/models/widget_install_params.rb +7 -1
- data/lib/amocrm/models/widget_uninstall_params.rb +7 -1
- data/lib/amocrm/resources/account.rb +2 -1
- data/lib/amocrm/resources/catalog_elements.rb +4 -2
- data/lib/amocrm/resources/catalogs.rb +2 -1
- data/lib/amocrm/resources/companies.rb +4 -2
- data/lib/amocrm/resources/contact_chats.rb +2 -1
- data/lib/amocrm/resources/contacts.rb +4 -2
- data/lib/amocrm/resources/custom_field_groups.rb +2 -1
- data/lib/amocrm/resources/custom_fields.rb +2 -1
- data/lib/amocrm/resources/customer_bonus_points.rb +3 -4
- data/lib/amocrm/resources/customer_transactions.rb +6 -3
- data/lib/amocrm/resources/customers.rb +4 -2
- data/lib/amocrm/resources/entity_followers.rb +2 -1
- data/lib/amocrm/resources/entity_links.rb +2 -1
- data/lib/amocrm/resources/entity_notes.rb +4 -2
- data/lib/amocrm/resources/entity_notes_by_parent.rb +4 -2
- data/lib/amocrm/resources/events.rb +6 -3
- data/lib/amocrm/resources/leads.rb +4 -2
- data/lib/amocrm/resources/pipeline_statuses.rb +4 -2
- data/lib/amocrm/resources/roles.rb +4 -2
- data/lib/amocrm/resources/sources.rb +2 -1
- data/lib/amocrm/resources/tags.rb +2 -1
- data/lib/amocrm/resources/tasks.rb +2 -1
- data/lib/amocrm/resources/users.rb +4 -2
- data/lib/amocrm/resources/webhooks.rb +2 -1
- data/lib/amocrm/resources/website_buttons.rb +4 -2
- data/lib/amocrm/resources/widgets.rb +2 -1
- data/lib/amocrm/version.rb +1 -1
- data/rbi/amocrm/internal/util.rbi +21 -1
- data/rbi/amocrm/models/catalog_element_create_params.rbi +6 -1
- data/rbi/amocrm/models/catalog_element_get_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/catalog_element_list_params.rbi +6 -0
- data/rbi/amocrm/models/catalog_element_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/catalog_element_update_params.rbi +6 -1
- data/rbi/amocrm/models/catalog_get_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/catalog_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/company_get_by_id_params.rbi +6 -1
- data/rbi/amocrm/models/company_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/contact_get_by_id_params.rbi +6 -1
- data/rbi/amocrm/models/contact_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/custom_field_create_params.rbi +6 -1
- data/rbi/amocrm/models/custom_field_delete_by_id_params.rbi +10 -2
- data/rbi/amocrm/models/custom_field_get_by_id_params.rbi +10 -2
- data/rbi/amocrm/models/custom_field_group_create_params.rbi +6 -1
- data/rbi/amocrm/models/custom_field_group_delete_by_id_params.rbi +10 -2
- data/rbi/amocrm/models/custom_field_group_get_by_id_params.rbi +10 -2
- data/rbi/amocrm/models/custom_field_group_list_params.rbi +6 -1
- data/rbi/amocrm/models/custom_field_group_update_by_id_params.rbi +6 -1
- data/rbi/amocrm/models/custom_field_list_params.rbi +6 -1
- data/rbi/amocrm/models/custom_field_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/custom_field_update_params.rbi +6 -1
- data/rbi/amocrm/models/customer_bonus_point_change_params.rbi +85 -8
- data/rbi/amocrm/models/customer_get_by_id_params.rbi +6 -1
- data/rbi/amocrm/models/customer_segment_delete_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/customer_segment_get_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/customer_segment_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/customer_status_delete_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/customer_status_get_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/customer_status_update_by_id_params.rbi +6 -1
- data/rbi/amocrm/models/customer_transaction_create_params.rbi +6 -1
- data/rbi/amocrm/models/customer_transaction_delete_by_id_params.rbi +10 -2
- data/rbi/amocrm/models/customer_transaction_list_by_customer_params.rbi +12 -1
- data/rbi/amocrm/models/customer_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/entity_follower_add_params.rbi +6 -1
- data/rbi/amocrm/models/entity_follower_list_params.rbi +12 -1
- data/rbi/amocrm/models/entity_follower_remove_params.rbi +6 -1
- data/rbi/amocrm/models/entity_link_link_by_entity_params.rbi +6 -1
- data/rbi/amocrm/models/entity_link_link_params.rbi +6 -1
- data/rbi/amocrm/models/entity_link_list_by_entity_params.rbi +6 -1
- data/rbi/amocrm/models/entity_link_list_params.rbi +10 -2
- data/rbi/amocrm/models/entity_link_unlink_by_entity_params.rbi +6 -1
- data/rbi/amocrm/models/entity_link_unlink_params.rbi +6 -1
- data/rbi/amocrm/models/entity_note_create_params.rbi +6 -1
- data/rbi/amocrm/models/entity_note_get_by_id_params.rbi +6 -1
- data/rbi/amocrm/models/entity_note_list_params.rbi +12 -1
- data/rbi/amocrm/models/entity_note_pin_params.rbi +6 -1
- data/rbi/amocrm/models/entity_note_unpin_params.rbi +6 -1
- data/rbi/amocrm/models/entity_note_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/entity_note_update_params.rbi +6 -1
- data/rbi/amocrm/models/entity_notes_by_parent_create_by_parent_params.rbi +6 -1
- data/rbi/amocrm/models/entity_notes_by_parent_get_by_parent_id_params.rbi +12 -1
- data/rbi/amocrm/models/entity_notes_by_parent_list_by_parent_params.rbi +6 -0
- data/rbi/amocrm/models/entity_notes_by_parent_update_by_parent_id_params.rbi +12 -0
- data/rbi/amocrm/models/entity_notes_by_parent_update_by_parent_params.rbi +6 -1
- data/rbi/amocrm/models/event_get_by_id_params.rbi +6 -2
- data/rbi/amocrm/models/lead_get_by_id_params.rbi +6 -1
- data/rbi/amocrm/models/lead_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/pipeline_delete_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/pipeline_get_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/pipeline_status_create_params.rbi +6 -1
- data/rbi/amocrm/models/pipeline_status_delete_by_id_params.rbi +10 -2
- data/rbi/amocrm/models/pipeline_status_get_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/pipeline_status_list_params.rbi +10 -1
- data/rbi/amocrm/models/pipeline_status_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/pipeline_status_update_params.rbi +6 -1
- data/rbi/amocrm/models/pipeline_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/role_delete_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/role_get_by_id_params.rbi +6 -2
- data/rbi/amocrm/models/role_update_by_id_params.rbi +12 -1
- data/rbi/amocrm/models/source_delete_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/source_get_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/source_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/tag_create_params.rbi +6 -1
- data/rbi/amocrm/models/tag_list_params.rbi +6 -0
- data/rbi/amocrm/models/talk_close_params.rbi +10 -1
- data/rbi/amocrm/models/talk_get_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/task_get_by_id_params.rbi +13 -5
- data/rbi/amocrm/models/task_update_by_id_params.rbi +6 -0
- data/rbi/amocrm/models/unsorted_lead_accept_params.rbi +6 -0
- data/rbi/amocrm/models/unsorted_lead_decline_params.rbi +10 -1
- data/rbi/amocrm/models/user_get_by_id_params.rbi +6 -2
- data/rbi/amocrm/models/website_button_connect_online_chat_params.rbi +13 -5
- data/rbi/amocrm/models/website_button_get_by_source_id_params.rbi +10 -2
- data/rbi/amocrm/models/website_button_update_params.rbi +6 -1
- data/rbi/amocrm/models/widget_bot_continue_continue_params.rbi +6 -0
- data/rbi/amocrm/models/widget_get_by_code_params.rbi +13 -5
- data/rbi/amocrm/models/widget_install_params.rbi +10 -2
- data/rbi/amocrm/models/widget_uninstall_params.rbi +13 -5
- data/rbi/amocrm/resources/customer_bonus_points.rbi +6 -3
- data/sig/amocrm/internal/util.rbs +10 -0
- data/sig/amocrm/models/catalog_element_create_params.rbs +8 -1
- data/sig/amocrm/models/catalog_element_get_by_id_params.rbs +5 -1
- data/sig/amocrm/models/catalog_element_list_params.rbs +5 -0
- data/sig/amocrm/models/catalog_element_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/catalog_element_update_params.rbs +8 -1
- data/sig/amocrm/models/catalog_get_by_id_params.rbs +8 -3
- data/sig/amocrm/models/catalog_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/company_get_by_id_params.rbs +9 -2
- data/sig/amocrm/models/company_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/contact_get_by_id_params.rbs +9 -2
- data/sig/amocrm/models/contact_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/custom_field_create_params.rbs +8 -1
- data/sig/amocrm/models/custom_field_delete_by_id_params.rbs +6 -1
- data/sig/amocrm/models/custom_field_get_by_id_params.rbs +6 -1
- data/sig/amocrm/models/custom_field_group_create_params.rbs +8 -1
- data/sig/amocrm/models/custom_field_group_delete_by_id_params.rbs +6 -1
- data/sig/amocrm/models/custom_field_group_get_by_id_params.rbs +6 -1
- data/sig/amocrm/models/custom_field_group_list_params.rbs +5 -1
- data/sig/amocrm/models/custom_field_group_update_by_id_params.rbs +5 -1
- data/sig/amocrm/models/custom_field_list_params.rbs +5 -1
- data/sig/amocrm/models/custom_field_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/custom_field_update_params.rbs +8 -1
- data/sig/amocrm/models/customer_bonus_point_change_params.rbs +40 -7
- data/sig/amocrm/models/customer_get_by_id_params.rbs +9 -2
- data/sig/amocrm/models/customer_segment_delete_by_id_params.rbs +8 -3
- data/sig/amocrm/models/customer_segment_get_by_id_params.rbs +8 -3
- data/sig/amocrm/models/customer_segment_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/customer_status_delete_by_id_params.rbs +8 -3
- data/sig/amocrm/models/customer_status_get_by_id_params.rbs +8 -3
- data/sig/amocrm/models/customer_status_update_by_id_params.rbs +5 -1
- data/sig/amocrm/models/customer_transaction_create_params.rbs +5 -0
- data/sig/amocrm/models/customer_transaction_delete_by_id_params.rbs +6 -1
- data/sig/amocrm/models/customer_transaction_list_by_customer_params.rbs +5 -1
- data/sig/amocrm/models/customer_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/entity_follower_add_params.rbs +5 -0
- data/sig/amocrm/models/entity_follower_list_params.rbs +5 -0
- data/sig/amocrm/models/entity_follower_remove_params.rbs +5 -0
- data/sig/amocrm/models/entity_link_link_by_entity_params.rbs +5 -0
- data/sig/amocrm/models/entity_link_link_params.rbs +8 -1
- data/sig/amocrm/models/entity_link_list_by_entity_params.rbs +8 -1
- data/sig/amocrm/models/entity_link_list_params.rbs +13 -2
- data/sig/amocrm/models/entity_link_unlink_by_entity_params.rbs +5 -0
- data/sig/amocrm/models/entity_link_unlink_params.rbs +8 -1
- data/sig/amocrm/models/entity_note_create_params.rbs +8 -1
- data/sig/amocrm/models/entity_note_get_by_id_params.rbs +5 -0
- data/sig/amocrm/models/entity_note_list_params.rbs +10 -1
- data/sig/amocrm/models/entity_note_pin_params.rbs +8 -1
- data/sig/amocrm/models/entity_note_unpin_params.rbs +8 -1
- data/sig/amocrm/models/entity_note_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/entity_note_update_params.rbs +8 -1
- data/sig/amocrm/models/entity_notes_by_parent_create_by_parent_params.rbs +5 -0
- data/sig/amocrm/models/entity_notes_by_parent_get_by_parent_id_params.rbs +5 -0
- data/sig/amocrm/models/entity_notes_by_parent_list_by_parent_params.rbs +5 -0
- data/sig/amocrm/models/entity_notes_by_parent_update_by_parent_id_params.rbs +10 -0
- data/sig/amocrm/models/entity_notes_by_parent_update_by_parent_params.rbs +5 -0
- data/sig/amocrm/models/event_get_by_id_params.rbs +9 -2
- data/sig/amocrm/models/lead_get_by_id_params.rbs +9 -2
- data/sig/amocrm/models/lead_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/pipeline_delete_by_id_params.rbs +8 -3
- data/sig/amocrm/models/pipeline_get_by_id_params.rbs +8 -3
- data/sig/amocrm/models/pipeline_status_create_params.rbs +8 -1
- data/sig/amocrm/models/pipeline_status_delete_by_id_params.rbs +6 -1
- data/sig/amocrm/models/pipeline_status_get_by_id_params.rbs +5 -1
- data/sig/amocrm/models/pipeline_status_list_params.rbs +10 -2
- data/sig/amocrm/models/pipeline_status_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/pipeline_status_update_params.rbs +8 -1
- data/sig/amocrm/models/pipeline_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/role_delete_by_id_params.rbs +8 -3
- data/sig/amocrm/models/role_get_by_id_params.rbs +9 -2
- data/sig/amocrm/models/role_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/source_delete_by_id_params.rbs +8 -3
- data/sig/amocrm/models/source_get_by_id_params.rbs +8 -3
- data/sig/amocrm/models/source_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/tag_create_params.rbs +8 -1
- data/sig/amocrm/models/tag_list_params.rbs +11 -1
- data/sig/amocrm/models/talk_close_params.rbs +6 -1
- data/sig/amocrm/models/talk_get_by_id_params.rbs +8 -3
- data/sig/amocrm/models/task_get_by_id_params.rbs +8 -3
- data/sig/amocrm/models/task_update_by_id_params.rbs +5 -0
- data/sig/amocrm/models/unsorted_lead_accept_params.rbs +5 -1
- data/sig/amocrm/models/unsorted_lead_decline_params.rbs +6 -1
- data/sig/amocrm/models/user_get_by_id_params.rbs +9 -2
- data/sig/amocrm/models/website_button_connect_online_chat_params.rbs +11 -3
- data/sig/amocrm/models/website_button_get_by_source_id_params.rbs +10 -2
- data/sig/amocrm/models/website_button_update_params.rbs +8 -1
- data/sig/amocrm/models/widget_bot_continue_continue_params.rbs +5 -0
- data/sig/amocrm/models/widget_get_by_code_params.rbs +11 -3
- data/sig/amocrm/models/widget_install_params.rbs +10 -2
- data/sig/amocrm/models/widget_uninstall_params.rbs +11 -3
- data/sig/amocrm/resources/customer_bonus_points.rbs +1 -2
- metadata +2 -2
|
@@ -3,6 +3,7 @@ module Amocrm
|
|
|
3
3
|
type entity_follower_list_params =
|
|
4
4
|
{
|
|
5
5
|
entity_type: Amocrm::Models::EntityFollowerListParams::entity_type,
|
|
6
|
+
entity_id: Integer,
|
|
6
7
|
limit: Integer,
|
|
7
8
|
page: Integer
|
|
8
9
|
}
|
|
@@ -14,6 +15,8 @@ module Amocrm
|
|
|
14
15
|
|
|
15
16
|
attr_accessor entity_type: Amocrm::Models::EntityFollowerListParams::entity_type
|
|
16
17
|
|
|
18
|
+
attr_accessor entity_id: Integer
|
|
19
|
+
|
|
17
20
|
attr_reader limit: Integer?
|
|
18
21
|
|
|
19
22
|
def limit=: (Integer) -> Integer
|
|
@@ -24,6 +27,7 @@ module Amocrm
|
|
|
24
27
|
|
|
25
28
|
def initialize: (
|
|
26
29
|
entity_type: Amocrm::Models::EntityFollowerListParams::entity_type,
|
|
30
|
+
entity_id: Integer,
|
|
27
31
|
?limit: Integer,
|
|
28
32
|
?page: Integer,
|
|
29
33
|
?request_options: Amocrm::request_opts
|
|
@@ -31,6 +35,7 @@ module Amocrm
|
|
|
31
35
|
|
|
32
36
|
def to_hash: -> {
|
|
33
37
|
entity_type: Amocrm::Models::EntityFollowerListParams::entity_type,
|
|
38
|
+
entity_id: Integer,
|
|
34
39
|
limit: Integer,
|
|
35
40
|
page: Integer,
|
|
36
41
|
request_options: Amocrm::RequestOptions
|
|
@@ -3,6 +3,7 @@ module Amocrm
|
|
|
3
3
|
type entity_follower_remove_params =
|
|
4
4
|
{
|
|
5
5
|
entity_type: Amocrm::Models::EntityFollowerRemoveParams::entity_type,
|
|
6
|
+
entity_id: Integer,
|
|
6
7
|
body: ::Array[Amocrm::EntityFollowerRemoveParams::Body]
|
|
7
8
|
}
|
|
8
9
|
& Amocrm::Internal::Type::request_parameters
|
|
@@ -13,16 +14,20 @@ module Amocrm
|
|
|
13
14
|
|
|
14
15
|
attr_accessor entity_type: Amocrm::Models::EntityFollowerRemoveParams::entity_type
|
|
15
16
|
|
|
17
|
+
attr_accessor entity_id: Integer
|
|
18
|
+
|
|
16
19
|
attr_accessor body: ::Array[Amocrm::EntityFollowerRemoveParams::Body]
|
|
17
20
|
|
|
18
21
|
def initialize: (
|
|
19
22
|
entity_type: Amocrm::Models::EntityFollowerRemoveParams::entity_type,
|
|
23
|
+
entity_id: Integer,
|
|
20
24
|
body: ::Array[Amocrm::EntityFollowerRemoveParams::Body],
|
|
21
25
|
?request_options: Amocrm::request_opts
|
|
22
26
|
) -> void
|
|
23
27
|
|
|
24
28
|
def to_hash: -> {
|
|
25
29
|
entity_type: Amocrm::Models::EntityFollowerRemoveParams::entity_type,
|
|
30
|
+
entity_id: Integer,
|
|
26
31
|
body: ::Array[Amocrm::EntityFollowerRemoveParams::Body],
|
|
27
32
|
request_options: Amocrm::RequestOptions
|
|
28
33
|
}
|
|
@@ -3,6 +3,7 @@ module Amocrm
|
|
|
3
3
|
type entity_link_link_by_entity_params =
|
|
4
4
|
{
|
|
5
5
|
entity_type: Amocrm::Models::EntityLinkLinkByEntityParams::entity_type,
|
|
6
|
+
entity_id: Integer,
|
|
6
7
|
body: ::Array[Amocrm::EntityLinkLinkByEntityParams::Body]
|
|
7
8
|
}
|
|
8
9
|
& Amocrm::Internal::Type::request_parameters
|
|
@@ -13,16 +14,20 @@ module Amocrm
|
|
|
13
14
|
|
|
14
15
|
attr_accessor entity_type: Amocrm::Models::EntityLinkLinkByEntityParams::entity_type
|
|
15
16
|
|
|
17
|
+
attr_accessor entity_id: Integer
|
|
18
|
+
|
|
16
19
|
attr_accessor body: ::Array[Amocrm::EntityLinkLinkByEntityParams::Body]
|
|
17
20
|
|
|
18
21
|
def initialize: (
|
|
19
22
|
entity_type: Amocrm::Models::EntityLinkLinkByEntityParams::entity_type,
|
|
23
|
+
entity_id: Integer,
|
|
20
24
|
body: ::Array[Amocrm::EntityLinkLinkByEntityParams::Body],
|
|
21
25
|
?request_options: Amocrm::request_opts
|
|
22
26
|
) -> void
|
|
23
27
|
|
|
24
28
|
def to_hash: -> {
|
|
25
29
|
entity_type: Amocrm::Models::EntityLinkLinkByEntityParams::entity_type,
|
|
30
|
+
entity_id: Integer,
|
|
26
31
|
body: ::Array[Amocrm::EntityLinkLinkByEntityParams::Body],
|
|
27
32
|
request_options: Amocrm::RequestOptions
|
|
28
33
|
}
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type entity_link_link_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
entity_type: Amocrm::Models::EntityLinkLinkParams::entity_type,
|
|
6
|
+
body: ::Array[Amocrm::EntityLinkLinkParams::Body]
|
|
7
|
+
}
|
|
5
8
|
& Amocrm::Internal::Type::request_parameters
|
|
6
9
|
|
|
7
10
|
class EntityLinkLinkParams < Amocrm::Internal::Type::BaseModel
|
|
8
11
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
9
12
|
include Amocrm::Internal::Type::RequestParameters
|
|
10
13
|
|
|
14
|
+
attr_accessor entity_type: Amocrm::Models::EntityLinkLinkParams::entity_type
|
|
15
|
+
|
|
11
16
|
attr_accessor body: ::Array[Amocrm::EntityLinkLinkParams::Body]
|
|
12
17
|
|
|
13
18
|
def initialize: (
|
|
19
|
+
entity_type: Amocrm::Models::EntityLinkLinkParams::entity_type,
|
|
14
20
|
body: ::Array[Amocrm::EntityLinkLinkParams::Body],
|
|
15
21
|
?request_options: Amocrm::request_opts
|
|
16
22
|
) -> void
|
|
17
23
|
|
|
18
24
|
def to_hash: -> {
|
|
25
|
+
entity_type: Amocrm::Models::EntityLinkLinkParams::entity_type,
|
|
19
26
|
body: ::Array[Amocrm::EntityLinkLinkParams::Body],
|
|
20
27
|
request_options: Amocrm::RequestOptions
|
|
21
28
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type entity_link_list_by_entity_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
entity_type: Amocrm::Models::EntityLinkListByEntityParams::entity_type,
|
|
6
|
+
entity_id: Integer
|
|
7
|
+
}
|
|
5
8
|
& Amocrm::Internal::Type::request_parameters
|
|
6
9
|
|
|
7
10
|
class EntityLinkListByEntityParams < Amocrm::Internal::Type::BaseModel
|
|
@@ -10,13 +13,17 @@ module Amocrm
|
|
|
10
13
|
|
|
11
14
|
attr_accessor entity_type: Amocrm::Models::EntityLinkListByEntityParams::entity_type
|
|
12
15
|
|
|
16
|
+
attr_accessor entity_id: Integer
|
|
17
|
+
|
|
13
18
|
def initialize: (
|
|
14
19
|
entity_type: Amocrm::Models::EntityLinkListByEntityParams::entity_type,
|
|
20
|
+
entity_id: Integer,
|
|
15
21
|
?request_options: Amocrm::request_opts
|
|
16
22
|
) -> void
|
|
17
23
|
|
|
18
24
|
def to_hash: -> {
|
|
19
25
|
entity_type: Amocrm::Models::EntityLinkListByEntityParams::entity_type,
|
|
26
|
+
entity_id: Integer,
|
|
20
27
|
request_options: Amocrm::RequestOptions
|
|
21
28
|
}
|
|
22
29
|
|
|
@@ -1,22 +1,33 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type entity_link_list_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
entity_type: Amocrm::Models::EntityLinkListParams::entity_type,
|
|
6
|
+
filter: top
|
|
7
|
+
}
|
|
8
|
+
& Amocrm::Internal::Type::request_parameters
|
|
5
9
|
|
|
6
10
|
class EntityLinkListParams < Amocrm::Internal::Type::BaseModel
|
|
7
11
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
12
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
13
|
|
|
14
|
+
attr_accessor entity_type: Amocrm::Models::EntityLinkListParams::entity_type
|
|
15
|
+
|
|
10
16
|
attr_reader filter: top?
|
|
11
17
|
|
|
12
18
|
def filter=: (top) -> top
|
|
13
19
|
|
|
14
20
|
def initialize: (
|
|
21
|
+
entity_type: Amocrm::Models::EntityLinkListParams::entity_type,
|
|
15
22
|
?filter: top,
|
|
16
23
|
?request_options: Amocrm::request_opts
|
|
17
24
|
) -> void
|
|
18
25
|
|
|
19
|
-
def to_hash: -> {
|
|
26
|
+
def to_hash: -> {
|
|
27
|
+
entity_type: Amocrm::Models::EntityLinkListParams::entity_type,
|
|
28
|
+
filter: top,
|
|
29
|
+
request_options: Amocrm::RequestOptions
|
|
30
|
+
}
|
|
20
31
|
|
|
21
32
|
type entity_type = :leads | :contacts | :companies | :customers
|
|
22
33
|
|
|
@@ -3,6 +3,7 @@ module Amocrm
|
|
|
3
3
|
type entity_link_unlink_by_entity_params =
|
|
4
4
|
{
|
|
5
5
|
entity_type: Amocrm::Models::EntityLinkUnlinkByEntityParams::entity_type,
|
|
6
|
+
entity_id: Integer,
|
|
6
7
|
body: ::Array[Amocrm::EntityLinkUnlinkByEntityParams::Body]
|
|
7
8
|
}
|
|
8
9
|
& Amocrm::Internal::Type::request_parameters
|
|
@@ -13,16 +14,20 @@ module Amocrm
|
|
|
13
14
|
|
|
14
15
|
attr_accessor entity_type: Amocrm::Models::EntityLinkUnlinkByEntityParams::entity_type
|
|
15
16
|
|
|
17
|
+
attr_accessor entity_id: Integer
|
|
18
|
+
|
|
16
19
|
attr_accessor body: ::Array[Amocrm::EntityLinkUnlinkByEntityParams::Body]
|
|
17
20
|
|
|
18
21
|
def initialize: (
|
|
19
22
|
entity_type: Amocrm::Models::EntityLinkUnlinkByEntityParams::entity_type,
|
|
23
|
+
entity_id: Integer,
|
|
20
24
|
body: ::Array[Amocrm::EntityLinkUnlinkByEntityParams::Body],
|
|
21
25
|
?request_options: Amocrm::request_opts
|
|
22
26
|
) -> void
|
|
23
27
|
|
|
24
28
|
def to_hash: -> {
|
|
25
29
|
entity_type: Amocrm::Models::EntityLinkUnlinkByEntityParams::entity_type,
|
|
30
|
+
entity_id: Integer,
|
|
26
31
|
body: ::Array[Amocrm::EntityLinkUnlinkByEntityParams::Body],
|
|
27
32
|
request_options: Amocrm::RequestOptions
|
|
28
33
|
}
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type entity_link_unlink_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
entity_type: Amocrm::Models::EntityLinkUnlinkParams::entity_type,
|
|
6
|
+
body: ::Array[Amocrm::EntityLinkUnlinkParams::Body]
|
|
7
|
+
}
|
|
5
8
|
& Amocrm::Internal::Type::request_parameters
|
|
6
9
|
|
|
7
10
|
class EntityLinkUnlinkParams < Amocrm::Internal::Type::BaseModel
|
|
8
11
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
9
12
|
include Amocrm::Internal::Type::RequestParameters
|
|
10
13
|
|
|
14
|
+
attr_accessor entity_type: Amocrm::Models::EntityLinkUnlinkParams::entity_type
|
|
15
|
+
|
|
11
16
|
attr_accessor body: ::Array[Amocrm::EntityLinkUnlinkParams::Body]
|
|
12
17
|
|
|
13
18
|
def initialize: (
|
|
19
|
+
entity_type: Amocrm::Models::EntityLinkUnlinkParams::entity_type,
|
|
14
20
|
body: ::Array[Amocrm::EntityLinkUnlinkParams::Body],
|
|
15
21
|
?request_options: Amocrm::request_opts
|
|
16
22
|
) -> void
|
|
17
23
|
|
|
18
24
|
def to_hash: -> {
|
|
25
|
+
entity_type: Amocrm::Models::EntityLinkUnlinkParams::entity_type,
|
|
19
26
|
body: ::Array[Amocrm::EntityLinkUnlinkParams::Body],
|
|
20
27
|
request_options: Amocrm::RequestOptions
|
|
21
28
|
}
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type entity_note_create_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
entity_type: Amocrm::Models::EntityNoteCreateParams::entity_type,
|
|
6
|
+
body: ::Array[Amocrm::EntityNoteCreateParams::Body]
|
|
7
|
+
}
|
|
5
8
|
& Amocrm::Internal::Type::request_parameters
|
|
6
9
|
|
|
7
10
|
class EntityNoteCreateParams < Amocrm::Internal::Type::BaseModel
|
|
8
11
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
9
12
|
include Amocrm::Internal::Type::RequestParameters
|
|
10
13
|
|
|
14
|
+
attr_accessor entity_type: Amocrm::Models::EntityNoteCreateParams::entity_type
|
|
15
|
+
|
|
11
16
|
attr_accessor body: ::Array[Amocrm::EntityNoteCreateParams::Body]
|
|
12
17
|
|
|
13
18
|
def initialize: (
|
|
19
|
+
entity_type: Amocrm::Models::EntityNoteCreateParams::entity_type,
|
|
14
20
|
body: ::Array[Amocrm::EntityNoteCreateParams::Body],
|
|
15
21
|
?request_options: Amocrm::request_opts
|
|
16
22
|
) -> void
|
|
17
23
|
|
|
18
24
|
def to_hash: -> {
|
|
25
|
+
entity_type: Amocrm::Models::EntityNoteCreateParams::entity_type,
|
|
19
26
|
body: ::Array[Amocrm::EntityNoteCreateParams::Body],
|
|
20
27
|
request_options: Amocrm::RequestOptions
|
|
21
28
|
}
|
|
@@ -3,6 +3,7 @@ module Amocrm
|
|
|
3
3
|
type entity_note_get_by_id_params =
|
|
4
4
|
{
|
|
5
5
|
entity_type: Amocrm::Models::EntityNoteGetByIDParams::entity_type,
|
|
6
|
+
id: Integer,
|
|
6
7
|
with: String
|
|
7
8
|
}
|
|
8
9
|
& Amocrm::Internal::Type::request_parameters
|
|
@@ -13,18 +14,22 @@ module Amocrm
|
|
|
13
14
|
|
|
14
15
|
attr_accessor entity_type: Amocrm::Models::EntityNoteGetByIDParams::entity_type
|
|
15
16
|
|
|
17
|
+
attr_accessor id: Integer
|
|
18
|
+
|
|
16
19
|
attr_reader with: String?
|
|
17
20
|
|
|
18
21
|
def with=: (String) -> String
|
|
19
22
|
|
|
20
23
|
def initialize: (
|
|
21
24
|
entity_type: Amocrm::Models::EntityNoteGetByIDParams::entity_type,
|
|
25
|
+
id: Integer,
|
|
22
26
|
?with: String,
|
|
23
27
|
?request_options: Amocrm::request_opts
|
|
24
28
|
) -> void
|
|
25
29
|
|
|
26
30
|
def to_hash: -> {
|
|
27
31
|
entity_type: Amocrm::Models::EntityNoteGetByIDParams::entity_type,
|
|
32
|
+
id: Integer,
|
|
28
33
|
with: String,
|
|
29
34
|
request_options: Amocrm::RequestOptions
|
|
30
35
|
}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type entity_note_list_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
entity_type: Amocrm::Models::EntityNoteListParams::entity_type,
|
|
6
|
+
filter: top,
|
|
7
|
+
limit: Integer,
|
|
8
|
+
page: Integer
|
|
9
|
+
}
|
|
5
10
|
& Amocrm::Internal::Type::request_parameters
|
|
6
11
|
|
|
7
12
|
class EntityNoteListParams < Amocrm::Internal::Type::BaseModel
|
|
8
13
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
9
14
|
include Amocrm::Internal::Type::RequestParameters
|
|
10
15
|
|
|
16
|
+
attr_accessor entity_type: Amocrm::Models::EntityNoteListParams::entity_type
|
|
17
|
+
|
|
11
18
|
attr_reader filter: top?
|
|
12
19
|
|
|
13
20
|
def filter=: (top) -> top
|
|
@@ -21,6 +28,7 @@ module Amocrm
|
|
|
21
28
|
def page=: (Integer) -> Integer
|
|
22
29
|
|
|
23
30
|
def initialize: (
|
|
31
|
+
entity_type: Amocrm::Models::EntityNoteListParams::entity_type,
|
|
24
32
|
?filter: top,
|
|
25
33
|
?limit: Integer,
|
|
26
34
|
?page: Integer,
|
|
@@ -28,6 +36,7 @@ module Amocrm
|
|
|
28
36
|
) -> void
|
|
29
37
|
|
|
30
38
|
def to_hash: -> {
|
|
39
|
+
entity_type: Amocrm::Models::EntityNoteListParams::entity_type,
|
|
31
40
|
filter: top,
|
|
32
41
|
limit: Integer,
|
|
33
42
|
page: Integer,
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type entity_note_pin_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
entity_type: Amocrm::Models::EntityNotePinParams::entity_type,
|
|
6
|
+
id: Integer
|
|
7
|
+
}
|
|
5
8
|
& Amocrm::Internal::Type::request_parameters
|
|
6
9
|
|
|
7
10
|
class EntityNotePinParams < Amocrm::Internal::Type::BaseModel
|
|
@@ -10,13 +13,17 @@ module Amocrm
|
|
|
10
13
|
|
|
11
14
|
attr_accessor entity_type: Amocrm::Models::EntityNotePinParams::entity_type
|
|
12
15
|
|
|
16
|
+
attr_accessor id: Integer
|
|
17
|
+
|
|
13
18
|
def initialize: (
|
|
14
19
|
entity_type: Amocrm::Models::EntityNotePinParams::entity_type,
|
|
20
|
+
id: Integer,
|
|
15
21
|
?request_options: Amocrm::request_opts
|
|
16
22
|
) -> void
|
|
17
23
|
|
|
18
24
|
def to_hash: -> {
|
|
19
25
|
entity_type: Amocrm::Models::EntityNotePinParams::entity_type,
|
|
26
|
+
id: Integer,
|
|
20
27
|
request_options: Amocrm::RequestOptions
|
|
21
28
|
}
|
|
22
29
|
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type entity_note_unpin_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
entity_type: Amocrm::Models::EntityNoteUnpinParams::entity_type,
|
|
6
|
+
id: Integer
|
|
7
|
+
}
|
|
5
8
|
& Amocrm::Internal::Type::request_parameters
|
|
6
9
|
|
|
7
10
|
class EntityNoteUnpinParams < Amocrm::Internal::Type::BaseModel
|
|
@@ -10,13 +13,17 @@ module Amocrm
|
|
|
10
13
|
|
|
11
14
|
attr_accessor entity_type: Amocrm::Models::EntityNoteUnpinParams::entity_type
|
|
12
15
|
|
|
16
|
+
attr_accessor id: Integer
|
|
17
|
+
|
|
13
18
|
def initialize: (
|
|
14
19
|
entity_type: Amocrm::Models::EntityNoteUnpinParams::entity_type,
|
|
20
|
+
id: Integer,
|
|
15
21
|
?request_options: Amocrm::request_opts
|
|
16
22
|
) -> void
|
|
17
23
|
|
|
18
24
|
def to_hash: -> {
|
|
19
25
|
entity_type: Amocrm::Models::EntityNoteUnpinParams::entity_type,
|
|
26
|
+
id: Integer,
|
|
20
27
|
request_options: Amocrm::RequestOptions
|
|
21
28
|
}
|
|
22
29
|
|
|
@@ -3,6 +3,7 @@ module Amocrm
|
|
|
3
3
|
type entity_note_update_by_id_params =
|
|
4
4
|
{
|
|
5
5
|
entity_type: Amocrm::Models::EntityNoteUpdateByIDParams::entity_type,
|
|
6
|
+
id: Integer,
|
|
6
7
|
entity_id: Integer,
|
|
7
8
|
note_type: String,
|
|
8
9
|
params: top,
|
|
@@ -17,6 +18,8 @@ module Amocrm
|
|
|
17
18
|
|
|
18
19
|
attr_accessor entity_type: Amocrm::Models::EntityNoteUpdateByIDParams::entity_type
|
|
19
20
|
|
|
21
|
+
attr_accessor id: Integer
|
|
22
|
+
|
|
20
23
|
attr_reader entity_id: Integer?
|
|
21
24
|
|
|
22
25
|
def entity_id=: (Integer) -> Integer
|
|
@@ -39,6 +42,7 @@ module Amocrm
|
|
|
39
42
|
|
|
40
43
|
def initialize: (
|
|
41
44
|
entity_type: Amocrm::Models::EntityNoteUpdateByIDParams::entity_type,
|
|
45
|
+
id: Integer,
|
|
42
46
|
?entity_id: Integer,
|
|
43
47
|
?note_type: String,
|
|
44
48
|
?params: top,
|
|
@@ -49,6 +53,7 @@ module Amocrm
|
|
|
49
53
|
|
|
50
54
|
def to_hash: -> {
|
|
51
55
|
entity_type: Amocrm::Models::EntityNoteUpdateByIDParams::entity_type,
|
|
56
|
+
id: Integer,
|
|
52
57
|
entity_id: Integer,
|
|
53
58
|
note_type: String,
|
|
54
59
|
params: top,
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type entity_note_update_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
entity_type: Amocrm::Models::EntityNoteUpdateParams::entity_type,
|
|
6
|
+
body: ::Array[Amocrm::EntityNoteUpdateParams::Body]
|
|
7
|
+
}
|
|
5
8
|
& Amocrm::Internal::Type::request_parameters
|
|
6
9
|
|
|
7
10
|
class EntityNoteUpdateParams < Amocrm::Internal::Type::BaseModel
|
|
8
11
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
9
12
|
include Amocrm::Internal::Type::RequestParameters
|
|
10
13
|
|
|
14
|
+
attr_accessor entity_type: Amocrm::Models::EntityNoteUpdateParams::entity_type
|
|
15
|
+
|
|
11
16
|
attr_accessor body: ::Array[Amocrm::EntityNoteUpdateParams::Body]
|
|
12
17
|
|
|
13
18
|
def initialize: (
|
|
19
|
+
entity_type: Amocrm::Models::EntityNoteUpdateParams::entity_type,
|
|
14
20
|
body: ::Array[Amocrm::EntityNoteUpdateParams::Body],
|
|
15
21
|
?request_options: Amocrm::request_opts
|
|
16
22
|
) -> void
|
|
17
23
|
|
|
18
24
|
def to_hash: -> {
|
|
25
|
+
entity_type: Amocrm::Models::EntityNoteUpdateParams::entity_type,
|
|
19
26
|
body: ::Array[Amocrm::EntityNoteUpdateParams::Body],
|
|
20
27
|
request_options: Amocrm::RequestOptions
|
|
21
28
|
}
|
|
@@ -3,6 +3,7 @@ module Amocrm
|
|
|
3
3
|
type entity_notes_by_parent_create_by_parent_params =
|
|
4
4
|
{
|
|
5
5
|
entity_type: Amocrm::Models::EntityNotesByParentCreateByParentParams::entity_type,
|
|
6
|
+
entity_id: Integer,
|
|
6
7
|
body: ::Array[Amocrm::EntityNotesByParentCreateByParentParams::Body]
|
|
7
8
|
}
|
|
8
9
|
& Amocrm::Internal::Type::request_parameters
|
|
@@ -13,16 +14,20 @@ module Amocrm
|
|
|
13
14
|
|
|
14
15
|
attr_accessor entity_type: Amocrm::Models::EntityNotesByParentCreateByParentParams::entity_type
|
|
15
16
|
|
|
17
|
+
attr_accessor entity_id: Integer
|
|
18
|
+
|
|
16
19
|
attr_accessor body: ::Array[Amocrm::EntityNotesByParentCreateByParentParams::Body]
|
|
17
20
|
|
|
18
21
|
def initialize: (
|
|
19
22
|
entity_type: Amocrm::Models::EntityNotesByParentCreateByParentParams::entity_type,
|
|
23
|
+
entity_id: Integer,
|
|
20
24
|
body: ::Array[Amocrm::EntityNotesByParentCreateByParentParams::Body],
|
|
21
25
|
?request_options: Amocrm::request_opts
|
|
22
26
|
) -> void
|
|
23
27
|
|
|
24
28
|
def to_hash: -> {
|
|
25
29
|
entity_type: Amocrm::Models::EntityNotesByParentCreateByParentParams::entity_type,
|
|
30
|
+
entity_id: Integer,
|
|
26
31
|
body: ::Array[Amocrm::EntityNotesByParentCreateByParentParams::Body],
|
|
27
32
|
request_options: Amocrm::RequestOptions
|
|
28
33
|
}
|
|
@@ -4,6 +4,7 @@ module Amocrm
|
|
|
4
4
|
{
|
|
5
5
|
entity_type: Amocrm::Models::EntityNotesByParentGetByParentIDParams::entity_type,
|
|
6
6
|
entity_id: Integer,
|
|
7
|
+
note_id: Integer,
|
|
7
8
|
with: String
|
|
8
9
|
}
|
|
9
10
|
& Amocrm::Internal::Type::request_parameters
|
|
@@ -16,6 +17,8 @@ module Amocrm
|
|
|
16
17
|
|
|
17
18
|
attr_accessor entity_id: Integer
|
|
18
19
|
|
|
20
|
+
attr_accessor note_id: Integer
|
|
21
|
+
|
|
19
22
|
attr_reader with: String?
|
|
20
23
|
|
|
21
24
|
def with=: (String) -> String
|
|
@@ -23,6 +26,7 @@ module Amocrm
|
|
|
23
26
|
def initialize: (
|
|
24
27
|
entity_type: Amocrm::Models::EntityNotesByParentGetByParentIDParams::entity_type,
|
|
25
28
|
entity_id: Integer,
|
|
29
|
+
note_id: Integer,
|
|
26
30
|
?with: String,
|
|
27
31
|
?request_options: Amocrm::request_opts
|
|
28
32
|
) -> void
|
|
@@ -30,6 +34,7 @@ module Amocrm
|
|
|
30
34
|
def to_hash: -> {
|
|
31
35
|
entity_type: Amocrm::Models::EntityNotesByParentGetByParentIDParams::entity_type,
|
|
32
36
|
entity_id: Integer,
|
|
37
|
+
note_id: Integer,
|
|
33
38
|
with: String,
|
|
34
39
|
request_options: Amocrm::RequestOptions
|
|
35
40
|
}
|
|
@@ -3,6 +3,7 @@ module Amocrm
|
|
|
3
3
|
type entity_notes_by_parent_list_by_parent_params =
|
|
4
4
|
{
|
|
5
5
|
entity_type: Amocrm::Models::EntityNotesByParentListByParentParams::entity_type,
|
|
6
|
+
entity_id: Integer,
|
|
6
7
|
filter: top,
|
|
7
8
|
limit: Integer,
|
|
8
9
|
page: Integer
|
|
@@ -15,6 +16,8 @@ module Amocrm
|
|
|
15
16
|
|
|
16
17
|
attr_accessor entity_type: Amocrm::Models::EntityNotesByParentListByParentParams::entity_type
|
|
17
18
|
|
|
19
|
+
attr_accessor entity_id: Integer
|
|
20
|
+
|
|
18
21
|
attr_reader filter: top?
|
|
19
22
|
|
|
20
23
|
def filter=: (top) -> top
|
|
@@ -29,6 +32,7 @@ module Amocrm
|
|
|
29
32
|
|
|
30
33
|
def initialize: (
|
|
31
34
|
entity_type: Amocrm::Models::EntityNotesByParentListByParentParams::entity_type,
|
|
35
|
+
entity_id: Integer,
|
|
32
36
|
?filter: top,
|
|
33
37
|
?limit: Integer,
|
|
34
38
|
?page: Integer,
|
|
@@ -37,6 +41,7 @@ module Amocrm
|
|
|
37
41
|
|
|
38
42
|
def to_hash: -> {
|
|
39
43
|
entity_type: Amocrm::Models::EntityNotesByParentListByParentParams::entity_type,
|
|
44
|
+
entity_id: Integer,
|
|
40
45
|
filter: top,
|
|
41
46
|
limit: Integer,
|
|
42
47
|
page: Integer,
|
|
@@ -3,6 +3,8 @@ module Amocrm
|
|
|
3
3
|
type entity_notes_by_parent_update_by_parent_id_params =
|
|
4
4
|
{
|
|
5
5
|
entity_type: Amocrm::Models::EntityNotesByParentUpdateByParentIDParams::entity_type,
|
|
6
|
+
path_entity_id: Integer,
|
|
7
|
+
note_id: Integer,
|
|
6
8
|
body_entity_id: Integer,
|
|
7
9
|
note_type: String,
|
|
8
10
|
params: top,
|
|
@@ -17,6 +19,10 @@ module Amocrm
|
|
|
17
19
|
|
|
18
20
|
attr_accessor entity_type: Amocrm::Models::EntityNotesByParentUpdateByParentIDParams::entity_type
|
|
19
21
|
|
|
22
|
+
attr_accessor path_entity_id: Integer
|
|
23
|
+
|
|
24
|
+
attr_accessor note_id: Integer
|
|
25
|
+
|
|
20
26
|
attr_reader body_entity_id: Integer?
|
|
21
27
|
|
|
22
28
|
def body_entity_id=: (Integer) -> Integer
|
|
@@ -39,6 +45,8 @@ module Amocrm
|
|
|
39
45
|
|
|
40
46
|
def initialize: (
|
|
41
47
|
entity_type: Amocrm::Models::EntityNotesByParentUpdateByParentIDParams::entity_type,
|
|
48
|
+
path_entity_id: Integer,
|
|
49
|
+
note_id: Integer,
|
|
42
50
|
?body_entity_id: Integer,
|
|
43
51
|
?note_type: String,
|
|
44
52
|
?params: top,
|
|
@@ -49,6 +57,8 @@ module Amocrm
|
|
|
49
57
|
|
|
50
58
|
def to_hash: -> {
|
|
51
59
|
entity_type: Amocrm::Models::EntityNotesByParentUpdateByParentIDParams::entity_type,
|
|
60
|
+
path_entity_id: Integer,
|
|
61
|
+
note_id: Integer,
|
|
52
62
|
body_entity_id: Integer,
|
|
53
63
|
note_type: String,
|
|
54
64
|
params: top,
|
|
@@ -3,6 +3,7 @@ module Amocrm
|
|
|
3
3
|
type entity_notes_by_parent_update_by_parent_params =
|
|
4
4
|
{
|
|
5
5
|
entity_type: Amocrm::Models::EntityNotesByParentUpdateByParentParams::entity_type,
|
|
6
|
+
entity_id: Integer,
|
|
6
7
|
body: ::Array[Amocrm::EntityNotesByParentUpdateByParentParams::Body]
|
|
7
8
|
}
|
|
8
9
|
& Amocrm::Internal::Type::request_parameters
|
|
@@ -13,16 +14,20 @@ module Amocrm
|
|
|
13
14
|
|
|
14
15
|
attr_accessor entity_type: Amocrm::Models::EntityNotesByParentUpdateByParentParams::entity_type
|
|
15
16
|
|
|
17
|
+
attr_accessor entity_id: Integer
|
|
18
|
+
|
|
16
19
|
attr_accessor body: ::Array[Amocrm::EntityNotesByParentUpdateByParentParams::Body]
|
|
17
20
|
|
|
18
21
|
def initialize: (
|
|
19
22
|
entity_type: Amocrm::Models::EntityNotesByParentUpdateByParentParams::entity_type,
|
|
23
|
+
entity_id: Integer,
|
|
20
24
|
body: ::Array[Amocrm::EntityNotesByParentUpdateByParentParams::Body],
|
|
21
25
|
?request_options: Amocrm::request_opts
|
|
22
26
|
) -> void
|
|
23
27
|
|
|
24
28
|
def to_hash: -> {
|
|
25
29
|
entity_type: Amocrm::Models::EntityNotesByParentUpdateByParentParams::entity_type,
|
|
30
|
+
entity_id: Integer,
|
|
26
31
|
body: ::Array[Amocrm::EntityNotesByParentUpdateByParentParams::Body],
|
|
27
32
|
request_options: Amocrm::RequestOptions
|
|
28
33
|
}
|
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type event_get_by_id_params =
|
|
4
|
-
{ with: String } & Amocrm::Internal::Type::request_parameters
|
|
4
|
+
{ id: Integer, with: String } & Amocrm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class EventGetByIDParams < Amocrm::Internal::Type::BaseModel
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
attr_accessor id: Integer
|
|
11
|
+
|
|
10
12
|
attr_reader with: String?
|
|
11
13
|
|
|
12
14
|
def with=: (String) -> String
|
|
13
15
|
|
|
14
16
|
def initialize: (
|
|
17
|
+
id: Integer,
|
|
15
18
|
?with: String,
|
|
16
19
|
?request_options: Amocrm::request_opts
|
|
17
20
|
) -> void
|
|
18
21
|
|
|
19
|
-
def to_hash: -> {
|
|
22
|
+
def to_hash: -> {
|
|
23
|
+
id: Integer,
|
|
24
|
+
with: String,
|
|
25
|
+
request_options: Amocrm::RequestOptions
|
|
26
|
+
}
|
|
20
27
|
end
|
|
21
28
|
end
|
|
22
29
|
end
|