amocrm 0.3.0 → 0.5.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 (988) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +42 -14
  4. data/lib/amocrm/client.rb +143 -3
  5. data/lib/amocrm/internal/type/union.rb +7 -7
  6. data/lib/amocrm/models/account_get_params.rb +22 -0
  7. data/lib/amocrm/models/account_get_response.rb +408 -0
  8. data/lib/amocrm/models/call_create_params.rb +151 -0
  9. data/lib/amocrm/models/call_create_response.rb +162 -0
  10. data/lib/amocrm/models/catalog_create_params.rb +88 -0
  11. data/lib/amocrm/models/catalog_create_response.rb +221 -0
  12. data/lib/amocrm/models/catalog_element_create_params.rb +100 -0
  13. data/lib/amocrm/models/catalog_element_create_response.rb +254 -0
  14. data/lib/amocrm/models/catalog_element_get_by_id_params.rb +29 -0
  15. data/lib/amocrm/models/catalog_element_get_by_id_response.rb +210 -0
  16. data/lib/amocrm/models/catalog_element_list_params.rb +49 -0
  17. data/lib/amocrm/models/catalog_element_list_response.rb +254 -0
  18. data/lib/amocrm/models/catalog_element_update_by_id_params.rb +96 -0
  19. data/lib/amocrm/models/catalog_element_update_by_id_response.rb +254 -0
  20. data/lib/amocrm/models/catalog_element_update_params.rb +106 -0
  21. data/lib/amocrm/models/catalog_element_update_response.rb +254 -0
  22. data/lib/amocrm/models/catalog_get_by_id_params.rb +14 -0
  23. data/lib/amocrm/models/catalog_get_by_id_response.rb +181 -0
  24. data/lib/amocrm/models/catalog_list_params.rb +26 -0
  25. data/lib/amocrm/models/catalog_list_response.rb +221 -0
  26. data/lib/amocrm/models/catalog_update_by_id_params.rb +44 -0
  27. data/lib/amocrm/models/catalog_update_by_id_response.rb +221 -0
  28. data/lib/amocrm/models/catalog_update_params.rb +60 -0
  29. data/lib/amocrm/models/catalog_update_response.rb +221 -0
  30. data/lib/amocrm/models/company_create_params.rb +224 -0
  31. data/lib/amocrm/models/company_create_response.rb +95 -0
  32. data/lib/amocrm/models/company_get_by_id_params.rb +22 -0
  33. data/lib/amocrm/models/company_get_by_id_response.rb +324 -0
  34. data/lib/amocrm/models/company_list_params.rb +74 -0
  35. data/lib/amocrm/models/company_list_response.rb +359 -0
  36. data/lib/amocrm/models/company_update_by_id_params.rb +235 -0
  37. data/lib/amocrm/models/company_update_by_id_response.rb +95 -0
  38. data/lib/amocrm/models/company_update_params.rb +254 -0
  39. data/lib/amocrm/models/company_update_response.rb +95 -0
  40. data/lib/amocrm/models/contact_chat_link_params.rb +42 -0
  41. data/lib/amocrm/models/contact_chat_link_response.rb +95 -0
  42. data/lib/amocrm/models/contact_chat_list_params.rb +20 -0
  43. data/lib/amocrm/models/contact_chat_list_response.rb +95 -0
  44. data/lib/amocrm/models/contact_create_params.rb +238 -0
  45. data/lib/amocrm/models/contact_create_response.rb +95 -0
  46. data/lib/amocrm/models/contact_get_by_id_params.rb +22 -0
  47. data/lib/amocrm/models/contact_get_by_id_response.rb +348 -0
  48. data/lib/amocrm/models/contact_list_params.rb +74 -0
  49. data/lib/amocrm/models/contact_list_response.rb +383 -0
  50. data/lib/amocrm/models/contact_update_by_id_params.rb +249 -0
  51. data/lib/amocrm/models/contact_update_by_id_response.rb +95 -0
  52. data/lib/amocrm/models/contact_update_params.rb +268 -0
  53. data/lib/amocrm/models/contact_update_response.rb +95 -0
  54. data/lib/amocrm/models/custom_field_create_params.rb +108 -0
  55. data/lib/amocrm/models/custom_field_create_response.rb +95 -0
  56. data/lib/amocrm/models/custom_field_delete_by_id_params.rb +20 -0
  57. data/lib/amocrm/models/custom_field_delete_by_id_response.rb +45 -0
  58. data/lib/amocrm/models/custom_field_get_by_id_params.rb +20 -0
  59. data/lib/amocrm/models/custom_field_get_by_id_response.rb +127 -0
  60. data/lib/amocrm/models/custom_field_group_create_params.rb +45 -0
  61. data/lib/amocrm/models/custom_field_group_create_response.rb +96 -0
  62. data/lib/amocrm/models/custom_field_group_delete_by_id_params.rb +20 -0
  63. data/lib/amocrm/models/custom_field_group_delete_by_id_response.rb +45 -0
  64. data/lib/amocrm/models/custom_field_group_get_by_id_params.rb +20 -0
  65. data/lib/amocrm/models/custom_field_group_get_by_id_response.rb +73 -0
  66. data/lib/amocrm/models/custom_field_group_list_params.rb +26 -0
  67. data/lib/amocrm/models/custom_field_group_list_response.rb +108 -0
  68. data/lib/amocrm/models/custom_field_group_update_by_id_params.rb +32 -0
  69. data/lib/amocrm/models/custom_field_group_update_by_id_response.rb +45 -0
  70. data/lib/amocrm/models/custom_field_list_params.rb +26 -0
  71. data/lib/amocrm/models/custom_field_list_response.rb +161 -0
  72. data/lib/amocrm/models/custom_field_update_by_id_params.rb +86 -0
  73. data/lib/amocrm/models/custom_field_update_by_id_response.rb +45 -0
  74. data/lib/amocrm/models/custom_field_update_params.rb +108 -0
  75. data/lib/amocrm/models/custom_field_update_response.rb +45 -0
  76. data/lib/amocrm/models/customer_bonus_point_change_params.rb +26 -0
  77. data/lib/amocrm/models/customer_bonus_point_change_response.rb +55 -0
  78. data/lib/amocrm/models/customer_create_params.rb +256 -0
  79. data/lib/amocrm/models/customer_create_response.rb +95 -0
  80. data/lib/amocrm/models/customer_get_by_id_params.rb +22 -0
  81. data/lib/amocrm/models/customer_get_by_id_response.rb +378 -0
  82. data/lib/amocrm/models/customer_list_params.rb +68 -0
  83. data/lib/amocrm/models/customer_list_response.rb +413 -0
  84. data/lib/amocrm/models/customer_segment_create_params.rb +117 -0
  85. data/lib/amocrm/models/customer_segment_create_response.rb +96 -0
  86. data/lib/amocrm/models/customer_segment_delete_by_id_params.rb +14 -0
  87. data/lib/amocrm/models/customer_segment_delete_by_id_response.rb +45 -0
  88. data/lib/amocrm/models/customer_segment_get_by_id_params.rb +14 -0
  89. data/lib/amocrm/models/customer_segment_get_by_id_response.rb +162 -0
  90. data/lib/amocrm/models/customer_segment_list_params.rb +14 -0
  91. data/lib/amocrm/models/customer_segment_list_response.rb +199 -0
  92. data/lib/amocrm/models/customer_segment_update_by_id_params.rb +101 -0
  93. data/lib/amocrm/models/customer_segment_update_by_id_response.rb +45 -0
  94. data/lib/amocrm/models/customer_status_create_params.rb +48 -0
  95. data/lib/amocrm/models/customer_status_create_response.rb +96 -0
  96. data/lib/amocrm/models/customer_status_delete_by_id_params.rb +14 -0
  97. data/lib/amocrm/models/customer_status_delete_by_id_response.rb +45 -0
  98. data/lib/amocrm/models/customer_status_get_by_id_params.rb +14 -0
  99. data/lib/amocrm/models/customer_status_get_by_id_response.rb +79 -0
  100. data/lib/amocrm/models/customer_status_list_params.rb +14 -0
  101. data/lib/amocrm/models/customer_status_list_response.rb +108 -0
  102. data/lib/amocrm/models/customer_status_update_by_id_params.rb +32 -0
  103. data/lib/amocrm/models/customer_status_update_by_id_response.rb +45 -0
  104. data/lib/amocrm/models/customer_transaction_create_params.rb +60 -0
  105. data/lib/amocrm/models/customer_transaction_create_response.rb +100 -0
  106. data/lib/amocrm/models/customer_transaction_delete_by_id_params.rb +20 -0
  107. data/lib/amocrm/models/customer_transaction_delete_by_id_response.rb +45 -0
  108. data/lib/amocrm/models/customer_transaction_list_by_customer_params.rb +32 -0
  109. data/lib/amocrm/models/customer_transaction_list_by_customer_response.rb +130 -0
  110. data/lib/amocrm/models/customer_transaction_list_params.rb +32 -0
  111. data/lib/amocrm/models/customer_transaction_list_response.rb +126 -0
  112. data/lib/amocrm/models/customer_update_by_id_params.rb +264 -0
  113. data/lib/amocrm/models/customer_update_by_id_response.rb +95 -0
  114. data/lib/amocrm/models/customer_update_params.rb +284 -0
  115. data/lib/amocrm/models/customer_update_response.rb +95 -0
  116. data/lib/amocrm/models/customers_mode_set_mode_params.rb +36 -0
  117. data/lib/amocrm/models/customers_mode_set_mode_response.rb +72 -0
  118. data/lib/amocrm/models/entity_follower_add_params.rb +48 -0
  119. data/lib/amocrm/models/entity_follower_add_response.rb +90 -0
  120. data/lib/amocrm/models/entity_follower_list_params.rb +44 -0
  121. data/lib/amocrm/models/entity_follower_list_response.rb +114 -0
  122. data/lib/amocrm/models/entity_follower_remove_params.rb +48 -0
  123. data/lib/amocrm/models/entity_follower_remove_response.rb +61 -0
  124. data/lib/amocrm/models/entity_link_link_by_entity_params.rb +134 -0
  125. data/lib/amocrm/models/entity_link_link_by_entity_response.rb +61 -0
  126. data/lib/amocrm/models/entity_link_link_params.rb +128 -0
  127. data/lib/amocrm/models/entity_link_link_response.rb +61 -0
  128. data/lib/amocrm/models/entity_link_list_by_entity_params.rb +32 -0
  129. data/lib/amocrm/models/entity_link_list_by_entity_response.rb +181 -0
  130. data/lib/amocrm/models/entity_link_list_params.rb +32 -0
  131. data/lib/amocrm/models/entity_link_list_response.rb +181 -0
  132. data/lib/amocrm/models/entity_link_unlink_by_entity_params.rb +134 -0
  133. data/lib/amocrm/models/entity_link_unlink_by_entity_response.rb +61 -0
  134. data/lib/amocrm/models/entity_link_unlink_params.rb +128 -0
  135. data/lib/amocrm/models/entity_link_unlink_response.rb +61 -0
  136. data/lib/amocrm/models/entity_note_create_params.rb +99 -0
  137. data/lib/amocrm/models/entity_note_create_response.rb +107 -0
  138. data/lib/amocrm/models/entity_note_get_by_id_params.rb +38 -0
  139. data/lib/amocrm/models/entity_note_get_by_id_response.rb +127 -0
  140. data/lib/amocrm/models/entity_note_list_params.rb +44 -0
  141. data/lib/amocrm/models/entity_note_list_response.rb +161 -0
  142. data/lib/amocrm/models/entity_note_pin_params.rb +32 -0
  143. data/lib/amocrm/models/entity_note_pin_response.rb +61 -0
  144. data/lib/amocrm/models/entity_note_unpin_params.rb +32 -0
  145. data/lib/amocrm/models/entity_note_unpin_response.rb +61 -0
  146. data/lib/amocrm/models/entity_note_update_by_id_params.rb +62 -0
  147. data/lib/amocrm/models/entity_note_update_by_id_response.rb +107 -0
  148. data/lib/amocrm/models/entity_note_update_params.rb +78 -0
  149. data/lib/amocrm/models/entity_note_update_response.rb +107 -0
  150. data/lib/amocrm/models/entity_notes_by_parent_create_by_parent_params.rb +106 -0
  151. data/lib/amocrm/models/entity_notes_by_parent_create_by_parent_response.rb +108 -0
  152. data/lib/amocrm/models/entity_notes_by_parent_get_by_parent_id_params.rb +44 -0
  153. data/lib/amocrm/models/entity_notes_by_parent_get_by_parent_id_response.rb +127 -0
  154. data/lib/amocrm/models/entity_notes_by_parent_list_by_parent_params.rb +50 -0
  155. data/lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb +162 -0
  156. data/lib/amocrm/models/entity_notes_by_parent_update_by_parent_id_params.rb +62 -0
  157. data/lib/amocrm/models/entity_notes_by_parent_update_by_parent_id_response.rb +108 -0
  158. data/lib/amocrm/models/entity_notes_by_parent_update_by_parent_params.rb +85 -0
  159. data/lib/amocrm/models/entity_notes_by_parent_update_by_parent_response.rb +108 -0
  160. data/lib/amocrm/models/event_get_by_id_params.rb +20 -0
  161. data/lib/amocrm/models/event_get_by_id_response.rb +103 -0
  162. data/lib/amocrm/models/event_list_params.rb +38 -0
  163. data/lib/amocrm/models/event_list_response.rb +137 -0
  164. data/lib/amocrm/models/event_list_types_params.rb +20 -0
  165. data/lib/amocrm/models/event_list_types_response.rb +66 -0
  166. data/lib/amocrm/models/lead_create_complex_params.rb +567 -0
  167. data/lib/amocrm/models/lead_create_complex_response.rb +107 -0
  168. data/lib/amocrm/models/lead_create_params.rb +565 -0
  169. data/lib/amocrm/models/lead_create_response.rb +95 -0
  170. data/lib/amocrm/models/lead_get_by_id_params.rb +22 -0
  171. data/lib/amocrm/models/lead_get_by_id_response.rb +426 -0
  172. data/lib/amocrm/models/lead_list_params.rb +74 -0
  173. data/lib/amocrm/models/lead_list_response.rb +463 -0
  174. data/lib/amocrm/models/lead_update_by_id_params.rb +546 -0
  175. data/lib/amocrm/models/lead_update_by_id_response.rb +95 -0
  176. data/lib/amocrm/models/lead_update_params.rb +564 -0
  177. data/lib/amocrm/models/lead_update_response.rb +95 -0
  178. data/lib/amocrm/models/pipeline_create_params.rb +129 -0
  179. data/lib/amocrm/models/pipeline_create_response.rb +95 -0
  180. data/lib/amocrm/models/pipeline_delete_by_id_params.rb +14 -0
  181. data/lib/amocrm/models/pipeline_delete_by_id_response.rb +61 -0
  182. data/lib/amocrm/models/pipeline_get_by_id_params.rb +14 -0
  183. data/lib/amocrm/models/pipeline_get_by_id_response.rb +239 -0
  184. data/lib/amocrm/models/pipeline_list_params.rb +14 -0
  185. data/lib/amocrm/models/pipeline_list_response.rb +272 -0
  186. data/lib/amocrm/models/pipeline_status_create_params.rb +77 -0
  187. data/lib/amocrm/models/pipeline_status_create_response.rb +95 -0
  188. data/lib/amocrm/models/pipeline_status_delete_by_id_params.rb +20 -0
  189. data/lib/amocrm/models/pipeline_status_delete_by_id_response.rb +61 -0
  190. data/lib/amocrm/models/pipeline_status_get_by_id_params.rb +29 -0
  191. data/lib/amocrm/models/pipeline_status_get_by_id_response.rb +169 -0
  192. data/lib/amocrm/models/pipeline_status_list_params.rb +22 -0
  193. data/lib/amocrm/models/pipeline_status_list_response.rb +197 -0
  194. data/lib/amocrm/models/pipeline_status_update_by_id_params.rb +73 -0
  195. data/lib/amocrm/models/pipeline_status_update_by_id_response.rb +102 -0
  196. data/lib/amocrm/models/pipeline_status_update_params.rb +83 -0
  197. data/lib/amocrm/models/pipeline_status_update_response.rb +101 -0
  198. data/lib/amocrm/models/pipeline_update_by_id_params.rb +50 -0
  199. data/lib/amocrm/models/pipeline_update_by_id_response.rb +101 -0
  200. data/lib/amocrm/models/pipeline_update_params.rb +66 -0
  201. data/lib/amocrm/models/pipeline_update_response.rb +101 -0
  202. data/lib/amocrm/models/role_create_params.rb +151 -0
  203. data/lib/amocrm/models/role_create_response.rb +249 -0
  204. data/lib/amocrm/models/role_delete_by_id_params.rb +14 -0
  205. data/lib/amocrm/models/role_delete_by_id_response.rb +61 -0
  206. data/lib/amocrm/models/role_get_by_id_params.rb +20 -0
  207. data/lib/amocrm/models/role_get_by_id_response.rb +208 -0
  208. data/lib/amocrm/models/role_list_params.rb +32 -0
  209. data/lib/amocrm/models/role_list_response.rb +254 -0
  210. data/lib/amocrm/models/role_update_by_id_params.rb +138 -0
  211. data/lib/amocrm/models/role_update_by_id_response.rb +208 -0
  212. data/lib/amocrm/models/salesbot_run_params.rb +42 -0
  213. data/lib/amocrm/models/salesbot_run_response.rb +91 -0
  214. data/lib/amocrm/models/short_link_create_params.rb +20 -0
  215. data/lib/amocrm/models/short_link_create_response.rb +55 -0
  216. data/lib/amocrm/models/source_create_params.rb +84 -0
  217. data/lib/amocrm/models/source_create_response.rb +171 -0
  218. data/lib/amocrm/models/source_delete_by_id_params.rb +14 -0
  219. data/lib/amocrm/models/source_delete_by_id_response.rb +61 -0
  220. data/lib/amocrm/models/source_delete_params.rb +30 -0
  221. data/lib/amocrm/models/source_delete_response.rb +61 -0
  222. data/lib/amocrm/models/source_get_by_id_params.rb +14 -0
  223. data/lib/amocrm/models/source_get_by_id_response.rb +129 -0
  224. data/lib/amocrm/models/source_list_params.rb +65 -0
  225. data/lib/amocrm/models/source_list_response.rb +165 -0
  226. data/lib/amocrm/models/source_update_by_id_params.rb +73 -0
  227. data/lib/amocrm/models/source_update_by_id_response.rb +171 -0
  228. data/lib/amocrm/models/source_update_params.rb +90 -0
  229. data/lib/amocrm/models/source_update_response.rb +171 -0
  230. data/lib/amocrm/models/tag_create_params.rb +54 -0
  231. data/lib/amocrm/models/tag_create_response.rb +101 -0
  232. data/lib/amocrm/models/tag_list_params.rb +50 -0
  233. data/lib/amocrm/models/tag_list_response.rb +101 -0
  234. data/lib/amocrm/models/talk_close_params.rb +22 -0
  235. data/lib/amocrm/models/talk_close_response.rb +61 -0
  236. data/lib/amocrm/models/talk_get_by_id_params.rb +14 -0
  237. data/lib/amocrm/models/talk_get_by_id_response.rb +213 -0
  238. data/lib/amocrm/models/task_create_params.rb +87 -0
  239. data/lib/amocrm/models/task_create_response.rb +95 -0
  240. data/lib/amocrm/models/task_get_by_id_params.rb +14 -0
  241. data/lib/amocrm/models/task_get_by_id_response.rb +173 -0
  242. data/lib/amocrm/models/task_list_params.rb +66 -0
  243. data/lib/amocrm/models/task_list_response.rb +207 -0
  244. data/lib/amocrm/models/task_update_by_id_params.rb +72 -0
  245. data/lib/amocrm/models/task_update_by_id_response.rb +95 -0
  246. data/lib/amocrm/models/task_update_params.rb +98 -0
  247. data/lib/amocrm/models/task_update_response.rb +95 -0
  248. data/lib/amocrm/models/unsorted_lead_accept_params.rb +30 -0
  249. data/lib/amocrm/models/unsorted_lead_accept_response.rb +167 -0
  250. data/lib/amocrm/models/unsorted_lead_create_forms_params.rb +873 -0
  251. data/lib/amocrm/models/unsorted_lead_create_forms_response.rb +200 -0
  252. data/lib/amocrm/models/unsorted_lead_decline_params.rb +22 -0
  253. data/lib/amocrm/models/unsorted_lead_decline_response.rb +167 -0
  254. data/lib/amocrm/models/user_create_params.rb +169 -0
  255. data/lib/amocrm/models/user_create_response.rb +473 -0
  256. data/lib/amocrm/models/user_get_by_id_params.rb +20 -0
  257. data/lib/amocrm/models/user_get_by_id_response.rb +426 -0
  258. data/lib/amocrm/models/user_list_params.rb +32 -0
  259. data/lib/amocrm/models/user_list_response.rb +474 -0
  260. data/lib/amocrm/models/webhook_list_params.rb +30 -0
  261. data/lib/amocrm/models/webhook_list_response.rb +137 -0
  262. data/lib/amocrm/models/webhook_subscribe_params.rb +32 -0
  263. data/lib/amocrm/models/webhook_subscribe_response.rb +103 -0
  264. data/lib/amocrm/models/webhook_unsubscribe_params.rb +20 -0
  265. data/lib/amocrm/models/webhook_unsubscribe_response.rb +61 -0
  266. data/lib/amocrm/models/website_button_connect_online_chat_params.rb +14 -0
  267. data/lib/amocrm/models/website_button_connect_online_chat_response.rb +61 -0
  268. data/lib/amocrm/models/website_button_create_params.rb +32 -0
  269. data/lib/amocrm/models/website_button_create_response.rb +61 -0
  270. data/lib/amocrm/models/website_button_get_by_source_id_params.rb +20 -0
  271. data/lib/amocrm/models/website_button_get_by_source_id_response.rb +97 -0
  272. data/lib/amocrm/models/website_button_list_params.rb +32 -0
  273. data/lib/amocrm/models/website_button_list_response.rb +131 -0
  274. data/lib/amocrm/models/website_button_update_params.rb +30 -0
  275. data/lib/amocrm/models/website_button_update_response.rb +97 -0
  276. data/lib/amocrm/models/widget_bot_continue_continue_params.rb +65 -0
  277. data/lib/amocrm/models/widget_bot_continue_continue_response.rb +61 -0
  278. data/lib/amocrm/models/widget_get_by_code_params.rb +14 -0
  279. data/lib/amocrm/models/widget_get_by_code_response.rb +180 -0
  280. data/lib/amocrm/models/widget_install_params.rb +20 -0
  281. data/lib/amocrm/models/widget_install_response.rb +180 -0
  282. data/lib/amocrm/models/widget_list_params.rb +26 -0
  283. data/lib/amocrm/models/widget_list_response.rb +218 -0
  284. data/lib/amocrm/models/widget_uninstall_params.rb +14 -0
  285. data/lib/amocrm/models/widget_uninstall_response.rb +61 -0
  286. data/lib/amocrm/models.rb +279 -1
  287. data/lib/amocrm/resources/account.rb +36 -0
  288. data/lib/amocrm/resources/calls.rb +35 -0
  289. data/lib/amocrm/resources/catalog_elements.rb +147 -0
  290. data/lib/amocrm/resources/catalogs.rb +123 -0
  291. data/lib/amocrm/resources/companies.rb +154 -0
  292. data/lib/amocrm/resources/contact_chats.rb +56 -0
  293. data/lib/amocrm/resources/contacts.rb +158 -0
  294. data/lib/amocrm/resources/custom_field_groups.rb +141 -0
  295. data/lib/amocrm/resources/custom_fields.rb +181 -0
  296. data/lib/amocrm/resources/customer_bonus_points.rb +37 -0
  297. data/lib/amocrm/resources/customer_segments.rb +115 -0
  298. data/lib/amocrm/resources/customer_statuses.rb +115 -0
  299. data/lib/amocrm/resources/customer_transactions.rb +113 -0
  300. data/lib/amocrm/resources/customers.rb +146 -0
  301. data/lib/amocrm/resources/customers_mode.rb +36 -0
  302. data/lib/amocrm/resources/entity_followers.rb +106 -0
  303. data/lib/amocrm/resources/entity_links.rb +165 -0
  304. data/lib/amocrm/resources/entity_notes.rb +200 -0
  305. data/lib/amocrm/resources/entity_notes_by_parent.rb +186 -0
  306. data/lib/amocrm/resources/events.rb +81 -0
  307. data/lib/amocrm/resources/leads.rb +181 -0
  308. data/lib/amocrm/resources/pipeline_statuses.rb +178 -0
  309. data/lib/amocrm/resources/pipelines.rb +139 -0
  310. data/lib/amocrm/resources/roles.rb +123 -0
  311. data/lib/amocrm/resources/salesbot.rb +35 -0
  312. data/lib/amocrm/resources/short_links.rb +35 -0
  313. data/lib/amocrm/resources/sources.rb +164 -0
  314. data/lib/amocrm/resources/tags.rb +61 -0
  315. data/lib/amocrm/resources/talks.rb +57 -0
  316. data/lib/amocrm/resources/tasks.rb +134 -0
  317. data/lib/amocrm/resources/unsorted_leads.rb +79 -0
  318. data/lib/amocrm/resources/users.rb +80 -0
  319. data/lib/amocrm/resources/webhooks.rb +79 -0
  320. data/lib/amocrm/resources/website_buttons.rb +123 -0
  321. data/lib/amocrm/resources/widget_bot_continue.rb +50 -0
  322. data/lib/amocrm/resources/widgets.rb +96 -0
  323. data/lib/amocrm/version.rb +1 -1
  324. data/lib/amocrm.rb +316 -9
  325. data/rbi/amocrm/client.rbi +107 -2
  326. data/rbi/amocrm/models/account_get_params.rbi +43 -0
  327. data/rbi/amocrm/models/account_get_response.rbi +847 -0
  328. data/rbi/amocrm/models/call_create_params.rbi +257 -0
  329. data/rbi/amocrm/models/call_create_response.rbi +398 -0
  330. data/rbi/amocrm/models/catalog_create_params.rbi +168 -0
  331. data/rbi/amocrm/models/catalog_create_response.rbi +450 -0
  332. data/rbi/amocrm/models/catalog_element_create_params.rbi +230 -0
  333. data/rbi/amocrm/models/catalog_element_create_response.rbi +566 -0
  334. data/rbi/amocrm/models/catalog_element_get_by_id_params.rbi +52 -0
  335. data/rbi/amocrm/models/catalog_element_get_by_id_response.rbi +445 -0
  336. data/rbi/amocrm/models/catalog_element_list_params.rbi +89 -0
  337. data/rbi/amocrm/models/catalog_element_list_response.rbi +565 -0
  338. data/rbi/amocrm/models/catalog_element_update_by_id_params.rbi +214 -0
  339. data/rbi/amocrm/models/catalog_element_update_by_id_response.rbi +566 -0
  340. data/rbi/amocrm/models/catalog_element_update_params.rbi +238 -0
  341. data/rbi/amocrm/models/catalog_element_update_response.rbi +566 -0
  342. data/rbi/amocrm/models/catalog_get_by_id_params.rbi +27 -0
  343. data/rbi/amocrm/models/catalog_get_by_id_response.rbi +331 -0
  344. data/rbi/amocrm/models/catalog_list_params.rbi +49 -0
  345. data/rbi/amocrm/models/catalog_list_response.rbi +449 -0
  346. data/rbi/amocrm/models/catalog_update_by_id_params.rbi +80 -0
  347. data/rbi/amocrm/models/catalog_update_by_id_response.rbi +450 -0
  348. data/rbi/amocrm/models/catalog_update_params.rbi +113 -0
  349. data/rbi/amocrm/models/catalog_update_response.rbi +450 -0
  350. data/rbi/amocrm/models/company_create_params.rbi +471 -0
  351. data/rbi/amocrm/models/company_create_response.rbi +234 -0
  352. data/rbi/amocrm/models/company_get_by_id_params.rbi +43 -0
  353. data/rbi/amocrm/models/company_get_by_id_response.rbi +741 -0
  354. data/rbi/amocrm/models/company_list_params.rbi +114 -0
  355. data/rbi/amocrm/models/company_list_response.rbi +869 -0
  356. data/rbi/amocrm/models/company_update_by_id_params.rbi +474 -0
  357. data/rbi/amocrm/models/company_update_by_id_response.rbi +234 -0
  358. data/rbi/amocrm/models/company_update_params.rbi +522 -0
  359. data/rbi/amocrm/models/company_update_response.rbi +234 -0
  360. data/rbi/amocrm/models/contact_chat_link_params.rbi +78 -0
  361. data/rbi/amocrm/models/contact_chat_link_response.rbi +228 -0
  362. data/rbi/amocrm/models/contact_chat_list_params.rbi +38 -0
  363. data/rbi/amocrm/models/contact_chat_list_response.rbi +228 -0
  364. data/rbi/amocrm/models/contact_create_params.rbi +489 -0
  365. data/rbi/amocrm/models/contact_create_response.rbi +234 -0
  366. data/rbi/amocrm/models/contact_get_by_id_params.rbi +43 -0
  367. data/rbi/amocrm/models/contact_get_by_id_response.rbi +777 -0
  368. data/rbi/amocrm/models/contact_list_params.rbi +114 -0
  369. data/rbi/amocrm/models/contact_list_response.rbi +905 -0
  370. data/rbi/amocrm/models/contact_update_by_id_params.rbi +492 -0
  371. data/rbi/amocrm/models/contact_update_by_id_response.rbi +234 -0
  372. data/rbi/amocrm/models/contact_update_params.rbi +540 -0
  373. data/rbi/amocrm/models/contact_update_response.rbi +234 -0
  374. data/rbi/amocrm/models/custom_field_create_params.rbi +169 -0
  375. data/rbi/amocrm/models/custom_field_create_response.rbi +232 -0
  376. data/rbi/amocrm/models/custom_field_delete_by_id_params.rbi +35 -0
  377. data/rbi/amocrm/models/custom_field_delete_by_id_response.rbi +78 -0
  378. data/rbi/amocrm/models/custom_field_get_by_id_params.rbi +35 -0
  379. data/rbi/amocrm/models/custom_field_get_by_id_response.rbi +222 -0
  380. data/rbi/amocrm/models/custom_field_group_create_params.rbi +83 -0
  381. data/rbi/amocrm/models/custom_field_group_create_response.rbi +232 -0
  382. data/rbi/amocrm/models/custom_field_group_delete_by_id_params.rbi +38 -0
  383. data/rbi/amocrm/models/custom_field_group_delete_by_id_response.rbi +78 -0
  384. data/rbi/amocrm/models/custom_field_group_get_by_id_params.rbi +38 -0
  385. data/rbi/amocrm/models/custom_field_group_get_by_id_response.rbi +136 -0
  386. data/rbi/amocrm/models/custom_field_group_list_params.rbi +49 -0
  387. data/rbi/amocrm/models/custom_field_group_list_response.rbi +254 -0
  388. data/rbi/amocrm/models/custom_field_group_update_by_id_params.rbi +57 -0
  389. data/rbi/amocrm/models/custom_field_group_update_by_id_response.rbi +78 -0
  390. data/rbi/amocrm/models/custom_field_list_params.rbi +49 -0
  391. data/rbi/amocrm/models/custom_field_list_response.rbi +340 -0
  392. data/rbi/amocrm/models/custom_field_update_by_id_params.rbi +140 -0
  393. data/rbi/amocrm/models/custom_field_update_by_id_response.rbi +78 -0
  394. data/rbi/amocrm/models/custom_field_update_params.rbi +172 -0
  395. data/rbi/amocrm/models/custom_field_update_response.rbi +75 -0
  396. data/rbi/amocrm/models/customer_bonus_point_change_params.rbi +46 -0
  397. data/rbi/amocrm/models/customer_bonus_point_change_response.rbi +102 -0
  398. data/rbi/amocrm/models/customer_create_params.rbi +558 -0
  399. data/rbi/amocrm/models/customer_create_response.rbi +234 -0
  400. data/rbi/amocrm/models/customer_get_by_id_params.rbi +43 -0
  401. data/rbi/amocrm/models/customer_get_by_id_response.rbi +824 -0
  402. data/rbi/amocrm/models/customer_list_params.rbi +105 -0
  403. data/rbi/amocrm/models/customer_list_response.rbi +950 -0
  404. data/rbi/amocrm/models/customer_segment_create_params.rbi +265 -0
  405. data/rbi/amocrm/models/customer_segment_create_response.rbi +234 -0
  406. data/rbi/amocrm/models/customer_segment_delete_by_id_params.rbi +30 -0
  407. data/rbi/amocrm/models/customer_segment_delete_by_id_response.rbi +78 -0
  408. data/rbi/amocrm/models/customer_segment_get_by_id_params.rbi +27 -0
  409. data/rbi/amocrm/models/customer_segment_get_by_id_response.rbi +329 -0
  410. data/rbi/amocrm/models/customer_segment_list_params.rbi +27 -0
  411. data/rbi/amocrm/models/customer_segment_list_response.rbi +439 -0
  412. data/rbi/amocrm/models/customer_segment_update_by_id_params.rbi +230 -0
  413. data/rbi/amocrm/models/customer_segment_update_by_id_response.rbi +78 -0
  414. data/rbi/amocrm/models/customer_status_create_params.rbi +88 -0
  415. data/rbi/amocrm/models/customer_status_create_response.rbi +234 -0
  416. data/rbi/amocrm/models/customer_status_delete_by_id_params.rbi +30 -0
  417. data/rbi/amocrm/models/customer_status_delete_by_id_response.rbi +78 -0
  418. data/rbi/amocrm/models/customer_status_get_by_id_params.rbi +27 -0
  419. data/rbi/amocrm/models/customer_status_get_by_id_response.rbi +144 -0
  420. data/rbi/amocrm/models/customer_status_list_params.rbi +27 -0
  421. data/rbi/amocrm/models/customer_status_list_response.rbi +254 -0
  422. data/rbi/amocrm/models/customer_status_update_by_id_params.rbi +60 -0
  423. data/rbi/amocrm/models/customer_status_update_by_id_response.rbi +78 -0
  424. data/rbi/amocrm/models/customer_transaction_create_params.rbi +118 -0
  425. data/rbi/amocrm/models/customer_transaction_create_response.rbi +234 -0
  426. data/rbi/amocrm/models/customer_transaction_delete_by_id_params.rbi +38 -0
  427. data/rbi/amocrm/models/customer_transaction_delete_by_id_response.rbi +80 -0
  428. data/rbi/amocrm/models/customer_transaction_list_by_customer_params.rbi +60 -0
  429. data/rbi/amocrm/models/customer_transaction_list_by_customer_response.rbi +288 -0
  430. data/rbi/amocrm/models/customer_transaction_list_params.rbi +60 -0
  431. data/rbi/amocrm/models/customer_transaction_list_response.rbi +286 -0
  432. data/rbi/amocrm/models/customer_update_by_id_params.rbi +552 -0
  433. data/rbi/amocrm/models/customer_update_by_id_response.rbi +234 -0
  434. data/rbi/amocrm/models/customer_update_params.rbi +598 -0
  435. data/rbi/amocrm/models/customer_update_response.rbi +234 -0
  436. data/rbi/amocrm/models/customers_mode_set_mode_params.rbi +72 -0
  437. data/rbi/amocrm/models/customers_mode_set_mode_response.rbi +167 -0
  438. data/rbi/amocrm/models/entity_follower_add_params.rbi +103 -0
  439. data/rbi/amocrm/models/entity_follower_add_response.rbi +220 -0
  440. data/rbi/amocrm/models/entity_follower_list_params.rbi +93 -0
  441. data/rbi/amocrm/models/entity_follower_list_response.rbi +267 -0
  442. data/rbi/amocrm/models/entity_follower_remove_params.rbi +106 -0
  443. data/rbi/amocrm/models/entity_follower_remove_response.rbi +112 -0
  444. data/rbi/amocrm/models/entity_link_link_by_entity_params.rbi +314 -0
  445. data/rbi/amocrm/models/entity_link_link_by_entity_response.rbi +112 -0
  446. data/rbi/amocrm/models/entity_link_link_params.rbi +289 -0
  447. data/rbi/amocrm/models/entity_link_link_response.rbi +112 -0
  448. data/rbi/amocrm/models/entity_link_list_by_entity_params.rbi +83 -0
  449. data/rbi/amocrm/models/entity_link_list_by_entity_response.rbi +402 -0
  450. data/rbi/amocrm/models/entity_link_list_params.rbi +74 -0
  451. data/rbi/amocrm/models/entity_link_list_response.rbi +402 -0
  452. data/rbi/amocrm/models/entity_link_unlink_by_entity_params.rbi +317 -0
  453. data/rbi/amocrm/models/entity_link_unlink_by_entity_response.rbi +112 -0
  454. data/rbi/amocrm/models/entity_link_unlink_params.rbi +297 -0
  455. data/rbi/amocrm/models/entity_link_unlink_response.rbi +112 -0
  456. data/rbi/amocrm/models/entity_note_create_params.rbi +184 -0
  457. data/rbi/amocrm/models/entity_note_create_response.rbi +260 -0
  458. data/rbi/amocrm/models/entity_note_get_by_id_params.rbi +85 -0
  459. data/rbi/amocrm/models/entity_note_get_by_id_response.rbi +222 -0
  460. data/rbi/amocrm/models/entity_note_list_params.rbi +93 -0
  461. data/rbi/amocrm/models/entity_note_list_response.rbi +340 -0
  462. data/rbi/amocrm/models/entity_note_pin_params.rbi +74 -0
  463. data/rbi/amocrm/models/entity_note_pin_response.rbi +112 -0
  464. data/rbi/amocrm/models/entity_note_unpin_params.rbi +74 -0
  465. data/rbi/amocrm/models/entity_note_unpin_response.rbi +112 -0
  466. data/rbi/amocrm/models/entity_note_update_by_id_params.rbi +128 -0
  467. data/rbi/amocrm/models/entity_note_update_by_id_response.rbi +260 -0
  468. data/rbi/amocrm/models/entity_note_update_params.rbi +157 -0
  469. data/rbi/amocrm/models/entity_note_update_response.rbi +260 -0
  470. data/rbi/amocrm/models/entity_notes_by_parent_create_by_parent_params.rbi +209 -0
  471. data/rbi/amocrm/models/entity_notes_by_parent_create_by_parent_response.rbi +262 -0
  472. data/rbi/amocrm/models/entity_notes_by_parent_get_by_parent_id_params.rbi +104 -0
  473. data/rbi/amocrm/models/entity_notes_by_parent_get_by_parent_id_response.rbi +224 -0
  474. data/rbi/amocrm/models/entity_notes_by_parent_list_by_parent_params.rbi +121 -0
  475. data/rbi/amocrm/models/entity_notes_by_parent_list_by_parent_response.rbi +342 -0
  476. data/rbi/amocrm/models/entity_notes_by_parent_update_by_parent_id_params.rbi +139 -0
  477. data/rbi/amocrm/models/entity_notes_by_parent_update_by_parent_id_response.rbi +262 -0
  478. data/rbi/amocrm/models/entity_notes_by_parent_update_by_parent_params.rbi +182 -0
  479. data/rbi/amocrm/models/entity_notes_by_parent_update_by_parent_response.rbi +262 -0
  480. data/rbi/amocrm/models/event_get_by_id_params.rbi +38 -0
  481. data/rbi/amocrm/models/event_get_by_id_response.rbi +186 -0
  482. data/rbi/amocrm/models/event_list_params.rbi +71 -0
  483. data/rbi/amocrm/models/event_list_response.rbi +302 -0
  484. data/rbi/amocrm/models/event_list_types_params.rbi +38 -0
  485. data/rbi/amocrm/models/event_list_types_response.rbi +149 -0
  486. data/rbi/amocrm/models/lead_create_complex_params.rbi +1215 -0
  487. data/rbi/amocrm/models/lead_create_complex_response.rbi +260 -0
  488. data/rbi/amocrm/models/lead_create_params.rbi +1179 -0
  489. data/rbi/amocrm/models/lead_create_response.rbi +232 -0
  490. data/rbi/amocrm/models/lead_get_by_id_params.rbi +43 -0
  491. data/rbi/amocrm/models/lead_get_by_id_response.rbi +921 -0
  492. data/rbi/amocrm/models/lead_list_params.rbi +114 -0
  493. data/rbi/amocrm/models/lead_list_response.rbi +1044 -0
  494. data/rbi/amocrm/models/lead_update_by_id_params.rbi +1129 -0
  495. data/rbi/amocrm/models/lead_update_by_id_response.rbi +234 -0
  496. data/rbi/amocrm/models/lead_update_params.rbi +1197 -0
  497. data/rbi/amocrm/models/lead_update_response.rbi +232 -0
  498. data/rbi/amocrm/models/pipeline_create_params.rbi +302 -0
  499. data/rbi/amocrm/models/pipeline_create_response.rbi +234 -0
  500. data/rbi/amocrm/models/pipeline_delete_by_id_params.rbi +27 -0
  501. data/rbi/amocrm/models/pipeline_delete_by_id_response.rbi +112 -0
  502. data/rbi/amocrm/models/pipeline_get_by_id_params.rbi +27 -0
  503. data/rbi/amocrm/models/pipeline_get_by_id_response.rbi +494 -0
  504. data/rbi/amocrm/models/pipeline_list_params.rbi +27 -0
  505. data/rbi/amocrm/models/pipeline_list_response.rbi +604 -0
  506. data/rbi/amocrm/models/pipeline_status_create_params.rbi +168 -0
  507. data/rbi/amocrm/models/pipeline_status_create_response.rbi +234 -0
  508. data/rbi/amocrm/models/pipeline_status_delete_by_id_params.rbi +38 -0
  509. data/rbi/amocrm/models/pipeline_status_delete_by_id_response.rbi +112 -0
  510. data/rbi/amocrm/models/pipeline_status_get_by_id_params.rbi +52 -0
  511. data/rbi/amocrm/models/pipeline_status_get_by_id_response.rbi +318 -0
  512. data/rbi/amocrm/models/pipeline_status_list_params.rbi +43 -0
  513. data/rbi/amocrm/models/pipeline_status_list_response.rbi +428 -0
  514. data/rbi/amocrm/models/pipeline_status_update_by_id_params.rbi +148 -0
  515. data/rbi/amocrm/models/pipeline_status_update_by_id_response.rbi +246 -0
  516. data/rbi/amocrm/models/pipeline_status_update_params.rbi +177 -0
  517. data/rbi/amocrm/models/pipeline_status_update_response.rbi +246 -0
  518. data/rbi/amocrm/models/pipeline_update_by_id_params.rbi +89 -0
  519. data/rbi/amocrm/models/pipeline_update_by_id_response.rbi +246 -0
  520. data/rbi/amocrm/models/pipeline_update_params.rbi +122 -0
  521. data/rbi/amocrm/models/pipeline_update_response.rbi +246 -0
  522. data/rbi/amocrm/models/role_create_params.rbi +289 -0
  523. data/rbi/amocrm/models/role_create_response.rbi +587 -0
  524. data/rbi/amocrm/models/role_delete_by_id_params.rbi +27 -0
  525. data/rbi/amocrm/models/role_delete_by_id_response.rbi +112 -0
  526. data/rbi/amocrm/models/role_get_by_id_params.rbi +38 -0
  527. data/rbi/amocrm/models/role_get_by_id_response.rbi +452 -0
  528. data/rbi/amocrm/models/role_list_params.rbi +57 -0
  529. data/rbi/amocrm/models/role_list_response.rbi +600 -0
  530. data/rbi/amocrm/models/role_update_by_id_params.rbi +264 -0
  531. data/rbi/amocrm/models/role_update_by_id_response.rbi +454 -0
  532. data/rbi/amocrm/models/salesbot_run_params.rbi +72 -0
  533. data/rbi/amocrm/models/salesbot_run_response.rbi +212 -0
  534. data/rbi/amocrm/models/short_link_create_params.rbi +35 -0
  535. data/rbi/amocrm/models/short_link_create_response.rbi +102 -0
  536. data/rbi/amocrm/models/source_create_params.rbi +148 -0
  537. data/rbi/amocrm/models/source_create_response.rbi +371 -0
  538. data/rbi/amocrm/models/source_delete_by_id_params.rbi +27 -0
  539. data/rbi/amocrm/models/source_delete_by_id_response.rbi +112 -0
  540. data/rbi/amocrm/models/source_delete_params.rbi +56 -0
  541. data/rbi/amocrm/models/source_delete_response.rbi +112 -0
  542. data/rbi/amocrm/models/source_get_by_id_params.rbi +27 -0
  543. data/rbi/amocrm/models/source_get_by_id_response.rbi +242 -0
  544. data/rbi/amocrm/models/source_list_params.rbi +130 -0
  545. data/rbi/amocrm/models/source_list_response.rbi +360 -0
  546. data/rbi/amocrm/models/source_update_by_id_params.rbi +125 -0
  547. data/rbi/amocrm/models/source_update_by_id_response.rbi +371 -0
  548. data/rbi/amocrm/models/source_update_params.rbi +160 -0
  549. data/rbi/amocrm/models/source_update_response.rbi +371 -0
  550. data/rbi/amocrm/models/tag_create_params.rbi +98 -0
  551. data/rbi/amocrm/models/tag_create_response.rbi +239 -0
  552. data/rbi/amocrm/models/tag_list_params.rbi +93 -0
  553. data/rbi/amocrm/models/tag_list_response.rbi +236 -0
  554. data/rbi/amocrm/models/talk_close_params.rbi +43 -0
  555. data/rbi/amocrm/models/talk_close_response.rbi +110 -0
  556. data/rbi/amocrm/models/talk_get_by_id_params.rbi +27 -0
  557. data/rbi/amocrm/models/talk_get_by_id_response.rbi +450 -0
  558. data/rbi/amocrm/models/task_create_params.rbi +142 -0
  559. data/rbi/amocrm/models/task_create_response.rbi +232 -0
  560. data/rbi/amocrm/models/task_get_by_id_params.rbi +27 -0
  561. data/rbi/amocrm/models/task_get_by_id_response.rbi +323 -0
  562. data/rbi/amocrm/models/task_list_params.rbi +103 -0
  563. data/rbi/amocrm/models/task_list_response.rbi +439 -0
  564. data/rbi/amocrm/models/task_update_by_id_params.rbi +131 -0
  565. data/rbi/amocrm/models/task_update_by_id_response.rbi +234 -0
  566. data/rbi/amocrm/models/task_update_params.rbi +168 -0
  567. data/rbi/amocrm/models/task_update_response.rbi +232 -0
  568. data/rbi/amocrm/models/unsorted_lead_accept_params.rbi +57 -0
  569. data/rbi/amocrm/models/unsorted_lead_accept_response.rbi +429 -0
  570. data/rbi/amocrm/models/unsorted_lead_create_forms_params.rbi +1896 -0
  571. data/rbi/amocrm/models/unsorted_lead_create_forms_response.rbi +490 -0
  572. data/rbi/amocrm/models/unsorted_lead_decline_params.rbi +43 -0
  573. data/rbi/amocrm/models/unsorted_lead_decline_response.rbi +429 -0
  574. data/rbi/amocrm/models/user_create_params.rbi +314 -0
  575. data/rbi/amocrm/models/user_create_response.rbi +1060 -0
  576. data/rbi/amocrm/models/user_get_by_id_params.rbi +38 -0
  577. data/rbi/amocrm/models/user_get_by_id_response.rbi +925 -0
  578. data/rbi/amocrm/models/user_list_params.rbi +57 -0
  579. data/rbi/amocrm/models/user_list_response.rbi +1073 -0
  580. data/rbi/amocrm/models/webhook_list_params.rbi +62 -0
  581. data/rbi/amocrm/models/webhook_list_response.rbi +304 -0
  582. data/rbi/amocrm/models/webhook_subscribe_params.rbi +51 -0
  583. data/rbi/amocrm/models/webhook_subscribe_response.rbi +186 -0
  584. data/rbi/amocrm/models/webhook_unsubscribe_params.rbi +35 -0
  585. data/rbi/amocrm/models/webhook_unsubscribe_response.rbi +112 -0
  586. data/rbi/amocrm/models/website_button_connect_online_chat_params.rbi +30 -0
  587. data/rbi/amocrm/models/website_button_connect_online_chat_response.rbi +114 -0
  588. data/rbi/amocrm/models/website_button_create_params.rbi +59 -0
  589. data/rbi/amocrm/models/website_button_create_response.rbi +117 -0
  590. data/rbi/amocrm/models/website_button_get_by_source_id_params.rbi +41 -0
  591. data/rbi/amocrm/models/website_button_get_by_source_id_response.rbi +171 -0
  592. data/rbi/amocrm/models/website_button_list_params.rbi +57 -0
  593. data/rbi/amocrm/models/website_button_list_response.rbi +289 -0
  594. data/rbi/amocrm/models/website_button_update_params.rbi +69 -0
  595. data/rbi/amocrm/models/website_button_update_response.rbi +171 -0
  596. data/rbi/amocrm/models/widget_bot_continue_continue_params.rbi +151 -0
  597. data/rbi/amocrm/models/widget_bot_continue_continue_response.rbi +112 -0
  598. data/rbi/amocrm/models/widget_get_by_code_params.rbi +27 -0
  599. data/rbi/amocrm/models/widget_get_by_code_response.rbi +342 -0
  600. data/rbi/amocrm/models/widget_install_params.rbi +35 -0
  601. data/rbi/amocrm/models/widget_install_response.rbi +342 -0
  602. data/rbi/amocrm/models/widget_list_params.rbi +49 -0
  603. data/rbi/amocrm/models/widget_list_response.rbi +458 -0
  604. data/rbi/amocrm/models/widget_uninstall_params.rbi +27 -0
  605. data/rbi/amocrm/models/widget_uninstall_response.rbi +112 -0
  606. data/rbi/amocrm/models.rbi +301 -1
  607. data/rbi/amocrm/resources/account.rbi +26 -0
  608. data/rbi/amocrm/resources/calls.rbi +22 -0
  609. data/rbi/amocrm/resources/catalog_elements.rbi +104 -0
  610. data/rbi/amocrm/resources/catalogs.rbi +76 -0
  611. data/rbi/amocrm/resources/companies.rbi +118 -0
  612. data/rbi/amocrm/resources/contact_chats.rbi +32 -0
  613. data/rbi/amocrm/resources/contacts.rbi +122 -0
  614. data/rbi/amocrm/resources/custom_field_groups.rbi +80 -0
  615. data/rbi/amocrm/resources/custom_fields.rbi +118 -0
  616. data/rbi/amocrm/resources/customer_bonus_points.rbi +24 -0
  617. data/rbi/amocrm/resources/customer_segments.rbi +73 -0
  618. data/rbi/amocrm/resources/customer_statuses.rbi +70 -0
  619. data/rbi/amocrm/resources/customer_transactions.rbi +78 -0
  620. data/rbi/amocrm/resources/customers.rbi +116 -0
  621. data/rbi/amocrm/resources/customers_mode.rbi +23 -0
  622. data/rbi/amocrm/resources/entity_followers.rbi +75 -0
  623. data/rbi/amocrm/resources/entity_links.rbi +99 -0
  624. data/rbi/amocrm/resources/entity_notes.rbi +127 -0
  625. data/rbi/amocrm/resources/entity_notes_by_parent.rbi +154 -0
  626. data/rbi/amocrm/resources/events.rbi +52 -0
  627. data/rbi/amocrm/resources/leads.rbi +132 -0
  628. data/rbi/amocrm/resources/pipeline_statuses.rbi +117 -0
  629. data/rbi/amocrm/resources/pipelines.rbi +86 -0
  630. data/rbi/amocrm/resources/roles.rbi +74 -0
  631. data/rbi/amocrm/resources/salesbot.rbi +22 -0
  632. data/rbi/amocrm/resources/short_links.rbi +22 -0
  633. data/rbi/amocrm/resources/sources.rbi +99 -0
  634. data/rbi/amocrm/resources/tags.rbi +44 -0
  635. data/rbi/amocrm/resources/talks.rbi +38 -0
  636. data/rbi/amocrm/resources/tasks.rbi +97 -0
  637. data/rbi/amocrm/resources/unsorted_leads.rbi +54 -0
  638. data/rbi/amocrm/resources/users.rbi +45 -0
  639. data/rbi/amocrm/resources/webhooks.rbi +44 -0
  640. data/rbi/amocrm/resources/website_buttons.rbi +76 -0
  641. data/rbi/amocrm/resources/widget_bot_continue.rbi +40 -0
  642. data/rbi/amocrm/resources/widgets.rbi +54 -0
  643. data/sig/amocrm/client.rbs +71 -1
  644. data/sig/amocrm/models/account_get_params.rbs +22 -0
  645. data/sig/amocrm/models/account_get_response.rbs +479 -0
  646. data/sig/amocrm/models/call_create_params.rbs +150 -0
  647. data/sig/amocrm/models/call_create_response.rbs +207 -0
  648. data/sig/amocrm/models/catalog_create_params.rbs +90 -0
  649. data/sig/amocrm/models/catalog_create_response.rbs +241 -0
  650. data/sig/amocrm/models/catalog_element_create_params.rbs +124 -0
  651. data/sig/amocrm/models/catalog_element_create_response.rbs +303 -0
  652. data/sig/amocrm/models/catalog_element_get_by_id_params.rbs +30 -0
  653. data/sig/amocrm/models/catalog_element_get_by_id_response.rbs +243 -0
  654. data/sig/amocrm/models/catalog_element_list_params.rbs +59 -0
  655. data/sig/amocrm/models/catalog_element_list_response.rbs +303 -0
  656. data/sig/amocrm/models/catalog_element_update_by_id_params.rbs +116 -0
  657. data/sig/amocrm/models/catalog_element_update_by_id_response.rbs +303 -0
  658. data/sig/amocrm/models/catalog_element_update_params.rbs +131 -0
  659. data/sig/amocrm/models/catalog_element_update_response.rbs +303 -0
  660. data/sig/amocrm/models/catalog_get_by_id_params.rbs +15 -0
  661. data/sig/amocrm/models/catalog_get_by_id_response.rbs +185 -0
  662. data/sig/amocrm/models/catalog_list_params.rbs +32 -0
  663. data/sig/amocrm/models/catalog_list_response.rbs +241 -0
  664. data/sig/amocrm/models/catalog_update_by_id_params.rbs +56 -0
  665. data/sig/amocrm/models/catalog_update_by_id_response.rbs +241 -0
  666. data/sig/amocrm/models/catalog_update_params.rbs +76 -0
  667. data/sig/amocrm/models/catalog_update_response.rbs +241 -0
  668. data/sig/amocrm/models/company_create_params.rbs +245 -0
  669. data/sig/amocrm/models/company_create_response.rbs +121 -0
  670. data/sig/amocrm/models/company_get_by_id_params.rbs +22 -0
  671. data/sig/amocrm/models/company_get_by_id_response.rbs +366 -0
  672. data/sig/amocrm/models/company_list_params.rbs +73 -0
  673. data/sig/amocrm/models/company_list_response.rbs +422 -0
  674. data/sig/amocrm/models/company_update_by_id_params.rbs +244 -0
  675. data/sig/amocrm/models/company_update_by_id_response.rbs +121 -0
  676. data/sig/amocrm/models/company_update_params.rbs +268 -0
  677. data/sig/amocrm/models/company_update_response.rbs +121 -0
  678. data/sig/amocrm/models/contact_chat_link_params.rbs +48 -0
  679. data/sig/amocrm/models/contact_chat_link_response.rbs +122 -0
  680. data/sig/amocrm/models/contact_chat_list_params.rbs +22 -0
  681. data/sig/amocrm/models/contact_chat_list_response.rbs +122 -0
  682. data/sig/amocrm/models/contact_create_params.rbs +259 -0
  683. data/sig/amocrm/models/contact_create_response.rbs +121 -0
  684. data/sig/amocrm/models/contact_get_by_id_params.rbs +22 -0
  685. data/sig/amocrm/models/contact_get_by_id_response.rbs +394 -0
  686. data/sig/amocrm/models/contact_list_params.rbs +73 -0
  687. data/sig/amocrm/models/contact_list_response.rbs +450 -0
  688. data/sig/amocrm/models/contact_update_by_id_params.rbs +258 -0
  689. data/sig/amocrm/models/contact_update_by_id_response.rbs +121 -0
  690. data/sig/amocrm/models/contact_update_params.rbs +282 -0
  691. data/sig/amocrm/models/contact_update_response.rbs +121 -0
  692. data/sig/amocrm/models/custom_field_create_params.rbs +116 -0
  693. data/sig/amocrm/models/custom_field_create_response.rbs +121 -0
  694. data/sig/amocrm/models/custom_field_delete_by_id_params.rbs +23 -0
  695. data/sig/amocrm/models/custom_field_delete_by_id_response.rbs +47 -0
  696. data/sig/amocrm/models/custom_field_get_by_id_params.rbs +23 -0
  697. data/sig/amocrm/models/custom_field_get_by_id_response.rbs +151 -0
  698. data/sig/amocrm/models/custom_field_group_create_params.rbs +46 -0
  699. data/sig/amocrm/models/custom_field_group_create_response.rbs +121 -0
  700. data/sig/amocrm/models/custom_field_group_delete_by_id_params.rbs +23 -0
  701. data/sig/amocrm/models/custom_field_group_delete_by_id_response.rbs +47 -0
  702. data/sig/amocrm/models/custom_field_group_get_by_id_params.rbs +23 -0
  703. data/sig/amocrm/models/custom_field_group_get_by_id_response.rbs +83 -0
  704. data/sig/amocrm/models/custom_field_group_list_params.rbs +32 -0
  705. data/sig/amocrm/models/custom_field_group_list_response.rbs +139 -0
  706. data/sig/amocrm/models/custom_field_group_update_by_id_params.rbs +36 -0
  707. data/sig/amocrm/models/custom_field_group_update_by_id_response.rbs +47 -0
  708. data/sig/amocrm/models/custom_field_list_params.rbs +32 -0
  709. data/sig/amocrm/models/custom_field_list_response.rbs +207 -0
  710. data/sig/amocrm/models/custom_field_update_by_id_params.rbs +103 -0
  711. data/sig/amocrm/models/custom_field_update_by_id_response.rbs +47 -0
  712. data/sig/amocrm/models/custom_field_update_params.rbs +118 -0
  713. data/sig/amocrm/models/custom_field_update_response.rbs +47 -0
  714. data/sig/amocrm/models/customer_bonus_point_change_params.rbs +28 -0
  715. data/sig/amocrm/models/customer_bonus_point_change_response.rbs +60 -0
  716. data/sig/amocrm/models/customer_create_params.rbs +300 -0
  717. data/sig/amocrm/models/customer_create_response.rbs +121 -0
  718. data/sig/amocrm/models/customer_get_by_id_params.rbs +22 -0
  719. data/sig/amocrm/models/customer_get_by_id_response.rbs +429 -0
  720. data/sig/amocrm/models/customer_list_params.rbs +73 -0
  721. data/sig/amocrm/models/customer_list_response.rbs +485 -0
  722. data/sig/amocrm/models/customer_segment_create_params.rbs +134 -0
  723. data/sig/amocrm/models/customer_segment_create_response.rbs +121 -0
  724. data/sig/amocrm/models/customer_segment_delete_by_id_params.rbs +15 -0
  725. data/sig/amocrm/models/customer_segment_delete_by_id_response.rbs +47 -0
  726. data/sig/amocrm/models/customer_segment_get_by_id_params.rbs +15 -0
  727. data/sig/amocrm/models/customer_segment_get_by_id_response.rbs +177 -0
  728. data/sig/amocrm/models/customer_segment_list_params.rbs +15 -0
  729. data/sig/amocrm/models/customer_segment_list_response.rbs +226 -0
  730. data/sig/amocrm/models/customer_segment_update_by_id_params.rbs +114 -0
  731. data/sig/amocrm/models/customer_segment_update_by_id_response.rbs +47 -0
  732. data/sig/amocrm/models/customer_status_create_params.rbs +57 -0
  733. data/sig/amocrm/models/customer_status_create_response.rbs +121 -0
  734. data/sig/amocrm/models/customer_status_delete_by_id_params.rbs +15 -0
  735. data/sig/amocrm/models/customer_status_delete_by_id_response.rbs +47 -0
  736. data/sig/amocrm/models/customer_status_get_by_id_params.rbs +15 -0
  737. data/sig/amocrm/models/customer_status_get_by_id_response.rbs +95 -0
  738. data/sig/amocrm/models/customer_status_list_params.rbs +15 -0
  739. data/sig/amocrm/models/customer_status_list_response.rbs +144 -0
  740. data/sig/amocrm/models/customer_status_update_by_id_params.rbs +38 -0
  741. data/sig/amocrm/models/customer_status_update_by_id_response.rbs +47 -0
  742. data/sig/amocrm/models/customer_transaction_create_params.rbs +78 -0
  743. data/sig/amocrm/models/customer_transaction_create_response.rbs +121 -0
  744. data/sig/amocrm/models/customer_transaction_delete_by_id_params.rbs +23 -0
  745. data/sig/amocrm/models/customer_transaction_delete_by_id_response.rbs +47 -0
  746. data/sig/amocrm/models/customer_transaction_list_by_customer_params.rbs +38 -0
  747. data/sig/amocrm/models/customer_transaction_list_by_customer_response.rbs +165 -0
  748. data/sig/amocrm/models/customer_transaction_list_params.rbs +38 -0
  749. data/sig/amocrm/models/customer_transaction_list_response.rbs +165 -0
  750. data/sig/amocrm/models/customer_update_by_id_params.rbs +288 -0
  751. data/sig/amocrm/models/customer_update_by_id_response.rbs +121 -0
  752. data/sig/amocrm/models/customer_update_params.rbs +312 -0
  753. data/sig/amocrm/models/customer_update_response.rbs +121 -0
  754. data/sig/amocrm/models/customers_mode_set_mode_params.rbs +42 -0
  755. data/sig/amocrm/models/customers_mode_set_mode_response.rbs +87 -0
  756. data/sig/amocrm/models/entity_follower_add_params.rbs +54 -0
  757. data/sig/amocrm/models/entity_follower_add_response.rbs +116 -0
  758. data/sig/amocrm/models/entity_follower_list_params.rbs +53 -0
  759. data/sig/amocrm/models/entity_follower_list_response.rbs +151 -0
  760. data/sig/amocrm/models/entity_follower_remove_params.rbs +54 -0
  761. data/sig/amocrm/models/entity_follower_remove_response.rbs +64 -0
  762. data/sig/amocrm/models/entity_link_link_by_entity_params.rbs +122 -0
  763. data/sig/amocrm/models/entity_link_link_by_entity_response.rbs +64 -0
  764. data/sig/amocrm/models/entity_link_link_params.rbs +115 -0
  765. data/sig/amocrm/models/entity_link_link_response.rbs +64 -0
  766. data/sig/amocrm/models/entity_link_list_by_entity_params.rbs +37 -0
  767. data/sig/amocrm/models/entity_link_list_by_entity_response.rbs +176 -0
  768. data/sig/amocrm/models/entity_link_list_params.rbs +35 -0
  769. data/sig/amocrm/models/entity_link_list_response.rbs +176 -0
  770. data/sig/amocrm/models/entity_link_unlink_by_entity_params.rbs +122 -0
  771. data/sig/amocrm/models/entity_link_unlink_by_entity_response.rbs +64 -0
  772. data/sig/amocrm/models/entity_link_unlink_params.rbs +115 -0
  773. data/sig/amocrm/models/entity_link_unlink_response.rbs +64 -0
  774. data/sig/amocrm/models/entity_note_create_params.rbs +110 -0
  775. data/sig/amocrm/models/entity_note_create_response.rbs +144 -0
  776. data/sig/amocrm/models/entity_note_get_by_id_params.rbs +46 -0
  777. data/sig/amocrm/models/entity_note_get_by_id_response.rbs +151 -0
  778. data/sig/amocrm/models/entity_note_list_params.rbs +51 -0
  779. data/sig/amocrm/models/entity_note_list_response.rbs +207 -0
  780. data/sig/amocrm/models/entity_note_pin_params.rbs +37 -0
  781. data/sig/amocrm/models/entity_note_pin_response.rbs +64 -0
  782. data/sig/amocrm/models/entity_note_unpin_params.rbs +37 -0
  783. data/sig/amocrm/models/entity_note_unpin_response.rbs +64 -0
  784. data/sig/amocrm/models/entity_note_update_by_id_params.rbs +74 -0
  785. data/sig/amocrm/models/entity_note_update_by_id_response.rbs +144 -0
  786. data/sig/amocrm/models/entity_note_update_params.rbs +89 -0
  787. data/sig/amocrm/models/entity_note_update_response.rbs +144 -0
  788. data/sig/amocrm/models/entity_notes_by_parent_create_by_parent_params.rbs +117 -0
  789. data/sig/amocrm/models/entity_notes_by_parent_create_by_parent_response.rbs +144 -0
  790. data/sig/amocrm/models/entity_notes_by_parent_get_by_parent_id_params.rbs +51 -0
  791. data/sig/amocrm/models/entity_notes_by_parent_get_by_parent_id_response.rbs +151 -0
  792. data/sig/amocrm/models/entity_notes_by_parent_list_by_parent_params.rbs +60 -0
  793. data/sig/amocrm/models/entity_notes_by_parent_list_by_parent_response.rbs +207 -0
  794. data/sig/amocrm/models/entity_notes_by_parent_update_by_parent_id_params.rbs +74 -0
  795. data/sig/amocrm/models/entity_notes_by_parent_update_by_parent_id_response.rbs +144 -0
  796. data/sig/amocrm/models/entity_notes_by_parent_update_by_parent_params.rbs +96 -0
  797. data/sig/amocrm/models/entity_notes_by_parent_update_by_parent_response.rbs +144 -0
  798. data/sig/amocrm/models/event_get_by_id_params.rbs +22 -0
  799. data/sig/amocrm/models/event_get_by_id_response.rbs +123 -0
  800. data/sig/amocrm/models/event_list_params.rbs +44 -0
  801. data/sig/amocrm/models/event_list_response.rbs +179 -0
  802. data/sig/amocrm/models/event_list_types_params.rbs +25 -0
  803. data/sig/amocrm/models/event_list_types_response.rbs +81 -0
  804. data/sig/amocrm/models/lead_create_complex_params.rbs +603 -0
  805. data/sig/amocrm/models/lead_create_complex_response.rbs +144 -0
  806. data/sig/amocrm/models/lead_create_params.rbs +603 -0
  807. data/sig/amocrm/models/lead_create_response.rbs +121 -0
  808. data/sig/amocrm/models/lead_get_by_id_params.rbs +22 -0
  809. data/sig/amocrm/models/lead_get_by_id_response.rbs +482 -0
  810. data/sig/amocrm/models/lead_list_params.rbs +73 -0
  811. data/sig/amocrm/models/lead_list_response.rbs +538 -0
  812. data/sig/amocrm/models/lead_update_by_id_params.rbs +578 -0
  813. data/sig/amocrm/models/lead_update_by_id_response.rbs +121 -0
  814. data/sig/amocrm/models/lead_update_params.rbs +602 -0
  815. data/sig/amocrm/models/lead_update_response.rbs +121 -0
  816. data/sig/amocrm/models/pipeline_create_params.rbs +175 -0
  817. data/sig/amocrm/models/pipeline_create_response.rbs +121 -0
  818. data/sig/amocrm/models/pipeline_delete_by_id_params.rbs +15 -0
  819. data/sig/amocrm/models/pipeline_delete_by_id_response.rbs +64 -0
  820. data/sig/amocrm/models/pipeline_get_by_id_params.rbs +15 -0
  821. data/sig/amocrm/models/pipeline_get_by_id_response.rbs +301 -0
  822. data/sig/amocrm/models/pipeline_list_params.rbs +15 -0
  823. data/sig/amocrm/models/pipeline_list_response.rbs +350 -0
  824. data/sig/amocrm/models/pipeline_status_create_params.rbs +95 -0
  825. data/sig/amocrm/models/pipeline_status_create_response.rbs +121 -0
  826. data/sig/amocrm/models/pipeline_status_delete_by_id_params.rbs +23 -0
  827. data/sig/amocrm/models/pipeline_status_delete_by_id_response.rbs +64 -0
  828. data/sig/amocrm/models/pipeline_status_get_by_id_params.rbs +30 -0
  829. data/sig/amocrm/models/pipeline_status_get_by_id_response.rbs +203 -0
  830. data/sig/amocrm/models/pipeline_status_list_params.rbs +22 -0
  831. data/sig/amocrm/models/pipeline_status_list_response.rbs +252 -0
  832. data/sig/amocrm/models/pipeline_status_update_by_id_params.rbs +87 -0
  833. data/sig/amocrm/models/pipeline_status_update_by_id_response.rbs +137 -0
  834. data/sig/amocrm/models/pipeline_status_update_params.rbs +102 -0
  835. data/sig/amocrm/models/pipeline_status_update_response.rbs +137 -0
  836. data/sig/amocrm/models/pipeline_update_by_id_params.rbs +63 -0
  837. data/sig/amocrm/models/pipeline_update_by_id_response.rbs +137 -0
  838. data/sig/amocrm/models/pipeline_update_params.rbs +83 -0
  839. data/sig/amocrm/models/pipeline_update_response.rbs +137 -0
  840. data/sig/amocrm/models/role_create_params.rbs +187 -0
  841. data/sig/amocrm/models/role_create_response.rbs +325 -0
  842. data/sig/amocrm/models/role_delete_by_id_params.rbs +15 -0
  843. data/sig/amocrm/models/role_delete_by_id_response.rbs +64 -0
  844. data/sig/amocrm/models/role_get_by_id_params.rbs +22 -0
  845. data/sig/amocrm/models/role_get_by_id_response.rbs +262 -0
  846. data/sig/amocrm/models/role_list_params.rbs +38 -0
  847. data/sig/amocrm/models/role_list_response.rbs +332 -0
  848. data/sig/amocrm/models/role_update_by_id_params.rbs +170 -0
  849. data/sig/amocrm/models/role_update_by_id_response.rbs +262 -0
  850. data/sig/amocrm/models/salesbot_run_params.rbs +46 -0
  851. data/sig/amocrm/models/salesbot_run_response.rbs +113 -0
  852. data/sig/amocrm/models/short_link_create_params.rbs +20 -0
  853. data/sig/amocrm/models/short_link_create_response.rbs +60 -0
  854. data/sig/amocrm/models/source_create_params.rbs +91 -0
  855. data/sig/amocrm/models/source_create_response.rbs +199 -0
  856. data/sig/amocrm/models/source_delete_by_id_params.rbs +15 -0
  857. data/sig/amocrm/models/source_delete_by_id_response.rbs +64 -0
  858. data/sig/amocrm/models/source_delete_params.rbs +34 -0
  859. data/sig/amocrm/models/source_delete_response.rbs +64 -0
  860. data/sig/amocrm/models/source_get_by_id_params.rbs +15 -0
  861. data/sig/amocrm/models/source_get_by_id_response.rbs +136 -0
  862. data/sig/amocrm/models/source_list_params.rbs +69 -0
  863. data/sig/amocrm/models/source_list_response.rbs +192 -0
  864. data/sig/amocrm/models/source_update_by_id_params.rbs +80 -0
  865. data/sig/amocrm/models/source_update_by_id_response.rbs +199 -0
  866. data/sig/amocrm/models/source_update_params.rbs +100 -0
  867. data/sig/amocrm/models/source_update_response.rbs +199 -0
  868. data/sig/amocrm/models/tag_create_params.rbs +59 -0
  869. data/sig/amocrm/models/tag_create_response.rbs +132 -0
  870. data/sig/amocrm/models/tag_list_params.rbs +57 -0
  871. data/sig/amocrm/models/tag_list_response.rbs +128 -0
  872. data/sig/amocrm/models/talk_close_params.rbs +25 -0
  873. data/sig/amocrm/models/talk_close_response.rbs +64 -0
  874. data/sig/amocrm/models/talk_get_by_id_params.rbs +15 -0
  875. data/sig/amocrm/models/talk_get_by_id_response.rbs +248 -0
  876. data/sig/amocrm/models/task_create_params.rbs +97 -0
  877. data/sig/amocrm/models/task_create_response.rbs +121 -0
  878. data/sig/amocrm/models/task_get_by_id_params.rbs +15 -0
  879. data/sig/amocrm/models/task_get_by_id_response.rbs +202 -0
  880. data/sig/amocrm/models/task_list_params.rbs +66 -0
  881. data/sig/amocrm/models/task_list_response.rbs +259 -0
  882. data/sig/amocrm/models/task_update_by_id_params.rbs +91 -0
  883. data/sig/amocrm/models/task_update_by_id_response.rbs +121 -0
  884. data/sig/amocrm/models/task_update_params.rbs +111 -0
  885. data/sig/amocrm/models/task_update_response.rbs +121 -0
  886. data/sig/amocrm/models/unsorted_lead_accept_params.rbs +32 -0
  887. data/sig/amocrm/models/unsorted_lead_accept_response.rbs +199 -0
  888. data/sig/amocrm/models/unsorted_lead_create_forms_params.rbs +916 -0
  889. data/sig/amocrm/models/unsorted_lead_create_forms_response.rbs +233 -0
  890. data/sig/amocrm/models/unsorted_lead_decline_params.rbs +25 -0
  891. data/sig/amocrm/models/unsorted_lead_decline_response.rbs +199 -0
  892. data/sig/amocrm/models/user_create_params.rbs +204 -0
  893. data/sig/amocrm/models/user_create_response.rbs +594 -0
  894. data/sig/amocrm/models/user_get_by_id_params.rbs +22 -0
  895. data/sig/amocrm/models/user_get_by_id_response.rbs +527 -0
  896. data/sig/amocrm/models/user_list_params.rbs +38 -0
  897. data/sig/amocrm/models/user_list_response.rbs +601 -0
  898. data/sig/amocrm/models/webhook_list_params.rbs +40 -0
  899. data/sig/amocrm/models/webhook_list_response.rbs +179 -0
  900. data/sig/amocrm/models/webhook_subscribe_params.rbs +34 -0
  901. data/sig/amocrm/models/webhook_subscribe_response.rbs +123 -0
  902. data/sig/amocrm/models/webhook_unsubscribe_params.rbs +23 -0
  903. data/sig/amocrm/models/webhook_unsubscribe_response.rbs +64 -0
  904. data/sig/amocrm/models/website_button_connect_online_chat_params.rbs +15 -0
  905. data/sig/amocrm/models/website_button_connect_online_chat_response.rbs +64 -0
  906. data/sig/amocrm/models/website_button_create_params.rbs +40 -0
  907. data/sig/amocrm/models/website_button_create_response.rbs +71 -0
  908. data/sig/amocrm/models/website_button_get_by_source_id_params.rbs +22 -0
  909. data/sig/amocrm/models/website_button_get_by_source_id_response.rbs +112 -0
  910. data/sig/amocrm/models/website_button_list_params.rbs +38 -0
  911. data/sig/amocrm/models/website_button_list_response.rbs +168 -0
  912. data/sig/amocrm/models/website_button_update_params.rbs +34 -0
  913. data/sig/amocrm/models/website_button_update_response.rbs +112 -0
  914. data/sig/amocrm/models/widget_bot_continue_continue_params.rbs +74 -0
  915. data/sig/amocrm/models/widget_bot_continue_continue_response.rbs +64 -0
  916. data/sig/amocrm/models/widget_get_by_code_params.rbs +15 -0
  917. data/sig/amocrm/models/widget_get_by_code_response.rbs +194 -0
  918. data/sig/amocrm/models/widget_install_params.rbs +20 -0
  919. data/sig/amocrm/models/widget_install_response.rbs +194 -0
  920. data/sig/amocrm/models/widget_list_params.rbs +32 -0
  921. data/sig/amocrm/models/widget_list_response.rbs +250 -0
  922. data/sig/amocrm/models/widget_uninstall_params.rbs +15 -0
  923. data/sig/amocrm/models/widget_uninstall_response.rbs +64 -0
  924. data/sig/amocrm/models.rbs +279 -1
  925. data/sig/amocrm/resources/account.rbs +12 -0
  926. data/sig/amocrm/resources/calls.rbs +12 -0
  927. data/sig/amocrm/resources/catalog_elements.rbs +44 -0
  928. data/sig/amocrm/resources/catalogs.rbs +38 -0
  929. data/sig/amocrm/resources/companies.rbs +48 -0
  930. data/sig/amocrm/resources/contact_chats.rbs +17 -0
  931. data/sig/amocrm/resources/contacts.rbs +50 -0
  932. data/sig/amocrm/resources/custom_field_groups.rbs +40 -0
  933. data/sig/amocrm/resources/custom_fields.rbs +55 -0
  934. data/sig/amocrm/resources/customer_bonus_points.rbs +14 -0
  935. data/sig/amocrm/resources/customer_segments.rbs +34 -0
  936. data/sig/amocrm/resources/customer_statuses.rbs +34 -0
  937. data/sig/amocrm/resources/customer_transactions.rbs +35 -0
  938. data/sig/amocrm/resources/customers.rbs +51 -0
  939. data/sig/amocrm/resources/customers_mode.rbs +13 -0
  940. data/sig/amocrm/resources/entity_followers.rbs +29 -0
  941. data/sig/amocrm/resources/entity_links.rbs +45 -0
  942. data/sig/amocrm/resources/entity_notes.rbs +57 -0
  943. data/sig/amocrm/resources/entity_notes_by_parent.rbs +49 -0
  944. data/sig/amocrm/resources/events.rbs +26 -0
  945. data/sig/amocrm/resources/leads.rbs +56 -0
  946. data/sig/amocrm/resources/pipeline_statuses.rbs +49 -0
  947. data/sig/amocrm/resources/pipelines.rbs +42 -0
  948. data/sig/amocrm/resources/roles.rbs +38 -0
  949. data/sig/amocrm/resources/salesbot.rbs +12 -0
  950. data/sig/amocrm/resources/short_links.rbs +12 -0
  951. data/sig/amocrm/resources/sources.rbs +49 -0
  952. data/sig/amocrm/resources/tags.rbs +22 -0
  953. data/sig/amocrm/resources/talks.rbs +18 -0
  954. data/sig/amocrm/resources/tasks.rbs +44 -0
  955. data/sig/amocrm/resources/unsorted_leads.rbs +25 -0
  956. data/sig/amocrm/resources/users.rbs +25 -0
  957. data/sig/amocrm/resources/webhooks.rbs +24 -0
  958. data/sig/amocrm/resources/website_buttons.rbs +38 -0
  959. data/sig/amocrm/resources/widget_bot_continue.rbs +16 -0
  960. data/sig/amocrm/resources/widgets.rbs +29 -0
  961. metadata +949 -28
  962. data/lib/amocrm/models/v4/leads/unsorted_accept_params.rb +0 -34
  963. data/lib/amocrm/models/v4/leads/unsorted_accept_response.rb +0 -172
  964. data/lib/amocrm/models/v4/leads/unsorted_create_forms_params.rb +0 -883
  965. data/lib/amocrm/models/v4/leads/unsorted_create_forms_response.rb +0 -204
  966. data/lib/amocrm/models/v4/leads/unsorted_decline_params.rb +0 -26
  967. data/lib/amocrm/models/v4/leads/unsorted_decline_response.rb +0 -172
  968. data/lib/amocrm/resources/v4/leads/unsorted.rb +0 -83
  969. data/lib/amocrm/resources/v4/leads.rb +0 -20
  970. data/lib/amocrm/resources/v4.rb +0 -18
  971. data/rbi/amocrm/models/v4/leads/unsorted_accept_params.rbi +0 -64
  972. data/rbi/amocrm/models/v4/leads/unsorted_accept_response.rbi +0 -441
  973. data/rbi/amocrm/models/v4/leads/unsorted_create_forms_params.rbi +0 -1927
  974. data/rbi/amocrm/models/v4/leads/unsorted_create_forms_response.rbi +0 -502
  975. data/rbi/amocrm/models/v4/leads/unsorted_decline_params.rbi +0 -50
  976. data/rbi/amocrm/models/v4/leads/unsorted_decline_response.rbi +0 -441
  977. data/rbi/amocrm/resources/v4/leads/unsorted.rbi +0 -67
  978. data/rbi/amocrm/resources/v4/leads.rbi +0 -17
  979. data/rbi/amocrm/resources/v4.rbi +0 -15
  980. data/sig/amocrm/models/v4/leads/unsorted_accept_params.rbs +0 -36
  981. data/sig/amocrm/models/v4/leads/unsorted_accept_response.rbs +0 -203
  982. data/sig/amocrm/models/v4/leads/unsorted_create_forms_params.rbs +0 -920
  983. data/sig/amocrm/models/v4/leads/unsorted_create_forms_response.rbs +0 -237
  984. data/sig/amocrm/models/v4/leads/unsorted_decline_params.rbs +0 -29
  985. data/sig/amocrm/models/v4/leads/unsorted_decline_response.rbs +0 -203
  986. data/sig/amocrm/resources/v4/leads/unsorted.rbs +0 -29
  987. data/sig/amocrm/resources/v4/leads.rbs +0 -11
  988. data/sig/amocrm/resources/v4.rbs +0 -9
