amocrm 0.2.0 → 0.4.0
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 +16 -0
- data/README.md +46 -17
- data/lib/amocrm/client.rb +13 -0
- data/lib/amocrm/internal/transport/base_client.rb +6 -0
- data/lib/amocrm/internal/type/union.rb +7 -7
- data/lib/amocrm/models/v2_salesbot_run_params.rb +42 -0
- data/lib/amocrm/models/v2_salesbot_run_response.rb +91 -0
- data/lib/amocrm/models/v4_account_get_params.rb +22 -0
- data/lib/amocrm/models/v4_account_get_response.rb +408 -0
- data/lib/amocrm/models/v4_calls_create_params.rb +155 -0
- data/lib/amocrm/models/v4_calls_create_response.rb +162 -0
- data/lib/amocrm/models/v4_catalog_elements_create_params.rb +100 -0
- data/lib/amocrm/models/v4_catalog_elements_create_response.rb +254 -0
- data/lib/amocrm/models/v4_catalog_elements_get_by_id_params.rb +29 -0
- data/lib/amocrm/models/v4_catalog_elements_get_by_id_response.rb +210 -0
- data/lib/amocrm/models/v4_catalog_elements_list_params.rb +49 -0
- data/lib/amocrm/models/v4_catalog_elements_list_response.rb +254 -0
- data/lib/amocrm/models/v4_catalog_elements_update_by_id_params.rb +96 -0
- data/lib/amocrm/models/v4_catalog_elements_update_by_id_response.rb +254 -0
- data/lib/amocrm/models/v4_catalog_elements_update_params.rb +106 -0
- data/lib/amocrm/models/v4_catalog_elements_update_response.rb +254 -0
- data/lib/amocrm/models/v4_catalogs_create_params.rb +88 -0
- data/lib/amocrm/models/v4_catalogs_create_response.rb +221 -0
- data/lib/amocrm/models/v4_catalogs_get_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_catalogs_get_by_id_response.rb +181 -0
- data/lib/amocrm/models/v4_catalogs_list_params.rb +26 -0
- data/lib/amocrm/models/v4_catalogs_list_response.rb +221 -0
- data/lib/amocrm/models/v4_catalogs_update_by_id_params.rb +44 -0
- data/lib/amocrm/models/v4_catalogs_update_by_id_response.rb +221 -0
- data/lib/amocrm/models/v4_catalogs_update_params.rb +60 -0
- data/lib/amocrm/models/v4_catalogs_update_response.rb +221 -0
- data/lib/amocrm/models/v4_companies_create_params.rb +225 -0
- data/lib/amocrm/models/v4_companies_create_response.rb +95 -0
- data/lib/amocrm/models/v4_companies_get_by_id_params.rb +22 -0
- data/lib/amocrm/models/v4_companies_get_by_id_response.rb +324 -0
- data/lib/amocrm/models/v4_companies_list_params.rb +74 -0
- data/lib/amocrm/models/v4_companies_list_response.rb +359 -0
- data/lib/amocrm/models/v4_companies_update_by_id_params.rb +236 -0
- data/lib/amocrm/models/v4_companies_update_by_id_response.rb +95 -0
- data/lib/amocrm/models/v4_companies_update_params.rb +256 -0
- data/lib/amocrm/models/v4_companies_update_response.rb +95 -0
- data/lib/amocrm/models/v4_contact_chats_link_params.rb +42 -0
- data/lib/amocrm/models/v4_contact_chats_link_response.rb +95 -0
- data/lib/amocrm/models/v4_contact_chats_list_params.rb +20 -0
- data/lib/amocrm/models/v4_contact_chats_list_response.rb +95 -0
- data/lib/amocrm/models/v4_contacts_create_params.rb +239 -0
- data/lib/amocrm/models/v4_contacts_create_response.rb +95 -0
- data/lib/amocrm/models/v4_contacts_get_by_id_params.rb +22 -0
- data/lib/amocrm/models/v4_contacts_get_by_id_response.rb +348 -0
- data/lib/amocrm/models/v4_contacts_list_params.rb +74 -0
- data/lib/amocrm/models/v4_contacts_list_response.rb +383 -0
- data/lib/amocrm/models/v4_contacts_update_by_id_params.rb +250 -0
- data/lib/amocrm/models/v4_contacts_update_by_id_response.rb +95 -0
- data/lib/amocrm/models/v4_contacts_update_params.rb +270 -0
- data/lib/amocrm/models/v4_contacts_update_response.rb +95 -0
- data/lib/amocrm/models/v4_custom_field_groups_create_params.rb +45 -0
- data/lib/amocrm/models/v4_custom_field_groups_create_response.rb +96 -0
- data/lib/amocrm/models/v4_custom_field_groups_delete_by_id_params.rb +20 -0
- data/lib/amocrm/models/v4_custom_field_groups_delete_by_id_response.rb +45 -0
- data/lib/amocrm/models/v4_custom_field_groups_get_by_id_params.rb +20 -0
- data/lib/amocrm/models/v4_custom_field_groups_get_by_id_response.rb +73 -0
- data/lib/amocrm/models/v4_custom_field_groups_list_params.rb +26 -0
- data/lib/amocrm/models/v4_custom_field_groups_list_response.rb +108 -0
- data/lib/amocrm/models/v4_custom_field_groups_update_by_id_params.rb +32 -0
- data/lib/amocrm/models/v4_custom_field_groups_update_by_id_response.rb +45 -0
- data/lib/amocrm/models/v4_custom_fields_create_params.rb +108 -0
- data/lib/amocrm/models/v4_custom_fields_create_response.rb +96 -0
- data/lib/amocrm/models/v4_custom_fields_delete_by_id_params.rb +20 -0
- data/lib/amocrm/models/v4_custom_fields_delete_by_id_response.rb +45 -0
- data/lib/amocrm/models/v4_custom_fields_get_by_id_params.rb +20 -0
- data/lib/amocrm/models/v4_custom_fields_get_by_id_response.rb +127 -0
- data/lib/amocrm/models/v4_custom_fields_list_params.rb +26 -0
- data/lib/amocrm/models/v4_custom_fields_list_response.rb +161 -0
- data/lib/amocrm/models/v4_custom_fields_update_by_id_params.rb +86 -0
- data/lib/amocrm/models/v4_custom_fields_update_by_id_response.rb +45 -0
- data/lib/amocrm/models/v4_custom_fields_update_params.rb +108 -0
- data/lib/amocrm/models/v4_custom_fields_update_response.rb +45 -0
- data/lib/amocrm/models/v4_customer_bonus_points_change_params.rb +26 -0
- data/lib/amocrm/models/v4_customer_bonus_points_change_response.rb +55 -0
- data/lib/amocrm/models/v4_customer_segments_create_params.rb +118 -0
- data/lib/amocrm/models/v4_customer_segments_create_response.rb +96 -0
- data/lib/amocrm/models/v4_customer_segments_delete_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_customer_segments_delete_by_id_response.rb +45 -0
- data/lib/amocrm/models/v4_customer_segments_get_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_customer_segments_get_by_id_response.rb +162 -0
- data/lib/amocrm/models/v4_customer_segments_list_params.rb +14 -0
- data/lib/amocrm/models/v4_customer_segments_list_response.rb +199 -0
- data/lib/amocrm/models/v4_customer_segments_update_by_id_params.rb +101 -0
- data/lib/amocrm/models/v4_customer_segments_update_by_id_response.rb +45 -0
- data/lib/amocrm/models/v4_customer_statuses_create_params.rb +48 -0
- data/lib/amocrm/models/v4_customer_statuses_create_response.rb +96 -0
- data/lib/amocrm/models/v4_customer_statuses_delete_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_customer_statuses_delete_by_id_response.rb +45 -0
- data/lib/amocrm/models/v4_customer_statuses_get_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_customer_statuses_get_by_id_response.rb +79 -0
- data/lib/amocrm/models/v4_customer_statuses_list_params.rb +14 -0
- data/lib/amocrm/models/v4_customer_statuses_list_response.rb +108 -0
- data/lib/amocrm/models/v4_customer_statuses_update_by_id_params.rb +32 -0
- data/lib/amocrm/models/v4_customer_statuses_update_by_id_response.rb +45 -0
- data/lib/amocrm/models/v4_customer_transactions_create_params.rb +60 -0
- data/lib/amocrm/models/v4_customer_transactions_create_response.rb +100 -0
- data/lib/amocrm/models/v4_customer_transactions_delete_by_id_params.rb +20 -0
- data/lib/amocrm/models/v4_customer_transactions_delete_by_id_response.rb +45 -0
- data/lib/amocrm/models/v4_customer_transactions_list_by_customer_params.rb +32 -0
- data/lib/amocrm/models/v4_customer_transactions_list_by_customer_response.rb +130 -0
- data/lib/amocrm/models/v4_customer_transactions_list_params.rb +32 -0
- data/lib/amocrm/models/v4_customer_transactions_list_response.rb +126 -0
- data/lib/amocrm/models/v4_customers_create_params.rb +257 -0
- data/lib/amocrm/models/v4_customers_create_response.rb +95 -0
- data/lib/amocrm/models/v4_customers_get_by_id_params.rb +22 -0
- data/lib/amocrm/models/v4_customers_get_by_id_response.rb +378 -0
- data/lib/amocrm/models/v4_customers_list_params.rb +68 -0
- data/lib/amocrm/models/v4_customers_list_response.rb +421 -0
- data/lib/amocrm/models/v4_customers_mode_set_mode_params.rb +36 -0
- data/lib/amocrm/models/v4_customers_mode_set_mode_response.rb +72 -0
- data/lib/amocrm/models/v4_customers_update_by_id_params.rb +267 -0
- data/lib/amocrm/models/v4_customers_update_by_id_response.rb +96 -0
- data/lib/amocrm/models/v4_customers_update_params.rb +286 -0
- data/lib/amocrm/models/v4_customers_update_response.rb +95 -0
- data/lib/amocrm/models/v4_entity_followers_add_params.rb +48 -0
- data/lib/amocrm/models/v4_entity_followers_add_response.rb +90 -0
- data/lib/amocrm/models/v4_entity_followers_list_params.rb +44 -0
- data/lib/amocrm/models/v4_entity_followers_list_response.rb +114 -0
- data/lib/amocrm/models/v4_entity_followers_remove_params.rb +48 -0
- data/lib/amocrm/models/v4_entity_followers_remove_response.rb +61 -0
- data/lib/amocrm/models/v4_entity_links_link_by_entity_params.rb +134 -0
- data/lib/amocrm/models/v4_entity_links_link_by_entity_response.rb +61 -0
- data/lib/amocrm/models/v4_entity_links_link_params.rb +128 -0
- data/lib/amocrm/models/v4_entity_links_link_response.rb +61 -0
- data/lib/amocrm/models/v4_entity_links_list_by_entity_params.rb +32 -0
- data/lib/amocrm/models/v4_entity_links_list_by_entity_response.rb +182 -0
- data/lib/amocrm/models/v4_entity_links_list_params.rb +32 -0
- data/lib/amocrm/models/v4_entity_links_list_response.rb +181 -0
- data/lib/amocrm/models/v4_entity_links_unlink_by_entity_params.rb +134 -0
- data/lib/amocrm/models/v4_entity_links_unlink_by_entity_response.rb +61 -0
- data/lib/amocrm/models/v4_entity_links_unlink_params.rb +128 -0
- data/lib/amocrm/models/v4_entity_links_unlink_response.rb +61 -0
- data/lib/amocrm/models/v4_entity_notes_by_parent_create_by_parent_params.rb +106 -0
- data/lib/amocrm/models/v4_entity_notes_by_parent_create_by_parent_response.rb +108 -0
- data/lib/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_params.rb +44 -0
- data/lib/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_response.rb +127 -0
- data/lib/amocrm/models/v4_entity_notes_by_parent_list_by_parent_params.rb +50 -0
- data/lib/amocrm/models/v4_entity_notes_by_parent_list_by_parent_response.rb +162 -0
- data/lib/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_params.rb +62 -0
- data/lib/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_response.rb +108 -0
- data/lib/amocrm/models/v4_entity_notes_by_parent_update_by_parent_params.rb +85 -0
- data/lib/amocrm/models/v4_entity_notes_by_parent_update_by_parent_response.rb +108 -0
- data/lib/amocrm/models/v4_entity_notes_create_params.rb +99 -0
- data/lib/amocrm/models/v4_entity_notes_create_response.rb +107 -0
- data/lib/amocrm/models/v4_entity_notes_get_by_id_params.rb +38 -0
- data/lib/amocrm/models/v4_entity_notes_get_by_id_response.rb +127 -0
- data/lib/amocrm/models/v4_entity_notes_list_params.rb +44 -0
- data/lib/amocrm/models/v4_entity_notes_list_response.rb +161 -0
- data/lib/amocrm/models/v4_entity_notes_pin_params.rb +32 -0
- data/lib/amocrm/models/v4_entity_notes_pin_response.rb +61 -0
- data/lib/amocrm/models/v4_entity_notes_unpin_params.rb +32 -0
- data/lib/amocrm/models/v4_entity_notes_unpin_response.rb +61 -0
- data/lib/amocrm/models/v4_entity_notes_update_by_id_params.rb +62 -0
- data/lib/amocrm/models/v4_entity_notes_update_by_id_response.rb +107 -0
- data/lib/amocrm/models/v4_entity_notes_update_params.rb +78 -0
- data/lib/amocrm/models/v4_entity_notes_update_response.rb +107 -0
- data/lib/amocrm/models/v4_events_get_by_id_params.rb +20 -0
- data/lib/amocrm/models/v4_events_get_by_id_response.rb +103 -0
- data/lib/amocrm/models/v4_events_list_params.rb +38 -0
- data/lib/amocrm/models/v4_events_list_response.rb +137 -0
- data/lib/amocrm/models/v4_events_list_types_params.rb +20 -0
- data/lib/amocrm/models/v4_events_list_types_response.rb +66 -0
- data/lib/amocrm/models/v4_leads_create_complex_params.rb +568 -0
- data/lib/amocrm/models/v4_leads_create_complex_response.rb +108 -0
- data/lib/amocrm/models/v4_leads_create_params.rb +566 -0
- data/lib/amocrm/models/v4_leads_create_response.rb +95 -0
- data/lib/amocrm/models/v4_leads_get_by_id_params.rb +22 -0
- data/lib/amocrm/models/v4_leads_get_by_id_response.rb +427 -0
- data/lib/amocrm/models/v4_leads_list_params.rb +74 -0
- data/lib/amocrm/models/v4_leads_list_response.rb +464 -0
- data/lib/amocrm/models/v4_leads_update_by_id_params.rb +546 -0
- data/lib/amocrm/models/v4_leads_update_by_id_response.rb +95 -0
- data/lib/amocrm/models/v4_leads_update_params.rb +565 -0
- data/lib/amocrm/models/v4_leads_update_response.rb +95 -0
- data/lib/amocrm/models/v4_pipeline_statuses_create_params.rb +77 -0
- data/lib/amocrm/models/v4_pipeline_statuses_create_response.rb +96 -0
- data/lib/amocrm/models/v4_pipeline_statuses_delete_by_id_params.rb +20 -0
- data/lib/amocrm/models/v4_pipeline_statuses_delete_by_id_response.rb +61 -0
- data/lib/amocrm/models/v4_pipeline_statuses_get_by_id_params.rb +29 -0
- data/lib/amocrm/models/v4_pipeline_statuses_get_by_id_response.rb +169 -0
- data/lib/amocrm/models/v4_pipeline_statuses_list_params.rb +22 -0
- data/lib/amocrm/models/v4_pipeline_statuses_list_response.rb +197 -0
- data/lib/amocrm/models/v4_pipeline_statuses_update_by_id_params.rb +73 -0
- data/lib/amocrm/models/v4_pipeline_statuses_update_by_id_response.rb +102 -0
- data/lib/amocrm/models/v4_pipeline_statuses_update_params.rb +83 -0
- data/lib/amocrm/models/v4_pipeline_statuses_update_response.rb +102 -0
- data/lib/amocrm/models/v4_pipelines_create_params.rb +129 -0
- data/lib/amocrm/models/v4_pipelines_create_response.rb +95 -0
- data/lib/amocrm/models/v4_pipelines_delete_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_pipelines_delete_by_id_response.rb +61 -0
- data/lib/amocrm/models/v4_pipelines_get_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_pipelines_get_by_id_response.rb +239 -0
- data/lib/amocrm/models/v4_pipelines_list_params.rb +14 -0
- data/lib/amocrm/models/v4_pipelines_list_response.rb +272 -0
- data/lib/amocrm/models/v4_pipelines_update_by_id_params.rb +50 -0
- data/lib/amocrm/models/v4_pipelines_update_by_id_response.rb +102 -0
- data/lib/amocrm/models/v4_pipelines_update_params.rb +66 -0
- data/lib/amocrm/models/v4_pipelines_update_response.rb +101 -0
- data/lib/amocrm/models/v4_roles_create_params.rb +151 -0
- data/lib/amocrm/models/v4_roles_create_response.rb +249 -0
- data/lib/amocrm/models/v4_roles_delete_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_roles_delete_by_id_response.rb +61 -0
- data/lib/amocrm/models/v4_roles_get_by_id_params.rb +20 -0
- data/lib/amocrm/models/v4_roles_get_by_id_response.rb +208 -0
- data/lib/amocrm/models/v4_roles_list_params.rb +32 -0
- data/lib/amocrm/models/v4_roles_list_response.rb +255 -0
- data/lib/amocrm/models/v4_roles_update_by_id_params.rb +138 -0
- data/lib/amocrm/models/v4_roles_update_by_id_response.rb +208 -0
- data/lib/amocrm/models/v4_short_links_create_params.rb +20 -0
- data/lib/amocrm/models/v4_short_links_create_response.rb +55 -0
- data/lib/amocrm/models/v4_sources_create_params.rb +84 -0
- data/lib/amocrm/models/v4_sources_create_response.rb +171 -0
- data/lib/amocrm/models/v4_sources_delete_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_sources_delete_by_id_response.rb +61 -0
- data/lib/amocrm/models/v4_sources_delete_params.rb +30 -0
- data/lib/amocrm/models/v4_sources_delete_response.rb +61 -0
- data/lib/amocrm/models/v4_sources_get_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_sources_get_by_id_response.rb +129 -0
- data/lib/amocrm/models/v4_sources_list_params.rb +65 -0
- data/lib/amocrm/models/v4_sources_list_response.rb +165 -0
- data/lib/amocrm/models/v4_sources_update_by_id_params.rb +73 -0
- data/lib/amocrm/models/v4_sources_update_by_id_response.rb +171 -0
- data/lib/amocrm/models/v4_sources_update_params.rb +90 -0
- data/lib/amocrm/models/v4_sources_update_response.rb +171 -0
- data/lib/amocrm/models/v4_tags_create_params.rb +54 -0
- data/lib/amocrm/models/v4_tags_create_response.rb +101 -0
- data/lib/amocrm/models/v4_tags_list_params.rb +50 -0
- data/lib/amocrm/models/v4_tags_list_response.rb +101 -0
- data/lib/amocrm/models/v4_talks_close_params.rb +22 -0
- data/lib/amocrm/models/v4_talks_close_response.rb +61 -0
- data/lib/amocrm/models/v4_talks_get_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_talks_get_by_id_response.rb +213 -0
- data/lib/amocrm/models/v4_tasks_create_params.rb +87 -0
- data/lib/amocrm/models/v4_tasks_create_response.rb +95 -0
- data/lib/amocrm/models/v4_tasks_get_by_id_params.rb +14 -0
- data/lib/amocrm/models/v4_tasks_get_by_id_response.rb +173 -0
- data/lib/amocrm/models/v4_tasks_list_params.rb +66 -0
- data/lib/amocrm/models/v4_tasks_list_response.rb +208 -0
- data/lib/amocrm/models/v4_tasks_update_by_id_params.rb +72 -0
- data/lib/amocrm/models/v4_tasks_update_by_id_response.rb +95 -0
- data/lib/amocrm/models/v4_tasks_update_params.rb +98 -0
- data/lib/amocrm/models/v4_tasks_update_response.rb +95 -0
- data/lib/amocrm/models/v4_unsorted_leads_accept_params.rb +30 -0
- data/lib/amocrm/models/v4_unsorted_leads_accept_response.rb +168 -0
- data/lib/amocrm/models/v4_unsorted_leads_create_forms_params.rb +878 -0
- data/lib/amocrm/models/v4_unsorted_leads_create_forms_response.rb +200 -0
- data/lib/amocrm/models/v4_unsorted_leads_decline_params.rb +22 -0
- data/lib/amocrm/models/v4_unsorted_leads_decline_response.rb +168 -0
- data/lib/amocrm/models/v4_users_create_params.rb +169 -0
- data/lib/amocrm/models/v4_users_create_response.rb +473 -0
- data/lib/amocrm/models/v4_users_get_by_id_params.rb +20 -0
- data/lib/amocrm/models/v4_users_get_by_id_response.rb +426 -0
- data/lib/amocrm/models/v4_users_list_params.rb +32 -0
- data/lib/amocrm/models/v4_users_list_response.rb +475 -0
- data/lib/amocrm/models/v4_webhooks_list_params.rb +30 -0
- data/lib/amocrm/models/v4_webhooks_list_response.rb +137 -0
- data/lib/amocrm/models/v4_webhooks_subscribe_params.rb +32 -0
- data/lib/amocrm/models/v4_webhooks_subscribe_response.rb +103 -0
- data/lib/amocrm/models/v4_webhooks_unsubscribe_params.rb +20 -0
- data/lib/amocrm/models/v4_webhooks_unsubscribe_response.rb +61 -0
- data/lib/amocrm/models/v4_website_buttons_connect_online_chat_params.rb +14 -0
- data/lib/amocrm/models/v4_website_buttons_connect_online_chat_response.rb +61 -0
- data/lib/amocrm/models/v4_website_buttons_create_params.rb +32 -0
- data/lib/amocrm/models/v4_website_buttons_create_response.rb +61 -0
- data/lib/amocrm/models/v4_website_buttons_get_by_source_id_params.rb +20 -0
- data/lib/amocrm/models/v4_website_buttons_get_by_source_id_response.rb +97 -0
- data/lib/amocrm/models/v4_website_buttons_list_params.rb +32 -0
- data/lib/amocrm/models/v4_website_buttons_list_response.rb +132 -0
- data/lib/amocrm/models/v4_website_buttons_update_params.rb +30 -0
- data/lib/amocrm/models/v4_website_buttons_update_response.rb +97 -0
- data/lib/amocrm/models/v4_widget_bot_continue_continue_params.rb +65 -0
- data/lib/amocrm/models/v4_widget_bot_continue_continue_response.rb +61 -0
- data/lib/amocrm/models/v4_widgets_get_by_code_params.rb +14 -0
- data/lib/amocrm/models/v4_widgets_get_by_code_response.rb +180 -0
- data/lib/amocrm/models/v4_widgets_install_params.rb +20 -0
- data/lib/amocrm/models/v4_widgets_install_response.rb +180 -0
- data/lib/amocrm/models/v4_widgets_list_params.rb +26 -0
- data/lib/amocrm/models/v4_widgets_list_response.rb +218 -0
- data/lib/amocrm/models/v4_widgets_uninstall_params.rb +14 -0
- data/lib/amocrm/models/v4_widgets_uninstall_response.rb +61 -0
- data/lib/amocrm/models.rb +279 -1
- data/lib/amocrm/resources/v2.rb +35 -0
- data/lib/amocrm/resources/v4.rb +3419 -3
- data/lib/amocrm/version.rb +1 -1
- data/lib/amocrm.rb +281 -8
- data/rbi/amocrm/client.rbi +8 -0
- data/rbi/amocrm/internal/transport/base_client.rbi +5 -0
- data/rbi/amocrm/models/v2_salesbot_run_params.rbi +72 -0
- data/rbi/amocrm/models/v2_salesbot_run_response.rbi +212 -0
- data/rbi/amocrm/models/v4_account_get_params.rbi +43 -0
- data/rbi/amocrm/models/v4_account_get_response.rbi +851 -0
- data/rbi/amocrm/models/v4_calls_create_params.rbi +262 -0
- data/rbi/amocrm/models/v4_calls_create_response.rbi +400 -0
- data/rbi/amocrm/models/v4_catalog_elements_create_params.rbi +233 -0
- data/rbi/amocrm/models/v4_catalog_elements_create_response.rbi +566 -0
- data/rbi/amocrm/models/v4_catalog_elements_get_by_id_params.rbi +55 -0
- data/rbi/amocrm/models/v4_catalog_elements_get_by_id_response.rbi +445 -0
- data/rbi/amocrm/models/v4_catalog_elements_list_params.rbi +89 -0
- data/rbi/amocrm/models/v4_catalog_elements_list_response.rbi +565 -0
- data/rbi/amocrm/models/v4_catalog_elements_update_by_id_params.rbi +216 -0
- data/rbi/amocrm/models/v4_catalog_elements_update_by_id_response.rbi +568 -0
- data/rbi/amocrm/models/v4_catalog_elements_update_params.rbi +241 -0
- data/rbi/amocrm/models/v4_catalog_elements_update_response.rbi +566 -0
- data/rbi/amocrm/models/v4_catalogs_create_params.rbi +183 -0
- data/rbi/amocrm/models/v4_catalogs_create_response.rbi +450 -0
- data/rbi/amocrm/models/v4_catalogs_get_by_id_params.rbi +27 -0
- data/rbi/amocrm/models/v4_catalogs_get_by_id_response.rbi +331 -0
- data/rbi/amocrm/models/v4_catalogs_list_params.rbi +49 -0
- data/rbi/amocrm/models/v4_catalogs_list_response.rbi +449 -0
- data/rbi/amocrm/models/v4_catalogs_update_by_id_params.rbi +80 -0
- data/rbi/amocrm/models/v4_catalogs_update_by_id_response.rbi +450 -0
- data/rbi/amocrm/models/v4_catalogs_update_params.rbi +116 -0
- data/rbi/amocrm/models/v4_catalogs_update_response.rbi +450 -0
- data/rbi/amocrm/models/v4_companies_create_params.rbi +483 -0
- data/rbi/amocrm/models/v4_companies_create_response.rbi +234 -0
- data/rbi/amocrm/models/v4_companies_get_by_id_params.rbi +43 -0
- data/rbi/amocrm/models/v4_companies_get_by_id_response.rbi +743 -0
- data/rbi/amocrm/models/v4_companies_list_params.rbi +116 -0
- data/rbi/amocrm/models/v4_companies_list_response.rbi +869 -0
- data/rbi/amocrm/models/v4_companies_update_by_id_params.rbi +485 -0
- data/rbi/amocrm/models/v4_companies_update_by_id_response.rbi +234 -0
- data/rbi/amocrm/models/v4_companies_update_params.rbi +541 -0
- data/rbi/amocrm/models/v4_companies_update_response.rbi +234 -0
- data/rbi/amocrm/models/v4_contact_chats_link_params.rbi +78 -0
- data/rbi/amocrm/models/v4_contact_chats_link_response.rbi +228 -0
- data/rbi/amocrm/models/v4_contact_chats_list_params.rbi +38 -0
- data/rbi/amocrm/models/v4_contact_chats_list_response.rbi +228 -0
- data/rbi/amocrm/models/v4_contacts_create_params.rbi +497 -0
- data/rbi/amocrm/models/v4_contacts_create_response.rbi +234 -0
- data/rbi/amocrm/models/v4_contacts_get_by_id_params.rbi +43 -0
- data/rbi/amocrm/models/v4_contacts_get_by_id_response.rbi +779 -0
- data/rbi/amocrm/models/v4_contacts_list_params.rbi +116 -0
- data/rbi/amocrm/models/v4_contacts_list_response.rbi +905 -0
- data/rbi/amocrm/models/v4_contacts_update_by_id_params.rbi +503 -0
- data/rbi/amocrm/models/v4_contacts_update_by_id_response.rbi +234 -0
- data/rbi/amocrm/models/v4_contacts_update_params.rbi +555 -0
- data/rbi/amocrm/models/v4_contacts_update_response.rbi +234 -0
- data/rbi/amocrm/models/v4_custom_field_groups_create_params.rbi +86 -0
- data/rbi/amocrm/models/v4_custom_field_groups_create_response.rbi +232 -0
- data/rbi/amocrm/models/v4_custom_field_groups_delete_by_id_params.rbi +38 -0
- data/rbi/amocrm/models/v4_custom_field_groups_delete_by_id_response.rbi +80 -0
- data/rbi/amocrm/models/v4_custom_field_groups_get_by_id_params.rbi +38 -0
- data/rbi/amocrm/models/v4_custom_field_groups_get_by_id_response.rbi +136 -0
- data/rbi/amocrm/models/v4_custom_field_groups_list_params.rbi +52 -0
- data/rbi/amocrm/models/v4_custom_field_groups_list_response.rbi +254 -0
- data/rbi/amocrm/models/v4_custom_field_groups_update_by_id_params.rbi +57 -0
- data/rbi/amocrm/models/v4_custom_field_groups_update_by_id_response.rbi +80 -0
- data/rbi/amocrm/models/v4_custom_fields_create_params.rbi +169 -0
- data/rbi/amocrm/models/v4_custom_fields_create_response.rbi +232 -0
- data/rbi/amocrm/models/v4_custom_fields_delete_by_id_params.rbi +38 -0
- data/rbi/amocrm/models/v4_custom_fields_delete_by_id_response.rbi +78 -0
- data/rbi/amocrm/models/v4_custom_fields_get_by_id_params.rbi +35 -0
- data/rbi/amocrm/models/v4_custom_fields_get_by_id_response.rbi +222 -0
- data/rbi/amocrm/models/v4_custom_fields_list_params.rbi +49 -0
- data/rbi/amocrm/models/v4_custom_fields_list_response.rbi +340 -0
- data/rbi/amocrm/models/v4_custom_fields_update_by_id_params.rbi +143 -0
- data/rbi/amocrm/models/v4_custom_fields_update_by_id_response.rbi +78 -0
- data/rbi/amocrm/models/v4_custom_fields_update_params.rbi +172 -0
- data/rbi/amocrm/models/v4_custom_fields_update_response.rbi +78 -0
- data/rbi/amocrm/models/v4_customer_bonus_points_change_params.rbi +46 -0
- data/rbi/amocrm/models/v4_customer_bonus_points_change_response.rbi +104 -0
- data/rbi/amocrm/models/v4_customer_segments_create_params.rbi +268 -0
- data/rbi/amocrm/models/v4_customer_segments_create_response.rbi +234 -0
- data/rbi/amocrm/models/v4_customer_segments_delete_by_id_params.rbi +30 -0
- data/rbi/amocrm/models/v4_customer_segments_delete_by_id_response.rbi +80 -0
- data/rbi/amocrm/models/v4_customer_segments_get_by_id_params.rbi +30 -0
- data/rbi/amocrm/models/v4_customer_segments_get_by_id_response.rbi +329 -0
- data/rbi/amocrm/models/v4_customer_segments_list_params.rbi +27 -0
- data/rbi/amocrm/models/v4_customer_segments_list_response.rbi +439 -0
- data/rbi/amocrm/models/v4_customer_segments_update_by_id_params.rbi +232 -0
- data/rbi/amocrm/models/v4_customer_segments_update_by_id_response.rbi +80 -0
- data/rbi/amocrm/models/v4_customer_statuses_create_params.rbi +91 -0
- data/rbi/amocrm/models/v4_customer_statuses_create_response.rbi +234 -0
- data/rbi/amocrm/models/v4_customer_statuses_delete_by_id_params.rbi +30 -0
- data/rbi/amocrm/models/v4_customer_statuses_delete_by_id_response.rbi +80 -0
- data/rbi/amocrm/models/v4_customer_statuses_get_by_id_params.rbi +30 -0
- data/rbi/amocrm/models/v4_customer_statuses_get_by_id_response.rbi +144 -0
- data/rbi/amocrm/models/v4_customer_statuses_list_params.rbi +27 -0
- data/rbi/amocrm/models/v4_customer_statuses_list_response.rbi +254 -0
- data/rbi/amocrm/models/v4_customer_statuses_update_by_id_params.rbi +60 -0
- data/rbi/amocrm/models/v4_customer_statuses_update_by_id_response.rbi +80 -0
- data/rbi/amocrm/models/v4_customer_transactions_create_params.rbi +121 -0
- data/rbi/amocrm/models/v4_customer_transactions_create_response.rbi +236 -0
- data/rbi/amocrm/models/v4_customer_transactions_delete_by_id_params.rbi +38 -0
- data/rbi/amocrm/models/v4_customer_transactions_delete_by_id_response.rbi +80 -0
- data/rbi/amocrm/models/v4_customer_transactions_list_by_customer_params.rbi +60 -0
- data/rbi/amocrm/models/v4_customer_transactions_list_by_customer_response.rbi +288 -0
- data/rbi/amocrm/models/v4_customer_transactions_list_params.rbi +60 -0
- data/rbi/amocrm/models/v4_customer_transactions_list_response.rbi +286 -0
- data/rbi/amocrm/models/v4_customers_create_params.rbi +571 -0
- data/rbi/amocrm/models/v4_customers_create_response.rbi +234 -0
- data/rbi/amocrm/models/v4_customers_get_by_id_params.rbi +43 -0
- data/rbi/amocrm/models/v4_customers_get_by_id_response.rbi +824 -0
- data/rbi/amocrm/models/v4_customers_list_params.rbi +105 -0
- data/rbi/amocrm/models/v4_customers_list_response.rbi +950 -0
- data/rbi/amocrm/models/v4_customers_mode_set_mode_params.rbi +72 -0
- data/rbi/amocrm/models/v4_customers_mode_set_mode_response.rbi +167 -0
- data/rbi/amocrm/models/v4_customers_update_by_id_params.rbi +559 -0
- data/rbi/amocrm/models/v4_customers_update_by_id_response.rbi +234 -0
- data/rbi/amocrm/models/v4_customers_update_params.rbi +615 -0
- data/rbi/amocrm/models/v4_customers_update_response.rbi +234 -0
- data/rbi/amocrm/models/v4_entity_followers_add_params.rbi +106 -0
- data/rbi/amocrm/models/v4_entity_followers_add_response.rbi +220 -0
- data/rbi/amocrm/models/v4_entity_followers_list_params.rbi +97 -0
- data/rbi/amocrm/models/v4_entity_followers_list_response.rbi +267 -0
- data/rbi/amocrm/models/v4_entity_followers_remove_params.rbi +112 -0
- data/rbi/amocrm/models/v4_entity_followers_remove_response.rbi +112 -0
- data/rbi/amocrm/models/v4_entity_links_link_by_entity_params.rbi +317 -0
- data/rbi/amocrm/models/v4_entity_links_link_by_entity_response.rbi +112 -0
- data/rbi/amocrm/models/v4_entity_links_link_params.rbi +297 -0
- data/rbi/amocrm/models/v4_entity_links_link_response.rbi +112 -0
- data/rbi/amocrm/models/v4_entity_links_list_by_entity_params.rbi +86 -0
- data/rbi/amocrm/models/v4_entity_links_list_by_entity_response.rbi +402 -0
- data/rbi/amocrm/models/v4_entity_links_list_params.rbi +77 -0
- data/rbi/amocrm/models/v4_entity_links_list_response.rbi +402 -0
- data/rbi/amocrm/models/v4_entity_links_unlink_by_entity_params.rbi +318 -0
- data/rbi/amocrm/models/v4_entity_links_unlink_by_entity_response.rbi +114 -0
- data/rbi/amocrm/models/v4_entity_links_unlink_params.rbi +302 -0
- data/rbi/amocrm/models/v4_entity_links_unlink_response.rbi +112 -0
- data/rbi/amocrm/models/v4_entity_notes_by_parent_create_by_parent_params.rbi +211 -0
- data/rbi/amocrm/models/v4_entity_notes_by_parent_create_by_parent_response.rbi +262 -0
- data/rbi/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_params.rbi +104 -0
- data/rbi/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_response.rbi +224 -0
- data/rbi/amocrm/models/v4_entity_notes_by_parent_list_by_parent_params.rbi +121 -0
- data/rbi/amocrm/models/v4_entity_notes_by_parent_list_by_parent_response.rbi +342 -0
- data/rbi/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_params.rbi +139 -0
- data/rbi/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_response.rbi +262 -0
- data/rbi/amocrm/models/v4_entity_notes_by_parent_update_by_parent_params.rbi +184 -0
- data/rbi/amocrm/models/v4_entity_notes_by_parent_update_by_parent_response.rbi +262 -0
- data/rbi/amocrm/models/v4_entity_notes_create_params.rbi +186 -0
- data/rbi/amocrm/models/v4_entity_notes_create_response.rbi +260 -0
- data/rbi/amocrm/models/v4_entity_notes_get_by_id_params.rbi +88 -0
- data/rbi/amocrm/models/v4_entity_notes_get_by_id_response.rbi +222 -0
- data/rbi/amocrm/models/v4_entity_notes_list_params.rbi +96 -0
- data/rbi/amocrm/models/v4_entity_notes_list_response.rbi +340 -0
- data/rbi/amocrm/models/v4_entity_notes_pin_params.rbi +77 -0
- data/rbi/amocrm/models/v4_entity_notes_pin_response.rbi +112 -0
- data/rbi/amocrm/models/v4_entity_notes_unpin_params.rbi +77 -0
- data/rbi/amocrm/models/v4_entity_notes_unpin_response.rbi +112 -0
- data/rbi/amocrm/models/v4_entity_notes_update_by_id_params.rbi +134 -0
- data/rbi/amocrm/models/v4_entity_notes_update_by_id_response.rbi +260 -0
- data/rbi/amocrm/models/v4_entity_notes_update_params.rbi +159 -0
- data/rbi/amocrm/models/v4_entity_notes_update_response.rbi +260 -0
- data/rbi/amocrm/models/v4_events_get_by_id_params.rbi +38 -0
- data/rbi/amocrm/models/v4_events_get_by_id_response.rbi +186 -0
- data/rbi/amocrm/models/v4_events_list_params.rbi +71 -0
- data/rbi/amocrm/models/v4_events_list_response.rbi +304 -0
- data/rbi/amocrm/models/v4_events_list_types_params.rbi +38 -0
- data/rbi/amocrm/models/v4_events_list_types_response.rbi +149 -0
- data/rbi/amocrm/models/v4_leads_create_complex_params.rbi +1228 -0
- data/rbi/amocrm/models/v4_leads_create_complex_response.rbi +260 -0
- data/rbi/amocrm/models/v4_leads_create_params.rbi +1196 -0
- data/rbi/amocrm/models/v4_leads_create_response.rbi +234 -0
- data/rbi/amocrm/models/v4_leads_get_by_id_params.rbi +43 -0
- data/rbi/amocrm/models/v4_leads_get_by_id_response.rbi +921 -0
- data/rbi/amocrm/models/v4_leads_list_params.rbi +114 -0
- data/rbi/amocrm/models/v4_leads_list_response.rbi +1046 -0
- data/rbi/amocrm/models/v4_leads_update_by_id_params.rbi +1156 -0
- data/rbi/amocrm/models/v4_leads_update_by_id_response.rbi +234 -0
- data/rbi/amocrm/models/v4_leads_update_params.rbi +1214 -0
- data/rbi/amocrm/models/v4_leads_update_response.rbi +234 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_create_params.rbi +175 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_create_response.rbi +234 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_delete_by_id_params.rbi +38 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_delete_by_id_response.rbi +114 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_get_by_id_params.rbi +55 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_get_by_id_response.rbi +318 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_list_params.rbi +43 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_list_response.rbi +428 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_update_by_id_params.rbi +148 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_update_by_id_response.rbi +248 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_update_params.rbi +184 -0
- data/rbi/amocrm/models/v4_pipeline_statuses_update_response.rbi +246 -0
- data/rbi/amocrm/models/v4_pipelines_create_params.rbi +311 -0
- data/rbi/amocrm/models/v4_pipelines_create_response.rbi +234 -0
- data/rbi/amocrm/models/v4_pipelines_delete_by_id_params.rbi +27 -0
- data/rbi/amocrm/models/v4_pipelines_delete_by_id_response.rbi +112 -0
- data/rbi/amocrm/models/v4_pipelines_get_by_id_params.rbi +27 -0
- data/rbi/amocrm/models/v4_pipelines_get_by_id_response.rbi +494 -0
- data/rbi/amocrm/models/v4_pipelines_list_params.rbi +27 -0
- data/rbi/amocrm/models/v4_pipelines_list_response.rbi +604 -0
- data/rbi/amocrm/models/v4_pipelines_update_by_id_params.rbi +89 -0
- data/rbi/amocrm/models/v4_pipelines_update_by_id_response.rbi +246 -0
- data/rbi/amocrm/models/v4_pipelines_update_params.rbi +125 -0
- data/rbi/amocrm/models/v4_pipelines_update_response.rbi +246 -0
- data/rbi/amocrm/models/v4_roles_create_params.rbi +289 -0
- data/rbi/amocrm/models/v4_roles_create_response.rbi +589 -0
- data/rbi/amocrm/models/v4_roles_delete_by_id_params.rbi +27 -0
- data/rbi/amocrm/models/v4_roles_delete_by_id_response.rbi +112 -0
- data/rbi/amocrm/models/v4_roles_get_by_id_params.rbi +38 -0
- data/rbi/amocrm/models/v4_roles_get_by_id_response.rbi +454 -0
- data/rbi/amocrm/models/v4_roles_list_params.rbi +57 -0
- data/rbi/amocrm/models/v4_roles_list_response.rbi +602 -0
- data/rbi/amocrm/models/v4_roles_update_by_id_params.rbi +264 -0
- data/rbi/amocrm/models/v4_roles_update_by_id_response.rbi +457 -0
- data/rbi/amocrm/models/v4_short_links_create_params.rbi +35 -0
- data/rbi/amocrm/models/v4_short_links_create_response.rbi +102 -0
- data/rbi/amocrm/models/v4_sources_create_params.rbi +151 -0
- data/rbi/amocrm/models/v4_sources_create_response.rbi +371 -0
- data/rbi/amocrm/models/v4_sources_delete_by_id_params.rbi +27 -0
- data/rbi/amocrm/models/v4_sources_delete_by_id_response.rbi +112 -0
- data/rbi/amocrm/models/v4_sources_delete_params.rbi +59 -0
- data/rbi/amocrm/models/v4_sources_delete_response.rbi +112 -0
- data/rbi/amocrm/models/v4_sources_get_by_id_params.rbi +27 -0
- data/rbi/amocrm/models/v4_sources_get_by_id_response.rbi +242 -0
- data/rbi/amocrm/models/v4_sources_list_params.rbi +137 -0
- data/rbi/amocrm/models/v4_sources_list_response.rbi +362 -0
- data/rbi/amocrm/models/v4_sources_update_by_id_params.rbi +127 -0
- data/rbi/amocrm/models/v4_sources_update_by_id_response.rbi +371 -0
- data/rbi/amocrm/models/v4_sources_update_params.rbi +163 -0
- data/rbi/amocrm/models/v4_sources_update_response.rbi +371 -0
- data/rbi/amocrm/models/v4_tags_create_params.rbi +105 -0
- data/rbi/amocrm/models/v4_tags_create_response.rbi +241 -0
- data/rbi/amocrm/models/v4_tags_list_params.rbi +96 -0
- data/rbi/amocrm/models/v4_tags_list_response.rbi +236 -0
- data/rbi/amocrm/models/v4_talks_close_params.rbi +43 -0
- data/rbi/amocrm/models/v4_talks_close_response.rbi +112 -0
- data/rbi/amocrm/models/v4_talks_get_by_id_params.rbi +27 -0
- data/rbi/amocrm/models/v4_talks_get_by_id_response.rbi +450 -0
- data/rbi/amocrm/models/v4_tasks_create_params.rbi +142 -0
- data/rbi/amocrm/models/v4_tasks_create_response.rbi +234 -0
- data/rbi/amocrm/models/v4_tasks_get_by_id_params.rbi +27 -0
- data/rbi/amocrm/models/v4_tasks_get_by_id_response.rbi +323 -0
- data/rbi/amocrm/models/v4_tasks_list_params.rbi +103 -0
- data/rbi/amocrm/models/v4_tasks_list_response.rbi +441 -0
- data/rbi/amocrm/models/v4_tasks_update_by_id_params.rbi +133 -0
- data/rbi/amocrm/models/v4_tasks_update_by_id_response.rbi +234 -0
- data/rbi/amocrm/models/v4_tasks_update_params.rbi +168 -0
- data/rbi/amocrm/models/v4_tasks_update_response.rbi +234 -0
- data/rbi/amocrm/models/v4_unsorted_leads_accept_params.rbi +57 -0
- data/rbi/amocrm/models/v4_unsorted_leads_accept_response.rbi +429 -0
- data/rbi/amocrm/models/v4_unsorted_leads_create_forms_params.rbi +1901 -0
- data/rbi/amocrm/models/v4_unsorted_leads_create_forms_response.rbi +490 -0
- data/rbi/amocrm/models/v4_unsorted_leads_decline_params.rbi +43 -0
- data/rbi/amocrm/models/v4_unsorted_leads_decline_response.rbi +429 -0
- data/rbi/amocrm/models/v4_users_create_params.rbi +314 -0
- data/rbi/amocrm/models/v4_users_create_response.rbi +1062 -0
- data/rbi/amocrm/models/v4_users_get_by_id_params.rbi +38 -0
- data/rbi/amocrm/models/v4_users_get_by_id_response.rbi +928 -0
- data/rbi/amocrm/models/v4_users_list_params.rbi +57 -0
- data/rbi/amocrm/models/v4_users_list_response.rbi +1075 -0
- data/rbi/amocrm/models/v4_webhooks_list_params.rbi +65 -0
- data/rbi/amocrm/models/v4_webhooks_list_response.rbi +304 -0
- data/rbi/amocrm/models/v4_webhooks_subscribe_params.rbi +51 -0
- data/rbi/amocrm/models/v4_webhooks_subscribe_response.rbi +186 -0
- data/rbi/amocrm/models/v4_webhooks_unsubscribe_params.rbi +35 -0
- data/rbi/amocrm/models/v4_webhooks_unsubscribe_response.rbi +112 -0
- data/rbi/amocrm/models/v4_website_buttons_connect_online_chat_params.rbi +30 -0
- data/rbi/amocrm/models/v4_website_buttons_connect_online_chat_response.rbi +114 -0
- data/rbi/amocrm/models/v4_website_buttons_create_params.rbi +59 -0
- data/rbi/amocrm/models/v4_website_buttons_create_response.rbi +117 -0
- data/rbi/amocrm/models/v4_website_buttons_get_by_source_id_params.rbi +41 -0
- data/rbi/amocrm/models/v4_website_buttons_get_by_source_id_response.rbi +173 -0
- data/rbi/amocrm/models/v4_website_buttons_list_params.rbi +57 -0
- data/rbi/amocrm/models/v4_website_buttons_list_response.rbi +289 -0
- data/rbi/amocrm/models/v4_website_buttons_update_params.rbi +69 -0
- data/rbi/amocrm/models/v4_website_buttons_update_response.rbi +171 -0
- data/rbi/amocrm/models/v4_widget_bot_continue_continue_params.rbi +154 -0
- data/rbi/amocrm/models/v4_widget_bot_continue_continue_response.rbi +114 -0
- data/rbi/amocrm/models/v4_widgets_get_by_code_params.rbi +27 -0
- data/rbi/amocrm/models/v4_widgets_get_by_code_response.rbi +342 -0
- data/rbi/amocrm/models/v4_widgets_install_params.rbi +35 -0
- data/rbi/amocrm/models/v4_widgets_install_response.rbi +342 -0
- data/rbi/amocrm/models/v4_widgets_list_params.rbi +49 -0
- data/rbi/amocrm/models/v4_widgets_list_response.rbi +460 -0
- data/rbi/amocrm/models/v4_widgets_uninstall_params.rbi +27 -0
- data/rbi/amocrm/models/v4_widgets_uninstall_response.rbi +112 -0
- data/rbi/amocrm/models.rbi +317 -1
- data/rbi/amocrm/resources/v2.rbi +22 -0
- data/rbi/amocrm/resources/v4.rbi +2269 -2
- data/sig/amocrm/client.rbs +4 -0
- data/sig/amocrm/internal/transport/base_client.rbs +2 -0
- data/sig/amocrm/models/v2_salesbot_run_params.rbs +46 -0
- data/sig/amocrm/models/v2_salesbot_run_response.rbs +113 -0
- data/sig/amocrm/models/v4_account_get_params.rbs +22 -0
- data/sig/amocrm/models/v4_account_get_response.rbs +479 -0
- data/sig/amocrm/models/v4_calls_create_params.rbs +150 -0
- data/sig/amocrm/models/v4_calls_create_response.rbs +207 -0
- data/sig/amocrm/models/v4_catalog_elements_create_params.rbs +124 -0
- data/sig/amocrm/models/v4_catalog_elements_create_response.rbs +303 -0
- data/sig/amocrm/models/v4_catalog_elements_get_by_id_params.rbs +30 -0
- data/sig/amocrm/models/v4_catalog_elements_get_by_id_response.rbs +243 -0
- data/sig/amocrm/models/v4_catalog_elements_list_params.rbs +59 -0
- data/sig/amocrm/models/v4_catalog_elements_list_response.rbs +303 -0
- data/sig/amocrm/models/v4_catalog_elements_update_by_id_params.rbs +116 -0
- data/sig/amocrm/models/v4_catalog_elements_update_by_id_response.rbs +303 -0
- data/sig/amocrm/models/v4_catalog_elements_update_params.rbs +131 -0
- data/sig/amocrm/models/v4_catalog_elements_update_response.rbs +303 -0
- data/sig/amocrm/models/v4_catalogs_create_params.rbs +90 -0
- data/sig/amocrm/models/v4_catalogs_create_response.rbs +241 -0
- data/sig/amocrm/models/v4_catalogs_get_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_catalogs_get_by_id_response.rbs +185 -0
- data/sig/amocrm/models/v4_catalogs_list_params.rbs +32 -0
- data/sig/amocrm/models/v4_catalogs_list_response.rbs +241 -0
- data/sig/amocrm/models/v4_catalogs_update_by_id_params.rbs +56 -0
- data/sig/amocrm/models/v4_catalogs_update_by_id_response.rbs +241 -0
- data/sig/amocrm/models/v4_catalogs_update_params.rbs +76 -0
- data/sig/amocrm/models/v4_catalogs_update_response.rbs +241 -0
- data/sig/amocrm/models/v4_companies_create_params.rbs +247 -0
- data/sig/amocrm/models/v4_companies_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_companies_get_by_id_params.rbs +22 -0
- data/sig/amocrm/models/v4_companies_get_by_id_response.rbs +366 -0
- data/sig/amocrm/models/v4_companies_list_params.rbs +73 -0
- data/sig/amocrm/models/v4_companies_list_response.rbs +422 -0
- data/sig/amocrm/models/v4_companies_update_by_id_params.rbs +244 -0
- data/sig/amocrm/models/v4_companies_update_by_id_response.rbs +121 -0
- data/sig/amocrm/models/v4_companies_update_params.rbs +270 -0
- data/sig/amocrm/models/v4_companies_update_response.rbs +121 -0
- data/sig/amocrm/models/v4_contact_chats_link_params.rbs +48 -0
- data/sig/amocrm/models/v4_contact_chats_link_response.rbs +122 -0
- data/sig/amocrm/models/v4_contact_chats_list_params.rbs +22 -0
- data/sig/amocrm/models/v4_contact_chats_list_response.rbs +122 -0
- data/sig/amocrm/models/v4_contacts_create_params.rbs +259 -0
- data/sig/amocrm/models/v4_contacts_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_contacts_get_by_id_params.rbs +22 -0
- data/sig/amocrm/models/v4_contacts_get_by_id_response.rbs +394 -0
- data/sig/amocrm/models/v4_contacts_list_params.rbs +73 -0
- data/sig/amocrm/models/v4_contacts_list_response.rbs +450 -0
- data/sig/amocrm/models/v4_contacts_update_by_id_params.rbs +258 -0
- data/sig/amocrm/models/v4_contacts_update_by_id_response.rbs +121 -0
- data/sig/amocrm/models/v4_contacts_update_params.rbs +284 -0
- data/sig/amocrm/models/v4_contacts_update_response.rbs +121 -0
- data/sig/amocrm/models/v4_custom_field_groups_create_params.rbs +46 -0
- data/sig/amocrm/models/v4_custom_field_groups_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_custom_field_groups_delete_by_id_params.rbs +23 -0
- data/sig/amocrm/models/v4_custom_field_groups_delete_by_id_response.rbs +47 -0
- data/sig/amocrm/models/v4_custom_field_groups_get_by_id_params.rbs +23 -0
- data/sig/amocrm/models/v4_custom_field_groups_get_by_id_response.rbs +83 -0
- data/sig/amocrm/models/v4_custom_field_groups_list_params.rbs +32 -0
- data/sig/amocrm/models/v4_custom_field_groups_list_response.rbs +139 -0
- data/sig/amocrm/models/v4_custom_field_groups_update_by_id_params.rbs +36 -0
- data/sig/amocrm/models/v4_custom_field_groups_update_by_id_response.rbs +47 -0
- data/sig/amocrm/models/v4_custom_fields_create_params.rbs +116 -0
- data/sig/amocrm/models/v4_custom_fields_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_custom_fields_delete_by_id_params.rbs +23 -0
- data/sig/amocrm/models/v4_custom_fields_delete_by_id_response.rbs +47 -0
- data/sig/amocrm/models/v4_custom_fields_get_by_id_params.rbs +23 -0
- data/sig/amocrm/models/v4_custom_fields_get_by_id_response.rbs +151 -0
- data/sig/amocrm/models/v4_custom_fields_list_params.rbs +32 -0
- data/sig/amocrm/models/v4_custom_fields_list_response.rbs +207 -0
- data/sig/amocrm/models/v4_custom_fields_update_by_id_params.rbs +103 -0
- data/sig/amocrm/models/v4_custom_fields_update_by_id_response.rbs +47 -0
- data/sig/amocrm/models/v4_custom_fields_update_params.rbs +118 -0
- data/sig/amocrm/models/v4_custom_fields_update_response.rbs +47 -0
- data/sig/amocrm/models/v4_customer_bonus_points_change_params.rbs +28 -0
- data/sig/amocrm/models/v4_customer_bonus_points_change_response.rbs +60 -0
- data/sig/amocrm/models/v4_customer_segments_create_params.rbs +134 -0
- data/sig/amocrm/models/v4_customer_segments_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_customer_segments_delete_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_customer_segments_delete_by_id_response.rbs +47 -0
- data/sig/amocrm/models/v4_customer_segments_get_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_customer_segments_get_by_id_response.rbs +177 -0
- data/sig/amocrm/models/v4_customer_segments_list_params.rbs +15 -0
- data/sig/amocrm/models/v4_customer_segments_list_response.rbs +226 -0
- data/sig/amocrm/models/v4_customer_segments_update_by_id_params.rbs +114 -0
- data/sig/amocrm/models/v4_customer_segments_update_by_id_response.rbs +47 -0
- data/sig/amocrm/models/v4_customer_statuses_create_params.rbs +57 -0
- data/sig/amocrm/models/v4_customer_statuses_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_customer_statuses_delete_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_customer_statuses_delete_by_id_response.rbs +47 -0
- data/sig/amocrm/models/v4_customer_statuses_get_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_customer_statuses_get_by_id_response.rbs +95 -0
- data/sig/amocrm/models/v4_customer_statuses_list_params.rbs +15 -0
- data/sig/amocrm/models/v4_customer_statuses_list_response.rbs +144 -0
- data/sig/amocrm/models/v4_customer_statuses_update_by_id_params.rbs +38 -0
- data/sig/amocrm/models/v4_customer_statuses_update_by_id_response.rbs +47 -0
- data/sig/amocrm/models/v4_customer_transactions_create_params.rbs +78 -0
- data/sig/amocrm/models/v4_customer_transactions_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_customer_transactions_delete_by_id_params.rbs +23 -0
- data/sig/amocrm/models/v4_customer_transactions_delete_by_id_response.rbs +47 -0
- data/sig/amocrm/models/v4_customer_transactions_list_by_customer_params.rbs +38 -0
- data/sig/amocrm/models/v4_customer_transactions_list_by_customer_response.rbs +165 -0
- data/sig/amocrm/models/v4_customer_transactions_list_params.rbs +38 -0
- data/sig/amocrm/models/v4_customer_transactions_list_response.rbs +165 -0
- data/sig/amocrm/models/v4_customers_create_params.rbs +300 -0
- data/sig/amocrm/models/v4_customers_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_customers_get_by_id_params.rbs +22 -0
- data/sig/amocrm/models/v4_customers_get_by_id_response.rbs +429 -0
- data/sig/amocrm/models/v4_customers_list_params.rbs +73 -0
- data/sig/amocrm/models/v4_customers_list_response.rbs +485 -0
- data/sig/amocrm/models/v4_customers_mode_set_mode_params.rbs +42 -0
- data/sig/amocrm/models/v4_customers_mode_set_mode_response.rbs +87 -0
- data/sig/amocrm/models/v4_customers_update_by_id_params.rbs +288 -0
- data/sig/amocrm/models/v4_customers_update_by_id_response.rbs +121 -0
- data/sig/amocrm/models/v4_customers_update_params.rbs +312 -0
- data/sig/amocrm/models/v4_customers_update_response.rbs +121 -0
- data/sig/amocrm/models/v4_entity_followers_add_params.rbs +54 -0
- data/sig/amocrm/models/v4_entity_followers_add_response.rbs +116 -0
- data/sig/amocrm/models/v4_entity_followers_list_params.rbs +53 -0
- data/sig/amocrm/models/v4_entity_followers_list_response.rbs +151 -0
- data/sig/amocrm/models/v4_entity_followers_remove_params.rbs +54 -0
- data/sig/amocrm/models/v4_entity_followers_remove_response.rbs +64 -0
- data/sig/amocrm/models/v4_entity_links_link_by_entity_params.rbs +122 -0
- data/sig/amocrm/models/v4_entity_links_link_by_entity_response.rbs +64 -0
- data/sig/amocrm/models/v4_entity_links_link_params.rbs +115 -0
- data/sig/amocrm/models/v4_entity_links_link_response.rbs +64 -0
- data/sig/amocrm/models/v4_entity_links_list_by_entity_params.rbs +39 -0
- data/sig/amocrm/models/v4_entity_links_list_by_entity_response.rbs +176 -0
- data/sig/amocrm/models/v4_entity_links_list_params.rbs +35 -0
- data/sig/amocrm/models/v4_entity_links_list_response.rbs +176 -0
- data/sig/amocrm/models/v4_entity_links_unlink_by_entity_params.rbs +122 -0
- data/sig/amocrm/models/v4_entity_links_unlink_by_entity_response.rbs +64 -0
- data/sig/amocrm/models/v4_entity_links_unlink_params.rbs +115 -0
- data/sig/amocrm/models/v4_entity_links_unlink_response.rbs +64 -0
- data/sig/amocrm/models/v4_entity_notes_by_parent_create_by_parent_params.rbs +117 -0
- data/sig/amocrm/models/v4_entity_notes_by_parent_create_by_parent_response.rbs +144 -0
- data/sig/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_params.rbs +51 -0
- data/sig/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_response.rbs +151 -0
- data/sig/amocrm/models/v4_entity_notes_by_parent_list_by_parent_params.rbs +60 -0
- data/sig/amocrm/models/v4_entity_notes_by_parent_list_by_parent_response.rbs +207 -0
- data/sig/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_params.rbs +74 -0
- data/sig/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_response.rbs +144 -0
- data/sig/amocrm/models/v4_entity_notes_by_parent_update_by_parent_params.rbs +96 -0
- data/sig/amocrm/models/v4_entity_notes_by_parent_update_by_parent_response.rbs +144 -0
- data/sig/amocrm/models/v4_entity_notes_create_params.rbs +110 -0
- data/sig/amocrm/models/v4_entity_notes_create_response.rbs +144 -0
- data/sig/amocrm/models/v4_entity_notes_get_by_id_params.rbs +46 -0
- data/sig/amocrm/models/v4_entity_notes_get_by_id_response.rbs +151 -0
- data/sig/amocrm/models/v4_entity_notes_list_params.rbs +51 -0
- data/sig/amocrm/models/v4_entity_notes_list_response.rbs +207 -0
- data/sig/amocrm/models/v4_entity_notes_pin_params.rbs +37 -0
- data/sig/amocrm/models/v4_entity_notes_pin_response.rbs +64 -0
- data/sig/amocrm/models/v4_entity_notes_unpin_params.rbs +37 -0
- data/sig/amocrm/models/v4_entity_notes_unpin_response.rbs +64 -0
- data/sig/amocrm/models/v4_entity_notes_update_by_id_params.rbs +74 -0
- data/sig/amocrm/models/v4_entity_notes_update_by_id_response.rbs +144 -0
- data/sig/amocrm/models/v4_entity_notes_update_params.rbs +89 -0
- data/sig/amocrm/models/v4_entity_notes_update_response.rbs +144 -0
- data/sig/amocrm/models/v4_events_get_by_id_params.rbs +22 -0
- data/sig/amocrm/models/v4_events_get_by_id_response.rbs +123 -0
- data/sig/amocrm/models/v4_events_list_params.rbs +44 -0
- data/sig/amocrm/models/v4_events_list_response.rbs +179 -0
- data/sig/amocrm/models/v4_events_list_types_params.rbs +25 -0
- data/sig/amocrm/models/v4_events_list_types_response.rbs +81 -0
- data/sig/amocrm/models/v4_leads_create_complex_params.rbs +603 -0
- data/sig/amocrm/models/v4_leads_create_complex_response.rbs +144 -0
- data/sig/amocrm/models/v4_leads_create_params.rbs +603 -0
- data/sig/amocrm/models/v4_leads_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_leads_get_by_id_params.rbs +22 -0
- data/sig/amocrm/models/v4_leads_get_by_id_response.rbs +482 -0
- data/sig/amocrm/models/v4_leads_list_params.rbs +73 -0
- data/sig/amocrm/models/v4_leads_list_response.rbs +538 -0
- data/sig/amocrm/models/v4_leads_update_by_id_params.rbs +578 -0
- data/sig/amocrm/models/v4_leads_update_by_id_response.rbs +121 -0
- data/sig/amocrm/models/v4_leads_update_params.rbs +602 -0
- data/sig/amocrm/models/v4_leads_update_response.rbs +121 -0
- data/sig/amocrm/models/v4_pipeline_statuses_create_params.rbs +95 -0
- data/sig/amocrm/models/v4_pipeline_statuses_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_pipeline_statuses_delete_by_id_params.rbs +23 -0
- data/sig/amocrm/models/v4_pipeline_statuses_delete_by_id_response.rbs +64 -0
- data/sig/amocrm/models/v4_pipeline_statuses_get_by_id_params.rbs +30 -0
- data/sig/amocrm/models/v4_pipeline_statuses_get_by_id_response.rbs +203 -0
- data/sig/amocrm/models/v4_pipeline_statuses_list_params.rbs +22 -0
- data/sig/amocrm/models/v4_pipeline_statuses_list_response.rbs +252 -0
- data/sig/amocrm/models/v4_pipeline_statuses_update_by_id_params.rbs +87 -0
- data/sig/amocrm/models/v4_pipeline_statuses_update_by_id_response.rbs +137 -0
- data/sig/amocrm/models/v4_pipeline_statuses_update_params.rbs +102 -0
- data/sig/amocrm/models/v4_pipeline_statuses_update_response.rbs +137 -0
- data/sig/amocrm/models/v4_pipelines_create_params.rbs +175 -0
- data/sig/amocrm/models/v4_pipelines_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_pipelines_delete_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_pipelines_delete_by_id_response.rbs +64 -0
- data/sig/amocrm/models/v4_pipelines_get_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_pipelines_get_by_id_response.rbs +301 -0
- data/sig/amocrm/models/v4_pipelines_list_params.rbs +15 -0
- data/sig/amocrm/models/v4_pipelines_list_response.rbs +350 -0
- data/sig/amocrm/models/v4_pipelines_update_by_id_params.rbs +63 -0
- data/sig/amocrm/models/v4_pipelines_update_by_id_response.rbs +137 -0
- data/sig/amocrm/models/v4_pipelines_update_params.rbs +83 -0
- data/sig/amocrm/models/v4_pipelines_update_response.rbs +137 -0
- data/sig/amocrm/models/v4_roles_create_params.rbs +187 -0
- data/sig/amocrm/models/v4_roles_create_response.rbs +325 -0
- data/sig/amocrm/models/v4_roles_delete_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_roles_delete_by_id_response.rbs +64 -0
- data/sig/amocrm/models/v4_roles_get_by_id_params.rbs +22 -0
- data/sig/amocrm/models/v4_roles_get_by_id_response.rbs +262 -0
- data/sig/amocrm/models/v4_roles_list_params.rbs +38 -0
- data/sig/amocrm/models/v4_roles_list_response.rbs +332 -0
- data/sig/amocrm/models/v4_roles_update_by_id_params.rbs +170 -0
- data/sig/amocrm/models/v4_roles_update_by_id_response.rbs +262 -0
- data/sig/amocrm/models/v4_short_links_create_params.rbs +20 -0
- data/sig/amocrm/models/v4_short_links_create_response.rbs +60 -0
- data/sig/amocrm/models/v4_sources_create_params.rbs +91 -0
- data/sig/amocrm/models/v4_sources_create_response.rbs +199 -0
- data/sig/amocrm/models/v4_sources_delete_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_sources_delete_by_id_response.rbs +64 -0
- data/sig/amocrm/models/v4_sources_delete_params.rbs +34 -0
- data/sig/amocrm/models/v4_sources_delete_response.rbs +64 -0
- data/sig/amocrm/models/v4_sources_get_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_sources_get_by_id_response.rbs +136 -0
- data/sig/amocrm/models/v4_sources_list_params.rbs +71 -0
- data/sig/amocrm/models/v4_sources_list_response.rbs +192 -0
- data/sig/amocrm/models/v4_sources_update_by_id_params.rbs +80 -0
- data/sig/amocrm/models/v4_sources_update_by_id_response.rbs +199 -0
- data/sig/amocrm/models/v4_sources_update_params.rbs +100 -0
- data/sig/amocrm/models/v4_sources_update_response.rbs +199 -0
- data/sig/amocrm/models/v4_tags_create_params.rbs +59 -0
- data/sig/amocrm/models/v4_tags_create_response.rbs +132 -0
- data/sig/amocrm/models/v4_tags_list_params.rbs +57 -0
- data/sig/amocrm/models/v4_tags_list_response.rbs +128 -0
- data/sig/amocrm/models/v4_talks_close_params.rbs +25 -0
- data/sig/amocrm/models/v4_talks_close_response.rbs +64 -0
- data/sig/amocrm/models/v4_talks_get_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_talks_get_by_id_response.rbs +248 -0
- data/sig/amocrm/models/v4_tasks_create_params.rbs +97 -0
- data/sig/amocrm/models/v4_tasks_create_response.rbs +121 -0
- data/sig/amocrm/models/v4_tasks_get_by_id_params.rbs +15 -0
- data/sig/amocrm/models/v4_tasks_get_by_id_response.rbs +202 -0
- data/sig/amocrm/models/v4_tasks_list_params.rbs +66 -0
- data/sig/amocrm/models/v4_tasks_list_response.rbs +259 -0
- data/sig/amocrm/models/v4_tasks_update_by_id_params.rbs +91 -0
- data/sig/amocrm/models/v4_tasks_update_by_id_response.rbs +121 -0
- data/sig/amocrm/models/v4_tasks_update_params.rbs +111 -0
- data/sig/amocrm/models/v4_tasks_update_response.rbs +121 -0
- data/sig/amocrm/models/v4_unsorted_leads_accept_params.rbs +32 -0
- data/sig/amocrm/models/v4_unsorted_leads_accept_response.rbs +199 -0
- data/sig/amocrm/models/v4_unsorted_leads_create_forms_params.rbs +916 -0
- data/sig/amocrm/models/v4_unsorted_leads_create_forms_response.rbs +233 -0
- data/sig/amocrm/models/v4_unsorted_leads_decline_params.rbs +25 -0
- data/sig/amocrm/models/v4_unsorted_leads_decline_response.rbs +199 -0
- data/sig/amocrm/models/v4_users_create_params.rbs +204 -0
- data/sig/amocrm/models/v4_users_create_response.rbs +594 -0
- data/sig/amocrm/models/v4_users_get_by_id_params.rbs +22 -0
- data/sig/amocrm/models/v4_users_get_by_id_response.rbs +527 -0
- data/sig/amocrm/models/v4_users_list_params.rbs +38 -0
- data/sig/amocrm/models/v4_users_list_response.rbs +601 -0
- data/sig/amocrm/models/v4_webhooks_list_params.rbs +40 -0
- data/sig/amocrm/models/v4_webhooks_list_response.rbs +179 -0
- data/sig/amocrm/models/v4_webhooks_subscribe_params.rbs +34 -0
- data/sig/amocrm/models/v4_webhooks_subscribe_response.rbs +123 -0
- data/sig/amocrm/models/v4_webhooks_unsubscribe_params.rbs +23 -0
- data/sig/amocrm/models/v4_webhooks_unsubscribe_response.rbs +64 -0
- data/sig/amocrm/models/v4_website_buttons_connect_online_chat_params.rbs +15 -0
- data/sig/amocrm/models/v4_website_buttons_connect_online_chat_response.rbs +64 -0
- data/sig/amocrm/models/v4_website_buttons_create_params.rbs +40 -0
- data/sig/amocrm/models/v4_website_buttons_create_response.rbs +71 -0
- data/sig/amocrm/models/v4_website_buttons_get_by_source_id_params.rbs +22 -0
- data/sig/amocrm/models/v4_website_buttons_get_by_source_id_response.rbs +112 -0
- data/sig/amocrm/models/v4_website_buttons_list_params.rbs +38 -0
- data/sig/amocrm/models/v4_website_buttons_list_response.rbs +168 -0
- data/sig/amocrm/models/v4_website_buttons_update_params.rbs +36 -0
- data/sig/amocrm/models/v4_website_buttons_update_response.rbs +112 -0
- data/sig/amocrm/models/v4_widget_bot_continue_continue_params.rbs +74 -0
- data/sig/amocrm/models/v4_widget_bot_continue_continue_response.rbs +64 -0
- data/sig/amocrm/models/v4_widgets_get_by_code_params.rbs +15 -0
- data/sig/amocrm/models/v4_widgets_get_by_code_response.rbs +194 -0
- data/sig/amocrm/models/v4_widgets_install_params.rbs +20 -0
- data/sig/amocrm/models/v4_widgets_install_response.rbs +194 -0
- data/sig/amocrm/models/v4_widgets_list_params.rbs +32 -0
- data/sig/amocrm/models/v4_widgets_list_response.rbs +250 -0
- data/sig/amocrm/models/v4_widgets_uninstall_params.rbs +15 -0
- data/sig/amocrm/models/v4_widgets_uninstall_response.rbs +64 -0
- data/sig/amocrm/models.rbs +279 -1
- data/sig/amocrm/resources/v2.rbs +12 -0
- data/sig/amocrm/resources/v4.rbs +944 -1
- metadata +844 -25
- data/lib/amocrm/models/v4/leads/unsorted_accept_params.rb +0 -34
- data/lib/amocrm/models/v4/leads/unsorted_accept_response.rb +0 -172
- data/lib/amocrm/models/v4/leads/unsorted_create_forms_params.rb +0 -883
- data/lib/amocrm/models/v4/leads/unsorted_create_forms_response.rb +0 -204
- data/lib/amocrm/models/v4/leads/unsorted_decline_params.rb +0 -26
- data/lib/amocrm/models/v4/leads/unsorted_decline_response.rb +0 -172
- data/lib/amocrm/resources/v4/leads/unsorted.rb +0 -83
- data/lib/amocrm/resources/v4/leads.rb +0 -20
- data/rbi/amocrm/models/v4/leads/unsorted_accept_params.rbi +0 -64
- data/rbi/amocrm/models/v4/leads/unsorted_accept_response.rbi +0 -441
- data/rbi/amocrm/models/v4/leads/unsorted_create_forms_params.rbi +0 -1927
- data/rbi/amocrm/models/v4/leads/unsorted_create_forms_response.rbi +0 -502
- data/rbi/amocrm/models/v4/leads/unsorted_decline_params.rbi +0 -50
- data/rbi/amocrm/models/v4/leads/unsorted_decline_response.rbi +0 -441
- data/rbi/amocrm/resources/v4/leads/unsorted.rbi +0 -67
- data/rbi/amocrm/resources/v4/leads.rbi +0 -17
- data/sig/amocrm/models/v4/leads/unsorted_accept_params.rbs +0 -36
- data/sig/amocrm/models/v4/leads/unsorted_accept_response.rbs +0 -203
- data/sig/amocrm/models/v4/leads/unsorted_create_forms_params.rbs +0 -920
- data/sig/amocrm/models/v4/leads/unsorted_create_forms_response.rbs +0 -237
- data/sig/amocrm/models/v4/leads/unsorted_decline_params.rbs +0 -29
- data/sig/amocrm/models/v4/leads/unsorted_decline_response.rbs +0 -203
- data/sig/amocrm/resources/v4/leads/unsorted.rbs +0 -29
- data/sig/amocrm/resources/v4/leads.rbs +0 -11
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Amocrm
|
|
4
|
+
module Models
|
|
5
|
+
# @see Amocrm::Resources::V4#account_get
|
|
6
|
+
module V4AccountGetResponse
|
|
7
|
+
extend Amocrm::Internal::Type::Union
|
|
8
|
+
|
|
9
|
+
variant -> { Amocrm::Models::V4AccountGetResponse::AccountInfo }
|
|
10
|
+
|
|
11
|
+
variant -> { Amocrm::Models::V4AccountGetResponse::Problem }
|
|
12
|
+
|
|
13
|
+
class AccountInfo < Amocrm::Internal::Type::BaseModel
|
|
14
|
+
# @!attribute id
|
|
15
|
+
#
|
|
16
|
+
# @return [Integer, nil]
|
|
17
|
+
optional :id, Integer
|
|
18
|
+
|
|
19
|
+
# @!attribute _embedded
|
|
20
|
+
#
|
|
21
|
+
# @return [Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded, nil]
|
|
22
|
+
optional :_embedded, -> { Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded }
|
|
23
|
+
|
|
24
|
+
# @!attribute _links
|
|
25
|
+
#
|
|
26
|
+
# @return [Object, nil]
|
|
27
|
+
optional :_links, Amocrm::Internal::Type::Unknown
|
|
28
|
+
|
|
29
|
+
# @!attribute amojo_id
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
optional :amojo_id, String
|
|
33
|
+
|
|
34
|
+
# @!attribute contact_name_display_order
|
|
35
|
+
#
|
|
36
|
+
# @return [Integer, nil]
|
|
37
|
+
optional :contact_name_display_order, Integer
|
|
38
|
+
|
|
39
|
+
# @!attribute country
|
|
40
|
+
#
|
|
41
|
+
# @return [String, nil]
|
|
42
|
+
optional :country, String
|
|
43
|
+
|
|
44
|
+
# @!attribute created_at
|
|
45
|
+
#
|
|
46
|
+
# @return [Integer, nil]
|
|
47
|
+
optional :created_at, Integer
|
|
48
|
+
|
|
49
|
+
# @!attribute created_by
|
|
50
|
+
#
|
|
51
|
+
# @return [Integer, nil]
|
|
52
|
+
optional :created_by, Integer
|
|
53
|
+
|
|
54
|
+
# @!attribute currency
|
|
55
|
+
#
|
|
56
|
+
# @return [String, nil]
|
|
57
|
+
optional :currency, String
|
|
58
|
+
|
|
59
|
+
# @!attribute currency_symbol
|
|
60
|
+
#
|
|
61
|
+
# @return [String, nil]
|
|
62
|
+
optional :currency_symbol, String
|
|
63
|
+
|
|
64
|
+
# @!attribute current_user_id
|
|
65
|
+
#
|
|
66
|
+
# @return [Integer, nil]
|
|
67
|
+
optional :current_user_id, Integer
|
|
68
|
+
|
|
69
|
+
# @!attribute customers_mode
|
|
70
|
+
#
|
|
71
|
+
# @return [Symbol, String, Amocrm::Models::V4AccountGetResponse::AccountInfo::CustomersMode, nil]
|
|
72
|
+
optional :customers_mode, union: -> { Amocrm::Models::V4AccountGetResponse::AccountInfo::CustomersMode }
|
|
73
|
+
|
|
74
|
+
# @!attribute drive_url
|
|
75
|
+
#
|
|
76
|
+
# @return [String, nil]
|
|
77
|
+
optional :drive_url, String
|
|
78
|
+
|
|
79
|
+
# @!attribute invoices_settings
|
|
80
|
+
#
|
|
81
|
+
# @return [Amocrm::Models::V4AccountGetResponse::AccountInfo::InvoicesSettings, nil]
|
|
82
|
+
optional :invoices_settings, -> { Amocrm::Models::V4AccountGetResponse::AccountInfo::InvoicesSettings }
|
|
83
|
+
|
|
84
|
+
# @!attribute is_api_filter_enabled
|
|
85
|
+
#
|
|
86
|
+
# @return [Boolean, nil]
|
|
87
|
+
optional :is_api_filter_enabled, Amocrm::Internal::Type::Boolean
|
|
88
|
+
|
|
89
|
+
# @!attribute is_helpbot_enabled
|
|
90
|
+
#
|
|
91
|
+
# @return [Boolean, nil]
|
|
92
|
+
optional :is_helpbot_enabled, Amocrm::Internal::Type::Boolean
|
|
93
|
+
|
|
94
|
+
# @!attribute is_loss_reason_enabled
|
|
95
|
+
#
|
|
96
|
+
# @return [Boolean, nil]
|
|
97
|
+
optional :is_loss_reason_enabled, Amocrm::Internal::Type::Boolean
|
|
98
|
+
|
|
99
|
+
# @!attribute is_technical_account
|
|
100
|
+
#
|
|
101
|
+
# @return [Boolean, nil]
|
|
102
|
+
optional :is_technical_account, Amocrm::Internal::Type::Boolean
|
|
103
|
+
|
|
104
|
+
# @!attribute is_unsorted_on
|
|
105
|
+
#
|
|
106
|
+
# @return [Boolean, nil]
|
|
107
|
+
optional :is_unsorted_on, Amocrm::Internal::Type::Boolean
|
|
108
|
+
|
|
109
|
+
# @!attribute mobile_feature_version
|
|
110
|
+
#
|
|
111
|
+
# @return [Integer, nil]
|
|
112
|
+
optional :mobile_feature_version, Integer
|
|
113
|
+
|
|
114
|
+
# @!attribute name
|
|
115
|
+
#
|
|
116
|
+
# @return [String, nil]
|
|
117
|
+
optional :name, String
|
|
118
|
+
|
|
119
|
+
# @!attribute subdomain
|
|
120
|
+
#
|
|
121
|
+
# @return [String, nil]
|
|
122
|
+
optional :subdomain, String
|
|
123
|
+
|
|
124
|
+
# @!attribute updated_at
|
|
125
|
+
#
|
|
126
|
+
# @return [Integer, nil]
|
|
127
|
+
optional :updated_at, Integer
|
|
128
|
+
|
|
129
|
+
# @!attribute updated_by
|
|
130
|
+
#
|
|
131
|
+
# @return [Integer, nil]
|
|
132
|
+
optional :updated_by, Integer
|
|
133
|
+
|
|
134
|
+
# @!attribute uuid
|
|
135
|
+
#
|
|
136
|
+
# @return [String, nil]
|
|
137
|
+
optional :uuid, String
|
|
138
|
+
|
|
139
|
+
# @!attribute version
|
|
140
|
+
#
|
|
141
|
+
# @return [Integer, nil]
|
|
142
|
+
optional :version, Integer
|
|
143
|
+
|
|
144
|
+
# @!method initialize(id: nil, _embedded: nil, _links: nil, amojo_id: nil, contact_name_display_order: nil, country: nil, created_at: nil, created_by: nil, currency: nil, currency_symbol: nil, current_user_id: nil, customers_mode: nil, drive_url: nil, invoices_settings: nil, is_api_filter_enabled: nil, is_helpbot_enabled: nil, is_loss_reason_enabled: nil, is_technical_account: nil, is_unsorted_on: nil, mobile_feature_version: nil, name: nil, subdomain: nil, updated_at: nil, updated_by: nil, uuid: nil, version: nil)
|
|
145
|
+
# @param id [Integer]
|
|
146
|
+
# @param _embedded [Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded]
|
|
147
|
+
# @param _links [Object]
|
|
148
|
+
# @param amojo_id [String]
|
|
149
|
+
# @param contact_name_display_order [Integer]
|
|
150
|
+
# @param country [String]
|
|
151
|
+
# @param created_at [Integer]
|
|
152
|
+
# @param created_by [Integer]
|
|
153
|
+
# @param currency [String]
|
|
154
|
+
# @param currency_symbol [String]
|
|
155
|
+
# @param current_user_id [Integer]
|
|
156
|
+
# @param customers_mode [Symbol, String, Amocrm::Models::V4AccountGetResponse::AccountInfo::CustomersMode]
|
|
157
|
+
# @param drive_url [String]
|
|
158
|
+
# @param invoices_settings [Amocrm::Models::V4AccountGetResponse::AccountInfo::InvoicesSettings]
|
|
159
|
+
# @param is_api_filter_enabled [Boolean]
|
|
160
|
+
# @param is_helpbot_enabled [Boolean]
|
|
161
|
+
# @param is_loss_reason_enabled [Boolean]
|
|
162
|
+
# @param is_technical_account [Boolean]
|
|
163
|
+
# @param is_unsorted_on [Boolean]
|
|
164
|
+
# @param mobile_feature_version [Integer]
|
|
165
|
+
# @param name [String]
|
|
166
|
+
# @param subdomain [String]
|
|
167
|
+
# @param updated_at [Integer]
|
|
168
|
+
# @param updated_by [Integer]
|
|
169
|
+
# @param uuid [String]
|
|
170
|
+
# @param version [Integer]
|
|
171
|
+
|
|
172
|
+
# @see Amocrm::Models::V4AccountGetResponse::AccountInfo#_embedded
|
|
173
|
+
class Embedded < Amocrm::Internal::Type::BaseModel
|
|
174
|
+
# @!attribute amojo_rights
|
|
175
|
+
#
|
|
176
|
+
# @return [Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::AmojoRights, nil]
|
|
177
|
+
optional :amojo_rights, -> { Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::AmojoRights }
|
|
178
|
+
|
|
179
|
+
# @!attribute datetime_settings
|
|
180
|
+
#
|
|
181
|
+
# @return [Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::DatetimeSettings, nil]
|
|
182
|
+
optional :datetime_settings,
|
|
183
|
+
-> { Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::DatetimeSettings }
|
|
184
|
+
|
|
185
|
+
# @!attribute task_types
|
|
186
|
+
#
|
|
187
|
+
# @return [Array<Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::TaskType>, nil]
|
|
188
|
+
optional :task_types,
|
|
189
|
+
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::TaskType] }
|
|
190
|
+
|
|
191
|
+
# @!attribute users_groups
|
|
192
|
+
#
|
|
193
|
+
# @return [Array<Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::UsersGroup>, nil]
|
|
194
|
+
optional :users_groups,
|
|
195
|
+
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::UsersGroup] }
|
|
196
|
+
|
|
197
|
+
# @!method initialize(amojo_rights: nil, datetime_settings: nil, task_types: nil, users_groups: nil)
|
|
198
|
+
# @param amojo_rights [Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::AmojoRights]
|
|
199
|
+
# @param datetime_settings [Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::DatetimeSettings]
|
|
200
|
+
# @param task_types [Array<Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::TaskType>]
|
|
201
|
+
# @param users_groups [Array<Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded::UsersGroup>]
|
|
202
|
+
|
|
203
|
+
# @see Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded#amojo_rights
|
|
204
|
+
class AmojoRights < Amocrm::Internal::Type::BaseModel
|
|
205
|
+
# @!attribute can_create_groups
|
|
206
|
+
#
|
|
207
|
+
# @return [Boolean, nil]
|
|
208
|
+
optional :can_create_groups, Amocrm::Internal::Type::Boolean
|
|
209
|
+
|
|
210
|
+
# @!attribute can_direct
|
|
211
|
+
#
|
|
212
|
+
# @return [Boolean, nil]
|
|
213
|
+
optional :can_direct, Amocrm::Internal::Type::Boolean
|
|
214
|
+
|
|
215
|
+
# @!method initialize(can_create_groups: nil, can_direct: nil)
|
|
216
|
+
# @param can_create_groups [Boolean]
|
|
217
|
+
# @param can_direct [Boolean]
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# @see Amocrm::Models::V4AccountGetResponse::AccountInfo::Embedded#datetime_settings
|
|
221
|
+
class DatetimeSettings < Amocrm::Internal::Type::BaseModel
|
|
222
|
+
# @!attribute date_format
|
|
223
|
+
#
|
|
224
|
+
# @return [String, nil]
|
|
225
|
+
optional :date_format, String
|
|
226
|
+
|
|
227
|
+
# @!attribute date_pattern
|
|
228
|
+
#
|
|
229
|
+
# @return [String, nil]
|
|
230
|
+
optional :date_pattern, String
|
|
231
|
+
|
|
232
|
+
# @!attribute short_date_pattern
|
|
233
|
+
#
|
|
234
|
+
# @return [String, nil]
|
|
235
|
+
optional :short_date_pattern, String
|
|
236
|
+
|
|
237
|
+
# @!attribute short_time_pattern
|
|
238
|
+
#
|
|
239
|
+
# @return [String, nil]
|
|
240
|
+
optional :short_time_pattern, String
|
|
241
|
+
|
|
242
|
+
# @!attribute time_format
|
|
243
|
+
#
|
|
244
|
+
# @return [String, nil]
|
|
245
|
+
optional :time_format, String
|
|
246
|
+
|
|
247
|
+
# @!attribute timezone
|
|
248
|
+
#
|
|
249
|
+
# @return [String, nil]
|
|
250
|
+
optional :timezone, String
|
|
251
|
+
|
|
252
|
+
# @!attribute timezone_offset
|
|
253
|
+
#
|
|
254
|
+
# @return [String, nil]
|
|
255
|
+
optional :timezone_offset, String
|
|
256
|
+
|
|
257
|
+
# @!method initialize(date_format: nil, date_pattern: nil, short_date_pattern: nil, short_time_pattern: nil, time_format: nil, timezone: nil, timezone_offset: nil)
|
|
258
|
+
# @param date_format [String]
|
|
259
|
+
# @param date_pattern [String]
|
|
260
|
+
# @param short_date_pattern [String]
|
|
261
|
+
# @param short_time_pattern [String]
|
|
262
|
+
# @param time_format [String]
|
|
263
|
+
# @param timezone [String]
|
|
264
|
+
# @param timezone_offset [String]
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
class TaskType < Amocrm::Internal::Type::BaseModel
|
|
268
|
+
# @!attribute id
|
|
269
|
+
#
|
|
270
|
+
# @return [Integer, nil]
|
|
271
|
+
optional :id, Integer
|
|
272
|
+
|
|
273
|
+
# @!attribute code
|
|
274
|
+
#
|
|
275
|
+
# @return [String, nil]
|
|
276
|
+
optional :code, String
|
|
277
|
+
|
|
278
|
+
# @!attribute color
|
|
279
|
+
#
|
|
280
|
+
# @return [String, nil]
|
|
281
|
+
optional :color, String
|
|
282
|
+
|
|
283
|
+
# @!attribute icon_id
|
|
284
|
+
#
|
|
285
|
+
# @return [Integer, nil]
|
|
286
|
+
optional :icon_id, Integer
|
|
287
|
+
|
|
288
|
+
# @!attribute name
|
|
289
|
+
#
|
|
290
|
+
# @return [String, nil]
|
|
291
|
+
optional :name, String
|
|
292
|
+
|
|
293
|
+
# @!method initialize(id: nil, code: nil, color: nil, icon_id: nil, name: nil)
|
|
294
|
+
# @param id [Integer]
|
|
295
|
+
# @param code [String]
|
|
296
|
+
# @param color [String]
|
|
297
|
+
# @param icon_id [Integer]
|
|
298
|
+
# @param name [String]
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
class UsersGroup < Amocrm::Internal::Type::BaseModel
|
|
302
|
+
# @!attribute id
|
|
303
|
+
#
|
|
304
|
+
# @return [Integer, nil]
|
|
305
|
+
optional :id, Integer
|
|
306
|
+
|
|
307
|
+
# @!attribute name
|
|
308
|
+
#
|
|
309
|
+
# @return [String, nil]
|
|
310
|
+
optional :name, String
|
|
311
|
+
|
|
312
|
+
# @!attribute uuid
|
|
313
|
+
#
|
|
314
|
+
# @return [String, nil]
|
|
315
|
+
optional :uuid, String
|
|
316
|
+
|
|
317
|
+
# @!method initialize(id: nil, name: nil, uuid: nil)
|
|
318
|
+
# @param id [Integer]
|
|
319
|
+
# @param name [String]
|
|
320
|
+
# @param uuid [String]
|
|
321
|
+
end
|
|
322
|
+
end
|
|
323
|
+
|
|
324
|
+
# @see Amocrm::Models::V4AccountGetResponse::AccountInfo#customers_mode
|
|
325
|
+
module CustomersMode
|
|
326
|
+
extend Amocrm::Internal::Type::Union
|
|
327
|
+
|
|
328
|
+
variant const: -> { Amocrm::Models::V4AccountGetResponse::AccountInfo::CustomersMode::PERIODICITY }
|
|
329
|
+
|
|
330
|
+
variant const: -> { Amocrm::Models::V4AccountGetResponse::AccountInfo::CustomersMode::DYNAMIC }
|
|
331
|
+
|
|
332
|
+
variant const: -> { Amocrm::Models::V4AccountGetResponse::AccountInfo::CustomersMode::SEGMENTS }
|
|
333
|
+
|
|
334
|
+
variant const: -> { Amocrm::Models::V4AccountGetResponse::AccountInfo::CustomersMode::DISABLED }
|
|
335
|
+
|
|
336
|
+
variant const: -> { Amocrm::Models::V4AccountGetResponse::AccountInfo::CustomersMode::UNAVAILABLE }
|
|
337
|
+
|
|
338
|
+
variant String
|
|
339
|
+
|
|
340
|
+
# @!method self.variants
|
|
341
|
+
# @return [Array(Symbol, String)]
|
|
342
|
+
|
|
343
|
+
define_sorbet_constant!(:Variants) do
|
|
344
|
+
T.type_alias { T.any(Amocrm::Models::V4AccountGetResponse::AccountInfo::CustomersMode::TaggedSymbol, String) }
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
# @!group
|
|
348
|
+
|
|
349
|
+
PERIODICITY = :periodicity
|
|
350
|
+
DYNAMIC = :dynamic
|
|
351
|
+
SEGMENTS = :segments
|
|
352
|
+
DISABLED = :disabled
|
|
353
|
+
UNAVAILABLE = :unavailable
|
|
354
|
+
|
|
355
|
+
# @!endgroup
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
# @see Amocrm::Models::V4AccountGetResponse::AccountInfo#invoices_settings
|
|
359
|
+
class InvoicesSettings < Amocrm::Internal::Type::BaseModel
|
|
360
|
+
# @!attribute invoices_catalog_id
|
|
361
|
+
#
|
|
362
|
+
# @return [Integer, nil]
|
|
363
|
+
optional :invoices_catalog_id, Integer
|
|
364
|
+
|
|
365
|
+
# @!attribute lang
|
|
366
|
+
#
|
|
367
|
+
# @return [String, nil]
|
|
368
|
+
optional :lang, String
|
|
369
|
+
|
|
370
|
+
# @!method initialize(invoices_catalog_id: nil, lang: nil)
|
|
371
|
+
# @param invoices_catalog_id [Integer]
|
|
372
|
+
# @param lang [String]
|
|
373
|
+
end
|
|
374
|
+
end
|
|
375
|
+
|
|
376
|
+
class Problem < Amocrm::Internal::Type::BaseModel
|
|
377
|
+
# @!attribute detail
|
|
378
|
+
#
|
|
379
|
+
# @return [String, nil]
|
|
380
|
+
optional :detail, String
|
|
381
|
+
|
|
382
|
+
# @!attribute status
|
|
383
|
+
#
|
|
384
|
+
# @return [Integer, nil]
|
|
385
|
+
optional :status, Integer
|
|
386
|
+
|
|
387
|
+
# @!attribute title
|
|
388
|
+
#
|
|
389
|
+
# @return [String, nil]
|
|
390
|
+
optional :title, String
|
|
391
|
+
|
|
392
|
+
# @!attribute type
|
|
393
|
+
#
|
|
394
|
+
# @return [String, nil]
|
|
395
|
+
optional :type, String
|
|
396
|
+
|
|
397
|
+
# @!method initialize(detail: nil, status: nil, title: nil, type: nil)
|
|
398
|
+
# @param detail [String]
|
|
399
|
+
# @param status [Integer]
|
|
400
|
+
# @param title [String]
|
|
401
|
+
# @param type [String]
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
# @!method self.variants
|
|
405
|
+
# @return [Array(Amocrm::Models::V4AccountGetResponse::AccountInfo, Amocrm::Models::V4AccountGetResponse::Problem)]
|
|
406
|
+
end
|
|
407
|
+
end
|
|
408
|
+
end
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Amocrm
|
|
4
|
+
module Models
|
|
5
|
+
# @see Amocrm::Resources::V4#calls_create
|
|
6
|
+
class V4CallsCreateParams < Amocrm::Internal::Type::BaseModel
|
|
7
|
+
extend Amocrm::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Amocrm::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute body
|
|
11
|
+
#
|
|
12
|
+
# @return [Array<Amocrm::Models::V4CallsCreateParams::Body>]
|
|
13
|
+
required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::V4CallsCreateParams::Body] }
|
|
14
|
+
|
|
15
|
+
# @!method initialize(body:, request_options: {})
|
|
16
|
+
# @param body [Array<Amocrm::Models::V4CallsCreateParams::Body>]
|
|
17
|
+
# @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
|
|
18
|
+
|
|
19
|
+
class Body < Amocrm::Internal::Type::BaseModel
|
|
20
|
+
# @!attribute direction
|
|
21
|
+
#
|
|
22
|
+
# @return [Symbol, String, Amocrm::Models::V4CallsCreateParams::Body::Direction]
|
|
23
|
+
required :direction, union: -> { Amocrm::V4CallsCreateParams::Body::Direction }
|
|
24
|
+
|
|
25
|
+
# @!attribute duration
|
|
26
|
+
#
|
|
27
|
+
# @return [Integer]
|
|
28
|
+
required :duration, Integer
|
|
29
|
+
|
|
30
|
+
# @!attribute phone
|
|
31
|
+
#
|
|
32
|
+
# @return [String]
|
|
33
|
+
required :phone, String
|
|
34
|
+
|
|
35
|
+
# @!attribute source
|
|
36
|
+
#
|
|
37
|
+
# @return [String]
|
|
38
|
+
required :source, String
|
|
39
|
+
|
|
40
|
+
# @!attribute call_responsible
|
|
41
|
+
#
|
|
42
|
+
# @return [String, Integer, nil]
|
|
43
|
+
optional :call_responsible,
|
|
44
|
+
union: -> {
|
|
45
|
+
Amocrm::V4CallsCreateParams::Body::CallResponsible
|
|
46
|
+
},
|
|
47
|
+
nil?: true
|
|
48
|
+
|
|
49
|
+
# @!attribute call_result
|
|
50
|
+
#
|
|
51
|
+
# @return [String, nil]
|
|
52
|
+
optional :call_result, String
|
|
53
|
+
|
|
54
|
+
# @!attribute call_status
|
|
55
|
+
#
|
|
56
|
+
# @return [Integer, nil]
|
|
57
|
+
optional :call_status, Integer
|
|
58
|
+
|
|
59
|
+
# @!attribute created_at
|
|
60
|
+
#
|
|
61
|
+
# @return [Integer, nil]
|
|
62
|
+
optional :created_at, Integer
|
|
63
|
+
|
|
64
|
+
# @!attribute created_by
|
|
65
|
+
#
|
|
66
|
+
# @return [Integer, nil]
|
|
67
|
+
optional :created_by, Integer
|
|
68
|
+
|
|
69
|
+
# @!attribute link
|
|
70
|
+
#
|
|
71
|
+
# @return [String, nil]
|
|
72
|
+
optional :link, String
|
|
73
|
+
|
|
74
|
+
# @!attribute request_id
|
|
75
|
+
#
|
|
76
|
+
# @return [String, nil]
|
|
77
|
+
optional :request_id, String
|
|
78
|
+
|
|
79
|
+
# @!attribute responsible_user_id
|
|
80
|
+
#
|
|
81
|
+
# @return [Integer, nil]
|
|
82
|
+
optional :responsible_user_id, Integer
|
|
83
|
+
|
|
84
|
+
# @!attribute uniq
|
|
85
|
+
#
|
|
86
|
+
# @return [String, nil]
|
|
87
|
+
optional :uniq, String
|
|
88
|
+
|
|
89
|
+
# @!attribute updated_at
|
|
90
|
+
#
|
|
91
|
+
# @return [Integer, nil]
|
|
92
|
+
optional :updated_at, Integer
|
|
93
|
+
|
|
94
|
+
# @!attribute updated_by
|
|
95
|
+
#
|
|
96
|
+
# @return [Integer, nil]
|
|
97
|
+
optional :updated_by, Integer
|
|
98
|
+
|
|
99
|
+
# @!method initialize(direction:, duration:, phone:, source:, call_responsible: nil, call_result: nil, call_status: nil, created_at: nil, created_by: nil, link: nil, request_id: nil, responsible_user_id: nil, uniq: nil, updated_at: nil, updated_by: nil)
|
|
100
|
+
# @param direction [Symbol, String, Amocrm::Models::V4CallsCreateParams::Body::Direction]
|
|
101
|
+
# @param duration [Integer]
|
|
102
|
+
# @param phone [String]
|
|
103
|
+
# @param source [String]
|
|
104
|
+
# @param call_responsible [String, Integer, nil]
|
|
105
|
+
# @param call_result [String]
|
|
106
|
+
# @param call_status [Integer]
|
|
107
|
+
# @param created_at [Integer]
|
|
108
|
+
# @param created_by [Integer]
|
|
109
|
+
# @param link [String]
|
|
110
|
+
# @param request_id [String]
|
|
111
|
+
# @param responsible_user_id [Integer]
|
|
112
|
+
# @param uniq [String]
|
|
113
|
+
# @param updated_at [Integer]
|
|
114
|
+
# @param updated_by [Integer]
|
|
115
|
+
|
|
116
|
+
# @see Amocrm::Models::V4CallsCreateParams::Body#direction
|
|
117
|
+
module Direction
|
|
118
|
+
extend Amocrm::Internal::Type::Union
|
|
119
|
+
|
|
120
|
+
variant const: -> { Amocrm::Models::V4CallsCreateParams::Body::Direction::INBOUND }
|
|
121
|
+
|
|
122
|
+
variant const: -> { Amocrm::Models::V4CallsCreateParams::Body::Direction::OUTBOUND }
|
|
123
|
+
|
|
124
|
+
variant String
|
|
125
|
+
|
|
126
|
+
# @!method self.variants
|
|
127
|
+
# @return [Array(Symbol, String)]
|
|
128
|
+
|
|
129
|
+
define_sorbet_constant!(:Variants) do
|
|
130
|
+
T.type_alias { T.any(Amocrm::V4CallsCreateParams::Body::Direction::TaggedSymbol, String) }
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# @!group
|
|
134
|
+
|
|
135
|
+
INBOUND = :inbound
|
|
136
|
+
OUTBOUND = :outbound
|
|
137
|
+
|
|
138
|
+
# @!endgroup
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# @see Amocrm::Models::V4CallsCreateParams::Body#call_responsible
|
|
142
|
+
module CallResponsible
|
|
143
|
+
extend Amocrm::Internal::Type::Union
|
|
144
|
+
|
|
145
|
+
variant String
|
|
146
|
+
|
|
147
|
+
variant Integer
|
|
148
|
+
|
|
149
|
+
# @!method self.variants
|
|
150
|
+
# @return [Array(String, Integer)]
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
end
|