amocrm 0.3.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.
Files changed (883) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +42 -14
  4. data/lib/amocrm/client.rb +4 -0
  5. data/lib/amocrm/internal/type/union.rb +7 -7
  6. data/lib/amocrm/models/v2_salesbot_run_params.rb +42 -0
  7. data/lib/amocrm/models/v2_salesbot_run_response.rb +91 -0
  8. data/lib/amocrm/models/v4_account_get_params.rb +22 -0
  9. data/lib/amocrm/models/v4_account_get_response.rb +408 -0
  10. data/lib/amocrm/models/v4_calls_create_params.rb +155 -0
  11. data/lib/amocrm/models/v4_calls_create_response.rb +162 -0
  12. data/lib/amocrm/models/v4_catalog_elements_create_params.rb +100 -0
  13. data/lib/amocrm/models/v4_catalog_elements_create_response.rb +254 -0
  14. data/lib/amocrm/models/v4_catalog_elements_get_by_id_params.rb +29 -0
  15. data/lib/amocrm/models/v4_catalog_elements_get_by_id_response.rb +210 -0
  16. data/lib/amocrm/models/v4_catalog_elements_list_params.rb +49 -0
  17. data/lib/amocrm/models/v4_catalog_elements_list_response.rb +254 -0
  18. data/lib/amocrm/models/v4_catalog_elements_update_by_id_params.rb +96 -0
  19. data/lib/amocrm/models/v4_catalog_elements_update_by_id_response.rb +254 -0
  20. data/lib/amocrm/models/v4_catalog_elements_update_params.rb +106 -0
  21. data/lib/amocrm/models/v4_catalog_elements_update_response.rb +254 -0
  22. data/lib/amocrm/models/v4_catalogs_create_params.rb +88 -0
  23. data/lib/amocrm/models/v4_catalogs_create_response.rb +221 -0
  24. data/lib/amocrm/models/v4_catalogs_get_by_id_params.rb +14 -0
  25. data/lib/amocrm/models/v4_catalogs_get_by_id_response.rb +181 -0
  26. data/lib/amocrm/models/v4_catalogs_list_params.rb +26 -0
  27. data/lib/amocrm/models/v4_catalogs_list_response.rb +221 -0
  28. data/lib/amocrm/models/v4_catalogs_update_by_id_params.rb +44 -0
  29. data/lib/amocrm/models/v4_catalogs_update_by_id_response.rb +221 -0
  30. data/lib/amocrm/models/v4_catalogs_update_params.rb +60 -0
  31. data/lib/amocrm/models/v4_catalogs_update_response.rb +221 -0
  32. data/lib/amocrm/models/v4_companies_create_params.rb +225 -0
  33. data/lib/amocrm/models/v4_companies_create_response.rb +95 -0
  34. data/lib/amocrm/models/v4_companies_get_by_id_params.rb +22 -0
  35. data/lib/amocrm/models/v4_companies_get_by_id_response.rb +324 -0
  36. data/lib/amocrm/models/v4_companies_list_params.rb +74 -0
  37. data/lib/amocrm/models/v4_companies_list_response.rb +359 -0
  38. data/lib/amocrm/models/v4_companies_update_by_id_params.rb +236 -0
  39. data/lib/amocrm/models/v4_companies_update_by_id_response.rb +95 -0
  40. data/lib/amocrm/models/v4_companies_update_params.rb +256 -0
  41. data/lib/amocrm/models/v4_companies_update_response.rb +95 -0
  42. data/lib/amocrm/models/v4_contact_chats_link_params.rb +42 -0
  43. data/lib/amocrm/models/v4_contact_chats_link_response.rb +95 -0
  44. data/lib/amocrm/models/v4_contact_chats_list_params.rb +20 -0
  45. data/lib/amocrm/models/v4_contact_chats_list_response.rb +95 -0
  46. data/lib/amocrm/models/v4_contacts_create_params.rb +239 -0
  47. data/lib/amocrm/models/v4_contacts_create_response.rb +95 -0
  48. data/lib/amocrm/models/v4_contacts_get_by_id_params.rb +22 -0
  49. data/lib/amocrm/models/v4_contacts_get_by_id_response.rb +348 -0
  50. data/lib/amocrm/models/v4_contacts_list_params.rb +74 -0
  51. data/lib/amocrm/models/v4_contacts_list_response.rb +383 -0
  52. data/lib/amocrm/models/v4_contacts_update_by_id_params.rb +250 -0
  53. data/lib/amocrm/models/v4_contacts_update_by_id_response.rb +95 -0
  54. data/lib/amocrm/models/v4_contacts_update_params.rb +270 -0
  55. data/lib/amocrm/models/v4_contacts_update_response.rb +95 -0
  56. data/lib/amocrm/models/v4_custom_field_groups_create_params.rb +45 -0
  57. data/lib/amocrm/models/v4_custom_field_groups_create_response.rb +96 -0
  58. data/lib/amocrm/models/v4_custom_field_groups_delete_by_id_params.rb +20 -0
  59. data/lib/amocrm/models/v4_custom_field_groups_delete_by_id_response.rb +45 -0
  60. data/lib/amocrm/models/v4_custom_field_groups_get_by_id_params.rb +20 -0
  61. data/lib/amocrm/models/v4_custom_field_groups_get_by_id_response.rb +73 -0
  62. data/lib/amocrm/models/v4_custom_field_groups_list_params.rb +26 -0
  63. data/lib/amocrm/models/v4_custom_field_groups_list_response.rb +108 -0
  64. data/lib/amocrm/models/v4_custom_field_groups_update_by_id_params.rb +32 -0
  65. data/lib/amocrm/models/v4_custom_field_groups_update_by_id_response.rb +45 -0
  66. data/lib/amocrm/models/v4_custom_fields_create_params.rb +108 -0
  67. data/lib/amocrm/models/v4_custom_fields_create_response.rb +96 -0
  68. data/lib/amocrm/models/v4_custom_fields_delete_by_id_params.rb +20 -0
  69. data/lib/amocrm/models/v4_custom_fields_delete_by_id_response.rb +45 -0
  70. data/lib/amocrm/models/v4_custom_fields_get_by_id_params.rb +20 -0
  71. data/lib/amocrm/models/v4_custom_fields_get_by_id_response.rb +127 -0
  72. data/lib/amocrm/models/v4_custom_fields_list_params.rb +26 -0
  73. data/lib/amocrm/models/v4_custom_fields_list_response.rb +161 -0
  74. data/lib/amocrm/models/v4_custom_fields_update_by_id_params.rb +86 -0
  75. data/lib/amocrm/models/v4_custom_fields_update_by_id_response.rb +45 -0
  76. data/lib/amocrm/models/v4_custom_fields_update_params.rb +108 -0
  77. data/lib/amocrm/models/v4_custom_fields_update_response.rb +45 -0
  78. data/lib/amocrm/models/v4_customer_bonus_points_change_params.rb +26 -0
  79. data/lib/amocrm/models/v4_customer_bonus_points_change_response.rb +55 -0
  80. data/lib/amocrm/models/v4_customer_segments_create_params.rb +118 -0
  81. data/lib/amocrm/models/v4_customer_segments_create_response.rb +96 -0
  82. data/lib/amocrm/models/v4_customer_segments_delete_by_id_params.rb +14 -0
  83. data/lib/amocrm/models/v4_customer_segments_delete_by_id_response.rb +45 -0
  84. data/lib/amocrm/models/v4_customer_segments_get_by_id_params.rb +14 -0
  85. data/lib/amocrm/models/v4_customer_segments_get_by_id_response.rb +162 -0
  86. data/lib/amocrm/models/v4_customer_segments_list_params.rb +14 -0
  87. data/lib/amocrm/models/v4_customer_segments_list_response.rb +199 -0
  88. data/lib/amocrm/models/v4_customer_segments_update_by_id_params.rb +101 -0
  89. data/lib/amocrm/models/v4_customer_segments_update_by_id_response.rb +45 -0
  90. data/lib/amocrm/models/v4_customer_statuses_create_params.rb +48 -0
  91. data/lib/amocrm/models/v4_customer_statuses_create_response.rb +96 -0
  92. data/lib/amocrm/models/v4_customer_statuses_delete_by_id_params.rb +14 -0
  93. data/lib/amocrm/models/v4_customer_statuses_delete_by_id_response.rb +45 -0
  94. data/lib/amocrm/models/v4_customer_statuses_get_by_id_params.rb +14 -0
  95. data/lib/amocrm/models/v4_customer_statuses_get_by_id_response.rb +79 -0
  96. data/lib/amocrm/models/v4_customer_statuses_list_params.rb +14 -0
  97. data/lib/amocrm/models/v4_customer_statuses_list_response.rb +108 -0
  98. data/lib/amocrm/models/v4_customer_statuses_update_by_id_params.rb +32 -0
  99. data/lib/amocrm/models/v4_customer_statuses_update_by_id_response.rb +45 -0
  100. data/lib/amocrm/models/v4_customer_transactions_create_params.rb +60 -0
  101. data/lib/amocrm/models/v4_customer_transactions_create_response.rb +100 -0
  102. data/lib/amocrm/models/v4_customer_transactions_delete_by_id_params.rb +20 -0
  103. data/lib/amocrm/models/v4_customer_transactions_delete_by_id_response.rb +45 -0
  104. data/lib/amocrm/models/v4_customer_transactions_list_by_customer_params.rb +32 -0
  105. data/lib/amocrm/models/v4_customer_transactions_list_by_customer_response.rb +130 -0
  106. data/lib/amocrm/models/v4_customer_transactions_list_params.rb +32 -0
  107. data/lib/amocrm/models/v4_customer_transactions_list_response.rb +126 -0
  108. data/lib/amocrm/models/v4_customers_create_params.rb +257 -0
  109. data/lib/amocrm/models/v4_customers_create_response.rb +95 -0
  110. data/lib/amocrm/models/v4_customers_get_by_id_params.rb +22 -0
  111. data/lib/amocrm/models/v4_customers_get_by_id_response.rb +378 -0
  112. data/lib/amocrm/models/v4_customers_list_params.rb +68 -0
  113. data/lib/amocrm/models/v4_customers_list_response.rb +421 -0
  114. data/lib/amocrm/models/v4_customers_mode_set_mode_params.rb +36 -0
  115. data/lib/amocrm/models/v4_customers_mode_set_mode_response.rb +72 -0
  116. data/lib/amocrm/models/v4_customers_update_by_id_params.rb +267 -0
  117. data/lib/amocrm/models/v4_customers_update_by_id_response.rb +96 -0
  118. data/lib/amocrm/models/v4_customers_update_params.rb +286 -0
  119. data/lib/amocrm/models/v4_customers_update_response.rb +95 -0
  120. data/lib/amocrm/models/v4_entity_followers_add_params.rb +48 -0
  121. data/lib/amocrm/models/v4_entity_followers_add_response.rb +90 -0
  122. data/lib/amocrm/models/v4_entity_followers_list_params.rb +44 -0
  123. data/lib/amocrm/models/v4_entity_followers_list_response.rb +114 -0
  124. data/lib/amocrm/models/v4_entity_followers_remove_params.rb +48 -0
  125. data/lib/amocrm/models/v4_entity_followers_remove_response.rb +61 -0
  126. data/lib/amocrm/models/v4_entity_links_link_by_entity_params.rb +134 -0
  127. data/lib/amocrm/models/v4_entity_links_link_by_entity_response.rb +61 -0
  128. data/lib/amocrm/models/v4_entity_links_link_params.rb +128 -0
  129. data/lib/amocrm/models/v4_entity_links_link_response.rb +61 -0
  130. data/lib/amocrm/models/v4_entity_links_list_by_entity_params.rb +32 -0
  131. data/lib/amocrm/models/v4_entity_links_list_by_entity_response.rb +182 -0
  132. data/lib/amocrm/models/v4_entity_links_list_params.rb +32 -0
  133. data/lib/amocrm/models/v4_entity_links_list_response.rb +181 -0
  134. data/lib/amocrm/models/v4_entity_links_unlink_by_entity_params.rb +134 -0
  135. data/lib/amocrm/models/v4_entity_links_unlink_by_entity_response.rb +61 -0
  136. data/lib/amocrm/models/v4_entity_links_unlink_params.rb +128 -0
  137. data/lib/amocrm/models/v4_entity_links_unlink_response.rb +61 -0
  138. data/lib/amocrm/models/v4_entity_notes_by_parent_create_by_parent_params.rb +106 -0
  139. data/lib/amocrm/models/v4_entity_notes_by_parent_create_by_parent_response.rb +108 -0
  140. data/lib/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_params.rb +44 -0
  141. data/lib/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_response.rb +127 -0
  142. data/lib/amocrm/models/v4_entity_notes_by_parent_list_by_parent_params.rb +50 -0
  143. data/lib/amocrm/models/v4_entity_notes_by_parent_list_by_parent_response.rb +162 -0
  144. data/lib/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_params.rb +62 -0
  145. data/lib/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_response.rb +108 -0
  146. data/lib/amocrm/models/v4_entity_notes_by_parent_update_by_parent_params.rb +85 -0
  147. data/lib/amocrm/models/v4_entity_notes_by_parent_update_by_parent_response.rb +108 -0
  148. data/lib/amocrm/models/v4_entity_notes_create_params.rb +99 -0
  149. data/lib/amocrm/models/v4_entity_notes_create_response.rb +107 -0
  150. data/lib/amocrm/models/v4_entity_notes_get_by_id_params.rb +38 -0
  151. data/lib/amocrm/models/v4_entity_notes_get_by_id_response.rb +127 -0
  152. data/lib/amocrm/models/v4_entity_notes_list_params.rb +44 -0
  153. data/lib/amocrm/models/v4_entity_notes_list_response.rb +161 -0
  154. data/lib/amocrm/models/v4_entity_notes_pin_params.rb +32 -0
  155. data/lib/amocrm/models/v4_entity_notes_pin_response.rb +61 -0
  156. data/lib/amocrm/models/v4_entity_notes_unpin_params.rb +32 -0
  157. data/lib/amocrm/models/v4_entity_notes_unpin_response.rb +61 -0
  158. data/lib/amocrm/models/v4_entity_notes_update_by_id_params.rb +62 -0
  159. data/lib/amocrm/models/v4_entity_notes_update_by_id_response.rb +107 -0
  160. data/lib/amocrm/models/v4_entity_notes_update_params.rb +78 -0
  161. data/lib/amocrm/models/v4_entity_notes_update_response.rb +107 -0
  162. data/lib/amocrm/models/v4_events_get_by_id_params.rb +20 -0
  163. data/lib/amocrm/models/v4_events_get_by_id_response.rb +103 -0
  164. data/lib/amocrm/models/v4_events_list_params.rb +38 -0
  165. data/lib/amocrm/models/v4_events_list_response.rb +137 -0
  166. data/lib/amocrm/models/v4_events_list_types_params.rb +20 -0
  167. data/lib/amocrm/models/v4_events_list_types_response.rb +66 -0
  168. data/lib/amocrm/models/v4_leads_create_complex_params.rb +568 -0
  169. data/lib/amocrm/models/v4_leads_create_complex_response.rb +108 -0
  170. data/lib/amocrm/models/v4_leads_create_params.rb +566 -0
  171. data/lib/amocrm/models/v4_leads_create_response.rb +95 -0
  172. data/lib/amocrm/models/v4_leads_get_by_id_params.rb +22 -0
  173. data/lib/amocrm/models/v4_leads_get_by_id_response.rb +427 -0
  174. data/lib/amocrm/models/v4_leads_list_params.rb +74 -0
  175. data/lib/amocrm/models/v4_leads_list_response.rb +464 -0
  176. data/lib/amocrm/models/v4_leads_update_by_id_params.rb +546 -0
  177. data/lib/amocrm/models/v4_leads_update_by_id_response.rb +95 -0
  178. data/lib/amocrm/models/v4_leads_update_params.rb +565 -0
  179. data/lib/amocrm/models/v4_leads_update_response.rb +95 -0
  180. data/lib/amocrm/models/v4_pipeline_statuses_create_params.rb +77 -0
  181. data/lib/amocrm/models/v4_pipeline_statuses_create_response.rb +96 -0
  182. data/lib/amocrm/models/v4_pipeline_statuses_delete_by_id_params.rb +20 -0
  183. data/lib/amocrm/models/v4_pipeline_statuses_delete_by_id_response.rb +61 -0
  184. data/lib/amocrm/models/v4_pipeline_statuses_get_by_id_params.rb +29 -0
  185. data/lib/amocrm/models/v4_pipeline_statuses_get_by_id_response.rb +169 -0
  186. data/lib/amocrm/models/v4_pipeline_statuses_list_params.rb +22 -0
  187. data/lib/amocrm/models/v4_pipeline_statuses_list_response.rb +197 -0
  188. data/lib/amocrm/models/v4_pipeline_statuses_update_by_id_params.rb +73 -0
  189. data/lib/amocrm/models/v4_pipeline_statuses_update_by_id_response.rb +102 -0
  190. data/lib/amocrm/models/v4_pipeline_statuses_update_params.rb +83 -0
  191. data/lib/amocrm/models/v4_pipeline_statuses_update_response.rb +102 -0
  192. data/lib/amocrm/models/v4_pipelines_create_params.rb +129 -0
  193. data/lib/amocrm/models/v4_pipelines_create_response.rb +95 -0
  194. data/lib/amocrm/models/v4_pipelines_delete_by_id_params.rb +14 -0
  195. data/lib/amocrm/models/v4_pipelines_delete_by_id_response.rb +61 -0
  196. data/lib/amocrm/models/v4_pipelines_get_by_id_params.rb +14 -0
  197. data/lib/amocrm/models/v4_pipelines_get_by_id_response.rb +239 -0
  198. data/lib/amocrm/models/v4_pipelines_list_params.rb +14 -0
  199. data/lib/amocrm/models/v4_pipelines_list_response.rb +272 -0
  200. data/lib/amocrm/models/v4_pipelines_update_by_id_params.rb +50 -0
  201. data/lib/amocrm/models/v4_pipelines_update_by_id_response.rb +102 -0
  202. data/lib/amocrm/models/v4_pipelines_update_params.rb +66 -0
  203. data/lib/amocrm/models/v4_pipelines_update_response.rb +101 -0
  204. data/lib/amocrm/models/v4_roles_create_params.rb +151 -0
  205. data/lib/amocrm/models/v4_roles_create_response.rb +249 -0
  206. data/lib/amocrm/models/v4_roles_delete_by_id_params.rb +14 -0
  207. data/lib/amocrm/models/v4_roles_delete_by_id_response.rb +61 -0
  208. data/lib/amocrm/models/v4_roles_get_by_id_params.rb +20 -0
  209. data/lib/amocrm/models/v4_roles_get_by_id_response.rb +208 -0
  210. data/lib/amocrm/models/v4_roles_list_params.rb +32 -0
  211. data/lib/amocrm/models/v4_roles_list_response.rb +255 -0
  212. data/lib/amocrm/models/v4_roles_update_by_id_params.rb +138 -0
  213. data/lib/amocrm/models/v4_roles_update_by_id_response.rb +208 -0
  214. data/lib/amocrm/models/v4_short_links_create_params.rb +20 -0
  215. data/lib/amocrm/models/v4_short_links_create_response.rb +55 -0
  216. data/lib/amocrm/models/v4_sources_create_params.rb +84 -0
  217. data/lib/amocrm/models/v4_sources_create_response.rb +171 -0
  218. data/lib/amocrm/models/v4_sources_delete_by_id_params.rb +14 -0
  219. data/lib/amocrm/models/v4_sources_delete_by_id_response.rb +61 -0
  220. data/lib/amocrm/models/v4_sources_delete_params.rb +30 -0
  221. data/lib/amocrm/models/v4_sources_delete_response.rb +61 -0
  222. data/lib/amocrm/models/v4_sources_get_by_id_params.rb +14 -0
  223. data/lib/amocrm/models/v4_sources_get_by_id_response.rb +129 -0
  224. data/lib/amocrm/models/v4_sources_list_params.rb +65 -0
  225. data/lib/amocrm/models/v4_sources_list_response.rb +165 -0
  226. data/lib/amocrm/models/v4_sources_update_by_id_params.rb +73 -0
  227. data/lib/amocrm/models/v4_sources_update_by_id_response.rb +171 -0
  228. data/lib/amocrm/models/v4_sources_update_params.rb +90 -0
  229. data/lib/amocrm/models/v4_sources_update_response.rb +171 -0
  230. data/lib/amocrm/models/v4_tags_create_params.rb +54 -0
  231. data/lib/amocrm/models/v4_tags_create_response.rb +101 -0
  232. data/lib/amocrm/models/v4_tags_list_params.rb +50 -0
  233. data/lib/amocrm/models/v4_tags_list_response.rb +101 -0
  234. data/lib/amocrm/models/v4_talks_close_params.rb +22 -0
  235. data/lib/amocrm/models/v4_talks_close_response.rb +61 -0
  236. data/lib/amocrm/models/v4_talks_get_by_id_params.rb +14 -0
  237. data/lib/amocrm/models/v4_talks_get_by_id_response.rb +213 -0
  238. data/lib/amocrm/models/v4_tasks_create_params.rb +87 -0
  239. data/lib/amocrm/models/v4_tasks_create_response.rb +95 -0
  240. data/lib/amocrm/models/v4_tasks_get_by_id_params.rb +14 -0
  241. data/lib/amocrm/models/v4_tasks_get_by_id_response.rb +173 -0
  242. data/lib/amocrm/models/v4_tasks_list_params.rb +66 -0
  243. data/lib/amocrm/models/v4_tasks_list_response.rb +208 -0
  244. data/lib/amocrm/models/v4_tasks_update_by_id_params.rb +72 -0
  245. data/lib/amocrm/models/v4_tasks_update_by_id_response.rb +95 -0
  246. data/lib/amocrm/models/v4_tasks_update_params.rb +98 -0
  247. data/lib/amocrm/models/v4_tasks_update_response.rb +95 -0
  248. data/lib/amocrm/models/v4_unsorted_leads_accept_params.rb +30 -0
  249. data/lib/amocrm/models/v4_unsorted_leads_accept_response.rb +168 -0
  250. data/lib/amocrm/models/v4_unsorted_leads_create_forms_params.rb +878 -0
  251. data/lib/amocrm/models/v4_unsorted_leads_create_forms_response.rb +200 -0
  252. data/lib/amocrm/models/v4_unsorted_leads_decline_params.rb +22 -0
  253. data/lib/amocrm/models/v4_unsorted_leads_decline_response.rb +168 -0
  254. data/lib/amocrm/models/v4_users_create_params.rb +169 -0
  255. data/lib/amocrm/models/v4_users_create_response.rb +473 -0
  256. data/lib/amocrm/models/v4_users_get_by_id_params.rb +20 -0
  257. data/lib/amocrm/models/v4_users_get_by_id_response.rb +426 -0
  258. data/lib/amocrm/models/v4_users_list_params.rb +32 -0
  259. data/lib/amocrm/models/v4_users_list_response.rb +475 -0
  260. data/lib/amocrm/models/v4_webhooks_list_params.rb +30 -0
  261. data/lib/amocrm/models/v4_webhooks_list_response.rb +137 -0
  262. data/lib/amocrm/models/v4_webhooks_subscribe_params.rb +32 -0
  263. data/lib/amocrm/models/v4_webhooks_subscribe_response.rb +103 -0
  264. data/lib/amocrm/models/v4_webhooks_unsubscribe_params.rb +20 -0
  265. data/lib/amocrm/models/v4_webhooks_unsubscribe_response.rb +61 -0
  266. data/lib/amocrm/models/v4_website_buttons_connect_online_chat_params.rb +14 -0
  267. data/lib/amocrm/models/v4_website_buttons_connect_online_chat_response.rb +61 -0
  268. data/lib/amocrm/models/v4_website_buttons_create_params.rb +32 -0
  269. data/lib/amocrm/models/v4_website_buttons_create_response.rb +61 -0
  270. data/lib/amocrm/models/v4_website_buttons_get_by_source_id_params.rb +20 -0
  271. data/lib/amocrm/models/v4_website_buttons_get_by_source_id_response.rb +97 -0
  272. data/lib/amocrm/models/v4_website_buttons_list_params.rb +32 -0
  273. data/lib/amocrm/models/v4_website_buttons_list_response.rb +132 -0
  274. data/lib/amocrm/models/v4_website_buttons_update_params.rb +30 -0
  275. data/lib/amocrm/models/v4_website_buttons_update_response.rb +97 -0
  276. data/lib/amocrm/models/v4_widget_bot_continue_continue_params.rb +65 -0
  277. data/lib/amocrm/models/v4_widget_bot_continue_continue_response.rb +61 -0
  278. data/lib/amocrm/models/v4_widgets_get_by_code_params.rb +14 -0
  279. data/lib/amocrm/models/v4_widgets_get_by_code_response.rb +180 -0
  280. data/lib/amocrm/models/v4_widgets_install_params.rb +20 -0
  281. data/lib/amocrm/models/v4_widgets_install_response.rb +180 -0
  282. data/lib/amocrm/models/v4_widgets_list_params.rb +26 -0
  283. data/lib/amocrm/models/v4_widgets_list_response.rb +218 -0
  284. data/lib/amocrm/models/v4_widgets_uninstall_params.rb +14 -0
  285. data/lib/amocrm/models/v4_widgets_uninstall_response.rb +61 -0
  286. data/lib/amocrm/models.rb +279 -1
  287. data/lib/amocrm/resources/v2.rb +35 -0
  288. data/lib/amocrm/resources/v4.rb +3419 -3
  289. data/lib/amocrm/version.rb +1 -1
  290. data/lib/amocrm.rb +281 -8
  291. data/rbi/amocrm/client.rbi +3 -0
  292. data/rbi/amocrm/models/v2_salesbot_run_params.rbi +72 -0
  293. data/rbi/amocrm/models/v2_salesbot_run_response.rbi +212 -0
  294. data/rbi/amocrm/models/v4_account_get_params.rbi +43 -0
  295. data/rbi/amocrm/models/v4_account_get_response.rbi +851 -0
  296. data/rbi/amocrm/models/v4_calls_create_params.rbi +262 -0
  297. data/rbi/amocrm/models/v4_calls_create_response.rbi +400 -0
  298. data/rbi/amocrm/models/v4_catalog_elements_create_params.rbi +233 -0
  299. data/rbi/amocrm/models/v4_catalog_elements_create_response.rbi +566 -0
  300. data/rbi/amocrm/models/v4_catalog_elements_get_by_id_params.rbi +55 -0
  301. data/rbi/amocrm/models/v4_catalog_elements_get_by_id_response.rbi +445 -0
  302. data/rbi/amocrm/models/v4_catalog_elements_list_params.rbi +89 -0
  303. data/rbi/amocrm/models/v4_catalog_elements_list_response.rbi +565 -0
  304. data/rbi/amocrm/models/v4_catalog_elements_update_by_id_params.rbi +216 -0
  305. data/rbi/amocrm/models/v4_catalog_elements_update_by_id_response.rbi +568 -0
  306. data/rbi/amocrm/models/v4_catalog_elements_update_params.rbi +241 -0
  307. data/rbi/amocrm/models/v4_catalog_elements_update_response.rbi +566 -0
  308. data/rbi/amocrm/models/v4_catalogs_create_params.rbi +183 -0
  309. data/rbi/amocrm/models/v4_catalogs_create_response.rbi +450 -0
  310. data/rbi/amocrm/models/v4_catalogs_get_by_id_params.rbi +27 -0
  311. data/rbi/amocrm/models/v4_catalogs_get_by_id_response.rbi +331 -0
  312. data/rbi/amocrm/models/v4_catalogs_list_params.rbi +49 -0
  313. data/rbi/amocrm/models/v4_catalogs_list_response.rbi +449 -0
  314. data/rbi/amocrm/models/v4_catalogs_update_by_id_params.rbi +80 -0
  315. data/rbi/amocrm/models/v4_catalogs_update_by_id_response.rbi +450 -0
  316. data/rbi/amocrm/models/v4_catalogs_update_params.rbi +116 -0
  317. data/rbi/amocrm/models/v4_catalogs_update_response.rbi +450 -0
  318. data/rbi/amocrm/models/v4_companies_create_params.rbi +483 -0
  319. data/rbi/amocrm/models/v4_companies_create_response.rbi +234 -0
  320. data/rbi/amocrm/models/v4_companies_get_by_id_params.rbi +43 -0
  321. data/rbi/amocrm/models/v4_companies_get_by_id_response.rbi +743 -0
  322. data/rbi/amocrm/models/v4_companies_list_params.rbi +116 -0
  323. data/rbi/amocrm/models/v4_companies_list_response.rbi +869 -0
  324. data/rbi/amocrm/models/v4_companies_update_by_id_params.rbi +485 -0
  325. data/rbi/amocrm/models/v4_companies_update_by_id_response.rbi +234 -0
  326. data/rbi/amocrm/models/v4_companies_update_params.rbi +541 -0
  327. data/rbi/amocrm/models/v4_companies_update_response.rbi +234 -0
  328. data/rbi/amocrm/models/v4_contact_chats_link_params.rbi +78 -0
  329. data/rbi/amocrm/models/v4_contact_chats_link_response.rbi +228 -0
  330. data/rbi/amocrm/models/v4_contact_chats_list_params.rbi +38 -0
  331. data/rbi/amocrm/models/v4_contact_chats_list_response.rbi +228 -0
  332. data/rbi/amocrm/models/v4_contacts_create_params.rbi +497 -0
  333. data/rbi/amocrm/models/v4_contacts_create_response.rbi +234 -0
  334. data/rbi/amocrm/models/v4_contacts_get_by_id_params.rbi +43 -0
  335. data/rbi/amocrm/models/v4_contacts_get_by_id_response.rbi +779 -0
  336. data/rbi/amocrm/models/v4_contacts_list_params.rbi +116 -0
  337. data/rbi/amocrm/models/v4_contacts_list_response.rbi +905 -0
  338. data/rbi/amocrm/models/v4_contacts_update_by_id_params.rbi +503 -0
  339. data/rbi/amocrm/models/v4_contacts_update_by_id_response.rbi +234 -0
  340. data/rbi/amocrm/models/v4_contacts_update_params.rbi +555 -0
  341. data/rbi/amocrm/models/v4_contacts_update_response.rbi +234 -0
  342. data/rbi/amocrm/models/v4_custom_field_groups_create_params.rbi +86 -0
  343. data/rbi/amocrm/models/v4_custom_field_groups_create_response.rbi +232 -0
  344. data/rbi/amocrm/models/v4_custom_field_groups_delete_by_id_params.rbi +38 -0
  345. data/rbi/amocrm/models/v4_custom_field_groups_delete_by_id_response.rbi +80 -0
  346. data/rbi/amocrm/models/v4_custom_field_groups_get_by_id_params.rbi +38 -0
  347. data/rbi/amocrm/models/v4_custom_field_groups_get_by_id_response.rbi +136 -0
  348. data/rbi/amocrm/models/v4_custom_field_groups_list_params.rbi +52 -0
  349. data/rbi/amocrm/models/v4_custom_field_groups_list_response.rbi +254 -0
  350. data/rbi/amocrm/models/v4_custom_field_groups_update_by_id_params.rbi +57 -0
  351. data/rbi/amocrm/models/v4_custom_field_groups_update_by_id_response.rbi +80 -0
  352. data/rbi/amocrm/models/v4_custom_fields_create_params.rbi +169 -0
  353. data/rbi/amocrm/models/v4_custom_fields_create_response.rbi +232 -0
  354. data/rbi/amocrm/models/v4_custom_fields_delete_by_id_params.rbi +38 -0
  355. data/rbi/amocrm/models/v4_custom_fields_delete_by_id_response.rbi +78 -0
  356. data/rbi/amocrm/models/v4_custom_fields_get_by_id_params.rbi +35 -0
  357. data/rbi/amocrm/models/v4_custom_fields_get_by_id_response.rbi +222 -0
  358. data/rbi/amocrm/models/v4_custom_fields_list_params.rbi +49 -0
  359. data/rbi/amocrm/models/v4_custom_fields_list_response.rbi +340 -0
  360. data/rbi/amocrm/models/v4_custom_fields_update_by_id_params.rbi +143 -0
  361. data/rbi/amocrm/models/v4_custom_fields_update_by_id_response.rbi +78 -0
  362. data/rbi/amocrm/models/v4_custom_fields_update_params.rbi +172 -0
  363. data/rbi/amocrm/models/v4_custom_fields_update_response.rbi +78 -0
  364. data/rbi/amocrm/models/v4_customer_bonus_points_change_params.rbi +46 -0
  365. data/rbi/amocrm/models/v4_customer_bonus_points_change_response.rbi +104 -0
  366. data/rbi/amocrm/models/v4_customer_segments_create_params.rbi +268 -0
  367. data/rbi/amocrm/models/v4_customer_segments_create_response.rbi +234 -0
  368. data/rbi/amocrm/models/v4_customer_segments_delete_by_id_params.rbi +30 -0
  369. data/rbi/amocrm/models/v4_customer_segments_delete_by_id_response.rbi +80 -0
  370. data/rbi/amocrm/models/v4_customer_segments_get_by_id_params.rbi +30 -0
  371. data/rbi/amocrm/models/v4_customer_segments_get_by_id_response.rbi +329 -0
  372. data/rbi/amocrm/models/v4_customer_segments_list_params.rbi +27 -0
  373. data/rbi/amocrm/models/v4_customer_segments_list_response.rbi +439 -0
  374. data/rbi/amocrm/models/v4_customer_segments_update_by_id_params.rbi +232 -0
  375. data/rbi/amocrm/models/v4_customer_segments_update_by_id_response.rbi +80 -0
  376. data/rbi/amocrm/models/v4_customer_statuses_create_params.rbi +91 -0
  377. data/rbi/amocrm/models/v4_customer_statuses_create_response.rbi +234 -0
  378. data/rbi/amocrm/models/v4_customer_statuses_delete_by_id_params.rbi +30 -0
  379. data/rbi/amocrm/models/v4_customer_statuses_delete_by_id_response.rbi +80 -0
  380. data/rbi/amocrm/models/v4_customer_statuses_get_by_id_params.rbi +30 -0
  381. data/rbi/amocrm/models/v4_customer_statuses_get_by_id_response.rbi +144 -0
  382. data/rbi/amocrm/models/v4_customer_statuses_list_params.rbi +27 -0
  383. data/rbi/amocrm/models/v4_customer_statuses_list_response.rbi +254 -0
  384. data/rbi/amocrm/models/v4_customer_statuses_update_by_id_params.rbi +60 -0
  385. data/rbi/amocrm/models/v4_customer_statuses_update_by_id_response.rbi +80 -0
  386. data/rbi/amocrm/models/v4_customer_transactions_create_params.rbi +121 -0
  387. data/rbi/amocrm/models/v4_customer_transactions_create_response.rbi +236 -0
  388. data/rbi/amocrm/models/v4_customer_transactions_delete_by_id_params.rbi +38 -0
  389. data/rbi/amocrm/models/v4_customer_transactions_delete_by_id_response.rbi +80 -0
  390. data/rbi/amocrm/models/v4_customer_transactions_list_by_customer_params.rbi +60 -0
  391. data/rbi/amocrm/models/v4_customer_transactions_list_by_customer_response.rbi +288 -0
  392. data/rbi/amocrm/models/v4_customer_transactions_list_params.rbi +60 -0
  393. data/rbi/amocrm/models/v4_customer_transactions_list_response.rbi +286 -0
  394. data/rbi/amocrm/models/v4_customers_create_params.rbi +571 -0
  395. data/rbi/amocrm/models/v4_customers_create_response.rbi +234 -0
  396. data/rbi/amocrm/models/v4_customers_get_by_id_params.rbi +43 -0
  397. data/rbi/amocrm/models/v4_customers_get_by_id_response.rbi +824 -0
  398. data/rbi/amocrm/models/v4_customers_list_params.rbi +105 -0
  399. data/rbi/amocrm/models/v4_customers_list_response.rbi +950 -0
  400. data/rbi/amocrm/models/v4_customers_mode_set_mode_params.rbi +72 -0
  401. data/rbi/amocrm/models/v4_customers_mode_set_mode_response.rbi +167 -0
  402. data/rbi/amocrm/models/v4_customers_update_by_id_params.rbi +559 -0
  403. data/rbi/amocrm/models/v4_customers_update_by_id_response.rbi +234 -0
  404. data/rbi/amocrm/models/v4_customers_update_params.rbi +615 -0
  405. data/rbi/amocrm/models/v4_customers_update_response.rbi +234 -0
  406. data/rbi/amocrm/models/v4_entity_followers_add_params.rbi +106 -0
  407. data/rbi/amocrm/models/v4_entity_followers_add_response.rbi +220 -0
  408. data/rbi/amocrm/models/v4_entity_followers_list_params.rbi +97 -0
  409. data/rbi/amocrm/models/v4_entity_followers_list_response.rbi +267 -0
  410. data/rbi/amocrm/models/v4_entity_followers_remove_params.rbi +112 -0
  411. data/rbi/amocrm/models/v4_entity_followers_remove_response.rbi +112 -0
  412. data/rbi/amocrm/models/v4_entity_links_link_by_entity_params.rbi +317 -0
  413. data/rbi/amocrm/models/v4_entity_links_link_by_entity_response.rbi +112 -0
  414. data/rbi/amocrm/models/v4_entity_links_link_params.rbi +297 -0
  415. data/rbi/amocrm/models/v4_entity_links_link_response.rbi +112 -0
  416. data/rbi/amocrm/models/v4_entity_links_list_by_entity_params.rbi +86 -0
  417. data/rbi/amocrm/models/v4_entity_links_list_by_entity_response.rbi +402 -0
  418. data/rbi/amocrm/models/v4_entity_links_list_params.rbi +77 -0
  419. data/rbi/amocrm/models/v4_entity_links_list_response.rbi +402 -0
  420. data/rbi/amocrm/models/v4_entity_links_unlink_by_entity_params.rbi +318 -0
  421. data/rbi/amocrm/models/v4_entity_links_unlink_by_entity_response.rbi +114 -0
  422. data/rbi/amocrm/models/v4_entity_links_unlink_params.rbi +302 -0
  423. data/rbi/amocrm/models/v4_entity_links_unlink_response.rbi +112 -0
  424. data/rbi/amocrm/models/v4_entity_notes_by_parent_create_by_parent_params.rbi +211 -0
  425. data/rbi/amocrm/models/v4_entity_notes_by_parent_create_by_parent_response.rbi +262 -0
  426. data/rbi/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_params.rbi +104 -0
  427. data/rbi/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_response.rbi +224 -0
  428. data/rbi/amocrm/models/v4_entity_notes_by_parent_list_by_parent_params.rbi +121 -0
  429. data/rbi/amocrm/models/v4_entity_notes_by_parent_list_by_parent_response.rbi +342 -0
  430. data/rbi/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_params.rbi +139 -0
  431. data/rbi/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_response.rbi +262 -0
  432. data/rbi/amocrm/models/v4_entity_notes_by_parent_update_by_parent_params.rbi +184 -0
  433. data/rbi/amocrm/models/v4_entity_notes_by_parent_update_by_parent_response.rbi +262 -0
  434. data/rbi/amocrm/models/v4_entity_notes_create_params.rbi +186 -0
  435. data/rbi/amocrm/models/v4_entity_notes_create_response.rbi +260 -0
  436. data/rbi/amocrm/models/v4_entity_notes_get_by_id_params.rbi +88 -0
  437. data/rbi/amocrm/models/v4_entity_notes_get_by_id_response.rbi +222 -0
  438. data/rbi/amocrm/models/v4_entity_notes_list_params.rbi +96 -0
  439. data/rbi/amocrm/models/v4_entity_notes_list_response.rbi +340 -0
  440. data/rbi/amocrm/models/v4_entity_notes_pin_params.rbi +77 -0
  441. data/rbi/amocrm/models/v4_entity_notes_pin_response.rbi +112 -0
  442. data/rbi/amocrm/models/v4_entity_notes_unpin_params.rbi +77 -0
  443. data/rbi/amocrm/models/v4_entity_notes_unpin_response.rbi +112 -0
  444. data/rbi/amocrm/models/v4_entity_notes_update_by_id_params.rbi +134 -0
  445. data/rbi/amocrm/models/v4_entity_notes_update_by_id_response.rbi +260 -0
  446. data/rbi/amocrm/models/v4_entity_notes_update_params.rbi +159 -0
  447. data/rbi/amocrm/models/v4_entity_notes_update_response.rbi +260 -0
  448. data/rbi/amocrm/models/v4_events_get_by_id_params.rbi +38 -0
  449. data/rbi/amocrm/models/v4_events_get_by_id_response.rbi +186 -0
  450. data/rbi/amocrm/models/v4_events_list_params.rbi +71 -0
  451. data/rbi/amocrm/models/v4_events_list_response.rbi +304 -0
  452. data/rbi/amocrm/models/v4_events_list_types_params.rbi +38 -0
  453. data/rbi/amocrm/models/v4_events_list_types_response.rbi +149 -0
  454. data/rbi/amocrm/models/v4_leads_create_complex_params.rbi +1228 -0
  455. data/rbi/amocrm/models/v4_leads_create_complex_response.rbi +260 -0
  456. data/rbi/amocrm/models/v4_leads_create_params.rbi +1196 -0
  457. data/rbi/amocrm/models/v4_leads_create_response.rbi +234 -0
  458. data/rbi/amocrm/models/v4_leads_get_by_id_params.rbi +43 -0
  459. data/rbi/amocrm/models/v4_leads_get_by_id_response.rbi +921 -0
  460. data/rbi/amocrm/models/v4_leads_list_params.rbi +114 -0
  461. data/rbi/amocrm/models/v4_leads_list_response.rbi +1046 -0
  462. data/rbi/amocrm/models/v4_leads_update_by_id_params.rbi +1156 -0
  463. data/rbi/amocrm/models/v4_leads_update_by_id_response.rbi +234 -0
  464. data/rbi/amocrm/models/v4_leads_update_params.rbi +1214 -0
  465. data/rbi/amocrm/models/v4_leads_update_response.rbi +234 -0
  466. data/rbi/amocrm/models/v4_pipeline_statuses_create_params.rbi +175 -0
  467. data/rbi/amocrm/models/v4_pipeline_statuses_create_response.rbi +234 -0
  468. data/rbi/amocrm/models/v4_pipeline_statuses_delete_by_id_params.rbi +38 -0
  469. data/rbi/amocrm/models/v4_pipeline_statuses_delete_by_id_response.rbi +114 -0
  470. data/rbi/amocrm/models/v4_pipeline_statuses_get_by_id_params.rbi +55 -0
  471. data/rbi/amocrm/models/v4_pipeline_statuses_get_by_id_response.rbi +318 -0
  472. data/rbi/amocrm/models/v4_pipeline_statuses_list_params.rbi +43 -0
  473. data/rbi/amocrm/models/v4_pipeline_statuses_list_response.rbi +428 -0
  474. data/rbi/amocrm/models/v4_pipeline_statuses_update_by_id_params.rbi +148 -0
  475. data/rbi/amocrm/models/v4_pipeline_statuses_update_by_id_response.rbi +248 -0
  476. data/rbi/amocrm/models/v4_pipeline_statuses_update_params.rbi +184 -0
  477. data/rbi/amocrm/models/v4_pipeline_statuses_update_response.rbi +246 -0
  478. data/rbi/amocrm/models/v4_pipelines_create_params.rbi +311 -0
  479. data/rbi/amocrm/models/v4_pipelines_create_response.rbi +234 -0
  480. data/rbi/amocrm/models/v4_pipelines_delete_by_id_params.rbi +27 -0
  481. data/rbi/amocrm/models/v4_pipelines_delete_by_id_response.rbi +112 -0
  482. data/rbi/amocrm/models/v4_pipelines_get_by_id_params.rbi +27 -0
  483. data/rbi/amocrm/models/v4_pipelines_get_by_id_response.rbi +494 -0
  484. data/rbi/amocrm/models/v4_pipelines_list_params.rbi +27 -0
  485. data/rbi/amocrm/models/v4_pipelines_list_response.rbi +604 -0
  486. data/rbi/amocrm/models/v4_pipelines_update_by_id_params.rbi +89 -0
  487. data/rbi/amocrm/models/v4_pipelines_update_by_id_response.rbi +246 -0
  488. data/rbi/amocrm/models/v4_pipelines_update_params.rbi +125 -0
  489. data/rbi/amocrm/models/v4_pipelines_update_response.rbi +246 -0
  490. data/rbi/amocrm/models/v4_roles_create_params.rbi +289 -0
  491. data/rbi/amocrm/models/v4_roles_create_response.rbi +589 -0
  492. data/rbi/amocrm/models/v4_roles_delete_by_id_params.rbi +27 -0
  493. data/rbi/amocrm/models/v4_roles_delete_by_id_response.rbi +112 -0
  494. data/rbi/amocrm/models/v4_roles_get_by_id_params.rbi +38 -0
  495. data/rbi/amocrm/models/v4_roles_get_by_id_response.rbi +454 -0
  496. data/rbi/amocrm/models/v4_roles_list_params.rbi +57 -0
  497. data/rbi/amocrm/models/v4_roles_list_response.rbi +602 -0
  498. data/rbi/amocrm/models/v4_roles_update_by_id_params.rbi +264 -0
  499. data/rbi/amocrm/models/v4_roles_update_by_id_response.rbi +457 -0
  500. data/rbi/amocrm/models/v4_short_links_create_params.rbi +35 -0
  501. data/rbi/amocrm/models/v4_short_links_create_response.rbi +102 -0
  502. data/rbi/amocrm/models/v4_sources_create_params.rbi +151 -0
  503. data/rbi/amocrm/models/v4_sources_create_response.rbi +371 -0
  504. data/rbi/amocrm/models/v4_sources_delete_by_id_params.rbi +27 -0
  505. data/rbi/amocrm/models/v4_sources_delete_by_id_response.rbi +112 -0
  506. data/rbi/amocrm/models/v4_sources_delete_params.rbi +59 -0
  507. data/rbi/amocrm/models/v4_sources_delete_response.rbi +112 -0
  508. data/rbi/amocrm/models/v4_sources_get_by_id_params.rbi +27 -0
  509. data/rbi/amocrm/models/v4_sources_get_by_id_response.rbi +242 -0
  510. data/rbi/amocrm/models/v4_sources_list_params.rbi +137 -0
  511. data/rbi/amocrm/models/v4_sources_list_response.rbi +362 -0
  512. data/rbi/amocrm/models/v4_sources_update_by_id_params.rbi +127 -0
  513. data/rbi/amocrm/models/v4_sources_update_by_id_response.rbi +371 -0
  514. data/rbi/amocrm/models/v4_sources_update_params.rbi +163 -0
  515. data/rbi/amocrm/models/v4_sources_update_response.rbi +371 -0
  516. data/rbi/amocrm/models/v4_tags_create_params.rbi +105 -0
  517. data/rbi/amocrm/models/v4_tags_create_response.rbi +241 -0
  518. data/rbi/amocrm/models/v4_tags_list_params.rbi +96 -0
  519. data/rbi/amocrm/models/v4_tags_list_response.rbi +236 -0
  520. data/rbi/amocrm/models/v4_talks_close_params.rbi +43 -0
  521. data/rbi/amocrm/models/v4_talks_close_response.rbi +112 -0
  522. data/rbi/amocrm/models/v4_talks_get_by_id_params.rbi +27 -0
  523. data/rbi/amocrm/models/v4_talks_get_by_id_response.rbi +450 -0
  524. data/rbi/amocrm/models/v4_tasks_create_params.rbi +142 -0
  525. data/rbi/amocrm/models/v4_tasks_create_response.rbi +234 -0
  526. data/rbi/amocrm/models/v4_tasks_get_by_id_params.rbi +27 -0
  527. data/rbi/amocrm/models/v4_tasks_get_by_id_response.rbi +323 -0
  528. data/rbi/amocrm/models/v4_tasks_list_params.rbi +103 -0
  529. data/rbi/amocrm/models/v4_tasks_list_response.rbi +441 -0
  530. data/rbi/amocrm/models/v4_tasks_update_by_id_params.rbi +133 -0
  531. data/rbi/amocrm/models/v4_tasks_update_by_id_response.rbi +234 -0
  532. data/rbi/amocrm/models/v4_tasks_update_params.rbi +168 -0
  533. data/rbi/amocrm/models/v4_tasks_update_response.rbi +234 -0
  534. data/rbi/amocrm/models/v4_unsorted_leads_accept_params.rbi +57 -0
  535. data/rbi/amocrm/models/v4_unsorted_leads_accept_response.rbi +429 -0
  536. data/rbi/amocrm/models/v4_unsorted_leads_create_forms_params.rbi +1901 -0
  537. data/rbi/amocrm/models/v4_unsorted_leads_create_forms_response.rbi +490 -0
  538. data/rbi/amocrm/models/v4_unsorted_leads_decline_params.rbi +43 -0
  539. data/rbi/amocrm/models/v4_unsorted_leads_decline_response.rbi +429 -0
  540. data/rbi/amocrm/models/v4_users_create_params.rbi +314 -0
  541. data/rbi/amocrm/models/v4_users_create_response.rbi +1062 -0
  542. data/rbi/amocrm/models/v4_users_get_by_id_params.rbi +38 -0
  543. data/rbi/amocrm/models/v4_users_get_by_id_response.rbi +928 -0
  544. data/rbi/amocrm/models/v4_users_list_params.rbi +57 -0
  545. data/rbi/amocrm/models/v4_users_list_response.rbi +1075 -0
  546. data/rbi/amocrm/models/v4_webhooks_list_params.rbi +65 -0
  547. data/rbi/amocrm/models/v4_webhooks_list_response.rbi +304 -0
  548. data/rbi/amocrm/models/v4_webhooks_subscribe_params.rbi +51 -0
  549. data/rbi/amocrm/models/v4_webhooks_subscribe_response.rbi +186 -0
  550. data/rbi/amocrm/models/v4_webhooks_unsubscribe_params.rbi +35 -0
  551. data/rbi/amocrm/models/v4_webhooks_unsubscribe_response.rbi +112 -0
  552. data/rbi/amocrm/models/v4_website_buttons_connect_online_chat_params.rbi +30 -0
  553. data/rbi/amocrm/models/v4_website_buttons_connect_online_chat_response.rbi +114 -0
  554. data/rbi/amocrm/models/v4_website_buttons_create_params.rbi +59 -0
  555. data/rbi/amocrm/models/v4_website_buttons_create_response.rbi +117 -0
  556. data/rbi/amocrm/models/v4_website_buttons_get_by_source_id_params.rbi +41 -0
  557. data/rbi/amocrm/models/v4_website_buttons_get_by_source_id_response.rbi +173 -0
  558. data/rbi/amocrm/models/v4_website_buttons_list_params.rbi +57 -0
  559. data/rbi/amocrm/models/v4_website_buttons_list_response.rbi +289 -0
  560. data/rbi/amocrm/models/v4_website_buttons_update_params.rbi +69 -0
  561. data/rbi/amocrm/models/v4_website_buttons_update_response.rbi +171 -0
  562. data/rbi/amocrm/models/v4_widget_bot_continue_continue_params.rbi +154 -0
  563. data/rbi/amocrm/models/v4_widget_bot_continue_continue_response.rbi +114 -0
  564. data/rbi/amocrm/models/v4_widgets_get_by_code_params.rbi +27 -0
  565. data/rbi/amocrm/models/v4_widgets_get_by_code_response.rbi +342 -0
  566. data/rbi/amocrm/models/v4_widgets_install_params.rbi +35 -0
  567. data/rbi/amocrm/models/v4_widgets_install_response.rbi +342 -0
  568. data/rbi/amocrm/models/v4_widgets_list_params.rbi +49 -0
  569. data/rbi/amocrm/models/v4_widgets_list_response.rbi +460 -0
  570. data/rbi/amocrm/models/v4_widgets_uninstall_params.rbi +27 -0
  571. data/rbi/amocrm/models/v4_widgets_uninstall_response.rbi +112 -0
  572. data/rbi/amocrm/models.rbi +317 -1
  573. data/rbi/amocrm/resources/v2.rbi +22 -0
  574. data/rbi/amocrm/resources/v4.rbi +2269 -2
  575. data/sig/amocrm/client.rbs +2 -0
  576. data/sig/amocrm/models/v2_salesbot_run_params.rbs +46 -0
  577. data/sig/amocrm/models/v2_salesbot_run_response.rbs +113 -0
  578. data/sig/amocrm/models/v4_account_get_params.rbs +22 -0
  579. data/sig/amocrm/models/v4_account_get_response.rbs +479 -0
  580. data/sig/amocrm/models/v4_calls_create_params.rbs +150 -0
  581. data/sig/amocrm/models/v4_calls_create_response.rbs +207 -0
  582. data/sig/amocrm/models/v4_catalog_elements_create_params.rbs +124 -0
  583. data/sig/amocrm/models/v4_catalog_elements_create_response.rbs +303 -0
  584. data/sig/amocrm/models/v4_catalog_elements_get_by_id_params.rbs +30 -0
  585. data/sig/amocrm/models/v4_catalog_elements_get_by_id_response.rbs +243 -0
  586. data/sig/amocrm/models/v4_catalog_elements_list_params.rbs +59 -0
  587. data/sig/amocrm/models/v4_catalog_elements_list_response.rbs +303 -0
  588. data/sig/amocrm/models/v4_catalog_elements_update_by_id_params.rbs +116 -0
  589. data/sig/amocrm/models/v4_catalog_elements_update_by_id_response.rbs +303 -0
  590. data/sig/amocrm/models/v4_catalog_elements_update_params.rbs +131 -0
  591. data/sig/amocrm/models/v4_catalog_elements_update_response.rbs +303 -0
  592. data/sig/amocrm/models/v4_catalogs_create_params.rbs +90 -0
  593. data/sig/amocrm/models/v4_catalogs_create_response.rbs +241 -0
  594. data/sig/amocrm/models/v4_catalogs_get_by_id_params.rbs +15 -0
  595. data/sig/amocrm/models/v4_catalogs_get_by_id_response.rbs +185 -0
  596. data/sig/amocrm/models/v4_catalogs_list_params.rbs +32 -0
  597. data/sig/amocrm/models/v4_catalogs_list_response.rbs +241 -0
  598. data/sig/amocrm/models/v4_catalogs_update_by_id_params.rbs +56 -0
  599. data/sig/amocrm/models/v4_catalogs_update_by_id_response.rbs +241 -0
  600. data/sig/amocrm/models/v4_catalogs_update_params.rbs +76 -0
  601. data/sig/amocrm/models/v4_catalogs_update_response.rbs +241 -0
  602. data/sig/amocrm/models/v4_companies_create_params.rbs +247 -0
  603. data/sig/amocrm/models/v4_companies_create_response.rbs +121 -0
  604. data/sig/amocrm/models/v4_companies_get_by_id_params.rbs +22 -0
  605. data/sig/amocrm/models/v4_companies_get_by_id_response.rbs +366 -0
  606. data/sig/amocrm/models/v4_companies_list_params.rbs +73 -0
  607. data/sig/amocrm/models/v4_companies_list_response.rbs +422 -0
  608. data/sig/amocrm/models/v4_companies_update_by_id_params.rbs +244 -0
  609. data/sig/amocrm/models/v4_companies_update_by_id_response.rbs +121 -0
  610. data/sig/amocrm/models/v4_companies_update_params.rbs +270 -0
  611. data/sig/amocrm/models/v4_companies_update_response.rbs +121 -0
  612. data/sig/amocrm/models/v4_contact_chats_link_params.rbs +48 -0
  613. data/sig/amocrm/models/v4_contact_chats_link_response.rbs +122 -0
  614. data/sig/amocrm/models/v4_contact_chats_list_params.rbs +22 -0
  615. data/sig/amocrm/models/v4_contact_chats_list_response.rbs +122 -0
  616. data/sig/amocrm/models/v4_contacts_create_params.rbs +259 -0
  617. data/sig/amocrm/models/v4_contacts_create_response.rbs +121 -0
  618. data/sig/amocrm/models/v4_contacts_get_by_id_params.rbs +22 -0
  619. data/sig/amocrm/models/v4_contacts_get_by_id_response.rbs +394 -0
  620. data/sig/amocrm/models/v4_contacts_list_params.rbs +73 -0
  621. data/sig/amocrm/models/v4_contacts_list_response.rbs +450 -0
  622. data/sig/amocrm/models/v4_contacts_update_by_id_params.rbs +258 -0
  623. data/sig/amocrm/models/v4_contacts_update_by_id_response.rbs +121 -0
  624. data/sig/amocrm/models/v4_contacts_update_params.rbs +284 -0
  625. data/sig/amocrm/models/v4_contacts_update_response.rbs +121 -0
  626. data/sig/amocrm/models/v4_custom_field_groups_create_params.rbs +46 -0
  627. data/sig/amocrm/models/v4_custom_field_groups_create_response.rbs +121 -0
  628. data/sig/amocrm/models/v4_custom_field_groups_delete_by_id_params.rbs +23 -0
  629. data/sig/amocrm/models/v4_custom_field_groups_delete_by_id_response.rbs +47 -0
  630. data/sig/amocrm/models/v4_custom_field_groups_get_by_id_params.rbs +23 -0
  631. data/sig/amocrm/models/v4_custom_field_groups_get_by_id_response.rbs +83 -0
  632. data/sig/amocrm/models/v4_custom_field_groups_list_params.rbs +32 -0
  633. data/sig/amocrm/models/v4_custom_field_groups_list_response.rbs +139 -0
  634. data/sig/amocrm/models/v4_custom_field_groups_update_by_id_params.rbs +36 -0
  635. data/sig/amocrm/models/v4_custom_field_groups_update_by_id_response.rbs +47 -0
  636. data/sig/amocrm/models/v4_custom_fields_create_params.rbs +116 -0
  637. data/sig/amocrm/models/v4_custom_fields_create_response.rbs +121 -0
  638. data/sig/amocrm/models/v4_custom_fields_delete_by_id_params.rbs +23 -0
  639. data/sig/amocrm/models/v4_custom_fields_delete_by_id_response.rbs +47 -0
  640. data/sig/amocrm/models/v4_custom_fields_get_by_id_params.rbs +23 -0
  641. data/sig/amocrm/models/v4_custom_fields_get_by_id_response.rbs +151 -0
  642. data/sig/amocrm/models/v4_custom_fields_list_params.rbs +32 -0
  643. data/sig/amocrm/models/v4_custom_fields_list_response.rbs +207 -0
  644. data/sig/amocrm/models/v4_custom_fields_update_by_id_params.rbs +103 -0
  645. data/sig/amocrm/models/v4_custom_fields_update_by_id_response.rbs +47 -0
  646. data/sig/amocrm/models/v4_custom_fields_update_params.rbs +118 -0
  647. data/sig/amocrm/models/v4_custom_fields_update_response.rbs +47 -0
  648. data/sig/amocrm/models/v4_customer_bonus_points_change_params.rbs +28 -0
  649. data/sig/amocrm/models/v4_customer_bonus_points_change_response.rbs +60 -0
  650. data/sig/amocrm/models/v4_customer_segments_create_params.rbs +134 -0
  651. data/sig/amocrm/models/v4_customer_segments_create_response.rbs +121 -0
  652. data/sig/amocrm/models/v4_customer_segments_delete_by_id_params.rbs +15 -0
  653. data/sig/amocrm/models/v4_customer_segments_delete_by_id_response.rbs +47 -0
  654. data/sig/amocrm/models/v4_customer_segments_get_by_id_params.rbs +15 -0
  655. data/sig/amocrm/models/v4_customer_segments_get_by_id_response.rbs +177 -0
  656. data/sig/amocrm/models/v4_customer_segments_list_params.rbs +15 -0
  657. data/sig/amocrm/models/v4_customer_segments_list_response.rbs +226 -0
  658. data/sig/amocrm/models/v4_customer_segments_update_by_id_params.rbs +114 -0
  659. data/sig/amocrm/models/v4_customer_segments_update_by_id_response.rbs +47 -0
  660. data/sig/amocrm/models/v4_customer_statuses_create_params.rbs +57 -0
  661. data/sig/amocrm/models/v4_customer_statuses_create_response.rbs +121 -0
  662. data/sig/amocrm/models/v4_customer_statuses_delete_by_id_params.rbs +15 -0
  663. data/sig/amocrm/models/v4_customer_statuses_delete_by_id_response.rbs +47 -0
  664. data/sig/amocrm/models/v4_customer_statuses_get_by_id_params.rbs +15 -0
  665. data/sig/amocrm/models/v4_customer_statuses_get_by_id_response.rbs +95 -0
  666. data/sig/amocrm/models/v4_customer_statuses_list_params.rbs +15 -0
  667. data/sig/amocrm/models/v4_customer_statuses_list_response.rbs +144 -0
  668. data/sig/amocrm/models/v4_customer_statuses_update_by_id_params.rbs +38 -0
  669. data/sig/amocrm/models/v4_customer_statuses_update_by_id_response.rbs +47 -0
  670. data/sig/amocrm/models/v4_customer_transactions_create_params.rbs +78 -0
  671. data/sig/amocrm/models/v4_customer_transactions_create_response.rbs +121 -0
  672. data/sig/amocrm/models/v4_customer_transactions_delete_by_id_params.rbs +23 -0
  673. data/sig/amocrm/models/v4_customer_transactions_delete_by_id_response.rbs +47 -0
  674. data/sig/amocrm/models/v4_customer_transactions_list_by_customer_params.rbs +38 -0
  675. data/sig/amocrm/models/v4_customer_transactions_list_by_customer_response.rbs +165 -0
  676. data/sig/amocrm/models/v4_customer_transactions_list_params.rbs +38 -0
  677. data/sig/amocrm/models/v4_customer_transactions_list_response.rbs +165 -0
  678. data/sig/amocrm/models/v4_customers_create_params.rbs +300 -0
  679. data/sig/amocrm/models/v4_customers_create_response.rbs +121 -0
  680. data/sig/amocrm/models/v4_customers_get_by_id_params.rbs +22 -0
  681. data/sig/amocrm/models/v4_customers_get_by_id_response.rbs +429 -0
  682. data/sig/amocrm/models/v4_customers_list_params.rbs +73 -0
  683. data/sig/amocrm/models/v4_customers_list_response.rbs +485 -0
  684. data/sig/amocrm/models/v4_customers_mode_set_mode_params.rbs +42 -0
  685. data/sig/amocrm/models/v4_customers_mode_set_mode_response.rbs +87 -0
  686. data/sig/amocrm/models/v4_customers_update_by_id_params.rbs +288 -0
  687. data/sig/amocrm/models/v4_customers_update_by_id_response.rbs +121 -0
  688. data/sig/amocrm/models/v4_customers_update_params.rbs +312 -0
  689. data/sig/amocrm/models/v4_customers_update_response.rbs +121 -0
  690. data/sig/amocrm/models/v4_entity_followers_add_params.rbs +54 -0
  691. data/sig/amocrm/models/v4_entity_followers_add_response.rbs +116 -0
  692. data/sig/amocrm/models/v4_entity_followers_list_params.rbs +53 -0
  693. data/sig/amocrm/models/v4_entity_followers_list_response.rbs +151 -0
  694. data/sig/amocrm/models/v4_entity_followers_remove_params.rbs +54 -0
  695. data/sig/amocrm/models/v4_entity_followers_remove_response.rbs +64 -0
  696. data/sig/amocrm/models/v4_entity_links_link_by_entity_params.rbs +122 -0
  697. data/sig/amocrm/models/v4_entity_links_link_by_entity_response.rbs +64 -0
  698. data/sig/amocrm/models/v4_entity_links_link_params.rbs +115 -0
  699. data/sig/amocrm/models/v4_entity_links_link_response.rbs +64 -0
  700. data/sig/amocrm/models/v4_entity_links_list_by_entity_params.rbs +39 -0
  701. data/sig/amocrm/models/v4_entity_links_list_by_entity_response.rbs +176 -0
  702. data/sig/amocrm/models/v4_entity_links_list_params.rbs +35 -0
  703. data/sig/amocrm/models/v4_entity_links_list_response.rbs +176 -0
  704. data/sig/amocrm/models/v4_entity_links_unlink_by_entity_params.rbs +122 -0
  705. data/sig/amocrm/models/v4_entity_links_unlink_by_entity_response.rbs +64 -0
  706. data/sig/amocrm/models/v4_entity_links_unlink_params.rbs +115 -0
  707. data/sig/amocrm/models/v4_entity_links_unlink_response.rbs +64 -0
  708. data/sig/amocrm/models/v4_entity_notes_by_parent_create_by_parent_params.rbs +117 -0
  709. data/sig/amocrm/models/v4_entity_notes_by_parent_create_by_parent_response.rbs +144 -0
  710. data/sig/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_params.rbs +51 -0
  711. data/sig/amocrm/models/v4_entity_notes_by_parent_get_by_parent_id_response.rbs +151 -0
  712. data/sig/amocrm/models/v4_entity_notes_by_parent_list_by_parent_params.rbs +60 -0
  713. data/sig/amocrm/models/v4_entity_notes_by_parent_list_by_parent_response.rbs +207 -0
  714. data/sig/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_params.rbs +74 -0
  715. data/sig/amocrm/models/v4_entity_notes_by_parent_update_by_parent_id_response.rbs +144 -0
  716. data/sig/amocrm/models/v4_entity_notes_by_parent_update_by_parent_params.rbs +96 -0
  717. data/sig/amocrm/models/v4_entity_notes_by_parent_update_by_parent_response.rbs +144 -0
  718. data/sig/amocrm/models/v4_entity_notes_create_params.rbs +110 -0
  719. data/sig/amocrm/models/v4_entity_notes_create_response.rbs +144 -0
  720. data/sig/amocrm/models/v4_entity_notes_get_by_id_params.rbs +46 -0
  721. data/sig/amocrm/models/v4_entity_notes_get_by_id_response.rbs +151 -0
  722. data/sig/amocrm/models/v4_entity_notes_list_params.rbs +51 -0
  723. data/sig/amocrm/models/v4_entity_notes_list_response.rbs +207 -0
  724. data/sig/amocrm/models/v4_entity_notes_pin_params.rbs +37 -0
  725. data/sig/amocrm/models/v4_entity_notes_pin_response.rbs +64 -0
  726. data/sig/amocrm/models/v4_entity_notes_unpin_params.rbs +37 -0
  727. data/sig/amocrm/models/v4_entity_notes_unpin_response.rbs +64 -0
  728. data/sig/amocrm/models/v4_entity_notes_update_by_id_params.rbs +74 -0
  729. data/sig/amocrm/models/v4_entity_notes_update_by_id_response.rbs +144 -0
  730. data/sig/amocrm/models/v4_entity_notes_update_params.rbs +89 -0
  731. data/sig/amocrm/models/v4_entity_notes_update_response.rbs +144 -0
  732. data/sig/amocrm/models/v4_events_get_by_id_params.rbs +22 -0
  733. data/sig/amocrm/models/v4_events_get_by_id_response.rbs +123 -0
  734. data/sig/amocrm/models/v4_events_list_params.rbs +44 -0
  735. data/sig/amocrm/models/v4_events_list_response.rbs +179 -0
  736. data/sig/amocrm/models/v4_events_list_types_params.rbs +25 -0
  737. data/sig/amocrm/models/v4_events_list_types_response.rbs +81 -0
  738. data/sig/amocrm/models/v4_leads_create_complex_params.rbs +603 -0
  739. data/sig/amocrm/models/v4_leads_create_complex_response.rbs +144 -0
  740. data/sig/amocrm/models/v4_leads_create_params.rbs +603 -0
  741. data/sig/amocrm/models/v4_leads_create_response.rbs +121 -0
  742. data/sig/amocrm/models/v4_leads_get_by_id_params.rbs +22 -0
  743. data/sig/amocrm/models/v4_leads_get_by_id_response.rbs +482 -0
  744. data/sig/amocrm/models/v4_leads_list_params.rbs +73 -0
  745. data/sig/amocrm/models/v4_leads_list_response.rbs +538 -0
  746. data/sig/amocrm/models/v4_leads_update_by_id_params.rbs +578 -0
  747. data/sig/amocrm/models/v4_leads_update_by_id_response.rbs +121 -0
  748. data/sig/amocrm/models/v4_leads_update_params.rbs +602 -0
  749. data/sig/amocrm/models/v4_leads_update_response.rbs +121 -0
  750. data/sig/amocrm/models/v4_pipeline_statuses_create_params.rbs +95 -0
  751. data/sig/amocrm/models/v4_pipeline_statuses_create_response.rbs +121 -0
  752. data/sig/amocrm/models/v4_pipeline_statuses_delete_by_id_params.rbs +23 -0
  753. data/sig/amocrm/models/v4_pipeline_statuses_delete_by_id_response.rbs +64 -0
  754. data/sig/amocrm/models/v4_pipeline_statuses_get_by_id_params.rbs +30 -0
  755. data/sig/amocrm/models/v4_pipeline_statuses_get_by_id_response.rbs +203 -0
  756. data/sig/amocrm/models/v4_pipeline_statuses_list_params.rbs +22 -0
  757. data/sig/amocrm/models/v4_pipeline_statuses_list_response.rbs +252 -0
  758. data/sig/amocrm/models/v4_pipeline_statuses_update_by_id_params.rbs +87 -0
  759. data/sig/amocrm/models/v4_pipeline_statuses_update_by_id_response.rbs +137 -0
  760. data/sig/amocrm/models/v4_pipeline_statuses_update_params.rbs +102 -0
  761. data/sig/amocrm/models/v4_pipeline_statuses_update_response.rbs +137 -0
  762. data/sig/amocrm/models/v4_pipelines_create_params.rbs +175 -0
  763. data/sig/amocrm/models/v4_pipelines_create_response.rbs +121 -0
  764. data/sig/amocrm/models/v4_pipelines_delete_by_id_params.rbs +15 -0
  765. data/sig/amocrm/models/v4_pipelines_delete_by_id_response.rbs +64 -0
  766. data/sig/amocrm/models/v4_pipelines_get_by_id_params.rbs +15 -0
  767. data/sig/amocrm/models/v4_pipelines_get_by_id_response.rbs +301 -0
  768. data/sig/amocrm/models/v4_pipelines_list_params.rbs +15 -0
  769. data/sig/amocrm/models/v4_pipelines_list_response.rbs +350 -0
  770. data/sig/amocrm/models/v4_pipelines_update_by_id_params.rbs +63 -0
  771. data/sig/amocrm/models/v4_pipelines_update_by_id_response.rbs +137 -0
  772. data/sig/amocrm/models/v4_pipelines_update_params.rbs +83 -0
  773. data/sig/amocrm/models/v4_pipelines_update_response.rbs +137 -0
  774. data/sig/amocrm/models/v4_roles_create_params.rbs +187 -0
  775. data/sig/amocrm/models/v4_roles_create_response.rbs +325 -0
  776. data/sig/amocrm/models/v4_roles_delete_by_id_params.rbs +15 -0
  777. data/sig/amocrm/models/v4_roles_delete_by_id_response.rbs +64 -0
  778. data/sig/amocrm/models/v4_roles_get_by_id_params.rbs +22 -0
  779. data/sig/amocrm/models/v4_roles_get_by_id_response.rbs +262 -0
  780. data/sig/amocrm/models/v4_roles_list_params.rbs +38 -0
  781. data/sig/amocrm/models/v4_roles_list_response.rbs +332 -0
  782. data/sig/amocrm/models/v4_roles_update_by_id_params.rbs +170 -0
  783. data/sig/amocrm/models/v4_roles_update_by_id_response.rbs +262 -0
  784. data/sig/amocrm/models/v4_short_links_create_params.rbs +20 -0
  785. data/sig/amocrm/models/v4_short_links_create_response.rbs +60 -0
  786. data/sig/amocrm/models/v4_sources_create_params.rbs +91 -0
  787. data/sig/amocrm/models/v4_sources_create_response.rbs +199 -0
  788. data/sig/amocrm/models/v4_sources_delete_by_id_params.rbs +15 -0
  789. data/sig/amocrm/models/v4_sources_delete_by_id_response.rbs +64 -0
  790. data/sig/amocrm/models/v4_sources_delete_params.rbs +34 -0
  791. data/sig/amocrm/models/v4_sources_delete_response.rbs +64 -0
  792. data/sig/amocrm/models/v4_sources_get_by_id_params.rbs +15 -0
  793. data/sig/amocrm/models/v4_sources_get_by_id_response.rbs +136 -0
  794. data/sig/amocrm/models/v4_sources_list_params.rbs +71 -0
  795. data/sig/amocrm/models/v4_sources_list_response.rbs +192 -0
  796. data/sig/amocrm/models/v4_sources_update_by_id_params.rbs +80 -0
  797. data/sig/amocrm/models/v4_sources_update_by_id_response.rbs +199 -0
  798. data/sig/amocrm/models/v4_sources_update_params.rbs +100 -0
  799. data/sig/amocrm/models/v4_sources_update_response.rbs +199 -0
  800. data/sig/amocrm/models/v4_tags_create_params.rbs +59 -0
  801. data/sig/amocrm/models/v4_tags_create_response.rbs +132 -0
  802. data/sig/amocrm/models/v4_tags_list_params.rbs +57 -0
  803. data/sig/amocrm/models/v4_tags_list_response.rbs +128 -0
  804. data/sig/amocrm/models/v4_talks_close_params.rbs +25 -0
  805. data/sig/amocrm/models/v4_talks_close_response.rbs +64 -0
  806. data/sig/amocrm/models/v4_talks_get_by_id_params.rbs +15 -0
  807. data/sig/amocrm/models/v4_talks_get_by_id_response.rbs +248 -0
  808. data/sig/amocrm/models/v4_tasks_create_params.rbs +97 -0
  809. data/sig/amocrm/models/v4_tasks_create_response.rbs +121 -0
  810. data/sig/amocrm/models/v4_tasks_get_by_id_params.rbs +15 -0
  811. data/sig/amocrm/models/v4_tasks_get_by_id_response.rbs +202 -0
  812. data/sig/amocrm/models/v4_tasks_list_params.rbs +66 -0
  813. data/sig/amocrm/models/v4_tasks_list_response.rbs +259 -0
  814. data/sig/amocrm/models/v4_tasks_update_by_id_params.rbs +91 -0
  815. data/sig/amocrm/models/v4_tasks_update_by_id_response.rbs +121 -0
  816. data/sig/amocrm/models/v4_tasks_update_params.rbs +111 -0
  817. data/sig/amocrm/models/v4_tasks_update_response.rbs +121 -0
  818. data/sig/amocrm/models/v4_unsorted_leads_accept_params.rbs +32 -0
  819. data/sig/amocrm/models/v4_unsorted_leads_accept_response.rbs +199 -0
  820. data/sig/amocrm/models/v4_unsorted_leads_create_forms_params.rbs +916 -0
  821. data/sig/amocrm/models/v4_unsorted_leads_create_forms_response.rbs +233 -0
  822. data/sig/amocrm/models/v4_unsorted_leads_decline_params.rbs +25 -0
  823. data/sig/amocrm/models/v4_unsorted_leads_decline_response.rbs +199 -0
  824. data/sig/amocrm/models/v4_users_create_params.rbs +204 -0
  825. data/sig/amocrm/models/v4_users_create_response.rbs +594 -0
  826. data/sig/amocrm/models/v4_users_get_by_id_params.rbs +22 -0
  827. data/sig/amocrm/models/v4_users_get_by_id_response.rbs +527 -0
  828. data/sig/amocrm/models/v4_users_list_params.rbs +38 -0
  829. data/sig/amocrm/models/v4_users_list_response.rbs +601 -0
  830. data/sig/amocrm/models/v4_webhooks_list_params.rbs +40 -0
  831. data/sig/amocrm/models/v4_webhooks_list_response.rbs +179 -0
  832. data/sig/amocrm/models/v4_webhooks_subscribe_params.rbs +34 -0
  833. data/sig/amocrm/models/v4_webhooks_subscribe_response.rbs +123 -0
  834. data/sig/amocrm/models/v4_webhooks_unsubscribe_params.rbs +23 -0
  835. data/sig/amocrm/models/v4_webhooks_unsubscribe_response.rbs +64 -0
  836. data/sig/amocrm/models/v4_website_buttons_connect_online_chat_params.rbs +15 -0
  837. data/sig/amocrm/models/v4_website_buttons_connect_online_chat_response.rbs +64 -0
  838. data/sig/amocrm/models/v4_website_buttons_create_params.rbs +40 -0
  839. data/sig/amocrm/models/v4_website_buttons_create_response.rbs +71 -0
  840. data/sig/amocrm/models/v4_website_buttons_get_by_source_id_params.rbs +22 -0
  841. data/sig/amocrm/models/v4_website_buttons_get_by_source_id_response.rbs +112 -0
  842. data/sig/amocrm/models/v4_website_buttons_list_params.rbs +38 -0
  843. data/sig/amocrm/models/v4_website_buttons_list_response.rbs +168 -0
  844. data/sig/amocrm/models/v4_website_buttons_update_params.rbs +36 -0
  845. data/sig/amocrm/models/v4_website_buttons_update_response.rbs +112 -0
  846. data/sig/amocrm/models/v4_widget_bot_continue_continue_params.rbs +74 -0
  847. data/sig/amocrm/models/v4_widget_bot_continue_continue_response.rbs +64 -0
  848. data/sig/amocrm/models/v4_widgets_get_by_code_params.rbs +15 -0
  849. data/sig/amocrm/models/v4_widgets_get_by_code_response.rbs +194 -0
  850. data/sig/amocrm/models/v4_widgets_install_params.rbs +20 -0
  851. data/sig/amocrm/models/v4_widgets_install_response.rbs +194 -0
  852. data/sig/amocrm/models/v4_widgets_list_params.rbs +32 -0
  853. data/sig/amocrm/models/v4_widgets_list_response.rbs +250 -0
  854. data/sig/amocrm/models/v4_widgets_uninstall_params.rbs +15 -0
  855. data/sig/amocrm/models/v4_widgets_uninstall_response.rbs +64 -0
  856. data/sig/amocrm/models.rbs +279 -1
  857. data/sig/amocrm/resources/v2.rbs +12 -0
  858. data/sig/amocrm/resources/v4.rbs +944 -1
  859. metadata +844 -25
  860. data/lib/amocrm/models/v4/leads/unsorted_accept_params.rb +0 -34
  861. data/lib/amocrm/models/v4/leads/unsorted_accept_response.rb +0 -172
  862. data/lib/amocrm/models/v4/leads/unsorted_create_forms_params.rb +0 -883
  863. data/lib/amocrm/models/v4/leads/unsorted_create_forms_response.rb +0 -204
  864. data/lib/amocrm/models/v4/leads/unsorted_decline_params.rb +0 -26
  865. data/lib/amocrm/models/v4/leads/unsorted_decline_response.rb +0 -172
  866. data/lib/amocrm/resources/v4/leads/unsorted.rb +0 -83
  867. data/lib/amocrm/resources/v4/leads.rb +0 -20
  868. data/rbi/amocrm/models/v4/leads/unsorted_accept_params.rbi +0 -64
  869. data/rbi/amocrm/models/v4/leads/unsorted_accept_response.rbi +0 -441
  870. data/rbi/amocrm/models/v4/leads/unsorted_create_forms_params.rbi +0 -1927
  871. data/rbi/amocrm/models/v4/leads/unsorted_create_forms_response.rbi +0 -502
  872. data/rbi/amocrm/models/v4/leads/unsorted_decline_params.rbi +0 -50
  873. data/rbi/amocrm/models/v4/leads/unsorted_decline_response.rbi +0 -441
  874. data/rbi/amocrm/resources/v4/leads/unsorted.rbi +0 -67
  875. data/rbi/amocrm/resources/v4/leads.rbi +0 -17
  876. data/sig/amocrm/models/v4/leads/unsorted_accept_params.rbs +0 -36
  877. data/sig/amocrm/models/v4/leads/unsorted_accept_response.rbs +0 -203
  878. data/sig/amocrm/models/v4/leads/unsorted_create_forms_params.rbs +0 -920
  879. data/sig/amocrm/models/v4/leads/unsorted_create_forms_response.rbs +0 -237
  880. data/sig/amocrm/models/v4/leads/unsorted_decline_params.rbs +0 -29
  881. data/sig/amocrm/models/v4/leads/unsorted_decline_response.rbs +0 -203
  882. data/sig/amocrm/resources/v4/leads/unsorted.rbs +0 -29
  883. data/sig/amocrm/resources/v4/leads.rbs +0 -11
