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
|
@@ -7,7 +7,13 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [Integer]
|
|
13
|
+
required :id, Integer
|
|
14
|
+
|
|
15
|
+
# @!method initialize(id:, request_options: {})
|
|
16
|
+
# @param id [Integer]
|
|
11
17
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,6 +7,11 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [Integer]
|
|
13
|
+
required :id, Integer
|
|
14
|
+
|
|
10
15
|
# @!attribute color
|
|
11
16
|
#
|
|
12
17
|
# @return [String, nil]
|
|
@@ -23,7 +28,8 @@ module Amocrm
|
|
|
23
28
|
# @return [String, nil]
|
|
24
29
|
optional :name, String
|
|
25
30
|
|
|
26
|
-
# @!method initialize(color: nil, custom_fields_values: nil, name: nil, request_options: {})
|
|
31
|
+
# @!method initialize(id:, color: nil, custom_fields_values: nil, name: nil, request_options: {})
|
|
32
|
+
# @param id [Integer]
|
|
27
33
|
# @param color [String]
|
|
28
34
|
# @param custom_fields_values [Array<Amocrm::Models::CustomerSegmentUpdateByIDParams::CustomFieldsValue>]
|
|
29
35
|
# @param name [String]
|
|
@@ -7,7 +7,13 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [Integer]
|
|
13
|
+
required :id, Integer
|
|
14
|
+
|
|
15
|
+
# @!method initialize(id:, request_options: {})
|
|
16
|
+
# @param id [Integer]
|
|
11
17
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,7 +7,13 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [Integer]
|
|
13
|
+
required :id, Integer
|
|
14
|
+
|
|
15
|
+
# @!method initialize(id:, request_options: {})
|
|
16
|
+
# @param id [Integer]
|
|
11
17
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,6 +7,11 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [Integer]
|
|
13
|
+
required :id, Integer
|
|
14
|
+
|
|
10
15
|
# @!attribute color
|
|
11
16
|
#
|
|
12
17
|
# @return [String, nil]
|
|
@@ -22,7 +27,8 @@ module Amocrm
|
|
|
22
27
|
# @return [Integer, nil]
|
|
23
28
|
optional :sort, Integer
|
|
24
29
|
|
|
25
|
-
# @!method initialize(color: nil, name: nil, sort: nil, request_options: {})
|
|
30
|
+
# @!method initialize(id:, color: nil, name: nil, sort: nil, request_options: {})
|
|
31
|
+
# @param id [Integer]
|
|
26
32
|
# @param color [String]
|
|
27
33
|
# @param name [String]
|
|
28
34
|
# @param sort [Integer]
|
|
@@ -7,6 +7,11 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute customer_id
|
|
11
|
+
#
|
|
12
|
+
# @return [Integer]
|
|
13
|
+
required :customer_id, Integer
|
|
14
|
+
|
|
10
15
|
# @!attribute body
|
|
11
16
|
#
|
|
12
17
|
# @return [Array<Amocrm::Models::CustomerTransactionCreateParams::Body>]
|
|
@@ -17,7 +22,8 @@ module Amocrm
|
|
|
17
22
|
# @return [Boolean, nil]
|
|
18
23
|
optional :accrue_bonus, Amocrm::Internal::Type::Boolean
|
|
19
24
|
|
|
20
|
-
# @!method initialize(body:, accrue_bonus: nil, request_options: {})
|
|
25
|
+
# @!method initialize(customer_id:, body:, accrue_bonus: nil, request_options: {})
|
|
26
|
+
# @param customer_id [Integer]
|
|
21
27
|
# @param body [Array<Amocrm::Models::CustomerTransactionCreateParams::Body>]
|
|
22
28
|
# @param accrue_bonus [Boolean]
|
|
23
29
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -12,8 +12,14 @@ module Amocrm
|
|
|
12
12
|
# @return [Integer]
|
|
13
13
|
required :customer_id, Integer
|
|
14
14
|
|
|
15
|
-
# @!
|
|
15
|
+
# @!attribute transaction_id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :transaction_id, Integer
|
|
19
|
+
|
|
20
|
+
# @!method initialize(customer_id:, transaction_id:, request_options: {})
|
|
16
21
|
# @param customer_id [Integer]
|
|
22
|
+
# @param transaction_id [Integer]
|
|
17
23
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
end
|
|
19
25
|
end
|
|
@@ -7,6 +7,11 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute customer_id
|
|
11
|
+
#
|
|
12
|
+
# @return [Integer]
|
|
13
|
+
required :customer_id, Integer
|
|
14
|
+
|
|
10
15
|
# @!attribute filter
|
|
11
16
|
#
|
|
12
17
|
# @return [Object, nil]
|
|
@@ -22,7 +27,8 @@ module Amocrm
|
|
|
22
27
|
# @return [Integer, nil]
|
|
23
28
|
optional :page, Integer
|
|
24
29
|
|
|
25
|
-
# @!method initialize(filter: nil, limit: nil, page: nil, request_options: {})
|
|
30
|
+
# @!method initialize(customer_id:, filter: nil, limit: nil, page: nil, request_options: {})
|
|
31
|
+
# @param customer_id [Integer]
|
|
26
32
|
# @param filter [Object]
|
|
27
33
|
# @param limit [Integer]
|
|
28
34
|
# @param page [Integer]
|
|
@@ -7,6 +7,11 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [Integer]
|
|
13
|
+
required :id, Integer
|
|
14
|
+
|
|
10
15
|
# @!attribute _embedded
|
|
11
16
|
#
|
|
12
17
|
# @return [Amocrm::Models::CustomerUpdateByIDParams::Embedded, nil]
|
|
@@ -74,7 +79,8 @@ module Amocrm
|
|
|
74
79
|
# @return [Integer, nil]
|
|
75
80
|
optional :updated_by, Integer
|
|
76
81
|
|
|
77
|
-
# @!method initialize(_embedded: nil, custom_fields_values: nil, main_user_id: nil, name: nil, next_date: nil, next_price: nil, periodicity: nil, responsible_user_id: nil, status_id: nil, tags_to_add: nil, tags_to_delete: nil, updated_at: nil, updated_by: nil, request_options: {})
|
|
82
|
+
# @!method initialize(id:, _embedded: nil, custom_fields_values: nil, main_user_id: nil, name: nil, next_date: nil, next_price: nil, periodicity: nil, responsible_user_id: nil, status_id: nil, tags_to_add: nil, tags_to_delete: nil, updated_at: nil, updated_by: nil, request_options: {})
|
|
83
|
+
# @param id [Integer]
|
|
78
84
|
# @param _embedded [Amocrm::Models::CustomerUpdateByIDParams::Embedded]
|
|
79
85
|
# @param custom_fields_values [Array<Amocrm::Models::CustomerUpdateByIDParams::CustomFieldsValue>]
|
|
80
86
|
# @param main_user_id [Integer]
|
|
@@ -12,13 +12,19 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityFollowerAddParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityFollowerAddParams::EntityType }
|
|
14
14
|
|
|
15
|
+
# @!attribute entity_id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :entity_id, Integer
|
|
19
|
+
|
|
15
20
|
# @!attribute body
|
|
16
21
|
#
|
|
17
22
|
# @return [Array<Amocrm::Models::EntityFollowerAddParams::Body>]
|
|
18
23
|
required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityFollowerAddParams::Body] }
|
|
19
24
|
|
|
20
|
-
# @!method initialize(entity_type:, body:, request_options: {})
|
|
25
|
+
# @!method initialize(entity_type:, entity_id:, body:, request_options: {})
|
|
21
26
|
# @param entity_type [Symbol, Amocrm::Models::EntityFollowerAddParams::EntityType]
|
|
27
|
+
# @param entity_id [Integer]
|
|
22
28
|
# @param body [Array<Amocrm::Models::EntityFollowerAddParams::Body>]
|
|
23
29
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
24
30
|
|
|
@@ -12,6 +12,11 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityFollowerListParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityFollowerListParams::EntityType }
|
|
14
14
|
|
|
15
|
+
# @!attribute entity_id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :entity_id, Integer
|
|
19
|
+
|
|
15
20
|
# @!attribute limit
|
|
16
21
|
#
|
|
17
22
|
# @return [Integer, nil]
|
|
@@ -22,8 +27,9 @@ module Amocrm
|
|
|
22
27
|
# @return [Integer, nil]
|
|
23
28
|
optional :page, Integer
|
|
24
29
|
|
|
25
|
-
# @!method initialize(entity_type:, limit: nil, page: nil, request_options: {})
|
|
30
|
+
# @!method initialize(entity_type:, entity_id:, limit: nil, page: nil, request_options: {})
|
|
26
31
|
# @param entity_type [Symbol, Amocrm::Models::EntityFollowerListParams::EntityType]
|
|
32
|
+
# @param entity_id [Integer]
|
|
27
33
|
# @param limit [Integer]
|
|
28
34
|
# @param page [Integer]
|
|
29
35
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -12,13 +12,19 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityFollowerRemoveParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityFollowerRemoveParams::EntityType }
|
|
14
14
|
|
|
15
|
+
# @!attribute entity_id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :entity_id, Integer
|
|
19
|
+
|
|
15
20
|
# @!attribute body
|
|
16
21
|
#
|
|
17
22
|
# @return [Array<Amocrm::Models::EntityFollowerRemoveParams::Body>]
|
|
18
23
|
required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityFollowerRemoveParams::Body] }
|
|
19
24
|
|
|
20
|
-
# @!method initialize(entity_type:, body:, request_options: {})
|
|
25
|
+
# @!method initialize(entity_type:, entity_id:, body:, request_options: {})
|
|
21
26
|
# @param entity_type [Symbol, Amocrm::Models::EntityFollowerRemoveParams::EntityType]
|
|
27
|
+
# @param entity_id [Integer]
|
|
22
28
|
# @param body [Array<Amocrm::Models::EntityFollowerRemoveParams::Body>]
|
|
23
29
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
24
30
|
|
|
@@ -12,13 +12,19 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityLinkLinkByEntityParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityLinkLinkByEntityParams::EntityType }
|
|
14
14
|
|
|
15
|
+
# @!attribute entity_id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :entity_id, Integer
|
|
19
|
+
|
|
15
20
|
# @!attribute body
|
|
16
21
|
#
|
|
17
22
|
# @return [Array<Amocrm::Models::EntityLinkLinkByEntityParams::Body>]
|
|
18
23
|
required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityLinkLinkByEntityParams::Body] }
|
|
19
24
|
|
|
20
|
-
# @!method initialize(entity_type:, body:, request_options: {})
|
|
25
|
+
# @!method initialize(entity_type:, entity_id:, body:, request_options: {})
|
|
21
26
|
# @param entity_type [Symbol, Amocrm::Models::EntityLinkLinkByEntityParams::EntityType]
|
|
27
|
+
# @param entity_id [Integer]
|
|
22
28
|
# @param body [Array<Amocrm::Models::EntityLinkLinkByEntityParams::Body>]
|
|
23
29
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
24
30
|
|
|
@@ -7,12 +7,18 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute entity_type
|
|
11
|
+
#
|
|
12
|
+
# @return [Symbol, Amocrm::Models::EntityLinkLinkParams::EntityType]
|
|
13
|
+
required :entity_type, enum: -> { Amocrm::EntityLinkLinkParams::EntityType }
|
|
14
|
+
|
|
10
15
|
# @!attribute body
|
|
11
16
|
#
|
|
12
17
|
# @return [Array<Amocrm::Models::EntityLinkLinkParams::Body>]
|
|
13
18
|
required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityLinkLinkParams::Body] }
|
|
14
19
|
|
|
15
|
-
# @!method initialize(body:, request_options: {})
|
|
20
|
+
# @!method initialize(entity_type:, body:, request_options: {})
|
|
21
|
+
# @param entity_type [Symbol, Amocrm::Models::EntityLinkLinkParams::EntityType]
|
|
16
22
|
# @param body [Array<Amocrm::Models::EntityLinkLinkParams::Body>]
|
|
17
23
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
|
|
@@ -12,8 +12,14 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityLinkListByEntityParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityLinkListByEntityParams::EntityType }
|
|
14
14
|
|
|
15
|
-
# @!
|
|
15
|
+
# @!attribute entity_id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :entity_id, Integer
|
|
19
|
+
|
|
20
|
+
# @!method initialize(entity_type:, entity_id:, request_options: {})
|
|
16
21
|
# @param entity_type [Symbol, Amocrm::Models::EntityLinkListByEntityParams::EntityType]
|
|
22
|
+
# @param entity_id [Integer]
|
|
17
23
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
|
|
19
25
|
module EntityType
|
|
@@ -7,12 +7,18 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute entity_type
|
|
11
|
+
#
|
|
12
|
+
# @return [Symbol, Amocrm::Models::EntityLinkListParams::EntityType]
|
|
13
|
+
required :entity_type, enum: -> { Amocrm::EntityLinkListParams::EntityType }
|
|
14
|
+
|
|
10
15
|
# @!attribute filter
|
|
11
16
|
#
|
|
12
17
|
# @return [Object, nil]
|
|
13
18
|
optional :filter, Amocrm::Internal::Type::Unknown
|
|
14
19
|
|
|
15
|
-
# @!method initialize(filter: nil, request_options: {})
|
|
20
|
+
# @!method initialize(entity_type:, filter: nil, request_options: {})
|
|
21
|
+
# @param entity_type [Symbol, Amocrm::Models::EntityLinkListParams::EntityType]
|
|
16
22
|
# @param filter [Object]
|
|
17
23
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
|
|
@@ -12,13 +12,19 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityLinkUnlinkByEntityParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityLinkUnlinkByEntityParams::EntityType }
|
|
14
14
|
|
|
15
|
+
# @!attribute entity_id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :entity_id, Integer
|
|
19
|
+
|
|
15
20
|
# @!attribute body
|
|
16
21
|
#
|
|
17
22
|
# @return [Array<Amocrm::Models::EntityLinkUnlinkByEntityParams::Body>]
|
|
18
23
|
required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityLinkUnlinkByEntityParams::Body] }
|
|
19
24
|
|
|
20
|
-
# @!method initialize(entity_type:, body:, request_options: {})
|
|
25
|
+
# @!method initialize(entity_type:, entity_id:, body:, request_options: {})
|
|
21
26
|
# @param entity_type [Symbol, Amocrm::Models::EntityLinkUnlinkByEntityParams::EntityType]
|
|
27
|
+
# @param entity_id [Integer]
|
|
22
28
|
# @param body [Array<Amocrm::Models::EntityLinkUnlinkByEntityParams::Body>]
|
|
23
29
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
24
30
|
|
|
@@ -7,12 +7,18 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute entity_type
|
|
11
|
+
#
|
|
12
|
+
# @return [Symbol, Amocrm::Models::EntityLinkUnlinkParams::EntityType]
|
|
13
|
+
required :entity_type, enum: -> { Amocrm::EntityLinkUnlinkParams::EntityType }
|
|
14
|
+
|
|
10
15
|
# @!attribute body
|
|
11
16
|
#
|
|
12
17
|
# @return [Array<Amocrm::Models::EntityLinkUnlinkParams::Body>]
|
|
13
18
|
required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityLinkUnlinkParams::Body] }
|
|
14
19
|
|
|
15
|
-
# @!method initialize(body:, request_options: {})
|
|
20
|
+
# @!method initialize(entity_type:, body:, request_options: {})
|
|
21
|
+
# @param entity_type [Symbol, Amocrm::Models::EntityLinkUnlinkParams::EntityType]
|
|
16
22
|
# @param body [Array<Amocrm::Models::EntityLinkUnlinkParams::Body>]
|
|
17
23
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
|
|
@@ -7,12 +7,18 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute entity_type
|
|
11
|
+
#
|
|
12
|
+
# @return [Symbol, Amocrm::Models::EntityNoteCreateParams::EntityType]
|
|
13
|
+
required :entity_type, enum: -> { Amocrm::EntityNoteCreateParams::EntityType }
|
|
14
|
+
|
|
10
15
|
# @!attribute body
|
|
11
16
|
#
|
|
12
17
|
# @return [Array<Amocrm::Models::EntityNoteCreateParams::Body>]
|
|
13
18
|
required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityNoteCreateParams::Body] }
|
|
14
19
|
|
|
15
|
-
# @!method initialize(body:, request_options: {})
|
|
20
|
+
# @!method initialize(entity_type:, body:, request_options: {})
|
|
21
|
+
# @param entity_type [Symbol, Amocrm::Models::EntityNoteCreateParams::EntityType]
|
|
16
22
|
# @param body [Array<Amocrm::Models::EntityNoteCreateParams::Body>]
|
|
17
23
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
|
|
@@ -12,13 +12,19 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityNoteGetByIDParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityNoteGetByIDParams::EntityType }
|
|
14
14
|
|
|
15
|
+
# @!attribute id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :id, Integer
|
|
19
|
+
|
|
15
20
|
# @!attribute with
|
|
16
21
|
#
|
|
17
22
|
# @return [String, nil]
|
|
18
23
|
optional :with, String
|
|
19
24
|
|
|
20
|
-
# @!method initialize(entity_type:, with: nil, request_options: {})
|
|
25
|
+
# @!method initialize(entity_type:, id:, with: nil, request_options: {})
|
|
21
26
|
# @param entity_type [Symbol, Amocrm::Models::EntityNoteGetByIDParams::EntityType]
|
|
27
|
+
# @param id [Integer]
|
|
22
28
|
# @param with [String]
|
|
23
29
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
24
30
|
|
|
@@ -7,6 +7,11 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute entity_type
|
|
11
|
+
#
|
|
12
|
+
# @return [Symbol, Amocrm::Models::EntityNoteListParams::EntityType]
|
|
13
|
+
required :entity_type, enum: -> { Amocrm::EntityNoteListParams::EntityType }
|
|
14
|
+
|
|
10
15
|
# @!attribute filter
|
|
11
16
|
#
|
|
12
17
|
# @return [Object, nil]
|
|
@@ -22,7 +27,8 @@ module Amocrm
|
|
|
22
27
|
# @return [Integer, nil]
|
|
23
28
|
optional :page, Integer
|
|
24
29
|
|
|
25
|
-
# @!method initialize(filter: nil, limit: nil, page: nil, request_options: {})
|
|
30
|
+
# @!method initialize(entity_type:, filter: nil, limit: nil, page: nil, request_options: {})
|
|
31
|
+
# @param entity_type [Symbol, Amocrm::Models::EntityNoteListParams::EntityType]
|
|
26
32
|
# @param filter [Object]
|
|
27
33
|
# @param limit [Integer]
|
|
28
34
|
# @param page [Integer]
|
|
@@ -12,8 +12,14 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityNotePinParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityNotePinParams::EntityType }
|
|
14
14
|
|
|
15
|
-
# @!
|
|
15
|
+
# @!attribute id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :id, Integer
|
|
19
|
+
|
|
20
|
+
# @!method initialize(entity_type:, id:, request_options: {})
|
|
16
21
|
# @param entity_type [Symbol, Amocrm::Models::EntityNotePinParams::EntityType]
|
|
22
|
+
# @param id [Integer]
|
|
17
23
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
|
|
19
25
|
module EntityType
|
|
@@ -12,8 +12,14 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityNoteUnpinParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityNoteUnpinParams::EntityType }
|
|
14
14
|
|
|
15
|
-
# @!
|
|
15
|
+
# @!attribute id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :id, Integer
|
|
19
|
+
|
|
20
|
+
# @!method initialize(entity_type:, id:, request_options: {})
|
|
16
21
|
# @param entity_type [Symbol, Amocrm::Models::EntityNoteUnpinParams::EntityType]
|
|
22
|
+
# @param id [Integer]
|
|
17
23
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
|
|
19
25
|
module EntityType
|
|
@@ -12,6 +12,11 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityNoteUpdateByIDParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityNoteUpdateByIDParams::EntityType }
|
|
14
14
|
|
|
15
|
+
# @!attribute id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :id, Integer
|
|
19
|
+
|
|
15
20
|
# @!attribute entity_id
|
|
16
21
|
#
|
|
17
22
|
# @return [Integer, nil]
|
|
@@ -37,8 +42,9 @@ module Amocrm
|
|
|
37
42
|
# @return [Integer, nil]
|
|
38
43
|
optional :updated_by, Integer
|
|
39
44
|
|
|
40
|
-
# @!method initialize(entity_type:, entity_id: nil, note_type: nil, params: nil, updated_at: nil, updated_by: nil, request_options: {})
|
|
45
|
+
# @!method initialize(entity_type:, id:, entity_id: nil, note_type: nil, params: nil, updated_at: nil, updated_by: nil, request_options: {})
|
|
41
46
|
# @param entity_type [Symbol, Amocrm::Models::EntityNoteUpdateByIDParams::EntityType]
|
|
47
|
+
# @param id [Integer]
|
|
42
48
|
# @param entity_id [Integer]
|
|
43
49
|
# @param note_type [String]
|
|
44
50
|
# @param params [Object]
|
|
@@ -7,12 +7,18 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute entity_type
|
|
11
|
+
#
|
|
12
|
+
# @return [Symbol, Amocrm::Models::EntityNoteUpdateParams::EntityType]
|
|
13
|
+
required :entity_type, enum: -> { Amocrm::EntityNoteUpdateParams::EntityType }
|
|
14
|
+
|
|
10
15
|
# @!attribute body
|
|
11
16
|
#
|
|
12
17
|
# @return [Array<Amocrm::Models::EntityNoteUpdateParams::Body>]
|
|
13
18
|
required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityNoteUpdateParams::Body] }
|
|
14
19
|
|
|
15
|
-
# @!method initialize(body:, request_options: {})
|
|
20
|
+
# @!method initialize(entity_type:, body:, request_options: {})
|
|
21
|
+
# @param entity_type [Symbol, Amocrm::Models::EntityNoteUpdateParams::EntityType]
|
|
16
22
|
# @param body [Array<Amocrm::Models::EntityNoteUpdateParams::Body>]
|
|
17
23
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
|
|
@@ -12,14 +12,20 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityNotesByParentCreateByParentParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityNotesByParentCreateByParentParams::EntityType }
|
|
14
14
|
|
|
15
|
+
# @!attribute entity_id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :entity_id, Integer
|
|
19
|
+
|
|
15
20
|
# @!attribute body
|
|
16
21
|
#
|
|
17
22
|
# @return [Array<Amocrm::Models::EntityNotesByParentCreateByParentParams::Body>]
|
|
18
23
|
required :body,
|
|
19
24
|
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityNotesByParentCreateByParentParams::Body] }
|
|
20
25
|
|
|
21
|
-
# @!method initialize(entity_type:, body:, request_options: {})
|
|
26
|
+
# @!method initialize(entity_type:, entity_id:, body:, request_options: {})
|
|
22
27
|
# @param entity_type [Symbol, Amocrm::Models::EntityNotesByParentCreateByParentParams::EntityType]
|
|
28
|
+
# @param entity_id [Integer]
|
|
23
29
|
# @param body [Array<Amocrm::Models::EntityNotesByParentCreateByParentParams::Body>]
|
|
24
30
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
25
31
|
|
|
@@ -17,14 +17,20 @@ module Amocrm
|
|
|
17
17
|
# @return [Integer]
|
|
18
18
|
required :entity_id, Integer
|
|
19
19
|
|
|
20
|
+
# @!attribute note_id
|
|
21
|
+
#
|
|
22
|
+
# @return [Integer]
|
|
23
|
+
required :note_id, Integer
|
|
24
|
+
|
|
20
25
|
# @!attribute with
|
|
21
26
|
#
|
|
22
27
|
# @return [String, nil]
|
|
23
28
|
optional :with, String
|
|
24
29
|
|
|
25
|
-
# @!method initialize(entity_type:, entity_id:, with: nil, request_options: {})
|
|
30
|
+
# @!method initialize(entity_type:, entity_id:, note_id:, with: nil, request_options: {})
|
|
26
31
|
# @param entity_type [Symbol, Amocrm::Models::EntityNotesByParentGetByParentIDParams::EntityType]
|
|
27
32
|
# @param entity_id [Integer]
|
|
33
|
+
# @param note_id [Integer]
|
|
28
34
|
# @param with [String]
|
|
29
35
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
30
36
|
|
|
@@ -12,6 +12,11 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityNotesByParentListByParentParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityNotesByParentListByParentParams::EntityType }
|
|
14
14
|
|
|
15
|
+
# @!attribute entity_id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :entity_id, Integer
|
|
19
|
+
|
|
15
20
|
# @!attribute filter
|
|
16
21
|
#
|
|
17
22
|
# @return [Object, nil]
|
|
@@ -27,8 +32,9 @@ module Amocrm
|
|
|
27
32
|
# @return [Integer, nil]
|
|
28
33
|
optional :page, Integer
|
|
29
34
|
|
|
30
|
-
# @!method initialize(entity_type:, filter: nil, limit: nil, page: nil, request_options: {})
|
|
35
|
+
# @!method initialize(entity_type:, entity_id:, filter: nil, limit: nil, page: nil, request_options: {})
|
|
31
36
|
# @param entity_type [Symbol, Amocrm::Models::EntityNotesByParentListByParentParams::EntityType]
|
|
37
|
+
# @param entity_id [Integer]
|
|
32
38
|
# @param filter [Object]
|
|
33
39
|
# @param limit [Integer]
|
|
34
40
|
# @param page [Integer]
|
|
@@ -12,6 +12,16 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityNotesByParentUpdateByParentIDParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityNotesByParentUpdateByParentIDParams::EntityType }
|
|
14
14
|
|
|
15
|
+
# @!attribute path_entity_id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :path_entity_id, Integer
|
|
19
|
+
|
|
20
|
+
# @!attribute note_id
|
|
21
|
+
#
|
|
22
|
+
# @return [Integer]
|
|
23
|
+
required :note_id, Integer
|
|
24
|
+
|
|
15
25
|
# @!attribute body_entity_id
|
|
16
26
|
#
|
|
17
27
|
# @return [Integer, nil]
|
|
@@ -37,8 +47,10 @@ module Amocrm
|
|
|
37
47
|
# @return [Integer, nil]
|
|
38
48
|
optional :updated_by, Integer
|
|
39
49
|
|
|
40
|
-
# @!method initialize(entity_type:, body_entity_id: nil, note_type: nil, params: nil, updated_at: nil, updated_by: nil, request_options: {})
|
|
50
|
+
# @!method initialize(entity_type:, path_entity_id:, note_id:, body_entity_id: nil, note_type: nil, params: nil, updated_at: nil, updated_by: nil, request_options: {})
|
|
41
51
|
# @param entity_type [Symbol, Amocrm::Models::EntityNotesByParentUpdateByParentIDParams::EntityType]
|
|
52
|
+
# @param path_entity_id [Integer]
|
|
53
|
+
# @param note_id [Integer]
|
|
42
54
|
# @param body_entity_id [Integer]
|
|
43
55
|
# @param note_type [String]
|
|
44
56
|
# @param params [Object]
|
|
@@ -12,14 +12,20 @@ module Amocrm
|
|
|
12
12
|
# @return [Symbol, Amocrm::Models::EntityNotesByParentUpdateByParentParams::EntityType]
|
|
13
13
|
required :entity_type, enum: -> { Amocrm::EntityNotesByParentUpdateByParentParams::EntityType }
|
|
14
14
|
|
|
15
|
+
# @!attribute entity_id
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :entity_id, Integer
|
|
19
|
+
|
|
15
20
|
# @!attribute body
|
|
16
21
|
#
|
|
17
22
|
# @return [Array<Amocrm::Models::EntityNotesByParentUpdateByParentParams::Body>]
|
|
18
23
|
required :body,
|
|
19
24
|
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityNotesByParentUpdateByParentParams::Body] }
|
|
20
25
|
|
|
21
|
-
# @!method initialize(entity_type:, body:, request_options: {})
|
|
26
|
+
# @!method initialize(entity_type:, entity_id:, body:, request_options: {})
|
|
22
27
|
# @param entity_type [Symbol, Amocrm::Models::EntityNotesByParentUpdateByParentParams::EntityType]
|
|
28
|
+
# @param entity_id [Integer]
|
|
23
29
|
# @param body [Array<Amocrm::Models::EntityNotesByParentUpdateByParentParams::Body>]
|
|
24
30
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
25
31
|
|
|
@@ -7,12 +7,18 @@ module Amocrm
|
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [Integer]
|
|
13
|
+
required :id, Integer
|
|
14
|
+
|
|
10
15
|
# @!attribute with
|
|
11
16
|
#
|
|
12
17
|
# @return [String, nil]
|
|
13
18
|
optional :with, String
|
|
14
19
|
|
|
15
|
-
# @!method initialize(with: nil, request_options: {})
|
|
20
|
+
# @!method initialize(id:, with: nil, request_options: {})
|
|
21
|
+
# @param id [Integer]
|
|
16
22
|
# @param with [String]
|
|
17
23
|
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
end
|