amocrm 0.5.2 → 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 +18 -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 +20 -0
- 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
|
@@ -2,6 +2,7 @@ module Amocrm
|
|
|
2
2
|
module Models
|
|
3
3
|
type task_update_by_id_params =
|
|
4
4
|
{
|
|
5
|
+
id: Integer,
|
|
5
6
|
complete_till: Integer,
|
|
6
7
|
entity_id: Integer,
|
|
7
8
|
entity_type: String,
|
|
@@ -17,6 +18,8 @@ module Amocrm
|
|
|
17
18
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
18
19
|
include Amocrm::Internal::Type::RequestParameters
|
|
19
20
|
|
|
21
|
+
attr_accessor id: Integer
|
|
22
|
+
|
|
20
23
|
attr_reader complete_till: Integer?
|
|
21
24
|
|
|
22
25
|
def complete_till=: (Integer) -> Integer
|
|
@@ -52,6 +55,7 @@ module Amocrm
|
|
|
52
55
|
def text=: (String) -> String
|
|
53
56
|
|
|
54
57
|
def initialize: (
|
|
58
|
+
id: Integer,
|
|
55
59
|
?complete_till: Integer,
|
|
56
60
|
?entity_id: Integer,
|
|
57
61
|
?entity_type: String,
|
|
@@ -64,6 +68,7 @@ module Amocrm
|
|
|
64
68
|
) -> void
|
|
65
69
|
|
|
66
70
|
def to_hash: -> {
|
|
71
|
+
id: Integer,
|
|
67
72
|
complete_till: Integer,
|
|
68
73
|
entity_id: Integer,
|
|
69
74
|
entity_type: String,
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type unsorted_lead_accept_params =
|
|
4
|
-
{ status_id: Integer, user_id: Integer }
|
|
4
|
+
{ uid: String, status_id: Integer, user_id: Integer }
|
|
5
5
|
& Amocrm::Internal::Type::request_parameters
|
|
6
6
|
|
|
7
7
|
class UnsortedLeadAcceptParams < Amocrm::Internal::Type::BaseModel
|
|
8
8
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Amocrm::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
+
attr_accessor uid: String
|
|
12
|
+
|
|
11
13
|
attr_reader status_id: Integer?
|
|
12
14
|
|
|
13
15
|
def status_id=: (Integer) -> Integer
|
|
@@ -17,12 +19,14 @@ module Amocrm
|
|
|
17
19
|
def user_id=: (Integer) -> Integer
|
|
18
20
|
|
|
19
21
|
def initialize: (
|
|
22
|
+
uid: String,
|
|
20
23
|
?status_id: Integer,
|
|
21
24
|
?user_id: Integer,
|
|
22
25
|
?request_options: Amocrm::request_opts
|
|
23
26
|
) -> void
|
|
24
27
|
|
|
25
28
|
def to_hash: -> {
|
|
29
|
+
uid: String,
|
|
26
30
|
status_id: Integer,
|
|
27
31
|
user_id: Integer,
|
|
28
32
|
request_options: Amocrm::RequestOptions
|
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type unsorted_lead_decline_params =
|
|
4
|
-
{ user_id: Integer }
|
|
4
|
+
{ uid: String, user_id: Integer }
|
|
5
|
+
& Amocrm::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class UnsortedLeadDeclineParams < Amocrm::Internal::Type::BaseModel
|
|
7
8
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
9
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
10
|
|
|
11
|
+
attr_accessor uid: String
|
|
12
|
+
|
|
10
13
|
attr_reader user_id: Integer?
|
|
11
14
|
|
|
12
15
|
def user_id=: (Integer) -> Integer
|
|
13
16
|
|
|
14
17
|
def initialize: (
|
|
18
|
+
uid: String,
|
|
15
19
|
?user_id: Integer,
|
|
16
20
|
?request_options: Amocrm::request_opts
|
|
17
21
|
) -> void
|
|
18
22
|
|
|
19
23
|
def to_hash: -> {
|
|
24
|
+
uid: String,
|
|
20
25
|
user_id: Integer,
|
|
21
26
|
request_options: Amocrm::RequestOptions
|
|
22
27
|
}
|
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type user_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 UserGetByIDParams < 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
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type website_button_connect_online_chat_params =
|
|
4
|
-
{
|
|
4
|
+
{ source_id: Integer } & Amocrm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class WebsiteButtonConnectOnlineChatParams < 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 source_id: Integer
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def initialize: (
|
|
13
|
+
source_id: Integer,
|
|
14
|
+
?request_options: Amocrm::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
source_id: Integer,
|
|
19
|
+
request_options: Amocrm::RequestOptions
|
|
20
|
+
}
|
|
13
21
|
end
|
|
14
22
|
end
|
|
15
23
|
end
|
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type website_button_get_by_source_id_params =
|
|
4
|
-
{ with: String }
|
|
4
|
+
{ source_id: Integer, with: String }
|
|
5
|
+
& Amocrm::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class WebsiteButtonGetBySourceIDParams < Amocrm::Internal::Type::BaseModel
|
|
7
8
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
9
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
10
|
|
|
11
|
+
attr_accessor source_id: Integer
|
|
12
|
+
|
|
10
13
|
attr_reader with: String?
|
|
11
14
|
|
|
12
15
|
def with=: (String) -> String
|
|
13
16
|
|
|
14
17
|
def initialize: (
|
|
18
|
+
source_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
|
+
source_id: Integer,
|
|
25
|
+
with: String,
|
|
26
|
+
request_options: Amocrm::RequestOptions
|
|
27
|
+
}
|
|
20
28
|
end
|
|
21
29
|
end
|
|
22
30
|
end
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type website_button_update_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
source_id: Integer,
|
|
6
|
+
trusted_websites: Amocrm::WebsiteButtonUpdateParams::TrustedWebsites
|
|
7
|
+
}
|
|
5
8
|
& Amocrm::Internal::Type::request_parameters
|
|
6
9
|
|
|
7
10
|
class WebsiteButtonUpdateParams < Amocrm::Internal::Type::BaseModel
|
|
8
11
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
9
12
|
include Amocrm::Internal::Type::RequestParameters
|
|
10
13
|
|
|
14
|
+
attr_accessor source_id: Integer
|
|
15
|
+
|
|
11
16
|
attr_accessor trusted_websites: Amocrm::WebsiteButtonUpdateParams::TrustedWebsites
|
|
12
17
|
|
|
13
18
|
def initialize: (
|
|
19
|
+
source_id: Integer,
|
|
14
20
|
trusted_websites: Amocrm::WebsiteButtonUpdateParams::TrustedWebsites,
|
|
15
21
|
?request_options: Amocrm::request_opts
|
|
16
22
|
) -> void
|
|
17
23
|
|
|
18
24
|
def to_hash: -> {
|
|
25
|
+
source_id: Integer,
|
|
19
26
|
trusted_websites: Amocrm::WebsiteButtonUpdateParams::TrustedWebsites,
|
|
20
27
|
request_options: Amocrm::RequestOptions
|
|
21
28
|
}
|
|
@@ -4,6 +4,7 @@ module Amocrm
|
|
|
4
4
|
{
|
|
5
5
|
bot_type: Amocrm::Models::WidgetBotContinueContinueParams::bot_type,
|
|
6
6
|
bot_id: Integer,
|
|
7
|
+
continue_id: Integer,
|
|
7
8
|
data: top,
|
|
8
9
|
execute_handlers: ::Array[Amocrm::WidgetBotContinueContinueParams::ExecuteHandler]
|
|
9
10
|
}
|
|
@@ -17,6 +18,8 @@ module Amocrm
|
|
|
17
18
|
|
|
18
19
|
attr_accessor bot_id: Integer
|
|
19
20
|
|
|
21
|
+
attr_accessor continue_id: Integer
|
|
22
|
+
|
|
20
23
|
attr_reader data: top?
|
|
21
24
|
|
|
22
25
|
def data=: (top) -> top
|
|
@@ -30,6 +33,7 @@ module Amocrm
|
|
|
30
33
|
def initialize: (
|
|
31
34
|
bot_type: Amocrm::Models::WidgetBotContinueContinueParams::bot_type,
|
|
32
35
|
bot_id: Integer,
|
|
36
|
+
continue_id: Integer,
|
|
33
37
|
?data: top,
|
|
34
38
|
?execute_handlers: ::Array[Amocrm::WidgetBotContinueContinueParams::ExecuteHandler],
|
|
35
39
|
?request_options: Amocrm::request_opts
|
|
@@ -38,6 +42,7 @@ module Amocrm
|
|
|
38
42
|
def to_hash: -> {
|
|
39
43
|
bot_type: Amocrm::Models::WidgetBotContinueContinueParams::bot_type,
|
|
40
44
|
bot_id: Integer,
|
|
45
|
+
continue_id: Integer,
|
|
41
46
|
data: top,
|
|
42
47
|
execute_handlers: ::Array[Amocrm::WidgetBotContinueContinueParams::ExecuteHandler],
|
|
43
48
|
request_options: Amocrm::RequestOptions
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type widget_get_by_code_params =
|
|
4
|
-
{
|
|
4
|
+
{ widget_code: String } & Amocrm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class WidgetGetByCodeParams < 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 widget_code: String
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def initialize: (
|
|
13
|
+
widget_code: String,
|
|
14
|
+
?request_options: Amocrm::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
widget_code: String,
|
|
19
|
+
request_options: Amocrm::RequestOptions
|
|
20
|
+
}
|
|
13
21
|
end
|
|
14
22
|
end
|
|
15
23
|
end
|
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type widget_install_params =
|
|
4
|
-
{ body: top }
|
|
4
|
+
{ widget_code: String, body: top }
|
|
5
|
+
& Amocrm::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class WidgetInstallParams < Amocrm::Internal::Type::BaseModel
|
|
7
8
|
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
9
|
include Amocrm::Internal::Type::RequestParameters
|
|
9
10
|
|
|
11
|
+
attr_accessor widget_code: String
|
|
12
|
+
|
|
10
13
|
attr_accessor body: top
|
|
11
14
|
|
|
12
15
|
def initialize: (
|
|
16
|
+
widget_code: String,
|
|
13
17
|
body: top,
|
|
14
18
|
?request_options: Amocrm::request_opts
|
|
15
19
|
) -> void
|
|
16
20
|
|
|
17
|
-
def to_hash: -> {
|
|
21
|
+
def to_hash: -> {
|
|
22
|
+
widget_code: String,
|
|
23
|
+
body: top,
|
|
24
|
+
request_options: Amocrm::RequestOptions
|
|
25
|
+
}
|
|
18
26
|
end
|
|
19
27
|
end
|
|
20
28
|
end
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
module Amocrm
|
|
2
2
|
module Models
|
|
3
3
|
type widget_uninstall_params =
|
|
4
|
-
{
|
|
4
|
+
{ widget_code: String } & Amocrm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class WidgetUninstallParams < 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 widget_code: String
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def initialize: (
|
|
13
|
+
widget_code: String,
|
|
14
|
+
?request_options: Amocrm::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
widget_code: String,
|
|
19
|
+
request_options: Amocrm::RequestOptions
|
|
20
|
+
}
|
|
13
21
|
end
|
|
14
22
|
end
|
|
15
23
|
end
|
|
@@ -3,8 +3,7 @@ module Amocrm
|
|
|
3
3
|
class CustomerBonusPoints
|
|
4
4
|
def change: (
|
|
5
5
|
Integer customer_id,
|
|
6
|
-
|
|
7
|
-
redeem: Integer,
|
|
6
|
+
body: Amocrm::Models::CustomerBonusPointChangeParams::body,
|
|
8
7
|
?request_options: Amocrm::request_opts
|
|
9
8
|
) -> Amocrm::Models::customer_bonus_point_change_response
|
|
10
9
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: amocrm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amocrm
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-03-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|