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
|
@@ -11,21 +11,26 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CatalogElementCreateParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(Integer) }
|
|
15
|
+
attr_accessor :catalog_id
|
|
16
|
+
|
|
14
17
|
sig { returns(T::Array[Amocrm::CatalogElementCreateParams::Body]) }
|
|
15
18
|
attr_accessor :body
|
|
16
19
|
|
|
17
20
|
sig do
|
|
18
21
|
params(
|
|
22
|
+
catalog_id: Integer,
|
|
19
23
|
body: T::Array[Amocrm::CatalogElementCreateParams::Body::OrHash],
|
|
20
24
|
request_options: Amocrm::RequestOptions::OrHash
|
|
21
25
|
).returns(T.attached_class)
|
|
22
26
|
end
|
|
23
|
-
def self.new(body:, request_options: {})
|
|
27
|
+
def self.new(catalog_id:, body:, request_options: {})
|
|
24
28
|
end
|
|
25
29
|
|
|
26
30
|
sig do
|
|
27
31
|
override.returns(
|
|
28
32
|
{
|
|
33
|
+
catalog_id: Integer,
|
|
29
34
|
body: T::Array[Amocrm::CatalogElementCreateParams::Body],
|
|
30
35
|
request_options: Amocrm::RequestOptions
|
|
31
36
|
}
|
|
@@ -14,6 +14,9 @@ module Amocrm
|
|
|
14
14
|
sig { returns(Integer) }
|
|
15
15
|
attr_accessor :catalog_id
|
|
16
16
|
|
|
17
|
+
sig { returns(Integer) }
|
|
18
|
+
attr_accessor :id
|
|
19
|
+
|
|
17
20
|
# Additional data to include (comma-separated).
|
|
18
21
|
sig { returns(T.nilable(String)) }
|
|
19
22
|
attr_reader :with
|
|
@@ -24,12 +27,14 @@ module Amocrm
|
|
|
24
27
|
sig do
|
|
25
28
|
params(
|
|
26
29
|
catalog_id: Integer,
|
|
30
|
+
id: Integer,
|
|
27
31
|
with: String,
|
|
28
32
|
request_options: Amocrm::RequestOptions::OrHash
|
|
29
33
|
).returns(T.attached_class)
|
|
30
34
|
end
|
|
31
35
|
def self.new(
|
|
32
36
|
catalog_id:,
|
|
37
|
+
id:,
|
|
33
38
|
# Additional data to include (comma-separated).
|
|
34
39
|
with: nil,
|
|
35
40
|
request_options: {}
|
|
@@ -40,6 +45,7 @@ module Amocrm
|
|
|
40
45
|
override.returns(
|
|
41
46
|
{
|
|
42
47
|
catalog_id: Integer,
|
|
48
|
+
id: Integer,
|
|
43
49
|
with: String,
|
|
44
50
|
request_options: Amocrm::RequestOptions
|
|
45
51
|
}
|
|
@@ -11,6 +11,9 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CatalogElementListParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(Integer) }
|
|
15
|
+
attr_accessor :catalog_id
|
|
16
|
+
|
|
14
17
|
sig { returns(T.nilable(T.anything)) }
|
|
15
18
|
attr_reader :filter
|
|
16
19
|
|
|
@@ -41,6 +44,7 @@ module Amocrm
|
|
|
41
44
|
|
|
42
45
|
sig do
|
|
43
46
|
params(
|
|
47
|
+
catalog_id: Integer,
|
|
44
48
|
filter: T.anything,
|
|
45
49
|
limit: Integer,
|
|
46
50
|
page: Integer,
|
|
@@ -49,6 +53,7 @@ module Amocrm
|
|
|
49
53
|
).returns(T.attached_class)
|
|
50
54
|
end
|
|
51
55
|
def self.new(
|
|
56
|
+
catalog_id:,
|
|
52
57
|
filter: nil,
|
|
53
58
|
limit: nil,
|
|
54
59
|
page: nil,
|
|
@@ -60,6 +65,7 @@ module Amocrm
|
|
|
60
65
|
sig do
|
|
61
66
|
override.returns(
|
|
62
67
|
{
|
|
68
|
+
catalog_id: Integer,
|
|
63
69
|
filter: T.anything,
|
|
64
70
|
limit: Integer,
|
|
65
71
|
page: Integer,
|
|
@@ -17,6 +17,9 @@ module Amocrm
|
|
|
17
17
|
sig { returns(Integer) }
|
|
18
18
|
attr_accessor :catalog_id
|
|
19
19
|
|
|
20
|
+
sig { returns(Integer) }
|
|
21
|
+
attr_accessor :id
|
|
22
|
+
|
|
20
23
|
sig do
|
|
21
24
|
returns(
|
|
22
25
|
T.nilable(
|
|
@@ -51,6 +54,7 @@ module Amocrm
|
|
|
51
54
|
sig do
|
|
52
55
|
params(
|
|
53
56
|
catalog_id: Integer,
|
|
57
|
+
id: Integer,
|
|
54
58
|
custom_fields_values:
|
|
55
59
|
T::Array[
|
|
56
60
|
Amocrm::CatalogElementUpdateByIDParams::CustomFieldsValue::OrHash
|
|
@@ -62,6 +66,7 @@ module Amocrm
|
|
|
62
66
|
end
|
|
63
67
|
def self.new(
|
|
64
68
|
catalog_id:,
|
|
69
|
+
id:,
|
|
65
70
|
custom_fields_values: nil,
|
|
66
71
|
name: nil,
|
|
67
72
|
request_id: nil,
|
|
@@ -73,6 +78,7 @@ module Amocrm
|
|
|
73
78
|
override.returns(
|
|
74
79
|
{
|
|
75
80
|
catalog_id: Integer,
|
|
81
|
+
id: Integer,
|
|
76
82
|
custom_fields_values:
|
|
77
83
|
T::Array[
|
|
78
84
|
Amocrm::CatalogElementUpdateByIDParams::CustomFieldsValue
|
|
@@ -11,21 +11,26 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CatalogElementUpdateParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(Integer) }
|
|
15
|
+
attr_accessor :catalog_id
|
|
16
|
+
|
|
14
17
|
sig { returns(T::Array[Amocrm::CatalogElementUpdateParams::Body]) }
|
|
15
18
|
attr_accessor :body
|
|
16
19
|
|
|
17
20
|
sig do
|
|
18
21
|
params(
|
|
22
|
+
catalog_id: Integer,
|
|
19
23
|
body: T::Array[Amocrm::CatalogElementUpdateParams::Body::OrHash],
|
|
20
24
|
request_options: Amocrm::RequestOptions::OrHash
|
|
21
25
|
).returns(T.attached_class)
|
|
22
26
|
end
|
|
23
|
-
def self.new(body:, request_options: {})
|
|
27
|
+
def self.new(catalog_id:, body:, request_options: {})
|
|
24
28
|
end
|
|
25
29
|
|
|
26
30
|
sig do
|
|
27
31
|
override.returns(
|
|
28
32
|
{
|
|
33
|
+
catalog_id: Integer,
|
|
29
34
|
body: T::Array[Amocrm::CatalogElementUpdateParams::Body],
|
|
30
35
|
request_options: Amocrm::RequestOptions
|
|
31
36
|
}
|
|
@@ -11,15 +11,23 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CatalogGetByIDParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(Integer) }
|
|
15
|
+
attr_accessor :id
|
|
16
|
+
|
|
14
17
|
sig do
|
|
15
|
-
params(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
params(
|
|
19
|
+
id: Integer,
|
|
20
|
+
request_options: Amocrm::RequestOptions::OrHash
|
|
21
|
+
).returns(T.attached_class)
|
|
18
22
|
end
|
|
19
|
-
def self.new(request_options: {})
|
|
23
|
+
def self.new(id:, request_options: {})
|
|
20
24
|
end
|
|
21
25
|
|
|
22
|
-
sig
|
|
26
|
+
sig do
|
|
27
|
+
override.returns(
|
|
28
|
+
{ id: Integer, request_options: Amocrm::RequestOptions }
|
|
29
|
+
)
|
|
30
|
+
end
|
|
23
31
|
def to_hash
|
|
24
32
|
end
|
|
25
33
|
end
|
|
@@ -11,6 +11,9 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CatalogUpdateByIDParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(Integer) }
|
|
15
|
+
attr_accessor :id
|
|
16
|
+
|
|
14
17
|
sig { returns(T.nilable(T::Boolean)) }
|
|
15
18
|
attr_reader :can_add_elements
|
|
16
19
|
|
|
@@ -43,6 +46,7 @@ module Amocrm
|
|
|
43
46
|
|
|
44
47
|
sig do
|
|
45
48
|
params(
|
|
49
|
+
id: Integer,
|
|
46
50
|
can_add_elements: T::Boolean,
|
|
47
51
|
can_link_multiple: T::Boolean,
|
|
48
52
|
name: String,
|
|
@@ -52,6 +56,7 @@ module Amocrm
|
|
|
52
56
|
).returns(T.attached_class)
|
|
53
57
|
end
|
|
54
58
|
def self.new(
|
|
59
|
+
id:,
|
|
55
60
|
can_add_elements: nil,
|
|
56
61
|
can_link_multiple: nil,
|
|
57
62
|
name: nil,
|
|
@@ -64,6 +69,7 @@ module Amocrm
|
|
|
64
69
|
sig do
|
|
65
70
|
override.returns(
|
|
66
71
|
{
|
|
72
|
+
id: Integer,
|
|
67
73
|
can_add_elements: T::Boolean,
|
|
68
74
|
can_link_multiple: T::Boolean,
|
|
69
75
|
name: String,
|
|
@@ -11,6 +11,9 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CompanyGetByIDParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(Integer) }
|
|
15
|
+
attr_accessor :id
|
|
16
|
+
|
|
14
17
|
# Expand related entities; comma-separated values
|
|
15
18
|
sig { returns(T.nilable(String)) }
|
|
16
19
|
attr_reader :with
|
|
@@ -20,11 +23,13 @@ module Amocrm
|
|
|
20
23
|
|
|
21
24
|
sig do
|
|
22
25
|
params(
|
|
26
|
+
id: Integer,
|
|
23
27
|
with: String,
|
|
24
28
|
request_options: Amocrm::RequestOptions::OrHash
|
|
25
29
|
).returns(T.attached_class)
|
|
26
30
|
end
|
|
27
31
|
def self.new(
|
|
32
|
+
id:,
|
|
28
33
|
# Expand related entities; comma-separated values
|
|
29
34
|
with: nil,
|
|
30
35
|
request_options: {}
|
|
@@ -33,7 +38,7 @@ module Amocrm
|
|
|
33
38
|
|
|
34
39
|
sig do
|
|
35
40
|
override.returns(
|
|
36
|
-
{ with: String, request_options: Amocrm::RequestOptions }
|
|
41
|
+
{ id: Integer, with: String, request_options: Amocrm::RequestOptions }
|
|
37
42
|
)
|
|
38
43
|
end
|
|
39
44
|
def to_hash
|
|
@@ -11,6 +11,9 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CompanyUpdateByIDParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(Integer) }
|
|
15
|
+
attr_accessor :id
|
|
16
|
+
|
|
14
17
|
sig { returns(T.nilable(Amocrm::CompanyUpdateByIDParams::Embedded)) }
|
|
15
18
|
attr_reader :_embedded
|
|
16
19
|
|
|
@@ -107,6 +110,7 @@ module Amocrm
|
|
|
107
110
|
|
|
108
111
|
sig do
|
|
109
112
|
params(
|
|
113
|
+
id: Integer,
|
|
110
114
|
_embedded: Amocrm::CompanyUpdateByIDParams::Embedded::OrHash,
|
|
111
115
|
created_at: Integer,
|
|
112
116
|
created_by: Integer,
|
|
@@ -126,6 +130,7 @@ module Amocrm
|
|
|
126
130
|
).returns(T.attached_class)
|
|
127
131
|
end
|
|
128
132
|
def self.new(
|
|
133
|
+
id:,
|
|
129
134
|
_embedded: nil,
|
|
130
135
|
created_at: nil,
|
|
131
136
|
created_by: nil,
|
|
@@ -146,6 +151,7 @@ module Amocrm
|
|
|
146
151
|
sig do
|
|
147
152
|
override.returns(
|
|
148
153
|
{
|
|
154
|
+
id: Integer,
|
|
149
155
|
_embedded: Amocrm::CompanyUpdateByIDParams::Embedded,
|
|
150
156
|
created_at: Integer,
|
|
151
157
|
created_by: Integer,
|
|
@@ -11,6 +11,9 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::ContactGetByIDParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(Integer) }
|
|
15
|
+
attr_accessor :id
|
|
16
|
+
|
|
14
17
|
# Expand related entities; comma-separated values
|
|
15
18
|
sig { returns(T.nilable(String)) }
|
|
16
19
|
attr_reader :with
|
|
@@ -20,11 +23,13 @@ module Amocrm
|
|
|
20
23
|
|
|
21
24
|
sig do
|
|
22
25
|
params(
|
|
26
|
+
id: Integer,
|
|
23
27
|
with: String,
|
|
24
28
|
request_options: Amocrm::RequestOptions::OrHash
|
|
25
29
|
).returns(T.attached_class)
|
|
26
30
|
end
|
|
27
31
|
def self.new(
|
|
32
|
+
id:,
|
|
28
33
|
# Expand related entities; comma-separated values
|
|
29
34
|
with: nil,
|
|
30
35
|
request_options: {}
|
|
@@ -33,7 +38,7 @@ module Amocrm
|
|
|
33
38
|
|
|
34
39
|
sig do
|
|
35
40
|
override.returns(
|
|
36
|
-
{ with: String, request_options: Amocrm::RequestOptions }
|
|
41
|
+
{ id: Integer, with: String, request_options: Amocrm::RequestOptions }
|
|
37
42
|
)
|
|
38
43
|
end
|
|
39
44
|
def to_hash
|
|
@@ -11,6 +11,9 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::ContactUpdateByIDParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(Integer) }
|
|
15
|
+
attr_accessor :id
|
|
16
|
+
|
|
14
17
|
sig { returns(T.nilable(Amocrm::ContactUpdateByIDParams::Embedded)) }
|
|
15
18
|
attr_reader :_embedded
|
|
16
19
|
|
|
@@ -119,6 +122,7 @@ module Amocrm
|
|
|
119
122
|
|
|
120
123
|
sig do
|
|
121
124
|
params(
|
|
125
|
+
id: Integer,
|
|
122
126
|
_embedded: Amocrm::ContactUpdateByIDParams::Embedded::OrHash,
|
|
123
127
|
created_at: Integer,
|
|
124
128
|
created_by: Integer,
|
|
@@ -140,6 +144,7 @@ module Amocrm
|
|
|
140
144
|
).returns(T.attached_class)
|
|
141
145
|
end
|
|
142
146
|
def self.new(
|
|
147
|
+
id:,
|
|
143
148
|
_embedded: nil,
|
|
144
149
|
created_at: nil,
|
|
145
150
|
created_by: nil,
|
|
@@ -162,6 +167,7 @@ module Amocrm
|
|
|
162
167
|
sig do
|
|
163
168
|
override.returns(
|
|
164
169
|
{
|
|
170
|
+
id: Integer,
|
|
165
171
|
_embedded: Amocrm::ContactUpdateByIDParams::Embedded,
|
|
166
172
|
created_at: Integer,
|
|
167
173
|
created_by: Integer,
|
|
@@ -11,21 +11,26 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CustomFieldCreateParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :entity_type
|
|
16
|
+
|
|
14
17
|
sig { returns(T::Array[Amocrm::CustomFieldCreateParams::Body]) }
|
|
15
18
|
attr_accessor :body
|
|
16
19
|
|
|
17
20
|
sig do
|
|
18
21
|
params(
|
|
22
|
+
entity_type: String,
|
|
19
23
|
body: T::Array[Amocrm::CustomFieldCreateParams::Body::OrHash],
|
|
20
24
|
request_options: Amocrm::RequestOptions::OrHash
|
|
21
25
|
).returns(T.attached_class)
|
|
22
26
|
end
|
|
23
|
-
def self.new(body:, request_options: {})
|
|
27
|
+
def self.new(entity_type:, body:, request_options: {})
|
|
24
28
|
end
|
|
25
29
|
|
|
26
30
|
sig do
|
|
27
31
|
override.returns(
|
|
28
32
|
{
|
|
33
|
+
entity_type: String,
|
|
29
34
|
body: T::Array[Amocrm::CustomFieldCreateParams::Body],
|
|
30
35
|
request_options: Amocrm::RequestOptions
|
|
31
36
|
}
|
|
@@ -14,18 +14,26 @@ module Amocrm
|
|
|
14
14
|
sig { returns(String) }
|
|
15
15
|
attr_accessor :entity_type
|
|
16
16
|
|
|
17
|
+
sig { returns(Integer) }
|
|
18
|
+
attr_accessor :id
|
|
19
|
+
|
|
17
20
|
sig do
|
|
18
21
|
params(
|
|
19
22
|
entity_type: String,
|
|
23
|
+
id: Integer,
|
|
20
24
|
request_options: Amocrm::RequestOptions::OrHash
|
|
21
25
|
).returns(T.attached_class)
|
|
22
26
|
end
|
|
23
|
-
def self.new(entity_type:, request_options: {})
|
|
27
|
+
def self.new(entity_type:, id:, request_options: {})
|
|
24
28
|
end
|
|
25
29
|
|
|
26
30
|
sig do
|
|
27
31
|
override.returns(
|
|
28
|
-
{
|
|
32
|
+
{
|
|
33
|
+
entity_type: String,
|
|
34
|
+
id: Integer,
|
|
35
|
+
request_options: Amocrm::RequestOptions
|
|
36
|
+
}
|
|
29
37
|
)
|
|
30
38
|
end
|
|
31
39
|
def to_hash
|
|
@@ -14,18 +14,26 @@ module Amocrm
|
|
|
14
14
|
sig { returns(String) }
|
|
15
15
|
attr_accessor :entity_type
|
|
16
16
|
|
|
17
|
+
sig { returns(Integer) }
|
|
18
|
+
attr_accessor :id
|
|
19
|
+
|
|
17
20
|
sig do
|
|
18
21
|
params(
|
|
19
22
|
entity_type: String,
|
|
23
|
+
id: Integer,
|
|
20
24
|
request_options: Amocrm::RequestOptions::OrHash
|
|
21
25
|
).returns(T.attached_class)
|
|
22
26
|
end
|
|
23
|
-
def self.new(entity_type:, request_options: {})
|
|
27
|
+
def self.new(entity_type:, id:, request_options: {})
|
|
24
28
|
end
|
|
25
29
|
|
|
26
30
|
sig do
|
|
27
31
|
override.returns(
|
|
28
|
-
{
|
|
32
|
+
{
|
|
33
|
+
entity_type: String,
|
|
34
|
+
id: Integer,
|
|
35
|
+
request_options: Amocrm::RequestOptions
|
|
36
|
+
}
|
|
29
37
|
)
|
|
30
38
|
end
|
|
31
39
|
def to_hash
|
|
@@ -11,21 +11,26 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CustomFieldGroupCreateParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :entity_type
|
|
16
|
+
|
|
14
17
|
sig { returns(T::Array[Amocrm::CustomFieldGroupCreateParams::Body]) }
|
|
15
18
|
attr_accessor :body
|
|
16
19
|
|
|
17
20
|
sig do
|
|
18
21
|
params(
|
|
22
|
+
entity_type: String,
|
|
19
23
|
body: T::Array[Amocrm::CustomFieldGroupCreateParams::Body::OrHash],
|
|
20
24
|
request_options: Amocrm::RequestOptions::OrHash
|
|
21
25
|
).returns(T.attached_class)
|
|
22
26
|
end
|
|
23
|
-
def self.new(body:, request_options: {})
|
|
27
|
+
def self.new(entity_type:, body:, request_options: {})
|
|
24
28
|
end
|
|
25
29
|
|
|
26
30
|
sig do
|
|
27
31
|
override.returns(
|
|
28
32
|
{
|
|
33
|
+
entity_type: String,
|
|
29
34
|
body: T::Array[Amocrm::CustomFieldGroupCreateParams::Body],
|
|
30
35
|
request_options: Amocrm::RequestOptions
|
|
31
36
|
}
|
|
@@ -17,18 +17,26 @@ module Amocrm
|
|
|
17
17
|
sig { returns(String) }
|
|
18
18
|
attr_accessor :entity_type
|
|
19
19
|
|
|
20
|
+
sig { returns(Integer) }
|
|
21
|
+
attr_accessor :id
|
|
22
|
+
|
|
20
23
|
sig do
|
|
21
24
|
params(
|
|
22
25
|
entity_type: String,
|
|
26
|
+
id: Integer,
|
|
23
27
|
request_options: Amocrm::RequestOptions::OrHash
|
|
24
28
|
).returns(T.attached_class)
|
|
25
29
|
end
|
|
26
|
-
def self.new(entity_type:, request_options: {})
|
|
30
|
+
def self.new(entity_type:, id:, request_options: {})
|
|
27
31
|
end
|
|
28
32
|
|
|
29
33
|
sig do
|
|
30
34
|
override.returns(
|
|
31
|
-
{
|
|
35
|
+
{
|
|
36
|
+
entity_type: String,
|
|
37
|
+
id: Integer,
|
|
38
|
+
request_options: Amocrm::RequestOptions
|
|
39
|
+
}
|
|
32
40
|
)
|
|
33
41
|
end
|
|
34
42
|
def to_hash
|
|
@@ -17,18 +17,26 @@ module Amocrm
|
|
|
17
17
|
sig { returns(String) }
|
|
18
18
|
attr_accessor :entity_type
|
|
19
19
|
|
|
20
|
+
sig { returns(Integer) }
|
|
21
|
+
attr_accessor :id
|
|
22
|
+
|
|
20
23
|
sig do
|
|
21
24
|
params(
|
|
22
25
|
entity_type: String,
|
|
26
|
+
id: Integer,
|
|
23
27
|
request_options: Amocrm::RequestOptions::OrHash
|
|
24
28
|
).returns(T.attached_class)
|
|
25
29
|
end
|
|
26
|
-
def self.new(entity_type:, request_options: {})
|
|
30
|
+
def self.new(entity_type:, id:, request_options: {})
|
|
27
31
|
end
|
|
28
32
|
|
|
29
33
|
sig do
|
|
30
34
|
override.returns(
|
|
31
|
-
{
|
|
35
|
+
{
|
|
36
|
+
entity_type: String,
|
|
37
|
+
id: Integer,
|
|
38
|
+
request_options: Amocrm::RequestOptions
|
|
39
|
+
}
|
|
32
40
|
)
|
|
33
41
|
end
|
|
34
42
|
def to_hash
|
|
@@ -11,6 +11,9 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CustomFieldGroupListParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :entity_type
|
|
16
|
+
|
|
14
17
|
sig { returns(T.nilable(Integer)) }
|
|
15
18
|
attr_reader :limit
|
|
16
19
|
|
|
@@ -25,17 +28,19 @@ module Amocrm
|
|
|
25
28
|
|
|
26
29
|
sig do
|
|
27
30
|
params(
|
|
31
|
+
entity_type: String,
|
|
28
32
|
limit: Integer,
|
|
29
33
|
page: Integer,
|
|
30
34
|
request_options: Amocrm::RequestOptions::OrHash
|
|
31
35
|
).returns(T.attached_class)
|
|
32
36
|
end
|
|
33
|
-
def self.new(limit: nil, page: nil, request_options: {})
|
|
37
|
+
def self.new(entity_type:, limit: nil, page: nil, request_options: {})
|
|
34
38
|
end
|
|
35
39
|
|
|
36
40
|
sig do
|
|
37
41
|
override.returns(
|
|
38
42
|
{
|
|
43
|
+
entity_type: String,
|
|
39
44
|
limit: Integer,
|
|
40
45
|
page: Integer,
|
|
41
46
|
request_options: Amocrm::RequestOptions
|
|
@@ -17,6 +17,9 @@ module Amocrm
|
|
|
17
17
|
sig { returns(String) }
|
|
18
18
|
attr_accessor :entity_type
|
|
19
19
|
|
|
20
|
+
sig { returns(Integer) }
|
|
21
|
+
attr_accessor :id
|
|
22
|
+
|
|
20
23
|
sig { returns(T.nilable(String)) }
|
|
21
24
|
attr_reader :name
|
|
22
25
|
|
|
@@ -32,18 +35,20 @@ module Amocrm
|
|
|
32
35
|
sig do
|
|
33
36
|
params(
|
|
34
37
|
entity_type: String,
|
|
38
|
+
id: Integer,
|
|
35
39
|
name: String,
|
|
36
40
|
sort: Integer,
|
|
37
41
|
request_options: Amocrm::RequestOptions::OrHash
|
|
38
42
|
).returns(T.attached_class)
|
|
39
43
|
end
|
|
40
|
-
def self.new(entity_type:, name: nil, sort: nil, request_options: {})
|
|
44
|
+
def self.new(entity_type:, id:, name: nil, sort: nil, request_options: {})
|
|
41
45
|
end
|
|
42
46
|
|
|
43
47
|
sig do
|
|
44
48
|
override.returns(
|
|
45
49
|
{
|
|
46
50
|
entity_type: String,
|
|
51
|
+
id: Integer,
|
|
47
52
|
name: String,
|
|
48
53
|
sort: Integer,
|
|
49
54
|
request_options: Amocrm::RequestOptions
|
|
@@ -11,6 +11,9 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CustomFieldListParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :entity_type
|
|
16
|
+
|
|
14
17
|
sig { returns(T.nilable(Integer)) }
|
|
15
18
|
attr_reader :limit
|
|
16
19
|
|
|
@@ -25,17 +28,19 @@ module Amocrm
|
|
|
25
28
|
|
|
26
29
|
sig do
|
|
27
30
|
params(
|
|
31
|
+
entity_type: String,
|
|
28
32
|
limit: Integer,
|
|
29
33
|
page: Integer,
|
|
30
34
|
request_options: Amocrm::RequestOptions::OrHash
|
|
31
35
|
).returns(T.attached_class)
|
|
32
36
|
end
|
|
33
|
-
def self.new(limit: nil, page: nil, request_options: {})
|
|
37
|
+
def self.new(entity_type:, limit: nil, page: nil, request_options: {})
|
|
34
38
|
end
|
|
35
39
|
|
|
36
40
|
sig do
|
|
37
41
|
override.returns(
|
|
38
42
|
{
|
|
43
|
+
entity_type: String,
|
|
39
44
|
limit: Integer,
|
|
40
45
|
page: Integer,
|
|
41
46
|
request_options: Amocrm::RequestOptions
|
|
@@ -14,6 +14,9 @@ module Amocrm
|
|
|
14
14
|
sig { returns(String) }
|
|
15
15
|
attr_accessor :entity_type
|
|
16
16
|
|
|
17
|
+
sig { returns(Integer) }
|
|
18
|
+
attr_accessor :id
|
|
19
|
+
|
|
17
20
|
sig { returns(T.nilable(String)) }
|
|
18
21
|
attr_reader :code
|
|
19
22
|
|
|
@@ -83,6 +86,7 @@ module Amocrm
|
|
|
83
86
|
sig do
|
|
84
87
|
params(
|
|
85
88
|
entity_type: String,
|
|
89
|
+
id: Integer,
|
|
86
90
|
code: String,
|
|
87
91
|
enums: T::Array[T.anything],
|
|
88
92
|
group_id: Integer,
|
|
@@ -99,6 +103,7 @@ module Amocrm
|
|
|
99
103
|
end
|
|
100
104
|
def self.new(
|
|
101
105
|
entity_type:,
|
|
106
|
+
id:,
|
|
102
107
|
code: nil,
|
|
103
108
|
enums: nil,
|
|
104
109
|
group_id: nil,
|
|
@@ -118,6 +123,7 @@ module Amocrm
|
|
|
118
123
|
override.returns(
|
|
119
124
|
{
|
|
120
125
|
entity_type: String,
|
|
126
|
+
id: Integer,
|
|
121
127
|
code: String,
|
|
122
128
|
enums: T::Array[T.anything],
|
|
123
129
|
group_id: Integer,
|
|
@@ -11,21 +11,26 @@ module Amocrm
|
|
|
11
11
|
T.any(Amocrm::CustomFieldUpdateParams, Amocrm::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :entity_type
|
|
16
|
+
|
|
14
17
|
sig { returns(T::Array[Amocrm::CustomFieldUpdateParams::Body]) }
|
|
15
18
|
attr_accessor :body
|
|
16
19
|
|
|
17
20
|
sig do
|
|
18
21
|
params(
|
|
22
|
+
entity_type: String,
|
|
19
23
|
body: T::Array[Amocrm::CustomFieldUpdateParams::Body::OrHash],
|
|
20
24
|
request_options: Amocrm::RequestOptions::OrHash
|
|
21
25
|
).returns(T.attached_class)
|
|
22
26
|
end
|
|
23
|
-
def self.new(body:, request_options: {})
|
|
27
|
+
def self.new(entity_type:, body:, request_options: {})
|
|
24
28
|
end
|
|
25
29
|
|
|
26
30
|
sig do
|
|
27
31
|
override.returns(
|
|
28
32
|
{
|
|
33
|
+
entity_type: String,
|
|
29
34
|
body: T::Array[Amocrm::CustomFieldUpdateParams::Body],
|
|
30
35
|
request_options: Amocrm::RequestOptions
|
|
31
36
|
}
|