@@ -1,920 +0,0 @@
1
- module Amocrm
2
- module Models
3
- module V4
4
- module Leads
5
- type unsorted_create_forms_params =
6
- { body: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body] }
7
- & Amocrm::Internal::Type::request_parameters
8
-
9
- class UnsortedCreateFormsParams < Amocrm::Internal::Type::BaseModel
10
- extend Amocrm::Internal::Type::RequestParameters::Converter
11
- include Amocrm::Internal::Type::RequestParameters
12
-
13
- attr_accessor body: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body]
14
-
15
- def initialize: (
16
- body: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body],
17
- ?request_options: Amocrm::request_opts
18
- ) -> void
19
-
20
- def to_hash: -> {
21
- body: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body],
22
- request_options: Amocrm::RequestOptions
23
- }
24
-
25
- type body =
26
- {
27
- metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Metadata,
28
- source_name: String,
29
- source_uid: String,
30
- _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded,
31
- created_at: Integer,
32
- pipeline_id: Integer,
33
- request_id: String
34
- }
35
-
36
- class Body < Amocrm::Internal::Type::BaseModel
37
- attr_accessor metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Metadata
38
-
39
- attr_accessor source_name: String
40
-
41
- attr_accessor source_uid: String
42
-
43
- attr_reader _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded?
44
-
45
- def _embedded=: (
46
- Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded
47
- ) -> Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded
48
-
49
- attr_reader created_at: Integer?
50
-
51
- def created_at=: (Integer) -> Integer
52
-
53
- attr_reader pipeline_id: Integer?
54
-
55
- def pipeline_id=: (Integer) -> Integer
56
-
57
- attr_reader request_id: String?
58
-
59
- def request_id=: (String) -> String
60
-
61
- def initialize: (
62
- metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Metadata,
63
- source_name: String,
64
- source_uid: String,
65
- ?_embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded,
66
- ?created_at: Integer,
67
- ?pipeline_id: Integer,
68
- ?request_id: String
69
- ) -> void
70
-
71
- def to_hash: -> {
72
- metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Metadata,
73
- source_name: String,
74
- source_uid: String,
75
- _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded,
76
- created_at: Integer,
77
- pipeline_id: Integer,
78
- request_id: String
79
- }
80
-
81
- type metadata =
82
- {
83
- form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id,
84
- form_name: String,
85
- form_page: String,
86
- form_sent_at: Integer,
87
- form_type: Integer,
88
- ip: String,
89
- referer: String,
90
- visitor_uid: String
91
- }
92
-
93
- class Metadata < Amocrm::Internal::Type::BaseModel
94
- attr_reader form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id?
95
-
96
- def form_id=: (
97
- Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id
98
- ) -> Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id
99
-
100
- attr_reader form_name: String?
101
-
102
- def form_name=: (String) -> String
103
-
104
- attr_reader form_page: String?
105
-
106
- def form_page=: (String) -> String
107
-
108
- attr_reader form_sent_at: Integer?
109
-
110
- def form_sent_at=: (Integer) -> Integer
111
-
112
- attr_reader form_type: Integer?
113
-
114
- def form_type=: (Integer) -> Integer
115
-
116
- attr_reader ip: String?
117
-
118
- def ip=: (String) -> String
119
-
120
- attr_reader referer: String?
121
-
122
- def referer=: (String) -> String
123
-
124
- attr_reader visitor_uid: String?
125
-
126
- def visitor_uid=: (String) -> String
127
-
128
- def initialize: (
129
- ?form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id,
130
- ?form_name: String,
131
- ?form_page: String,
132
- ?form_sent_at: Integer,
133
- ?form_type: Integer,
134
- ?ip: String,
135
- ?referer: String,
136
- ?visitor_uid: String
137
- ) -> void
138
-
139
- def to_hash: -> {
140
- form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id,
141
- form_name: String,
142
- form_page: String,
143
- form_sent_at: Integer,
144
- form_type: Integer,
145
- ip: String,
146
- referer: String,
147
- visitor_uid: String
148
- }
149
-
150
- type form_id = String | Integer
151
-
152
- module FormID
153
- extend Amocrm::Internal::Type::Union
154
-
155
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Metadata::form_id]
156
- end
157
- end
158
-
159
- type embedded =
160
- {
161
- companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company],
162
- contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact],
163
- leads: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]
164
- }
165
-
166
- class Embedded < Amocrm::Internal::Type::BaseModel
167
- attr_reader companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company]?
168
-
169
- def companies=: (
170
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company]
171
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company]
172
-
173
- attr_reader contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact]?
174
-
175
- def contacts=: (
176
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact]
177
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact]
178
-
179
- attr_reader leads: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]?
180
-
181
- def leads=: (
182
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]
183
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]
184
-
185
- def initialize: (
186
- ?companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company],
187
- ?contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact],
188
- ?leads: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]
189
- ) -> void
190
-
191
- def to_hash: -> {
192
- companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Company],
193
- contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact],
194
- leads: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead]
195
- }
196
-
197
- type company = { id: Integer, name: String }
198
-
199
- class Company < Amocrm::Internal::Type::BaseModel
200
- attr_reader id: Integer?
201
-
202
- def id=: (Integer) -> Integer
203
-
204
- attr_reader name: String?
205
-
206
- def name=: (String) -> String
207
-
208
- def initialize: (?id: Integer, ?name: String) -> void
209
-
210
- def to_hash: -> { id: Integer, name: String }
211
- end
212
-
213
- type contact =
214
- {
215
- id: Integer,
216
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue],
217
- first_name: String,
218
- last_name: String,
219
- name: String
220
- }
221
-
222
- class Contact < Amocrm::Internal::Type::BaseModel
223
- attr_reader id: Integer?
224
-
225
- def id=: (Integer) -> Integer
226
-
227
- attr_reader custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue]?
228
-
229
- def custom_fields_values=: (
230
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue]
231
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue]
232
-
233
- attr_reader first_name: String?
234
-
235
- def first_name=: (String) -> String
236
-
237
- attr_reader last_name: String?
238
-
239
- def last_name=: (String) -> String
240
-
241
- attr_reader name: String?
242
-
243
- def name=: (String) -> String
244
-
245
- def initialize: (
246
- ?id: Integer,
247
- ?custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue],
248
- ?first_name: String,
249
- ?last_name: String,
250
- ?name: String
251
- ) -> void
252
-
253
- def to_hash: -> {
254
- id: Integer,
255
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue],
256
- first_name: String,
257
- last_name: String,
258
- name: String
259
- }
260
-
261
- type custom_fields_value =
262
- {
263
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value],
264
- field_code: String,
265
- field_id: Integer
266
- }
267
-
268
- class CustomFieldsValue < Amocrm::Internal::Type::BaseModel
269
- attr_accessor values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value]
270
-
271
- attr_reader field_code: String?
272
-
273
- def field_code=: (String) -> String
274
-
275
- attr_reader field_id: Integer?
276
-
277
- def field_id=: (Integer) -> Integer
278
-
279
- def initialize: (
280
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value],
281
- ?field_code: String,
282
- ?field_id: Integer
283
- ) -> void
284
-
285
- def to_hash: -> {
286
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value],
287
- field_code: String,
288
- field_id: Integer
289
- }
290
-
291
- type value =
292
- {
293
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value,
294
- enum_code: String,
295
- enum_id: Integer
296
- }
297
-
298
- class Value < Amocrm::Internal::Type::BaseModel
299
- attr_accessor value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value
300
-
301
- attr_reader enum_code: String?
302
-
303
- def enum_code=: (String) -> String
304
-
305
- attr_reader enum_id: Integer?
306
-
307
- def enum_id=: (Integer) -> Integer
308
-
309
- def initialize: (
310
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value,
311
- ?enum_code: String,
312
- ?enum_id: Integer
313
- ) -> void
314
-
315
- def to_hash: -> {
316
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value,
317
- enum_code: String,
318
- enum_id: Integer
319
- }
320
-
321
- type value = String | Integer | bool
322
-
323
- module Value
324
- extend Amocrm::Internal::Type::Union
325
-
326
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Contact::CustomFieldsValue::Value::value]
327
- end
328
- end
329
- end
330
- end
331
-
332
- type lead =
333
- {
334
- _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded,
335
- closed_at: Integer,
336
- created_at: Integer,
337
- created_by: Integer,
338
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue],
339
- group_id: Integer,
340
- loss_reason_id: Integer,
341
- name: String,
342
- pipeline_id: Integer,
343
- price: Integer,
344
- request_id: String,
345
- responsible_user_id: Integer,
346
- status_id: Integer,
347
- tags_to_add: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd],
348
- updated_at: Integer,
349
- updated_by: Integer,
350
- visitor_uid: String
351
- }
352
-
353
- class Lead < Amocrm::Internal::Type::BaseModel
354
- attr_reader _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded?
355
-
356
- def _embedded=: (
357
- Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded
358
- ) -> Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded
359
-
360
- attr_reader closed_at: Integer?
361
-
362
- def closed_at=: (Integer) -> Integer
363
-
364
- attr_reader created_at: Integer?
365
-
366
- def created_at=: (Integer) -> Integer
367
-
368
- attr_reader created_by: Integer?
369
-
370
- def created_by=: (Integer) -> Integer
371
-
372
- attr_reader custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue]?
373
-
374
- def custom_fields_values=: (
375
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue]
376
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue]
377
-
378
- attr_reader group_id: Integer?
379
-
380
- def group_id=: (Integer) -> Integer
381
-
382
- attr_reader loss_reason_id: Integer?
383
-
384
- def loss_reason_id=: (Integer) -> Integer
385
-
386
- attr_reader name: String?
387
-
388
- def name=: (String) -> String
389
-
390
- attr_reader pipeline_id: Integer?
391
-
392
- def pipeline_id=: (Integer) -> Integer
393
-
394
- attr_reader price: Integer?
395
-
396
- def price=: (Integer) -> Integer
397
-
398
- attr_reader request_id: String?
399
-
400
- def request_id=: (String) -> String
401
-
402
- attr_reader responsible_user_id: Integer?
403
-
404
- def responsible_user_id=: (Integer) -> Integer
405
-
406
- attr_reader status_id: Integer?
407
-
408
- def status_id=: (Integer) -> Integer
409
-
410
- attr_reader tags_to_add: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd]?
411
-
412
- def tags_to_add=: (
413
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd]
414
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd]
415
-
416
- attr_reader updated_at: Integer?
417
-
418
- def updated_at=: (Integer) -> Integer
419
-
420
- attr_reader updated_by: Integer?
421
-
422
- def updated_by=: (Integer) -> Integer
423
-
424
- attr_reader visitor_uid: String?
425
-
426
- def visitor_uid=: (String) -> String
427
-
428
- def initialize: (
429
- ?_embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded,
430
- ?closed_at: Integer,
431
- ?created_at: Integer,
432
- ?created_by: Integer,
433
- ?custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue],
434
- ?group_id: Integer,
435
- ?loss_reason_id: Integer,
436
- ?name: String,
437
- ?pipeline_id: Integer,
438
- ?price: Integer,
439
- ?request_id: String,
440
- ?responsible_user_id: Integer,
441
- ?status_id: Integer,
442
- ?tags_to_add: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd],
443
- ?updated_at: Integer,
444
- ?updated_by: Integer,
445
- ?visitor_uid: String
446
- ) -> void
447
-
448
- def to_hash: -> {
449
- _embedded: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded,
450
- closed_at: Integer,
451
- created_at: Integer,
452
- created_by: Integer,
453
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue],
454
- group_id: Integer,
455
- loss_reason_id: Integer,
456
- name: String,
457
- pipeline_id: Integer,
458
- price: Integer,
459
- request_id: String,
460
- responsible_user_id: Integer,
461
- status_id: Integer,
462
- tags_to_add: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::TagsToAdd],
463
- updated_at: Integer,
464
- updated_by: Integer,
465
- visitor_uid: String
466
- }
467
-
468
- type embedded =
469
- {
470
- companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company],
471
- contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact],
472
- metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata,
473
- source: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source,
474
- tags: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
475
- }
476
-
477
- class Embedded < Amocrm::Internal::Type::BaseModel
478
- attr_reader companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company]?
479
-
480
- def companies=: (
481
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company]
482
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company]
483
-
484
- attr_reader contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact]?
485
-
486
- def contacts=: (
487
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact]
488
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact]
489
-
490
- attr_reader metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata?
491
-
492
- def metadata=: (
493
- Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata
494
- ) -> Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata
495
-
496
- attr_reader source: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source?
497
-
498
- def source=: (
499
- Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source
500
- ) -> Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source
501
-
502
- attr_reader tags: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]?
503
-
504
- def tags=: (
505
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
506
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
507
-
508
- def initialize: (
509
- ?companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company],
510
- ?contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact],
511
- ?metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata,
512
- ?source: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source,
513
- ?tags: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
514
- ) -> void
515
-
516
- def to_hash: -> {
517
- companies: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Company],
518
- contacts: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact],
519
- metadata: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata,
520
- source: Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source,
521
- tags: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Tag]
522
- }
523
-
524
- type company = { id: Integer, name: String }
525
-
526
- class Company < Amocrm::Internal::Type::BaseModel
527
- attr_reader id: Integer?
528
-
529
- def id=: (Integer) -> Integer
530
-
531
- attr_reader name: String?
532
-
533
- def name=: (String) -> String
534
-
535
- def initialize: (?id: Integer, ?name: String) -> void
536
-
537
- def to_hash: -> { id: Integer, name: String }
538
- end
539
-
540
- type contact =
541
- {
542
- id: Integer,
543
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue],
544
- first_name: String,
545
- last_name: String,
546
- name: String
547
- }
548
-
549
- class Contact < Amocrm::Internal::Type::BaseModel
550
- attr_reader id: Integer?
551
-
552
- def id=: (Integer) -> Integer
553
-
554
- attr_reader custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue]?
555
-
556
- def custom_fields_values=: (
557
- ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue]
558
- ) -> ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue]
559
-
560
- attr_reader first_name: String?
561
-
562
- def first_name=: (String) -> String
563
-
564
- attr_reader last_name: String?
565
-
566
- def last_name=: (String) -> String
567
-
568
- attr_reader name: String?
569
-
570
- def name=: (String) -> String
571
-
572
- def initialize: (
573
- ?id: Integer,
574
- ?custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue],
575
- ?first_name: String,
576
- ?last_name: String,
577
- ?name: String
578
- ) -> void
579
-
580
- def to_hash: -> {
581
- id: Integer,
582
- custom_fields_values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue],
583
- first_name: String,
584
- last_name: String,
585
- name: String
586
- }
587
-
588
- type custom_fields_value =
589
- {
590
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value],
591
- field_code: String,
592
- field_id: Integer
593
- }
594
-
595
- class CustomFieldsValue < Amocrm::Internal::Type::BaseModel
596
- attr_accessor values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value]
597
-
598
- attr_reader field_code: String?
599
-
600
- def field_code=: (String) -> String
601
-
602
- attr_reader field_id: Integer?
603
-
604
- def field_id=: (Integer) -> Integer
605
-
606
- def initialize: (
607
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value],
608
- ?field_code: String,
609
- ?field_id: Integer
610
- ) -> void
611
-
612
- def to_hash: -> {
613
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value],
614
- field_code: String,
615
- field_id: Integer
616
- }
617
-
618
- type value =
619
- {
620
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value,
621
- enum_code: String,
622
- enum_id: Integer
623
- }
624
-
625
- class Value < Amocrm::Internal::Type::BaseModel
626
- attr_accessor value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value
627
-
628
- attr_reader enum_code: String?
629
-
630
- def enum_code=: (String) -> String
631
-
632
- attr_reader enum_id: Integer?
633
-
634
- def enum_id=: (Integer) -> Integer
635
-
636
- def initialize: (
637
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value,
638
- ?enum_code: String,
639
- ?enum_id: Integer
640
- ) -> void
641
-
642
- def to_hash: -> {
643
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value,
644
- enum_code: String,
645
- enum_id: Integer
646
- }
647
-
648
- type value = String | Integer | bool
649
-
650
- module Value
651
- extend Amocrm::Internal::Type::Union
652
-
653
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Contact::CustomFieldsValue::Value::value]
654
- end
655
- end
656
- end
657
- end
658
-
659
- type metadata =
660
- {
661
- category: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category,
662
- form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id,
663
- form_name: String,
664
- form_page: String,
665
- form_sent_at: Integer,
666
- form_type: Integer,
667
- ip: String,
668
- referer: String,
669
- visitor_uid: String
670
- }
671
-
672
- class Metadata < Amocrm::Internal::Type::BaseModel
673
- attr_reader category: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category?
674
-
675
- def category=: (
676
- Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category
677
- ) -> Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category
678
-
679
- attr_reader form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id?
680
-
681
- def form_id=: (
682
- Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id
683
- ) -> Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id
684
-
685
- attr_reader form_name: String?
686
-
687
- def form_name=: (String) -> String
688
-
689
- attr_reader form_page: String?
690
-
691
- def form_page=: (String) -> String
692
-
693
- attr_reader form_sent_at: Integer?
694
-
695
- def form_sent_at=: (Integer) -> Integer
696
-
697
- attr_reader form_type: Integer?
698
-
699
- def form_type=: (Integer) -> Integer
700
-
701
- attr_reader ip: String?
702
-
703
- def ip=: (String) -> String
704
-
705
- attr_reader referer: String?
706
-
707
- def referer=: (String) -> String
708
-
709
- attr_reader visitor_uid: String?
710
-
711
- def visitor_uid=: (String) -> String
712
-
713
- def initialize: (
714
- ?category: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category,
715
- ?form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id,
716
- ?form_name: String,
717
- ?form_page: String,
718
- ?form_sent_at: Integer,
719
- ?form_type: Integer,
720
- ?ip: String,
721
- ?referer: String,
722
- ?visitor_uid: String
723
- ) -> void
724
-
725
- def to_hash: -> {
726
- category: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category,
727
- form_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id,
728
- form_name: String,
729
- form_page: String,
730
- form_sent_at: Integer,
731
- form_type: Integer,
732
- ip: String,
733
- referer: String,
734
- visitor_uid: String
735
- }
736
-
737
- type category = :sip | :forms | :chats | :mail
738
-
739
- module Category
740
- extend Amocrm::Internal::Type::Enum
741
-
742
- SIP: :sip
743
- FORMS: :forms
744
- CHATS: :chats
745
- MAIL: :mail
746
-
747
- def self?.values: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::category]
748
- end
749
-
750
- type form_id = String | Integer
751
-
752
- module FormID
753
- extend Amocrm::Internal::Type::Union
754
-
755
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Metadata::form_id]
756
- end
757
- end
758
-
759
- type source =
760
- {
761
- external_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id,
762
- type: String
763
- }
764
-
765
- class Source < Amocrm::Internal::Type::BaseModel
766
- attr_reader external_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id?
767
-
768
- def external_id=: (
769
- Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id
770
- ) -> Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id
771
-
772
- attr_reader type: String?
773
-
774
- def type=: (String) -> String
775
-
776
- def initialize: (
777
- ?external_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id,
778
- ?type: String
779
- ) -> void
780
-
781
- def to_hash: -> {
782
- external_id: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id,
783
- type: String
784
- }
785
-
786
- type external_id = String | Integer | bool
787
-
788
- module ExternalID
789
- extend Amocrm::Internal::Type::Union
790
-
791
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::Embedded::Source::external_id]
792
- end
793
- end
794
-
795
- type tag = { id: Integer, color: String, name: String }
796
-
797
- class Tag < Amocrm::Internal::Type::BaseModel
798
- attr_reader id: Integer?
799
-
800
- def id=: (Integer) -> Integer
801
-
802
- attr_reader color: String?
803
-
804
- def color=: (String) -> String
805
-
806
- attr_reader name: String?
807
-
808
- def name=: (String) -> String
809
-
810
- def initialize: (
811
- ?id: Integer,
812
- ?color: String,
813
- ?name: String
814
- ) -> void
815
-
816
- def to_hash: -> { id: Integer, color: String, name: String }
817
- end
818
- end
819
-
820
- type custom_fields_value =
821
- {
822
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value],
823
- field_code: String,
824
- field_id: Integer
825
- }
826
-
827
- class CustomFieldsValue < Amocrm::Internal::Type::BaseModel
828
- attr_accessor values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value]
829
-
830
- attr_reader field_code: String?
831
-
832
- def field_code=: (String) -> String
833
-
834
- attr_reader field_id: Integer?
835
-
836
- def field_id=: (Integer) -> Integer
837
-
838
- def initialize: (
839
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value],
840
- ?field_code: String,
841
- ?field_id: Integer
842
- ) -> void
843
-
844
- def to_hash: -> {
845
- values: ::Array[Amocrm::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value],
846
- field_code: String,
847
- field_id: Integer
848
- }
849
-
850
- type value =
851
- {
852
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value,
853
- enum_code: String,
854
- enum_id: Integer
855
- }
856
-
857
- class Value < Amocrm::Internal::Type::BaseModel
858
- attr_accessor value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value
859
-
860
- attr_reader enum_code: String?
861
-
862
- def enum_code=: (String) -> String
863
-
864
- attr_reader enum_id: Integer?
865
-
866
- def enum_id=: (Integer) -> Integer
867
-
868
- def initialize: (
869
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value,
870
- ?enum_code: String,
871
- ?enum_id: Integer
872
- ) -> void
873
-
874
- def to_hash: -> {
875
- value: Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value,
876
- enum_code: String,
877
- enum_id: Integer
878
- }
879
-
880
- type value = String | Integer | bool
881
-
882
- module Value
883
- extend Amocrm::Internal::Type::Union
884
-
885
- def self?.variants: -> ::Array[Amocrm::Models::V4::Leads::UnsortedCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue::Value::value]
886
- end
887
- end
888
- end
889
-
890
- type tags_to_add = { id: Integer, color: String, name: String }
891
-
892
- class TagsToAdd < Amocrm::Internal::Type::BaseModel
893
- attr_reader id: Integer?
894
-
895
- def id=: (Integer) -> Integer
896
-
897
- attr_reader color: String?
898
-
899
- def color=: (String) -> String
900
-
901
- attr_reader name: String?
902
-
903
- def name=: (String) -> String
904
-
905
- def initialize: (
906
- ?id: Integer,
907
- ?color: String,
908
- ?name: String
909
- ) -> void
910
-
911
- def to_hash: -> { id: Integer, color: String, name: String }
912
- end
913
- end
914
- end
915
- end
916
- end
917
- end
918
- end
919
- end
920
- end