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
@@ -0,0 +1,916 @@
1
+ module Amocrm
2
+ module Models
3
+ type v4_unsorted_leads_create_forms_params =
4
+ { body: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body] }
5
+ & Amocrm::Internal::Type::request_parameters
6
+
7
+ class V4UnsortedLeadsCreateFormsParams < Amocrm::Internal::Type::BaseModel
8
+ extend Amocrm::Internal::Type::RequestParameters::Converter
9
+ include Amocrm::Internal::Type::RequestParameters
10
+
11
+ attr_accessor body: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body]
12
+
13
+ def initialize: (
14
+ body: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body],
15
+ ?request_options: Amocrm::request_opts
16
+ ) -> void
17
+
18
+ def to_hash: -> {
19
+ body: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body],
20
+ request_options: Amocrm::RequestOptions
21
+ }
22
+
23
+ type body =
24
+ {
25
+ metadata: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Metadata,
26
+ source_name: String,
27
+ source_uid: String,
28
+ _embedded: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded,
29
+ created_at: Integer,
30
+ pipeline_id: Integer,
31
+ request_id: String
32
+ }
33
+
34
+ class Body < Amocrm::Internal::Type::BaseModel
35
+ attr_accessor metadata: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Metadata
36
+
37
+ attr_accessor source_name: String
38
+
39
+ attr_accessor source_uid: String
40
+
41
+ attr_reader _embedded: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded?
42
+
43
+ def _embedded=: (
44
+ Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded
45
+ ) -> Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded
46
+
47
+ attr_reader created_at: Integer?
48
+
49
+ def created_at=: (Integer) -> Integer
50
+
51
+ attr_reader pipeline_id: Integer?
52
+
53
+ def pipeline_id=: (Integer) -> Integer
54
+
55
+ attr_reader request_id: String?
56
+
57
+ def request_id=: (String) -> String
58
+
59
+ def initialize: (
60
+ metadata: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Metadata,
61
+ source_name: String,
62
+ source_uid: String,
63
+ ?_embedded: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded,
64
+ ?created_at: Integer,
65
+ ?pipeline_id: Integer,
66
+ ?request_id: String
67
+ ) -> void
68
+
69
+ def to_hash: -> {
70
+ metadata: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Metadata,
71
+ source_name: String,
72
+ source_uid: String,
73
+ _embedded: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded,
74
+ created_at: Integer,
75
+ pipeline_id: Integer,
76
+ request_id: String
77
+ }
78
+
79
+ type metadata =
80
+ {
81
+ form_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Metadata::form_id,
82
+ form_name: String,
83
+ form_page: String,
84
+ form_sent_at: Integer,
85
+ form_type: Integer,
86
+ ip: String,
87
+ referer: String,
88
+ visitor_uid: String
89
+ }
90
+
91
+ class Metadata < Amocrm::Internal::Type::BaseModel
92
+ attr_reader form_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Metadata::form_id?
93
+
94
+ def form_id=: (
95
+ Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Metadata::form_id
96
+ ) -> Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Metadata::form_id
97
+
98
+ attr_reader form_name: String?
99
+
100
+ def form_name=: (String) -> String
101
+
102
+ attr_reader form_page: String?
103
+
104
+ def form_page=: (String) -> String
105
+
106
+ attr_reader form_sent_at: Integer?
107
+
108
+ def form_sent_at=: (Integer) -> Integer
109
+
110
+ attr_reader form_type: Integer?
111
+
112
+ def form_type=: (Integer) -> Integer
113
+
114
+ attr_reader ip: String?
115
+
116
+ def ip=: (String) -> String
117
+
118
+ attr_reader referer: String?
119
+
120
+ def referer=: (String) -> String
121
+
122
+ attr_reader visitor_uid: String?
123
+
124
+ def visitor_uid=: (String) -> String
125
+
126
+ def initialize: (
127
+ ?form_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Metadata::form_id,
128
+ ?form_name: String,
129
+ ?form_page: String,
130
+ ?form_sent_at: Integer,
131
+ ?form_type: Integer,
132
+ ?ip: String,
133
+ ?referer: String,
134
+ ?visitor_uid: String
135
+ ) -> void
136
+
137
+ def to_hash: -> {
138
+ form_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Metadata::form_id,
139
+ form_name: String,
140
+ form_page: String,
141
+ form_sent_at: Integer,
142
+ form_type: Integer,
143
+ ip: String,
144
+ referer: String,
145
+ visitor_uid: String
146
+ }
147
+
148
+ type form_id = String | Integer
149
+
150
+ module FormID
151
+ extend Amocrm::Internal::Type::Union
152
+
153
+ def self?.variants: -> ::Array[Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Metadata::form_id]
154
+ end
155
+ end
156
+
157
+ type embedded =
158
+ {
159
+ companies: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Company],
160
+ contacts: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact],
161
+ leads: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead]
162
+ }
163
+
164
+ class Embedded < Amocrm::Internal::Type::BaseModel
165
+ attr_reader companies: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Company]?
166
+
167
+ def companies=: (
168
+ ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Company]
169
+ ) -> ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Company]
170
+
171
+ attr_reader contacts: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact]?
172
+
173
+ def contacts=: (
174
+ ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact]
175
+ ) -> ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact]
176
+
177
+ attr_reader leads: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead]?
178
+
179
+ def leads=: (
180
+ ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead]
181
+ ) -> ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead]
182
+
183
+ def initialize: (
184
+ ?companies: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Company],
185
+ ?contacts: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact],
186
+ ?leads: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead]
187
+ ) -> void
188
+
189
+ def to_hash: -> {
190
+ companies: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Company],
191
+ contacts: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact],
192
+ leads: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead]
193
+ }
194
+
195
+ type company = { id: Integer, name: String }
196
+
197
+ class Company < Amocrm::Internal::Type::BaseModel
198
+ attr_reader id: Integer?
199
+
200
+ def id=: (Integer) -> Integer
201
+
202
+ attr_reader name: String?
203
+
204
+ def name=: (String) -> String
205
+
206
+ def initialize: (?id: Integer, ?name: String) -> void
207
+
208
+ def to_hash: -> { id: Integer, name: String }
209
+ end
210
+
211
+ type contact =
212
+ {
213
+ id: Integer,
214
+ custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue],
215
+ first_name: String,
216
+ last_name: String,
217
+ name: String
218
+ }
219
+
220
+ class Contact < Amocrm::Internal::Type::BaseModel
221
+ attr_reader id: Integer?
222
+
223
+ def id=: (Integer) -> Integer
224
+
225
+ attr_reader custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue]?
226
+
227
+ def custom_fields_values=: (
228
+ ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue]
229
+ ) -> ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue]
230
+
231
+ attr_reader first_name: String?
232
+
233
+ def first_name=: (String) -> String
234
+
235
+ attr_reader last_name: String?
236
+
237
+ def last_name=: (String) -> String
238
+
239
+ attr_reader name: String?
240
+
241
+ def name=: (String) -> String
242
+
243
+ def initialize: (
244
+ ?id: Integer,
245
+ ?custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue],
246
+ ?first_name: String,
247
+ ?last_name: String,
248
+ ?name: String
249
+ ) -> void
250
+
251
+ def to_hash: -> {
252
+ id: Integer,
253
+ custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue],
254
+ first_name: String,
255
+ last_name: String,
256
+ name: String
257
+ }
258
+
259
+ type custom_fields_value =
260
+ {
261
+ values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value],
262
+ field_code: String,
263
+ field_id: Integer
264
+ }
265
+
266
+ class CustomFieldsValue < Amocrm::Internal::Type::BaseModel
267
+ attr_accessor values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value]
268
+
269
+ attr_reader field_code: String?
270
+
271
+ def field_code=: (String) -> String
272
+
273
+ attr_reader field_id: Integer?
274
+
275
+ def field_id=: (Integer) -> Integer
276
+
277
+ def initialize: (
278
+ values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value],
279
+ ?field_code: String,
280
+ ?field_id: Integer
281
+ ) -> void
282
+
283
+ def to_hash: -> {
284
+ values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value],
285
+ field_code: String,
286
+ field_id: Integer
287
+ }
288
+
289
+ type value =
290
+ {
291
+ value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value,
292
+ enum_code: String,
293
+ enum_id: Integer
294
+ }
295
+
296
+ class Value < Amocrm::Internal::Type::BaseModel
297
+ attr_accessor value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value
298
+
299
+ attr_reader enum_code: String?
300
+
301
+ def enum_code=: (String) -> String
302
+
303
+ attr_reader enum_id: Integer?
304
+
305
+ def enum_id=: (Integer) -> Integer
306
+
307
+ def initialize: (
308
+ value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value,
309
+ ?enum_code: String,
310
+ ?enum_id: Integer
311
+ ) -> void
312
+
313
+ def to_hash: -> {
314
+ value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value,
315
+ enum_code: String,
316
+ enum_id: Integer
317
+ }
318
+
319
+ type value = String | Integer | bool
320
+
321
+ module Value
322
+ extend Amocrm::Internal::Type::Union
323
+
324
+ def self?.variants: -> ::Array[Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value]
325
+ end
326
+ end
327
+ end
328
+ end
329
+
330
+ type lead =
331
+ {
332
+ _embedded: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded,
333
+ closed_at: Integer,
334
+ created_at: Integer,
335
+ created_by: Integer,
336
+ custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue],
337
+ group_id: Integer,
338
+ loss_reason_id: Integer,
339
+ name: String,
340
+ pipeline_id: Integer,
341
+ price: Integer,
342
+ request_id: String,
343
+ responsible_user_id: Integer,
344
+ status_id: Integer,
345
+ tags_to_add: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::TagsToAdd],
346
+ updated_at: Integer,
347
+ updated_by: Integer,
348
+ visitor_uid: String
349
+ }
350
+
351
+ class Lead < Amocrm::Internal::Type::BaseModel
352
+ attr_reader _embedded: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded?
353
+
354
+ def _embedded=: (
355
+ Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded
356
+ ) -> Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded
357
+
358
+ attr_reader closed_at: Integer?
359
+
360
+ def closed_at=: (Integer) -> Integer
361
+
362
+ attr_reader created_at: Integer?
363
+
364
+ def created_at=: (Integer) -> Integer
365
+
366
+ attr_reader created_by: Integer?
367
+
368
+ def created_by=: (Integer) -> Integer
369
+
370
+ attr_reader custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue]?
371
+
372
+ def custom_fields_values=: (
373
+ ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue]
374
+ ) -> ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue]
375
+
376
+ attr_reader group_id: Integer?
377
+
378
+ def group_id=: (Integer) -> Integer
379
+
380
+ attr_reader loss_reason_id: Integer?
381
+
382
+ def loss_reason_id=: (Integer) -> Integer
383
+
384
+ attr_reader name: String?
385
+
386
+ def name=: (String) -> String
387
+
388
+ attr_reader pipeline_id: Integer?
389
+
390
+ def pipeline_id=: (Integer) -> Integer
391
+
392
+ attr_reader price: Integer?
393
+
394
+ def price=: (Integer) -> Integer
395
+
396
+ attr_reader request_id: String?
397
+
398
+ def request_id=: (String) -> String
399
+
400
+ attr_reader responsible_user_id: Integer?
401
+
402
+ def responsible_user_id=: (Integer) -> Integer
403
+
404
+ attr_reader status_id: Integer?
405
+
406
+ def status_id=: (Integer) -> Integer
407
+
408
+ attr_reader tags_to_add: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::TagsToAdd]?
409
+
410
+ def tags_to_add=: (
411
+ ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::TagsToAdd]
412
+ ) -> ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::TagsToAdd]
413
+
414
+ attr_reader updated_at: Integer?
415
+
416
+ def updated_at=: (Integer) -> Integer
417
+
418
+ attr_reader updated_by: Integer?
419
+
420
+ def updated_by=: (Integer) -> Integer
421
+
422
+ attr_reader visitor_uid: String?
423
+
424
+ def visitor_uid=: (String) -> String
425
+
426
+ def initialize: (
427
+ ?_embedded: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded,
428
+ ?closed_at: Integer,
429
+ ?created_at: Integer,
430
+ ?created_by: Integer,
431
+ ?custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue],
432
+ ?group_id: Integer,
433
+ ?loss_reason_id: Integer,
434
+ ?name: String,
435
+ ?pipeline_id: Integer,
436
+ ?price: Integer,
437
+ ?request_id: String,
438
+ ?responsible_user_id: Integer,
439
+ ?status_id: Integer,
440
+ ?tags_to_add: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::TagsToAdd],
441
+ ?updated_at: Integer,
442
+ ?updated_by: Integer,
443
+ ?visitor_uid: String
444
+ ) -> void
445
+
446
+ def to_hash: -> {
447
+ _embedded: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded,
448
+ closed_at: Integer,
449
+ created_at: Integer,
450
+ created_by: Integer,
451
+ custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue],
452
+ group_id: Integer,
453
+ loss_reason_id: Integer,
454
+ name: String,
455
+ pipeline_id: Integer,
456
+ price: Integer,
457
+ request_id: String,
458
+ responsible_user_id: Integer,
459
+ status_id: Integer,
460
+ tags_to_add: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::TagsToAdd],
461
+ updated_at: Integer,
462
+ updated_by: Integer,
463
+ visitor_uid: String
464
+ }
465
+
466
+ type embedded =
467
+ {
468
+ companies: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Company],
469
+ contacts: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact],
470
+ metadata: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata,
471
+ source: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source,
472
+ tags: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
473
+ }
474
+
475
+ class Embedded < Amocrm::Internal::Type::BaseModel
476
+ attr_reader companies: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Company]?
477
+
478
+ def companies=: (
479
+ ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Company]
480
+ ) -> ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Company]
481
+
482
+ attr_reader contacts: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact]?
483
+
484
+ def contacts=: (
485
+ ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact]
486
+ ) -> ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact]
487
+
488
+ attr_reader metadata: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata?
489
+
490
+ def metadata=: (
491
+ Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata
492
+ ) -> Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata
493
+
494
+ attr_reader source: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source?
495
+
496
+ def source=: (
497
+ Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source
498
+ ) -> Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source
499
+
500
+ attr_reader tags: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]?
501
+
502
+ def tags=: (
503
+ ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
504
+ ) -> ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
505
+
506
+ def initialize: (
507
+ ?companies: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Company],
508
+ ?contacts: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact],
509
+ ?metadata: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata,
510
+ ?source: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source,
511
+ ?tags: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
512
+ ) -> void
513
+
514
+ def to_hash: -> {
515
+ companies: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Company],
516
+ contacts: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact],
517
+ metadata: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata,
518
+ source: Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source,
519
+ tags: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
520
+ }
521
+
522
+ type company = { id: Integer, name: String }
523
+
524
+ class Company < Amocrm::Internal::Type::BaseModel
525
+ attr_reader id: Integer?
526
+
527
+ def id=: (Integer) -> Integer
528
+
529
+ attr_reader name: String?
530
+
531
+ def name=: (String) -> String
532
+
533
+ def initialize: (?id: Integer, ?name: String) -> void
534
+
535
+ def to_hash: -> { id: Integer, name: String }
536
+ end
537
+
538
+ type contact =
539
+ {
540
+ id: Integer,
541
+ custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue],
542
+ first_name: String,
543
+ last_name: String,
544
+ name: String
545
+ }
546
+
547
+ class Contact < Amocrm::Internal::Type::BaseModel
548
+ attr_reader id: Integer?
549
+
550
+ def id=: (Integer) -> Integer
551
+
552
+ attr_reader custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue]?
553
+
554
+ def custom_fields_values=: (
555
+ ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue]
556
+ ) -> ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue]
557
+
558
+ attr_reader first_name: String?
559
+
560
+ def first_name=: (String) -> String
561
+
562
+ attr_reader last_name: String?
563
+
564
+ def last_name=: (String) -> String
565
+
566
+ attr_reader name: String?
567
+
568
+ def name=: (String) -> String
569
+
570
+ def initialize: (
571
+ ?id: Integer,
572
+ ?custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue],
573
+ ?first_name: String,
574
+ ?last_name: String,
575
+ ?name: String
576
+ ) -> void
577
+
578
+ def to_hash: -> {
579
+ id: Integer,
580
+ custom_fields_values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue],
581
+ first_name: String,
582
+ last_name: String,
583
+ name: String
584
+ }
585
+
586
+ type custom_fields_value =
587
+ {
588
+ values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value],
589
+ field_code: String,
590
+ field_id: Integer
591
+ }
592
+
593
+ class CustomFieldsValue < Amocrm::Internal::Type::BaseModel
594
+ attr_accessor values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value]
595
+
596
+ attr_reader field_code: String?
597
+
598
+ def field_code=: (String) -> String
599
+
600
+ attr_reader field_id: Integer?
601
+
602
+ def field_id=: (Integer) -> Integer
603
+
604
+ def initialize: (
605
+ values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value],
606
+ ?field_code: String,
607
+ ?field_id: Integer
608
+ ) -> void
609
+
610
+ def to_hash: -> {
611
+ values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value],
612
+ field_code: String,
613
+ field_id: Integer
614
+ }
615
+
616
+ type value =
617
+ {
618
+ value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value,
619
+ enum_code: String,
620
+ enum_id: Integer
621
+ }
622
+
623
+ class Value < Amocrm::Internal::Type::BaseModel
624
+ attr_accessor value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value
625
+
626
+ attr_reader enum_code: String?
627
+
628
+ def enum_code=: (String) -> String
629
+
630
+ attr_reader enum_id: Integer?
631
+
632
+ def enum_id=: (Integer) -> Integer
633
+
634
+ def initialize: (
635
+ value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value,
636
+ ?enum_code: String,
637
+ ?enum_id: Integer
638
+ ) -> void
639
+
640
+ def to_hash: -> {
641
+ value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value,
642
+ enum_code: String,
643
+ enum_id: Integer
644
+ }
645
+
646
+ type value = String | Integer | bool
647
+
648
+ module Value
649
+ extend Amocrm::Internal::Type::Union
650
+
651
+ def self?.variants: -> ::Array[Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value]
652
+ end
653
+ end
654
+ end
655
+ end
656
+
657
+ type metadata =
658
+ {
659
+ category: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category,
660
+ form_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id,
661
+ form_name: String,
662
+ form_page: String,
663
+ form_sent_at: Integer,
664
+ form_type: Integer,
665
+ ip: String,
666
+ referer: String,
667
+ visitor_uid: String
668
+ }
669
+
670
+ class Metadata < Amocrm::Internal::Type::BaseModel
671
+ attr_reader category: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category?
672
+
673
+ def category=: (
674
+ Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category
675
+ ) -> Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category
676
+
677
+ attr_reader form_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id?
678
+
679
+ def form_id=: (
680
+ Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id
681
+ ) -> Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id
682
+
683
+ attr_reader form_name: String?
684
+
685
+ def form_name=: (String) -> String
686
+
687
+ attr_reader form_page: String?
688
+
689
+ def form_page=: (String) -> String
690
+
691
+ attr_reader form_sent_at: Integer?
692
+
693
+ def form_sent_at=: (Integer) -> Integer
694
+
695
+ attr_reader form_type: Integer?
696
+
697
+ def form_type=: (Integer) -> Integer
698
+
699
+ attr_reader ip: String?
700
+
701
+ def ip=: (String) -> String
702
+
703
+ attr_reader referer: String?
704
+
705
+ def referer=: (String) -> String
706
+
707
+ attr_reader visitor_uid: String?
708
+
709
+ def visitor_uid=: (String) -> String
710
+
711
+ def initialize: (
712
+ ?category: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category,
713
+ ?form_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id,
714
+ ?form_name: String,
715
+ ?form_page: String,
716
+ ?form_sent_at: Integer,
717
+ ?form_type: Integer,
718
+ ?ip: String,
719
+ ?referer: String,
720
+ ?visitor_uid: String
721
+ ) -> void
722
+
723
+ def to_hash: -> {
724
+ category: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category,
725
+ form_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id,
726
+ form_name: String,
727
+ form_page: String,
728
+ form_sent_at: Integer,
729
+ form_type: Integer,
730
+ ip: String,
731
+ referer: String,
732
+ visitor_uid: String
733
+ }
734
+
735
+ type category = :sip | :forms | :chats | :mail
736
+
737
+ module Category
738
+ extend Amocrm::Internal::Type::Enum
739
+
740
+ SIP: :sip
741
+ FORMS: :forms
742
+ CHATS: :chats
743
+ MAIL: :mail
744
+
745
+ def self?.values: -> ::Array[Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category]
746
+ end
747
+
748
+ type form_id = String | Integer
749
+
750
+ module FormID
751
+ extend Amocrm::Internal::Type::Union
752
+
753
+ def self?.variants: -> ::Array[Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id]
754
+ end
755
+ end
756
+
757
+ type source =
758
+ {
759
+ external_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id,
760
+ type: String
761
+ }
762
+
763
+ class Source < Amocrm::Internal::Type::BaseModel
764
+ attr_reader external_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id?
765
+
766
+ def external_id=: (
767
+ Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id
768
+ ) -> Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id
769
+
770
+ attr_reader type: String?
771
+
772
+ def type=: (String) -> String
773
+
774
+ def initialize: (
775
+ ?external_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id,
776
+ ?type: String
777
+ ) -> void
778
+
779
+ def to_hash: -> {
780
+ external_id: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id,
781
+ type: String
782
+ }
783
+
784
+ type external_id = String | Integer | bool
785
+
786
+ module ExternalID
787
+ extend Amocrm::Internal::Type::Union
788
+
789
+ def self?.variants: -> ::Array[Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id]
790
+ end
791
+ end
792
+
793
+ type tag = { id: Integer, color: String, name: String }
794
+
795
+ class Tag < Amocrm::Internal::Type::BaseModel
796
+ attr_reader id: Integer?
797
+
798
+ def id=: (Integer) -> Integer
799
+
800
+ attr_reader color: String?
801
+
802
+ def color=: (String) -> String
803
+
804
+ attr_reader name: String?
805
+
806
+ def name=: (String) -> String
807
+
808
+ def initialize: (
809
+ ?id: Integer,
810
+ ?color: String,
811
+ ?name: String
812
+ ) -> void
813
+
814
+ def to_hash: -> { id: Integer, color: String, name: String }
815
+ end
816
+ end
817
+
818
+ type custom_fields_value =
819
+ {
820
+ values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value],
821
+ field_code: String,
822
+ field_id: Integer
823
+ }
824
+
825
+ class CustomFieldsValue < Amocrm::Internal::Type::BaseModel
826
+ attr_accessor values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value]
827
+
828
+ attr_reader field_code: String?
829
+
830
+ def field_code=: (String) -> String
831
+
832
+ attr_reader field_id: Integer?
833
+
834
+ def field_id=: (Integer) -> Integer
835
+
836
+ def initialize: (
837
+ values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value],
838
+ ?field_code: String,
839
+ ?field_id: Integer
840
+ ) -> void
841
+
842
+ def to_hash: -> {
843
+ values: ::Array[Amocrm::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value],
844
+ field_code: String,
845
+ field_id: Integer
846
+ }
847
+
848
+ type value =
849
+ {
850
+ value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value,
851
+ enum_code: String,
852
+ enum_id: Integer
853
+ }
854
+
855
+ class Value < Amocrm::Internal::Type::BaseModel
856
+ attr_accessor value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value
857
+
858
+ attr_reader enum_code: String?
859
+
860
+ def enum_code=: (String) -> String
861
+
862
+ attr_reader enum_id: Integer?
863
+
864
+ def enum_id=: (Integer) -> Integer
865
+
866
+ def initialize: (
867
+ value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value,
868
+ ?enum_code: String,
869
+ ?enum_id: Integer
870
+ ) -> void
871
+
872
+ def to_hash: -> {
873
+ value: Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value,
874
+ enum_code: String,
875
+ enum_id: Integer
876
+ }
877
+
878
+ type value = String | Integer | bool
879
+
880
+ module Value
881
+ extend Amocrm::Internal::Type::Union
882
+
883
+ def self?.variants: -> ::Array[Amocrm::Models::V4UnsortedLeadsCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value]
884
+ end
885
+ end
886
+ end
887
+
888
+ type tags_to_add = { id: Integer, color: String, name: String }
889
+
890
+ class TagsToAdd < Amocrm::Internal::Type::BaseModel
891
+ attr_reader id: Integer?
892
+
893
+ def id=: (Integer) -> Integer
894
+
895
+ attr_reader color: String?
896
+
897
+ def color=: (String) -> String
898
+
899
+ attr_reader name: String?
900
+
901
+ def name=: (String) -> String
902
+
903
+ def initialize: (
904
+ ?id: Integer,
905
+ ?color: String,
906
+ ?name: String
907
+ ) -> void
908
+
909
+ def to_hash: -> { id: Integer, color: String, name: String }
910
+ end
911
+ end
912
+ end
913
+ end
914
+ end
915
+ end
916
+ end