@@ -1,920 +0,0 @@
1
- module Amocrm
2
- module Models
3
- module V4
4
- module Leads
5
- type unsorted_create_forms_params =
6
- { body: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body] }
7
- & Amocrm::Internal::Type::request_parameters
8
-
9
- class UnsortedCreateFormsParams < Amocrm::Internal::Type::BaseModel
10
- extend Amocrm::Internal::Type::RequestParameters::Converter
11
- include Amocrm::Internal::Type::RequestParameters
12
-
13
- attr_accessor body: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body]
14
-
15
- def initialize: (
16
- body: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body],
17
- ?request_options: Amocrm::request_opts
18
- ) -> void
19
-
20
- def to_hash: -> {
21
- body: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body],
22
- request_options: Amocrm::RequestOptions
23
- }
24
-
25
- type body =
26
- {
27
- metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Metadata,
28
- source_name: String,
29
- source_uid: String,
30
- _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded,
31
- created_at: Integer,
32
- pipeline_id: Integer,
33
- request_id: String
34
- }
35
-
36
- class Body < Amocrm::Internal::Type::BaseModel
37
- attr_accessor metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Metadata
38
-
39
- attr_accessor source_name: String
40
-
41
- attr_accessor source_uid: String
42
-
43
- attr_reader _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded?
44
-
45
- def _embedded=: (
46
- Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded
47
- ) -> Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded
48
-
49
- attr_reader created_at: Integer?
50
-
51
- def created_at=: (Integer) -> Integer
52
-
53
- attr_reader pipeline_id: Integer?
54
-
55
- def pipeline_id=: (Integer) -> Integer
56
-
57
- attr_reader request_id: String?
58
-
59
- def request_id=: (String) -> String
60
-
61
- def initialize: (
62
- metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Metadata,
63
- source_name: String,
64
- source_uid: String,
65
- ?_embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded,
66
- ?created_at: Integer,
67
- ?pipeline_id: Integer,
68
- ?request_id: String
69
- ) -> void
70
-
71
- def to_hash: -> {
72
- metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Metadata,
73
- source_name: String,
74
- source_uid: String,
75
- _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded,
76
- created_at: Integer,
77
- pipeline_id: Integer,
78
- request_id: String
79
- }
80
-
81
- type metadata =
82
- {
83
- form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id,
84
- form_name: String,
85
- form_page: String,
86
- form_sent_at: Integer,
87
- form_type: Integer,
88
- ip: String,
89
- referer: String,
90
- visitor_uid: String
91
- }
92
-
93
- class Metadata < Amocrm::Internal::Type::BaseModel
94
- attr_reader form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id?
95
-
96
- def form_id=: (
97
- Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id
98
- ) -> Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id
99
-
100
- attr_reader form_name: String?
101
-
102
- def form_name=: (String) -> String
103
-
104
- attr_reader form_page: String?
105
-
106
- def form_page=: (String) -> String
107
-
108
- attr_reader form_sent_at: Integer?
109
-
110
- def form_sent_at=: (Integer) -> Integer
111
-
112
- attr_reader form_type: Integer?
113
-
114
- def form_type=: (Integer) -> Integer
115
-
116
- attr_reader ip: String?
117
-
118
- def ip=: (String) -> String
119
-
120
- attr_reader referer: String?
121
-
122
- def referer=: (String) -> String
123
-
124
- attr_reader visitor_uid: String?
125
-
126
- def visitor_uid=: (String) -> String
127
-
128
- def initialize: (
129
- ?form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id,
130
- ?form_name: String,
131
- ?form_page: String,
132
- ?form_sent_at: Integer,
133
- ?form_type: Integer,
134
- ?ip: String,
135
- ?referer: String,
136
- ?visitor_uid: String
137
- ) -> void
138
-
139
- def to_hash: -> {
140
- form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id,
141
- form_name: String,
142
- form_page: String,
143
- form_sent_at: Integer,
144
- form_type: Integer,
145
- ip: String,
146
- referer: String,
147
- visitor_uid: String
148
- }
149
-
150
- type form_id = String | Integer
151
-
152
- module FormID
153
- extend Amocrm::Internal::Type::Union
154
-
155
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id]
156
- end
157
- end
158
-
159
- type embedded =
160
- {
161
- companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company],
162
- contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact],
163
- leads: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]
164
- }
165
-
166
- class Embedded < Amocrm::Internal::Type::BaseModel
167
- attr_reader companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company]?
168
-
169
- def companies=: (
170
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company]
171
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company]
172
-
173
- attr_reader contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact]?
174
-
175
- def contacts=: (
176
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact]
177
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact]
178
-
179
- attr_reader leads: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]?
180
-
181
- def leads=: (
182
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]
183
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]
184
-
185
- def initialize: (
186
- ?companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company],
187
- ?contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact],
188
- ?leads: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]
189
- ) -> void
190
-
191
- def to_hash: -> {
192
- companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company],
193
- contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact],
194
- leads: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]
195
- }
196
-
197
- type company = { id: Integer, name: String }
198
-
199
- class Company < Amocrm::Internal::Type::BaseModel
200
- attr_reader id: Integer?
201
-
202
- def id=: (Integer) -> Integer
203
-
204
- attr_reader name: String?
205
-
206
- def name=: (String) -> String
207
-
208
- def initialize: (?id: Integer, ?name: String) -> void
209
-
210
- def to_hash: -> { id: Integer, name: String }
211
- end
212
-
213
- type contact =
214
- {
215
- id: Integer,
216
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue],
217
- first_name: String,
218
- last_name: String,
219
- name: String
220
- }
221
-
222
- class Contact < Amocrm::Internal::Type::BaseModel
223
- attr_reader id: Integer?
224
-
225
- def id=: (Integer) -> Integer
226
-
227
- attr_reader custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue]?
228
-
229
- def custom_fields_values=: (
230
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue]
231
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue]
232
-
233
- attr_reader first_name: String?
234
-
235
- def first_name=: (String) -> String
236
-
237
- attr_reader last_name: String?
238
-
239
- def last_name=: (String) -> String
240
-
241
- attr_reader name: String?
242
-
243
- def name=: (String) -> String
244
-
245
- def initialize: (
246
- ?id: Integer,
247
- ?custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue],
248
- ?first_name: String,
249
- ?last_name: String,
250
- ?name: String
251
- ) -> void
252
-
253
- def to_hash: -> {
254
- id: Integer,
255
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue],
256
- first_name: String,
257
- last_name: String,
258
- name: String
259
- }
260
-
261
- type custom_fields_value =
262
- {
263
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value],
264
- field_code: String,
265
- field_id: Integer
266
- }
267
-
268
- class CustomFieldsValue < Amocrm::Internal::Type::BaseModel
269
- attr_accessor values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value]
270
-
271
- attr_reader field_code: String?
272
-
273
- def field_code=: (String) -> String
274
-
275
- attr_reader field_id: Integer?
276
-
277
- def field_id=: (Integer) -> Integer
278
-
279
- def initialize: (
280
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value],
281
- ?field_code: String,
282
- ?field_id: Integer
283
- ) -> void
284
-
285
- def to_hash: -> {
286
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value],
287
- field_code: String,
288
- field_id: Integer
289
- }
290
-
291
- type value =
292
- {
293
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value,
294
- enum_code: String,
295
- enum_id: Integer
296
- }
297
-
298
- class Value < Amocrm::Internal::Type::BaseModel
299
- attr_accessor value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value
300
-
301
- attr_reader enum_code: String?
302
-
303
- def enum_code=: (String) -> String
304
-
305
- attr_reader enum_id: Integer?
306
-
307
- def enum_id=: (Integer) -> Integer
308
-
309
- def initialize: (
310
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value,
311
- ?enum_code: String,
312
- ?enum_id: Integer
313
- ) -> void
314
-
315
- def to_hash: -> {
316
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value,
317
- enum_code: String,
318
- enum_id: Integer
319
- }
320
-
321
- type value = String | Integer | bool
322
-
323
- module Value
324
- extend Amocrm::Internal::Type::Union
325
-
326
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value]
327
- end
328
- end
329
- end
330
- end
331
-
332
- type lead =
333
- {
334
- _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded,
335
- closed_at: Integer,
336
- created_at: Integer,
337
- created_by: Integer,
338
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue],
339
- group_id: Integer,
340
- loss_reason_id: Integer,
341
- name: String,
342
- pipeline_id: Integer,
343
- price: Integer,
344
- request_id: String,
345
- responsible_user_id: Integer,
346
- status_id: Integer,
347
- tags_to_add: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd],
348
- updated_at: Integer,
349
- updated_by: Integer,
350
- visitor_uid: String
351
- }
352
-
353
- class Lead < Amocrm::Internal::Type::BaseModel
354
- attr_reader _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded?
355
-
356
- def _embedded=: (
357
- Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded
358
- ) -> Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded
359
-
360
- attr_reader closed_at: Integer?
361
-
362
- def closed_at=: (Integer) -> Integer
363
-
364
- attr_reader created_at: Integer?
365
-
366
- def created_at=: (Integer) -> Integer
367
-
368
- attr_reader created_by: Integer?
369
-
370
- def created_by=: (Integer) -> Integer
371
-
372
- attr_reader custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue]?
373
-
374
- def custom_fields_values=: (
375
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue]
376
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue]
377
-
378
- attr_reader group_id: Integer?
379
-
380
- def group_id=: (Integer) -> Integer
381
-
382
- attr_reader loss_reason_id: Integer?
383
-
384
- def loss_reason_id=: (Integer) -> Integer
385
-
386
- attr_reader name: String?
387
-
388
- def name=: (String) -> String
389
-
390
- attr_reader pipeline_id: Integer?
391
-
392
- def pipeline_id=: (Integer) -> Integer
393
-
394
- attr_reader price: Integer?
395
-
396
- def price=: (Integer) -> Integer
397
-
398
- attr_reader request_id: String?
399
-
400
- def request_id=: (String) -> String
401
-
402
- attr_reader responsible_user_id: Integer?
403
-
404
- def responsible_user_id=: (Integer) -> Integer
405
-
406
- attr_reader status_id: Integer?
407
-
408
- def status_id=: (Integer) -> Integer
409
-
410
- attr_reader tags_to_add: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd]?
411
-
412
- def tags_to_add=: (
413
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd]
414
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd]
415
-
416
- attr_reader updated_at: Integer?
417
-
418
- def updated_at=: (Integer) -> Integer
419
-
420
- attr_reader updated_by: Integer?
421
-
422
- def updated_by=: (Integer) -> Integer
423
-
424
- attr_reader visitor_uid: String?
425
-
426
- def visitor_uid=: (String) -> String
427
-
428
- def initialize: (
429
- ?_embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded,
430
- ?closed_at: Integer,
431
- ?created_at: Integer,
432
- ?created_by: Integer,
433
- ?custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue],
434
- ?group_id: Integer,
435
- ?loss_reason_id: Integer,
436
- ?name: String,
437
- ?pipeline_id: Integer,
438
- ?price: Integer,
439
- ?request_id: String,
440
- ?responsible_user_id: Integer,
441
- ?status_id: Integer,
442
- ?tags_to_add: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd],
443
- ?updated_at: Integer,
444
- ?updated_by: Integer,
445
- ?visitor_uid: String
446
- ) -> void
447
-
448
- def to_hash: -> {
449
- _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded,
450
- closed_at: Integer,
451
- created_at: Integer,
452
- created_by: Integer,
453
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue],
454
- group_id: Integer,
455
- loss_reason_id: Integer,
456
- name: String,
457
- pipeline_id: Integer,
458
- price: Integer,
459
- request_id: String,
460
- responsible_user_id: Integer,
461
- status_id: Integer,
462
- tags_to_add: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd],
463
- updated_at: Integer,
464
- updated_by: Integer,
465
- visitor_uid: String
466
- }
467
-
468
- type embedded =
469
- {
470
- companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company],
471
- contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact],
472
- metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata,
473
- source: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source,
474
- tags: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
475
- }
476
-
477
- class Embedded < Amocrm::Internal::Type::BaseModel
478
- attr_reader companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company]?
479
-
480
- def companies=: (
481
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company]
482
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company]
483
-
484
- attr_reader contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact]?
485
-
486
- def contacts=: (
487
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact]
488
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact]
489
-
490
- attr_reader metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata?
491
-
492
- def metadata=: (
493
- Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata
494
- ) -> Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata
495
-
496
- attr_reader source: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source?
497
-
498
- def source=: (
499
- Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source
500
- ) -> Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source
501
-
502
- attr_reader tags: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]?
503
-
504
- def tags=: (
505
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
506
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
507
-
508
- def initialize: (
509
- ?companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company],
510
- ?contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact],
511
- ?metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata,
512
- ?source: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source,
513
- ?tags: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
514
- ) -> void
515
-
516
- def to_hash: -> {
517
- companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company],
518
- contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact],
519
- metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata,
520
- source: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source,
521
- tags: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
522
- }
523
-
524
- type company = { id: Integer, name: String }
525
-
526
- class Company < Amocrm::Internal::Type::BaseModel
527
- attr_reader id: Integer?
528
-
529
- def id=: (Integer) -> Integer
530
-
531
- attr_reader name: String?
532
-
533
- def name=: (String) -> String
534
-
535
- def initialize: (?id: Integer, ?name: String) -> void
536
-
537
- def to_hash: -> { id: Integer, name: String }
538
- end
539
-
540
- type contact =
541
- {
542
- id: Integer,
543
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue],
544
- first_name: String,
545
- last_name: String,
546
- name: String
547
- }
548
-
549
- class Contact < Amocrm::Internal::Type::BaseModel
550
- attr_reader id: Integer?
551
-
552
- def id=: (Integer) -> Integer
553
-
554
- attr_reader custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue]?
555
-
556
- def custom_fields_values=: (
557
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue]
558
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue]
559
-
560
- attr_reader first_name: String?
561
-
562
- def first_name=: (String) -> String
563
-
564
- attr_reader last_name: String?
565
-
566
- def last_name=: (String) -> String
567
-
568
- attr_reader name: String?
569
-
570
- def name=: (String) -> String
571
-
572
- def initialize: (
573
- ?id: Integer,
574
- ?custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue],
575
- ?first_name: String,
576
- ?last_name: String,
577
- ?name: String
578
- ) -> void
579
-
580
- def to_hash: -> {
581
- id: Integer,
582
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue],
583
- first_name: String,
584
- last_name: String,
585
- name: String
586
- }
587
-
588
- type custom_fields_value =
589
- {
590
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value],
591
- field_code: String,
592
- field_id: Integer
593
- }
594
-
595
- class CustomFieldsValue < Amocrm::Internal::Type::BaseModel
596
- attr_accessor values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value]
597
-
598
- attr_reader field_code: String?
599
-
600
- def field_code=: (String) -> String
601
-
602
- attr_reader field_id: Integer?
603
-
604
- def field_id=: (Integer) -> Integer
605
-
606
- def initialize: (
607
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value],
608
- ?field_code: String,
609
- ?field_id: Integer
610
- ) -> void
611
-
612
- def to_hash: -> {
613
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value],
614
- field_code: String,
615
- field_id: Integer
616
- }
617
-
618
- type value =
619
- {
620
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value,
621
- enum_code: String,
622
- enum_id: Integer
623
- }
624
-
625
- class Value < Amocrm::Internal::Type::BaseModel
626
- attr_accessor value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value
627
-
628
- attr_reader enum_code: String?
629
-
630
- def enum_code=: (String) -> String
631
-
632
- attr_reader enum_id: Integer?
633
-
634
- def enum_id=: (Integer) -> Integer
635
-
636
- def initialize: (
637
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value,
638
- ?enum_code: String,
639
- ?enum_id: Integer
640
- ) -> void
641
-
642
- def to_hash: -> {
643
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value,
644
- enum_code: String,
645
- enum_id: Integer
646
- }
647
-
648
- type value = String | Integer | bool
649
-
650
- module Value
651
- extend Amocrm::Internal::Type::Union
652
-
653
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value]
654
- end
655
- end
656
- end
657
- end
658
-
659
- type metadata =
660
- {
661
- category: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category,
662
- form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id,
663
- form_name: String,
664
- form_page: String,
665
- form_sent_at: Integer,
666
- form_type: Integer,
667
- ip: String,
668
- referer: String,
669
- visitor_uid: String
670
- }
671
-
672
- class Metadata < Amocrm::Internal::Type::BaseModel
673
- attr_reader category: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category?
674
-
675
- def category=: (
676
- Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category
677
- ) -> Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category
678
-
679
- attr_reader form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id?
680
-
681
- def form_id=: (
682
- Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id
683
- ) -> Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id
684
-
685
- attr_reader form_name: String?
686
-
687
- def form_name=: (String) -> String
688
-
689
- attr_reader form_page: String?
690
-
691
- def form_page=: (String) -> String
692
-
693
- attr_reader form_sent_at: Integer?
694
-
695
- def form_sent_at=: (Integer) -> Integer
696
-
697
- attr_reader form_type: Integer?
698
-
699
- def form_type=: (Integer) -> Integer
700
-
701
- attr_reader ip: String?
702
-
703
- def ip=: (String) -> String
704
-
705
- attr_reader referer: String?
706
-
707
- def referer=: (String) -> String
708
-
709
- attr_reader visitor_uid: String?
710
-
711
- def visitor_uid=: (String) -> String
712
-
713
- def initialize: (
714
- ?category: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category,
715
- ?form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id,
716
- ?form_name: String,
717
- ?form_page: String,
718
- ?form_sent_at: Integer,
719
- ?form_type: Integer,
720
- ?ip: String,
721
- ?referer: String,
722
- ?visitor_uid: String
723
- ) -> void
724
-
725
- def to_hash: -> {
726
- category: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category,
727
- form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id,
728
- form_name: String,
729
- form_page: String,
730
- form_sent_at: Integer,
731
- form_type: Integer,
732
- ip: String,
733
- referer: String,
734
- visitor_uid: String
735
- }
736
-
737
- type category = :sip | :forms | :chats | :mail
738
-
739
- module Category
740
- extend Amocrm::Internal::Type::Enum
741
-
742
- SIP: :sip
743
- FORMS: :forms
744
- CHATS: :chats
745
- MAIL: :mail
746
-
747
- def self?.values: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category]
748
- end
749
-
750
- type form_id = String | Integer
751
-
752
- module FormID
753
- extend Amocrm::Internal::Type::Union
754
-
755
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id]
756
- end
757
- end
758
-
759
- type source =
760
- {
761
- external_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id,
762
- type: String
763
- }
764
-
765
- class Source < Amocrm::Internal::Type::BaseModel
766
- attr_reader external_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id?
767
-
768
- def external_id=: (
769
- Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id
770
- ) -> Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id
771
-
772
- attr_reader type: String?
773
-
774
- def type=: (String) -> String
775
-
776
- def initialize: (
777
- ?external_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id,
778
- ?type: String
779
- ) -> void
780
-
781
- def to_hash: -> {
782
- external_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id,
783
- type: String
784
- }
785
-
786
- type external_id = String | Integer | bool
787
-
788
- module ExternalID
789
- extend Amocrm::Internal::Type::Union
790
-
791
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id]
792
- end
793
- end
794
-
795
- type tag = { id: Integer, color: String, name: String }
796
-
797
- class Tag < Amocrm::Internal::Type::BaseModel
798
- attr_reader id: Integer?
799
-
800
- def id=: (Integer) -> Integer
801
-
802
- attr_reader color: String?
803
-
804
- def color=: (String) -> String
805
-
806
- attr_reader name: String?
807
-
808
- def name=: (String) -> String
809
-
810
- def initialize: (
811
- ?id: Integer,
812
- ?color: String,
813
- ?name: String
814
- ) -> void
815
-
816
- def to_hash: -> { id: Integer, color: String, name: String }
817
- end
818
- end
819
-
820
- type custom_fields_value =
821
- {
822
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value],
823
- field_code: String,
824
- field_id: Integer
825
- }
826
-
827
- class CustomFieldsValue < Amocrm::Internal::Type::BaseModel
828
- attr_accessor values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value]
829
-
830
- attr_reader field_code: String?
831
-
832
- def field_code=: (String) -> String
833
-
834
- attr_reader field_id: Integer?
835
-
836
- def field_id=: (Integer) -> Integer
837
-
838
- def initialize: (
839
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value],
840
- ?field_code: String,
841
- ?field_id: Integer
842
- ) -> void
843
-
844
- def to_hash: -> {
845
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value],
846
- field_code: String,
847
- field_id: Integer
848
- }
849
-
850
- type value =
851
- {
852
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value,
853
- enum_code: String,
854
- enum_id: Integer
855
- }
856
-
857
- class Value < Amocrm::Internal::Type::BaseModel
858
- attr_accessor value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value
859
-
860
- attr_reader enum_code: String?
861
-
862
- def enum_code=: (String) -> String
863
-
864
- attr_reader enum_id: Integer?
865
-
866
- def enum_id=: (Integer) -> Integer
867
-
868
- def initialize: (
869
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value,
870
- ?enum_code: String,
871
- ?enum_id: Integer
872
- ) -> void
873
-
874
- def to_hash: -> {
875
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value,
876
- enum_code: String,
877
- enum_id: Integer
878
- }
879
-
880
- type value = String | Integer | bool
881
-
882
- module Value
883
- extend Amocrm::Internal::Type::Union
884
-
885
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value]
886
- end
887
- end
888
- end
889
-
890
- type tags_to_add = { id: Integer, color: String, name: String }
891
-
892
- class TagsToAdd < Amocrm::Internal::Type::BaseModel
893
- attr_reader id: Integer?
894
-
895
- def id=: (Integer) -> Integer
896
-
897
- attr_reader color: String?
898
-
899
- def color=: (String) -> String
900
-
901
- attr_reader name: String?
902
-
903
- def name=: (String) -> String
904
-
905
- def initialize: (
906
- ?id: Integer,
907
- ?color: String,
908
- ?name: String
909
- ) -> void
910
-
911
- def to_hash: -> { id: Integer, color: String, name: String }
912
- end
913
- end
914
- end
915
- end
916
- end
917
- end
918
- end
919
- end
920
- end