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
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type lead_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 LeadGetByIDParams < 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
|
|
@@ -2,6 +2,7 @@ module Amocrm
|
|
|
2
2
|
module Models
|
|
3
3
|
type lead_update_by_id_params =
|
|
4
4
|
{
|
|
5
|
+
id: Integer,
|
|
5
6
|
_embedded: Amocrm::LeadUpdateByIDParams::Embedded,
|
|
6
7
|
closed_at: Integer,
|
|
7
8
|
custom_fields_values: ::Array[Amocrm::LeadUpdateByIDParams::CustomFieldsValue],
|
|
@@ -22,6 +23,8 @@ module Amocrm
|
|
|
22
23
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
23
24
|
include Amocrm::Internal::Type::RequestParameters
|
|
24
25
|
|
|
26
|
+
attr_accessor id: Integer
|
|
27
|
+
|
|
25
28
|
attr_reader _embedded: Amocrm::LeadUpdateByIDParams::Embedded?
|
|
26
29
|
|
|
27
30
|
def _embedded=: (
|
|
@@ -83,6 +86,7 @@ module Amocrm
|
|
|
83
86
|
def updated_at=: (Integer) -> Integer
|
|
84
87
|
|
|
85
88
|
def initialize: (
|
|
89
|
+
id: Integer,
|
|
86
90
|
?_embedded: Amocrm::LeadUpdateByIDParams::Embedded,
|
|
87
91
|
?closed_at: Integer,
|
|
88
92
|
?custom_fields_values: ::Array[Amocrm::LeadUpdateByIDParams::CustomFieldsValue],
|
|
@@ -100,6 +104,7 @@ module Amocrm
|
|
|
100
104
|
) -> void
|
|
101
105
|
|
|
102
106
|
def to_hash: -> {
|
|
107
|
+
id: Integer,
|
|
103
108
|
_embedded: Amocrm::LeadUpdateByIDParams::Embedded,
|
|
104
109
|
closed_at: Integer,
|
|
105
110
|
custom_fields_values: ::Array[Amocrm::LeadUpdateByIDParams::CustomFieldsValue],
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type pipeline_delete_by_id_params =
|
|
4
|
-
{
|
|
4
|
+
{ id: Integer } & Amocrm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class PipelineDeleteByIDParams < Amocrm::Internal::Type::BaseModel
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
attr_accessor id: Integer
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def initialize: (
|
|
13
|
+
id: Integer,
|
|
14
|
+
?request_options: Amocrm::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> { id: Integer, request_options: Amocrm::RequestOptions }
|
|
13
18
|
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type pipeline_get_by_id_params =
|
|
4
|
-
{
|
|
4
|
+
{ id: Integer } & Amocrm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class PipelineGetByIDParams < Amocrm::Internal::Type::BaseModel
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
attr_accessor id: Integer
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def initialize: (
|
|
13
|
+
id: Integer,
|
|
14
|
+
?request_options: Amocrm::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> { id: Integer, request_options: Amocrm::RequestOptions }
|
|
13
18
|
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type pipeline_status_create_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
pipeline_id: Integer,
|
|
6
|
+
body: ::Array[Amocrm::PipelineStatusCreateParams::Body]
|
|
7
|
+
}
|
|
5
8
|
& Amocrm::Internal::Type::request_parameters
|
|
6
9
|
|
|
7
10
|
class PipelineStatusCreateParams < Amocrm::Internal::Type::BaseModel
|
|
8
11
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
9
12
|
include Amocrm::Internal::Type::RequestParameters
|
|
10
13
|
|
|
14
|
+
attr_accessor pipeline_id: Integer
|
|
15
|
+
|
|
11
16
|
attr_accessor body: ::Array[Amocrm::PipelineStatusCreateParams::Body]
|
|
12
17
|
|
|
13
18
|
def initialize: (
|
|
19
|
+
pipeline_id: Integer,
|
|
14
20
|
body: ::Array[Amocrm::PipelineStatusCreateParams::Body],
|
|
15
21
|
?request_options: Amocrm::request_opts
|
|
16
22
|
) -> void
|
|
17
23
|
|
|
18
24
|
def to_hash: -> {
|
|
25
|
+
pipeline_id: Integer,
|
|
19
26
|
body: ::Array[Amocrm::PipelineStatusCreateParams::Body],
|
|
20
27
|
request_options: Amocrm::RequestOptions
|
|
21
28
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type pipeline_status_delete_by_id_params =
|
|
4
|
-
{ pipeline_id: Integer
|
|
4
|
+
{ pipeline_id: Integer, id: Integer }
|
|
5
|
+
& Amocrm::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class PipelineStatusDeleteByIDParams < Amocrm::Internal::Type::BaseModel
|
|
7
8
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
@@ -9,13 +10,17 @@ module Amocrm
|
|
|
9
10
|
|
|
10
11
|
attr_accessor pipeline_id: Integer
|
|
11
12
|
|
|
13
|
+
attr_accessor id: Integer
|
|
14
|
+
|
|
12
15
|
def initialize: (
|
|
13
16
|
pipeline_id: Integer,
|
|
17
|
+
id: Integer,
|
|
14
18
|
?request_options: Amocrm::request_opts
|
|
15
19
|
) -> void
|
|
16
20
|
|
|
17
21
|
def to_hash: -> {
|
|
18
22
|
pipeline_id: Integer,
|
|
23
|
+
id: Integer,
|
|
19
24
|
request_options: Amocrm::RequestOptions
|
|
20
25
|
}
|
|
21
26
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type pipeline_status_get_by_id_params =
|
|
4
|
-
{ pipeline_id: Integer, with: String }
|
|
4
|
+
{ pipeline_id: Integer, id: Integer, with: String }
|
|
5
5
|
& Amocrm::Internal::Type::request_parameters
|
|
6
6
|
|
|
7
7
|
class PipelineStatusGetByIDParams < Amocrm::Internal::Type::BaseModel
|
|
@@ -10,18 +10,22 @@ module Amocrm
|
|
|
10
10
|
|
|
11
11
|
attr_accessor pipeline_id: Integer
|
|
12
12
|
|
|
13
|
+
attr_accessor id: Integer
|
|
14
|
+
|
|
13
15
|
attr_reader with: String?
|
|
14
16
|
|
|
15
17
|
def with=: (String) -> String
|
|
16
18
|
|
|
17
19
|
def initialize: (
|
|
18
20
|
pipeline_id: Integer,
|
|
21
|
+
id: Integer,
|
|
19
22
|
?with: String,
|
|
20
23
|
?request_options: Amocrm::request_opts
|
|
21
24
|
) -> void
|
|
22
25
|
|
|
23
26
|
def to_hash: -> {
|
|
24
27
|
pipeline_id: Integer,
|
|
28
|
+
id: Integer,
|
|
25
29
|
with: String,
|
|
26
30
|
request_options: Amocrm::RequestOptions
|
|
27
31
|
}
|
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type pipeline_status_list_params =
|
|
4
|
-
{ with: String }
|
|
4
|
+
{ pipeline_id: Integer, with: String }
|
|
5
|
+
& Amocrm::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class PipelineStatusListParams < Amocrm::Internal::Type::BaseModel
|
|
7
8
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
9
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
10
|
|
|
11
|
+
attr_accessor pipeline_id: Integer
|
|
12
|
+
|
|
10
13
|
attr_reader with: String?
|
|
11
14
|
|
|
12
15
|
def with=: (String) -> String
|
|
13
16
|
|
|
14
17
|
def initialize: (
|
|
18
|
+
pipeline_id: Integer,
|
|
15
19
|
?with: String,
|
|
16
20
|
?request_options: Amocrm::request_opts
|
|
17
21
|
) -> void
|
|
18
22
|
|
|
19
|
-
def to_hash: -> {
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
pipeline_id: Integer,
|
|
25
|
+
with: String,
|
|
26
|
+
request_options: Amocrm::RequestOptions
|
|
27
|
+
}
|
|
20
28
|
end
|
|
21
29
|
end
|
|
22
30
|
end
|
|
@@ -3,6 +3,7 @@ module Amocrm
|
|
|
3
3
|
type pipeline_status_update_by_id_params =
|
|
4
4
|
{
|
|
5
5
|
pipeline_id: Integer,
|
|
6
|
+
id: Integer,
|
|
6
7
|
color: String,
|
|
7
8
|
descriptions: ::Array[Amocrm::PipelineStatusUpdateByIDParams::Description],
|
|
8
9
|
name: String,
|
|
@@ -17,6 +18,8 @@ module Amocrm
|
|
|
17
18
|
|
|
18
19
|
attr_accessor pipeline_id: Integer
|
|
19
20
|
|
|
21
|
+
attr_accessor id: Integer
|
|
22
|
+
|
|
20
23
|
attr_reader color: String?
|
|
21
24
|
|
|
22
25
|
def color=: (String) -> String
|
|
@@ -41,6 +44,7 @@ module Amocrm
|
|
|
41
44
|
|
|
42
45
|
def initialize: (
|
|
43
46
|
pipeline_id: Integer,
|
|
47
|
+
id: Integer,
|
|
44
48
|
?color: String,
|
|
45
49
|
?descriptions: ::Array[Amocrm::PipelineStatusUpdateByIDParams::Description],
|
|
46
50
|
?name: String,
|
|
@@ -51,6 +55,7 @@ module Amocrm
|
|
|
51
55
|
|
|
52
56
|
def to_hash: -> {
|
|
53
57
|
pipeline_id: Integer,
|
|
58
|
+
id: Integer,
|
|
54
59
|
color: String,
|
|
55
60
|
descriptions: ::Array[Amocrm::PipelineStatusUpdateByIDParams::Description],
|
|
56
61
|
name: String,
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type pipeline_status_update_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
pipeline_id: Integer,
|
|
6
|
+
body: ::Array[Amocrm::PipelineStatusUpdateParams::Body]
|
|
7
|
+
}
|
|
5
8
|
& Amocrm::Internal::Type::request_parameters
|
|
6
9
|
|
|
7
10
|
class PipelineStatusUpdateParams < Amocrm::Internal::Type::BaseModel
|
|
8
11
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
9
12
|
include Amocrm::Internal::Type::RequestParameters
|
|
10
13
|
|
|
14
|
+
attr_accessor pipeline_id: Integer
|
|
15
|
+
|
|
11
16
|
attr_accessor body: ::Array[Amocrm::PipelineStatusUpdateParams::Body]
|
|
12
17
|
|
|
13
18
|
def initialize: (
|
|
19
|
+
pipeline_id: Integer,
|
|
14
20
|
body: ::Array[Amocrm::PipelineStatusUpdateParams::Body],
|
|
15
21
|
?request_options: Amocrm::request_opts
|
|
16
22
|
) -> void
|
|
17
23
|
|
|
18
24
|
def to_hash: -> {
|
|
25
|
+
pipeline_id: Integer,
|
|
19
26
|
body: ::Array[Amocrm::PipelineStatusUpdateParams::Body],
|
|
20
27
|
request_options: Amocrm::RequestOptions
|
|
21
28
|
}
|
|
@@ -2,6 +2,7 @@ module Amocrm
|
|
|
2
2
|
module Models
|
|
3
3
|
type pipeline_update_by_id_params =
|
|
4
4
|
{
|
|
5
|
+
id: Integer,
|
|
5
6
|
is_archive: bool,
|
|
6
7
|
is_main: bool,
|
|
7
8
|
is_unsorted_on: bool,
|
|
@@ -15,6 +16,8 @@ module Amocrm
|
|
|
15
16
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
16
17
|
include Amocrm::Internal::Type::RequestParameters
|
|
17
18
|
|
|
19
|
+
attr_accessor id: Integer
|
|
20
|
+
|
|
18
21
|
attr_reader is_archive: bool?
|
|
19
22
|
|
|
20
23
|
def is_archive=: (bool) -> bool
|
|
@@ -40,6 +43,7 @@ module Amocrm
|
|
|
40
43
|
def sort=: (Integer) -> Integer
|
|
41
44
|
|
|
42
45
|
def initialize: (
|
|
46
|
+
id: Integer,
|
|
43
47
|
?is_archive: bool,
|
|
44
48
|
?is_main: bool,
|
|
45
49
|
?is_unsorted_on: bool,
|
|
@@ -50,6 +54,7 @@ module Amocrm
|
|
|
50
54
|
) -> void
|
|
51
55
|
|
|
52
56
|
def to_hash: -> {
|
|
57
|
+
id: Integer,
|
|
53
58
|
is_archive: bool,
|
|
54
59
|
is_main: bool,
|
|
55
60
|
is_unsorted_on: bool,
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type role_delete_by_id_params =
|
|
4
|
-
{
|
|
4
|
+
{ id: Integer } & Amocrm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class RoleDeleteByIDParams < Amocrm::Internal::Type::BaseModel
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
attr_accessor id: Integer
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def initialize: (
|
|
13
|
+
id: Integer,
|
|
14
|
+
?request_options: Amocrm::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> { id: Integer, request_options: Amocrm::RequestOptions }
|
|
13
18
|
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type role_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 RoleGetByIDParams < 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
|
|
@@ -2,6 +2,7 @@ module Amocrm
|
|
|
2
2
|
module Models
|
|
3
3
|
type role_update_by_id_params =
|
|
4
4
|
{
|
|
5
|
+
id: Integer,
|
|
5
6
|
name: String,
|
|
6
7
|
request_id: String,
|
|
7
8
|
rights: Amocrm::RoleUpdateByIDParams::Rights?
|
|
@@ -12,6 +13,8 @@ module Amocrm
|
|
|
12
13
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
13
14
|
include Amocrm::Internal::Type::RequestParameters
|
|
14
15
|
|
|
16
|
+
attr_accessor id: Integer
|
|
17
|
+
|
|
15
18
|
attr_reader name: String?
|
|
16
19
|
|
|
17
20
|
def name=: (String) -> String
|
|
@@ -23,6 +26,7 @@ module Amocrm
|
|
|
23
26
|
attr_accessor rights: Amocrm::RoleUpdateByIDParams::Rights?
|
|
24
27
|
|
|
25
28
|
def initialize: (
|
|
29
|
+
id: Integer,
|
|
26
30
|
?name: String,
|
|
27
31
|
?request_id: String,
|
|
28
32
|
?rights: Amocrm::RoleUpdateByIDParams::Rights?,
|
|
@@ -30,6 +34,7 @@ module Amocrm
|
|
|
30
34
|
) -> void
|
|
31
35
|
|
|
32
36
|
def to_hash: -> {
|
|
37
|
+
id: Integer,
|
|
33
38
|
name: String,
|
|
34
39
|
request_id: String,
|
|
35
40
|
rights: Amocrm::RoleUpdateByIDParams::Rights?,
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type source_delete_by_id_params =
|
|
4
|
-
{
|
|
4
|
+
{ id: Integer } & Amocrm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class SourceDeleteByIDParams < Amocrm::Internal::Type::BaseModel
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
attr_accessor id: Integer
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def initialize: (
|
|
13
|
+
id: Integer,
|
|
14
|
+
?request_options: Amocrm::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> { id: Integer, request_options: Amocrm::RequestOptions }
|
|
13
18
|
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type source_get_by_id_params =
|
|
4
|
-
{
|
|
4
|
+
{ id: Integer } & Amocrm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class SourceGetByIDParams < Amocrm::Internal::Type::BaseModel
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
attr_accessor id: Integer
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def initialize: (
|
|
13
|
+
id: Integer,
|
|
14
|
+
?request_options: Amocrm::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> { id: Integer, request_options: Amocrm::RequestOptions }
|
|
13
18
|
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
@@ -2,6 +2,7 @@ module Amocrm
|
|
|
2
2
|
module Models
|
|
3
3
|
type source_update_by_id_params =
|
|
4
4
|
{
|
|
5
|
+
id: Integer,
|
|
5
6
|
default: bool,
|
|
6
7
|
external_id: String,
|
|
7
8
|
name: String,
|
|
@@ -16,6 +17,8 @@ module Amocrm
|
|
|
16
17
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
17
18
|
include Amocrm::Internal::Type::RequestParameters
|
|
18
19
|
|
|
20
|
+
attr_accessor id: Integer
|
|
21
|
+
|
|
19
22
|
attr_reader default: bool?
|
|
20
23
|
|
|
21
24
|
def default=: (bool) -> bool
|
|
@@ -43,6 +46,7 @@ module Amocrm
|
|
|
43
46
|
) -> Amocrm::Models::SourceUpdateByIDParams::services
|
|
44
47
|
|
|
45
48
|
def initialize: (
|
|
49
|
+
id: Integer,
|
|
46
50
|
?default: bool,
|
|
47
51
|
?external_id: String,
|
|
48
52
|
?name: String,
|
|
@@ -54,6 +58,7 @@ module Amocrm
|
|
|
54
58
|
) -> void
|
|
55
59
|
|
|
56
60
|
def to_hash: -> {
|
|
61
|
+
id: Integer,
|
|
57
62
|
default: bool,
|
|
58
63
|
external_id: String,
|
|
59
64
|
name: String,
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type tag_create_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
entity_type: Amocrm::Models::TagCreateParams::entity_type,
|
|
6
|
+
body: ::Array[Amocrm::TagCreateParams::Body]
|
|
7
|
+
}
|
|
5
8
|
& Amocrm::Internal::Type::request_parameters
|
|
6
9
|
|
|
7
10
|
class TagCreateParams < 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::TagCreateParams::entity_type
|
|
15
|
+
|
|
11
16
|
attr_accessor body: ::Array[Amocrm::TagCreateParams::Body]
|
|
12
17
|
|
|
13
18
|
def initialize: (
|
|
19
|
+
entity_type: Amocrm::Models::TagCreateParams::entity_type,
|
|
14
20
|
body: ::Array[Amocrm::TagCreateParams::Body],
|
|
15
21
|
?request_options: Amocrm::request_opts
|
|
16
22
|
) -> void
|
|
17
23
|
|
|
18
24
|
def to_hash: -> {
|
|
25
|
+
entity_type: Amocrm::Models::TagCreateParams::entity_type,
|
|
19
26
|
body: ::Array[Amocrm::TagCreateParams::Body],
|
|
20
27
|
request_options: Amocrm::RequestOptions
|
|
21
28
|
}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type tag_list_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
entity_type: Amocrm::Models::TagListParams::entity_type,
|
|
6
|
+
filter: top,
|
|
7
|
+
limit: Integer,
|
|
8
|
+
page: Integer,
|
|
9
|
+
query: String
|
|
10
|
+
}
|
|
5
11
|
& Amocrm::Internal::Type::request_parameters
|
|
6
12
|
|
|
7
13
|
class TagListParams < Amocrm::Internal::Type::BaseModel
|
|
8
14
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
9
15
|
include Amocrm::Internal::Type::RequestParameters
|
|
10
16
|
|
|
17
|
+
attr_accessor entity_type: Amocrm::Models::TagListParams::entity_type
|
|
18
|
+
|
|
11
19
|
attr_reader filter: top?
|
|
12
20
|
|
|
13
21
|
def filter=: (top) -> top
|
|
@@ -25,6 +33,7 @@ module Amocrm
|
|
|
25
33
|
def query=: (String) -> String
|
|
26
34
|
|
|
27
35
|
def initialize: (
|
|
36
|
+
entity_type: Amocrm::Models::TagListParams::entity_type,
|
|
28
37
|
?filter: top,
|
|
29
38
|
?limit: Integer,
|
|
30
39
|
?page: Integer,
|
|
@@ -33,6 +42,7 @@ module Amocrm
|
|
|
33
42
|
) -> void
|
|
34
43
|
|
|
35
44
|
def to_hash: -> {
|
|
45
|
+
entity_type: Amocrm::Models::TagListParams::entity_type,
|
|
36
46
|
filter: top,
|
|
37
47
|
limit: Integer,
|
|
38
48
|
page: Integer,
|
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type talk_close_params =
|
|
4
|
-
{ force_close: bool }
|
|
4
|
+
{ id: Integer, force_close: bool }
|
|
5
|
+
& Amocrm::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class TalkCloseParams < Amocrm::Internal::Type::BaseModel
|
|
7
8
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
9
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
10
|
|
|
11
|
+
attr_accessor id: Integer
|
|
12
|
+
|
|
10
13
|
attr_reader force_close: bool?
|
|
11
14
|
|
|
12
15
|
def force_close=: (bool) -> bool
|
|
13
16
|
|
|
14
17
|
def initialize: (
|
|
18
|
+
id: Integer,
|
|
15
19
|
?force_close: bool,
|
|
16
20
|
?request_options: Amocrm::request_opts
|
|
17
21
|
) -> void
|
|
18
22
|
|
|
19
23
|
def to_hash: -> {
|
|
24
|
+
id: Integer,
|
|
20
25
|
force_close: bool,
|
|
21
26
|
request_options: Amocrm::RequestOptions
|
|
22
27
|
}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type talk_get_by_id_params =
|
|
4
|
-
{
|
|
4
|
+
{ id: Integer } & Amocrm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class TalkGetByIDParams < Amocrm::Internal::Type::BaseModel
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
attr_accessor id: Integer
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def initialize: (
|
|
13
|
+
id: Integer,
|
|
14
|
+
?request_options: Amocrm::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> { id: Integer, request_options: Amocrm::RequestOptions }
|
|
13
18
|
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type task_get_by_id_params =
|
|
4
|
-
{
|
|
4
|
+
{ id: Integer } & Amocrm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class TaskGetByIDParams < Amocrm::Internal::Type::BaseModel
|
|
7
7
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
attr_accessor id: Integer
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def initialize: (
|
|
13
|
+
id: Integer,
|
|
14
|
+
?request_options: Amocrm::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> { id: Integer, request_options: Amocrm::RequestOptions }
|
|
13
18
|
end
|
|
14
19
|
end
|
|
15
20
|
end
|