amocrm 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +1 -1
  4. data/lib/amocrm/internal/util.rb +31 -0
  5. data/lib/amocrm/models/catalog_element_create_params.rb +7 -1
  6. data/lib/amocrm/models/catalog_element_get_by_id_params.rb +8 -1
  7. data/lib/amocrm/models/catalog_element_list_params.rb +7 -1
  8. data/lib/amocrm/models/catalog_element_update_by_id_params.rb +7 -1
  9. data/lib/amocrm/models/catalog_element_update_params.rb +7 -1
  10. data/lib/amocrm/models/catalog_get_by_id_params.rb +7 -1
  11. data/lib/amocrm/models/catalog_update_by_id_params.rb +7 -1
  12. data/lib/amocrm/models/company_get_by_id_params.rb +8 -1
  13. data/lib/amocrm/models/company_update_by_id_params.rb +8 -1
  14. data/lib/amocrm/models/contact_get_by_id_params.rb +8 -1
  15. data/lib/amocrm/models/contact_update_by_id_params.rb +8 -1
  16. data/lib/amocrm/models/custom_field_create_params.rb +7 -1
  17. data/lib/amocrm/models/custom_field_delete_by_id_params.rb +7 -1
  18. data/lib/amocrm/models/custom_field_get_by_id_params.rb +7 -1
  19. data/lib/amocrm/models/custom_field_group_create_params.rb +7 -1
  20. data/lib/amocrm/models/custom_field_group_delete_by_id_params.rb +7 -1
  21. data/lib/amocrm/models/custom_field_group_get_by_id_params.rb +7 -1
  22. data/lib/amocrm/models/custom_field_group_list_params.rb +7 -1
  23. data/lib/amocrm/models/custom_field_group_update_by_id_params.rb +7 -1
  24. data/lib/amocrm/models/custom_field_list_params.rb +7 -1
  25. data/lib/amocrm/models/custom_field_update_by_id_params.rb +7 -1
  26. data/lib/amocrm/models/custom_field_update_params.rb +7 -1
  27. data/lib/amocrm/models/customer_bonus_point_change_params.rb +39 -8
  28. data/lib/amocrm/models/customer_get_by_id_params.rb +8 -1
  29. data/lib/amocrm/models/customer_segment_delete_by_id_params.rb +7 -1
  30. data/lib/amocrm/models/customer_segment_get_by_id_params.rb +7 -1
  31. data/lib/amocrm/models/customer_segment_update_by_id_params.rb +7 -1
  32. data/lib/amocrm/models/customer_status_delete_by_id_params.rb +7 -1
  33. data/lib/amocrm/models/customer_status_get_by_id_params.rb +7 -1
  34. data/lib/amocrm/models/customer_status_update_by_id_params.rb +7 -1
  35. data/lib/amocrm/models/customer_transaction_create_params.rb +7 -1
  36. data/lib/amocrm/models/customer_transaction_delete_by_id_params.rb +7 -1
  37. data/lib/amocrm/models/customer_transaction_list_by_customer_params.rb +7 -1
  38. data/lib/amocrm/models/customer_update_by_id_params.rb +7 -1
  39. data/lib/amocrm/models/entity_follower_add_params.rb +7 -1
  40. data/lib/amocrm/models/entity_follower_list_params.rb +7 -1
  41. data/lib/amocrm/models/entity_follower_remove_params.rb +7 -1
  42. data/lib/amocrm/models/entity_link_link_by_entity_params.rb +7 -1
  43. data/lib/amocrm/models/entity_link_link_params.rb +7 -1
  44. data/lib/amocrm/models/entity_link_list_by_entity_params.rb +7 -1
  45. data/lib/amocrm/models/entity_link_list_params.rb +7 -1
  46. data/lib/amocrm/models/entity_link_unlink_by_entity_params.rb +7 -1
  47. data/lib/amocrm/models/entity_link_unlink_params.rb +7 -1
  48. data/lib/amocrm/models/entity_note_create_params.rb +7 -1
  49. data/lib/amocrm/models/entity_note_get_by_id_params.rb +7 -1
  50. data/lib/amocrm/models/entity_note_list_params.rb +7 -1
  51. data/lib/amocrm/models/entity_note_pin_params.rb +7 -1
  52. data/lib/amocrm/models/entity_note_unpin_params.rb +7 -1
  53. data/lib/amocrm/models/entity_note_update_by_id_params.rb +7 -1
  54. data/lib/amocrm/models/entity_note_update_params.rb +7 -1
  55. data/lib/amocrm/models/entity_notes_by_parent_create_by_parent_params.rb +7 -1
  56. data/lib/amocrm/models/entity_notes_by_parent_get_by_parent_id_params.rb +7 -1
  57. data/lib/amocrm/models/entity_notes_by_parent_list_by_parent_params.rb +7 -1
  58. data/lib/amocrm/models/entity_notes_by_parent_update_by_parent_id_params.rb +13 -1
  59. data/lib/amocrm/models/entity_notes_by_parent_update_by_parent_params.rb +7 -1
  60. data/lib/amocrm/models/event_get_by_id_params.rb +7 -1
  61. data/lib/amocrm/models/lead_get_by_id_params.rb +8 -1
  62. data/lib/amocrm/models/lead_update_by_id_params.rb +8 -1
  63. data/lib/amocrm/models/pipeline_delete_by_id_params.rb +7 -1
  64. data/lib/amocrm/models/pipeline_get_by_id_params.rb +7 -1
  65. data/lib/amocrm/models/pipeline_status_create_params.rb +7 -1
  66. data/lib/amocrm/models/pipeline_status_delete_by_id_params.rb +7 -1
  67. data/lib/amocrm/models/pipeline_status_get_by_id_params.rb +8 -1
  68. data/lib/amocrm/models/pipeline_status_list_params.rb +8 -1
  69. data/lib/amocrm/models/pipeline_status_update_by_id_params.rb +7 -1
  70. data/lib/amocrm/models/pipeline_status_update_params.rb +7 -1
  71. data/lib/amocrm/models/pipeline_update_by_id_params.rb +7 -1
  72. data/lib/amocrm/models/role_delete_by_id_params.rb +7 -1
  73. data/lib/amocrm/models/role_get_by_id_params.rb +7 -1
  74. data/lib/amocrm/models/role_update_by_id_params.rb +7 -1
  75. data/lib/amocrm/models/source_delete_by_id_params.rb +7 -1
  76. data/lib/amocrm/models/source_get_by_id_params.rb +7 -1
  77. data/lib/amocrm/models/source_update_by_id_params.rb +7 -1
  78. data/lib/amocrm/models/tag_create_params.rb +7 -1
  79. data/lib/amocrm/models/tag_list_params.rb +7 -1
  80. data/lib/amocrm/models/talk_close_params.rb +8 -1
  81. data/lib/amocrm/models/talk_get_by_id_params.rb +7 -1
  82. data/lib/amocrm/models/task_get_by_id_params.rb +7 -1
  83. data/lib/amocrm/models/task_update_by_id_params.rb +7 -1
  84. data/lib/amocrm/models/unsorted_lead_accept_params.rb +8 -1
  85. data/lib/amocrm/models/unsorted_lead_decline_params.rb +8 -1
  86. data/lib/amocrm/models/user_get_by_id_params.rb +7 -1
  87. data/lib/amocrm/models/website_button_connect_online_chat_params.rb +7 -1
  88. data/lib/amocrm/models/website_button_get_by_source_id_params.rb +7 -1
  89. data/lib/amocrm/models/website_button_update_params.rb +7 -1
  90. data/lib/amocrm/models/widget_bot_continue_continue_params.rb +7 -1
  91. data/lib/amocrm/models/widget_get_by_code_params.rb +7 -1
  92. data/lib/amocrm/models/widget_install_params.rb +7 -1
  93. data/lib/amocrm/models/widget_uninstall_params.rb +7 -1
  94. data/lib/amocrm/resources/account.rb +2 -1
  95. data/lib/amocrm/resources/catalog_elements.rb +4 -2
  96. data/lib/amocrm/resources/catalogs.rb +2 -1
  97. data/lib/amocrm/resources/companies.rb +4 -2
  98. data/lib/amocrm/resources/contact_chats.rb +2 -1
  99. data/lib/amocrm/resources/contacts.rb +4 -2
  100. data/lib/amocrm/resources/custom_field_groups.rb +2 -1
  101. data/lib/amocrm/resources/custom_fields.rb +2 -1
  102. data/lib/amocrm/resources/customer_bonus_points.rb +3 -4
  103. data/lib/amocrm/resources/customer_transactions.rb +6 -3
  104. data/lib/amocrm/resources/customers.rb +4 -2
  105. data/lib/amocrm/resources/entity_followers.rb +2 -1
  106. data/lib/amocrm/resources/entity_links.rb +2 -1
  107. data/lib/amocrm/resources/entity_notes.rb +4 -2
  108. data/lib/amocrm/resources/entity_notes_by_parent.rb +4 -2
  109. data/lib/amocrm/resources/events.rb +6 -3
  110. data/lib/amocrm/resources/leads.rb +4 -2
  111. data/lib/amocrm/resources/pipeline_statuses.rb +4 -2
  112. data/lib/amocrm/resources/roles.rb +4 -2
  113. data/lib/amocrm/resources/sources.rb +2 -1
  114. data/lib/amocrm/resources/tags.rb +2 -1
  115. data/lib/amocrm/resources/tasks.rb +2 -1
  116. data/lib/amocrm/resources/users.rb +4 -2
  117. data/lib/amocrm/resources/webhooks.rb +2 -1
  118. data/lib/amocrm/resources/website_buttons.rb +4 -2
  119. data/lib/amocrm/resources/widgets.rb +2 -1
  120. data/lib/amocrm/version.rb +1 -1
  121. data/rbi/amocrm/internal/util.rbi +21 -1
  122. data/rbi/amocrm/models/catalog_element_create_params.rbi +6 -1
  123. data/rbi/amocrm/models/catalog_element_get_by_id_params.rbi +6 -0
  124. data/rbi/amocrm/models/catalog_element_list_params.rbi +6 -0
  125. data/rbi/amocrm/models/catalog_element_update_by_id_params.rbi +6 -0
  126. data/rbi/amocrm/models/catalog_element_update_params.rbi +6 -1
  127. data/rbi/amocrm/models/catalog_get_by_id_params.rbi +13 -5
  128. data/rbi/amocrm/models/catalog_update_by_id_params.rbi +6 -0
  129. data/rbi/amocrm/models/company_get_by_id_params.rbi +6 -1
  130. data/rbi/amocrm/models/company_update_by_id_params.rbi +6 -0
  131. data/rbi/amocrm/models/contact_get_by_id_params.rbi +6 -1
  132. data/rbi/amocrm/models/contact_update_by_id_params.rbi +6 -0
  133. data/rbi/amocrm/models/custom_field_create_params.rbi +6 -1
  134. data/rbi/amocrm/models/custom_field_delete_by_id_params.rbi +10 -2
  135. data/rbi/amocrm/models/custom_field_get_by_id_params.rbi +10 -2
  136. data/rbi/amocrm/models/custom_field_group_create_params.rbi +6 -1
  137. data/rbi/amocrm/models/custom_field_group_delete_by_id_params.rbi +10 -2
  138. data/rbi/amocrm/models/custom_field_group_get_by_id_params.rbi +10 -2
  139. data/rbi/amocrm/models/custom_field_group_list_params.rbi +6 -1
  140. data/rbi/amocrm/models/custom_field_group_update_by_id_params.rbi +6 -1
  141. data/rbi/amocrm/models/custom_field_list_params.rbi +6 -1
  142. data/rbi/amocrm/models/custom_field_update_by_id_params.rbi +6 -0
  143. data/rbi/amocrm/models/custom_field_update_params.rbi +6 -1
  144. data/rbi/amocrm/models/customer_bonus_point_change_params.rbi +85 -8
  145. data/rbi/amocrm/models/customer_get_by_id_params.rbi +6 -1
  146. data/rbi/amocrm/models/customer_segment_delete_by_id_params.rbi +13 -5
  147. data/rbi/amocrm/models/customer_segment_get_by_id_params.rbi +13 -5
  148. data/rbi/amocrm/models/customer_segment_update_by_id_params.rbi +6 -0
  149. data/rbi/amocrm/models/customer_status_delete_by_id_params.rbi +13 -5
  150. data/rbi/amocrm/models/customer_status_get_by_id_params.rbi +13 -5
  151. data/rbi/amocrm/models/customer_status_update_by_id_params.rbi +6 -1
  152. data/rbi/amocrm/models/customer_transaction_create_params.rbi +6 -1
  153. data/rbi/amocrm/models/customer_transaction_delete_by_id_params.rbi +10 -2
  154. data/rbi/amocrm/models/customer_transaction_list_by_customer_params.rbi +12 -1
  155. data/rbi/amocrm/models/customer_update_by_id_params.rbi +6 -0
  156. data/rbi/amocrm/models/entity_follower_add_params.rbi +6 -1
  157. data/rbi/amocrm/models/entity_follower_list_params.rbi +12 -1
  158. data/rbi/amocrm/models/entity_follower_remove_params.rbi +6 -1
  159. data/rbi/amocrm/models/entity_link_link_by_entity_params.rbi +6 -1
  160. data/rbi/amocrm/models/entity_link_link_params.rbi +6 -1
  161. data/rbi/amocrm/models/entity_link_list_by_entity_params.rbi +6 -1
  162. data/rbi/amocrm/models/entity_link_list_params.rbi +10 -2
  163. data/rbi/amocrm/models/entity_link_unlink_by_entity_params.rbi +6 -1
  164. data/rbi/amocrm/models/entity_link_unlink_params.rbi +6 -1
  165. data/rbi/amocrm/models/entity_note_create_params.rbi +6 -1
  166. data/rbi/amocrm/models/entity_note_get_by_id_params.rbi +6 -1
  167. data/rbi/amocrm/models/entity_note_list_params.rbi +12 -1
  168. data/rbi/amocrm/models/entity_note_pin_params.rbi +6 -1
  169. data/rbi/amocrm/models/entity_note_unpin_params.rbi +6 -1
  170. data/rbi/amocrm/models/entity_note_update_by_id_params.rbi +6 -0
  171. data/rbi/amocrm/models/entity_note_update_params.rbi +6 -1
  172. data/rbi/amocrm/models/entity_notes_by_parent_create_by_parent_params.rbi +6 -1
  173. data/rbi/amocrm/models/entity_notes_by_parent_get_by_parent_id_params.rbi +12 -1
  174. data/rbi/amocrm/models/entity_notes_by_parent_list_by_parent_params.rbi +6 -0
  175. data/rbi/amocrm/models/entity_notes_by_parent_update_by_parent_id_params.rbi +12 -0
  176. data/rbi/amocrm/models/entity_notes_by_parent_update_by_parent_params.rbi +6 -1
  177. data/rbi/amocrm/models/event_get_by_id_params.rbi +6 -2
  178. data/rbi/amocrm/models/lead_get_by_id_params.rbi +6 -1
  179. data/rbi/amocrm/models/lead_update_by_id_params.rbi +6 -0
  180. data/rbi/amocrm/models/pipeline_delete_by_id_params.rbi +13 -5
  181. data/rbi/amocrm/models/pipeline_get_by_id_params.rbi +13 -5
  182. data/rbi/amocrm/models/pipeline_status_create_params.rbi +6 -1
  183. data/rbi/amocrm/models/pipeline_status_delete_by_id_params.rbi +10 -2
  184. data/rbi/amocrm/models/pipeline_status_get_by_id_params.rbi +6 -0
  185. data/rbi/amocrm/models/pipeline_status_list_params.rbi +10 -1
  186. data/rbi/amocrm/models/pipeline_status_update_by_id_params.rbi +6 -0
  187. data/rbi/amocrm/models/pipeline_status_update_params.rbi +6 -1
  188. data/rbi/amocrm/models/pipeline_update_by_id_params.rbi +6 -0
  189. data/rbi/amocrm/models/role_delete_by_id_params.rbi +13 -5
  190. data/rbi/amocrm/models/role_get_by_id_params.rbi +6 -2
  191. data/rbi/amocrm/models/role_update_by_id_params.rbi +12 -1
  192. data/rbi/amocrm/models/source_delete_by_id_params.rbi +13 -5
  193. data/rbi/amocrm/models/source_get_by_id_params.rbi +13 -5
  194. data/rbi/amocrm/models/source_update_by_id_params.rbi +6 -0
  195. data/rbi/amocrm/models/tag_create_params.rbi +6 -1
  196. data/rbi/amocrm/models/tag_list_params.rbi +6 -0
  197. data/rbi/amocrm/models/talk_close_params.rbi +10 -1
  198. data/rbi/amocrm/models/talk_get_by_id_params.rbi +13 -5
  199. data/rbi/amocrm/models/task_get_by_id_params.rbi +13 -5
  200. data/rbi/amocrm/models/task_update_by_id_params.rbi +6 -0
  201. data/rbi/amocrm/models/unsorted_lead_accept_params.rbi +6 -0
  202. data/rbi/amocrm/models/unsorted_lead_decline_params.rbi +10 -1
  203. data/rbi/amocrm/models/user_get_by_id_params.rbi +6 -2
  204. data/rbi/amocrm/models/website_button_connect_online_chat_params.rbi +13 -5
  205. data/rbi/amocrm/models/website_button_get_by_source_id_params.rbi +10 -2
  206. data/rbi/amocrm/models/website_button_update_params.rbi +6 -1
  207. data/rbi/amocrm/models/widget_bot_continue_continue_params.rbi +6 -0
  208. data/rbi/amocrm/models/widget_get_by_code_params.rbi +13 -5
  209. data/rbi/amocrm/models/widget_install_params.rbi +10 -2
  210. data/rbi/amocrm/models/widget_uninstall_params.rbi +13 -5
  211. data/rbi/amocrm/resources/customer_bonus_points.rbi +6 -3
  212. data/sig/amocrm/internal/util.rbs +10 -0
  213. data/sig/amocrm/models/catalog_element_create_params.rbs +8 -1
  214. data/sig/amocrm/models/catalog_element_get_by_id_params.rbs +5 -1
  215. data/sig/amocrm/models/catalog_element_list_params.rbs +5 -0
  216. data/sig/amocrm/models/catalog_element_update_by_id_params.rbs +5 -0
  217. data/sig/amocrm/models/catalog_element_update_params.rbs +8 -1
  218. data/sig/amocrm/models/catalog_get_by_id_params.rbs +8 -3
  219. data/sig/amocrm/models/catalog_update_by_id_params.rbs +5 -0
  220. data/sig/amocrm/models/company_get_by_id_params.rbs +9 -2
  221. data/sig/amocrm/models/company_update_by_id_params.rbs +5 -0
  222. data/sig/amocrm/models/contact_get_by_id_params.rbs +9 -2
  223. data/sig/amocrm/models/contact_update_by_id_params.rbs +5 -0
  224. data/sig/amocrm/models/custom_field_create_params.rbs +8 -1
  225. data/sig/amocrm/models/custom_field_delete_by_id_params.rbs +6 -1
  226. data/sig/amocrm/models/custom_field_get_by_id_params.rbs +6 -1
  227. data/sig/amocrm/models/custom_field_group_create_params.rbs +8 -1
  228. data/sig/amocrm/models/custom_field_group_delete_by_id_params.rbs +6 -1
  229. data/sig/amocrm/models/custom_field_group_get_by_id_params.rbs +6 -1
  230. data/sig/amocrm/models/custom_field_group_list_params.rbs +5 -1
  231. data/sig/amocrm/models/custom_field_group_update_by_id_params.rbs +5 -1
  232. data/sig/amocrm/models/custom_field_list_params.rbs +5 -1
  233. data/sig/amocrm/models/custom_field_update_by_id_params.rbs +5 -0
  234. data/sig/amocrm/models/custom_field_update_params.rbs +8 -1
  235. data/sig/amocrm/models/customer_bonus_point_change_params.rbs +40 -7
  236. data/sig/amocrm/models/customer_get_by_id_params.rbs +9 -2
  237. data/sig/amocrm/models/customer_segment_delete_by_id_params.rbs +8 -3
  238. data/sig/amocrm/models/customer_segment_get_by_id_params.rbs +8 -3
  239. data/sig/amocrm/models/customer_segment_update_by_id_params.rbs +5 -0
  240. data/sig/amocrm/models/customer_status_delete_by_id_params.rbs +8 -3
  241. data/sig/amocrm/models/customer_status_get_by_id_params.rbs +8 -3
  242. data/sig/amocrm/models/customer_status_update_by_id_params.rbs +5 -1
  243. data/sig/amocrm/models/customer_transaction_create_params.rbs +5 -0
  244. data/sig/amocrm/models/customer_transaction_delete_by_id_params.rbs +6 -1
  245. data/sig/amocrm/models/customer_transaction_list_by_customer_params.rbs +5 -1
  246. data/sig/amocrm/models/customer_update_by_id_params.rbs +5 -0
  247. data/sig/amocrm/models/entity_follower_add_params.rbs +5 -0
  248. data/sig/amocrm/models/entity_follower_list_params.rbs +5 -0
  249. data/sig/amocrm/models/entity_follower_remove_params.rbs +5 -0
  250. data/sig/amocrm/models/entity_link_link_by_entity_params.rbs +5 -0
  251. data/sig/amocrm/models/entity_link_link_params.rbs +8 -1
  252. data/sig/amocrm/models/entity_link_list_by_entity_params.rbs +8 -1
  253. data/sig/amocrm/models/entity_link_list_params.rbs +13 -2
  254. data/sig/amocrm/models/entity_link_unlink_by_entity_params.rbs +5 -0
  255. data/sig/amocrm/models/entity_link_unlink_params.rbs +8 -1
  256. data/sig/amocrm/models/entity_note_create_params.rbs +8 -1
  257. data/sig/amocrm/models/entity_note_get_by_id_params.rbs +5 -0
  258. data/sig/amocrm/models/entity_note_list_params.rbs +10 -1
  259. data/sig/amocrm/models/entity_note_pin_params.rbs +8 -1
  260. data/sig/amocrm/models/entity_note_unpin_params.rbs +8 -1
  261. data/sig/amocrm/models/entity_note_update_by_id_params.rbs +5 -0
  262. data/sig/amocrm/models/entity_note_update_params.rbs +8 -1
  263. data/sig/amocrm/models/entity_notes_by_parent_create_by_parent_params.rbs +5 -0
  264. data/sig/amocrm/models/entity_notes_by_parent_get_by_parent_id_params.rbs +5 -0
  265. data/sig/amocrm/models/entity_notes_by_parent_list_by_parent_params.rbs +5 -0
  266. data/sig/amocrm/models/entity_notes_by_parent_update_by_parent_id_params.rbs +10 -0
  267. data/sig/amocrm/models/entity_notes_by_parent_update_by_parent_params.rbs +5 -0
  268. data/sig/amocrm/models/event_get_by_id_params.rbs +9 -2
  269. data/sig/amocrm/models/lead_get_by_id_params.rbs +9 -2
  270. data/sig/amocrm/models/lead_update_by_id_params.rbs +5 -0
  271. data/sig/amocrm/models/pipeline_delete_by_id_params.rbs +8 -3
  272. data/sig/amocrm/models/pipeline_get_by_id_params.rbs +8 -3
  273. data/sig/amocrm/models/pipeline_status_create_params.rbs +8 -1
  274. data/sig/amocrm/models/pipeline_status_delete_by_id_params.rbs +6 -1
  275. data/sig/amocrm/models/pipeline_status_get_by_id_params.rbs +5 -1
  276. data/sig/amocrm/models/pipeline_status_list_params.rbs +10 -2
  277. data/sig/amocrm/models/pipeline_status_update_by_id_params.rbs +5 -0
  278. data/sig/amocrm/models/pipeline_status_update_params.rbs +8 -1
  279. data/sig/amocrm/models/pipeline_update_by_id_params.rbs +5 -0
  280. data/sig/amocrm/models/role_delete_by_id_params.rbs +8 -3
  281. data/sig/amocrm/models/role_get_by_id_params.rbs +9 -2
  282. data/sig/amocrm/models/role_update_by_id_params.rbs +5 -0
  283. data/sig/amocrm/models/source_delete_by_id_params.rbs +8 -3
  284. data/sig/amocrm/models/source_get_by_id_params.rbs +8 -3
  285. data/sig/amocrm/models/source_update_by_id_params.rbs +5 -0
  286. data/sig/amocrm/models/tag_create_params.rbs +8 -1
  287. data/sig/amocrm/models/tag_list_params.rbs +11 -1
  288. data/sig/amocrm/models/talk_close_params.rbs +6 -1
  289. data/sig/amocrm/models/talk_get_by_id_params.rbs +8 -3
  290. data/sig/amocrm/models/task_get_by_id_params.rbs +8 -3
  291. data/sig/amocrm/models/task_update_by_id_params.rbs +5 -0
  292. data/sig/amocrm/models/unsorted_lead_accept_params.rbs +5 -1
  293. data/sig/amocrm/models/unsorted_lead_decline_params.rbs +6 -1
  294. data/sig/amocrm/models/user_get_by_id_params.rbs +9 -2
  295. data/sig/amocrm/models/website_button_connect_online_chat_params.rbs +11 -3
  296. data/sig/amocrm/models/website_button_get_by_source_id_params.rbs +10 -2
  297. data/sig/amocrm/models/website_button_update_params.rbs +8 -1
  298. data/sig/amocrm/models/widget_bot_continue_continue_params.rbs +5 -0
  299. data/sig/amocrm/models/widget_get_by_code_params.rbs +11 -3
  300. data/sig/amocrm/models/widget_install_params.rbs +10 -2
  301. data/sig/amocrm/models/widget_uninstall_params.rbs +11 -3
  302. data/sig/amocrm/resources/customer_bonus_points.rbs +1 -2
  303. metadata +2 -2
@@ -7,7 +7,13 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
- # @!method initialize(request_options: {})
10
+ # @!attribute id
11
+ #
12
+ # @return [Integer]
13
+ required :id, Integer
14
+
15
+ # @!method initialize(id:, request_options: {})
16
+ # @param id [Integer]
11
17
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
12
18
  end
13
19
  end
@@ -7,6 +7,11 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute id
11
+ #
12
+ # @return [Integer]
13
+ required :id, Integer
14
+
10
15
  # @!attribute color
11
16
  #
12
17
  # @return [String, nil]
@@ -23,7 +28,8 @@ module Amocrm
23
28
  # @return [String, nil]
24
29
  optional :name, String
25
30
 
26
- # @!method initialize(color: nil, custom_fields_values: nil, name: nil, request_options: {})
31
+ # @!method initialize(id:, color: nil, custom_fields_values: nil, name: nil, request_options: {})
32
+ # @param id [Integer]
27
33
  # @param color [String]
28
34
  # @param custom_fields_values [Array<Amocrm::Models::CustomerSegmentUpdateByIDParams::CustomFieldsValue>]
29
35
  # @param name [String]
@@ -7,7 +7,13 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
- # @!method initialize(request_options: {})
10
+ # @!attribute id
11
+ #
12
+ # @return [Integer]
13
+ required :id, Integer
14
+
15
+ # @!method initialize(id:, request_options: {})
16
+ # @param id [Integer]
11
17
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
12
18
  end
13
19
  end
@@ -7,7 +7,13 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
- # @!method initialize(request_options: {})
10
+ # @!attribute id
11
+ #
12
+ # @return [Integer]
13
+ required :id, Integer
14
+
15
+ # @!method initialize(id:, request_options: {})
16
+ # @param id [Integer]
11
17
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
12
18
  end
13
19
  end
@@ -7,6 +7,11 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute id
11
+ #
12
+ # @return [Integer]
13
+ required :id, Integer
14
+
10
15
  # @!attribute color
11
16
  #
12
17
  # @return [String, nil]
@@ -22,7 +27,8 @@ module Amocrm
22
27
  # @return [Integer, nil]
23
28
  optional :sort, Integer
24
29
 
25
- # @!method initialize(color: nil, name: nil, sort: nil, request_options: {})
30
+ # @!method initialize(id:, color: nil, name: nil, sort: nil, request_options: {})
31
+ # @param id [Integer]
26
32
  # @param color [String]
27
33
  # @param name [String]
28
34
  # @param sort [Integer]
@@ -7,6 +7,11 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute customer_id
11
+ #
12
+ # @return [Integer]
13
+ required :customer_id, Integer
14
+
10
15
  # @!attribute body
11
16
  #
12
17
  # @return [Array<Amocrm::Models::CustomerTransactionCreateParams::Body>]
@@ -17,7 +22,8 @@ module Amocrm
17
22
  # @return [Boolean, nil]
18
23
  optional :accrue_bonus, Amocrm::Internal::Type::Boolean
19
24
 
20
- # @!method initialize(body:, accrue_bonus: nil, request_options: {})
25
+ # @!method initialize(customer_id:, body:, accrue_bonus: nil, request_options: {})
26
+ # @param customer_id [Integer]
21
27
  # @param body [Array<Amocrm::Models::CustomerTransactionCreateParams::Body>]
22
28
  # @param accrue_bonus [Boolean]
23
29
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
@@ -12,8 +12,14 @@ module Amocrm
12
12
  # @return [Integer]
13
13
  required :customer_id, Integer
14
14
 
15
- # @!method initialize(customer_id:, request_options: {})
15
+ # @!attribute transaction_id
16
+ #
17
+ # @return [Integer]
18
+ required :transaction_id, Integer
19
+
20
+ # @!method initialize(customer_id:, transaction_id:, request_options: {})
16
21
  # @param customer_id [Integer]
22
+ # @param transaction_id [Integer]
17
23
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
18
24
  end
19
25
  end
@@ -7,6 +7,11 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute customer_id
11
+ #
12
+ # @return [Integer]
13
+ required :customer_id, Integer
14
+
10
15
  # @!attribute filter
11
16
  #
12
17
  # @return [Object, nil]
@@ -22,7 +27,8 @@ module Amocrm
22
27
  # @return [Integer, nil]
23
28
  optional :page, Integer
24
29
 
25
- # @!method initialize(filter: nil, limit: nil, page: nil, request_options: {})
30
+ # @!method initialize(customer_id:, filter: nil, limit: nil, page: nil, request_options: {})
31
+ # @param customer_id [Integer]
26
32
  # @param filter [Object]
27
33
  # @param limit [Integer]
28
34
  # @param page [Integer]
@@ -7,6 +7,11 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute id
11
+ #
12
+ # @return [Integer]
13
+ required :id, Integer
14
+
10
15
  # @!attribute _embedded
11
16
  #
12
17
  # @return [Amocrm::Models::CustomerUpdateByIDParams::Embedded, nil]
@@ -74,7 +79,8 @@ module Amocrm
74
79
  # @return [Integer, nil]
75
80
  optional :updated_by, Integer
76
81
 
77
- # @!method initialize(_embedded: nil, custom_fields_values: nil, main_user_id: nil, name: nil, next_date: nil, next_price: nil, periodicity: nil, responsible_user_id: nil, status_id: nil, tags_to_add: nil, tags_to_delete: nil, updated_at: nil, updated_by: nil, request_options: {})
82
+ # @!method initialize(id:, _embedded: nil, custom_fields_values: nil, main_user_id: nil, name: nil, next_date: nil, next_price: nil, periodicity: nil, responsible_user_id: nil, status_id: nil, tags_to_add: nil, tags_to_delete: nil, updated_at: nil, updated_by: nil, request_options: {})
83
+ # @param id [Integer]
78
84
  # @param _embedded [Amocrm::Models::CustomerUpdateByIDParams::Embedded]
79
85
  # @param custom_fields_values [Array<Amocrm::Models::CustomerUpdateByIDParams::CustomFieldsValue>]
80
86
  # @param main_user_id [Integer]
@@ -12,13 +12,19 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityFollowerAddParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityFollowerAddParams::EntityType }
14
14
 
15
+ # @!attribute entity_id
16
+ #
17
+ # @return [Integer]
18
+ required :entity_id, Integer
19
+
15
20
  # @!attribute body
16
21
  #
17
22
  # @return [Array<Amocrm::Models::EntityFollowerAddParams::Body>]
18
23
  required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityFollowerAddParams::Body] }
19
24
 
20
- # @!method initialize(entity_type:, body:, request_options: {})
25
+ # @!method initialize(entity_type:, entity_id:, body:, request_options: {})
21
26
  # @param entity_type [Symbol, Amocrm::Models::EntityFollowerAddParams::EntityType]
27
+ # @param entity_id [Integer]
22
28
  # @param body [Array<Amocrm::Models::EntityFollowerAddParams::Body>]
23
29
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
24
30
 
@@ -12,6 +12,11 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityFollowerListParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityFollowerListParams::EntityType }
14
14
 
15
+ # @!attribute entity_id
16
+ #
17
+ # @return [Integer]
18
+ required :entity_id, Integer
19
+
15
20
  # @!attribute limit
16
21
  #
17
22
  # @return [Integer, nil]
@@ -22,8 +27,9 @@ module Amocrm
22
27
  # @return [Integer, nil]
23
28
  optional :page, Integer
24
29
 
25
- # @!method initialize(entity_type:, limit: nil, page: nil, request_options: {})
30
+ # @!method initialize(entity_type:, entity_id:, limit: nil, page: nil, request_options: {})
26
31
  # @param entity_type [Symbol, Amocrm::Models::EntityFollowerListParams::EntityType]
32
+ # @param entity_id [Integer]
27
33
  # @param limit [Integer]
28
34
  # @param page [Integer]
29
35
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
@@ -12,13 +12,19 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityFollowerRemoveParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityFollowerRemoveParams::EntityType }
14
14
 
15
+ # @!attribute entity_id
16
+ #
17
+ # @return [Integer]
18
+ required :entity_id, Integer
19
+
15
20
  # @!attribute body
16
21
  #
17
22
  # @return [Array<Amocrm::Models::EntityFollowerRemoveParams::Body>]
18
23
  required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityFollowerRemoveParams::Body] }
19
24
 
20
- # @!method initialize(entity_type:, body:, request_options: {})
25
+ # @!method initialize(entity_type:, entity_id:, body:, request_options: {})
21
26
  # @param entity_type [Symbol, Amocrm::Models::EntityFollowerRemoveParams::EntityType]
27
+ # @param entity_id [Integer]
22
28
  # @param body [Array<Amocrm::Models::EntityFollowerRemoveParams::Body>]
23
29
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
24
30
 
@@ -12,13 +12,19 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityLinkLinkByEntityParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityLinkLinkByEntityParams::EntityType }
14
14
 
15
+ # @!attribute entity_id
16
+ #
17
+ # @return [Integer]
18
+ required :entity_id, Integer
19
+
15
20
  # @!attribute body
16
21
  #
17
22
  # @return [Array<Amocrm::Models::EntityLinkLinkByEntityParams::Body>]
18
23
  required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityLinkLinkByEntityParams::Body] }
19
24
 
20
- # @!method initialize(entity_type:, body:, request_options: {})
25
+ # @!method initialize(entity_type:, entity_id:, body:, request_options: {})
21
26
  # @param entity_type [Symbol, Amocrm::Models::EntityLinkLinkByEntityParams::EntityType]
27
+ # @param entity_id [Integer]
22
28
  # @param body [Array<Amocrm::Models::EntityLinkLinkByEntityParams::Body>]
23
29
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
24
30
 
@@ -7,12 +7,18 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute entity_type
11
+ #
12
+ # @return [Symbol, Amocrm::Models::EntityLinkLinkParams::EntityType]
13
+ required :entity_type, enum: -> { Amocrm::EntityLinkLinkParams::EntityType }
14
+
10
15
  # @!attribute body
11
16
  #
12
17
  # @return [Array<Amocrm::Models::EntityLinkLinkParams::Body>]
13
18
  required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityLinkLinkParams::Body] }
14
19
 
15
- # @!method initialize(body:, request_options: {})
20
+ # @!method initialize(entity_type:, body:, request_options: {})
21
+ # @param entity_type [Symbol, Amocrm::Models::EntityLinkLinkParams::EntityType]
16
22
  # @param body [Array<Amocrm::Models::EntityLinkLinkParams::Body>]
17
23
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
18
24
 
@@ -12,8 +12,14 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityLinkListByEntityParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityLinkListByEntityParams::EntityType }
14
14
 
15
- # @!method initialize(entity_type:, request_options: {})
15
+ # @!attribute entity_id
16
+ #
17
+ # @return [Integer]
18
+ required :entity_id, Integer
19
+
20
+ # @!method initialize(entity_type:, entity_id:, request_options: {})
16
21
  # @param entity_type [Symbol, Amocrm::Models::EntityLinkListByEntityParams::EntityType]
22
+ # @param entity_id [Integer]
17
23
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
18
24
 
19
25
  module EntityType
@@ -7,12 +7,18 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute entity_type
11
+ #
12
+ # @return [Symbol, Amocrm::Models::EntityLinkListParams::EntityType]
13
+ required :entity_type, enum: -> { Amocrm::EntityLinkListParams::EntityType }
14
+
10
15
  # @!attribute filter
11
16
  #
12
17
  # @return [Object, nil]
13
18
  optional :filter, Amocrm::Internal::Type::Unknown
14
19
 
15
- # @!method initialize(filter: nil, request_options: {})
20
+ # @!method initialize(entity_type:, filter: nil, request_options: {})
21
+ # @param entity_type [Symbol, Amocrm::Models::EntityLinkListParams::EntityType]
16
22
  # @param filter [Object]
17
23
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
18
24
 
@@ -12,13 +12,19 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityLinkUnlinkByEntityParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityLinkUnlinkByEntityParams::EntityType }
14
14
 
15
+ # @!attribute entity_id
16
+ #
17
+ # @return [Integer]
18
+ required :entity_id, Integer
19
+
15
20
  # @!attribute body
16
21
  #
17
22
  # @return [Array<Amocrm::Models::EntityLinkUnlinkByEntityParams::Body>]
18
23
  required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityLinkUnlinkByEntityParams::Body] }
19
24
 
20
- # @!method initialize(entity_type:, body:, request_options: {})
25
+ # @!method initialize(entity_type:, entity_id:, body:, request_options: {})
21
26
  # @param entity_type [Symbol, Amocrm::Models::EntityLinkUnlinkByEntityParams::EntityType]
27
+ # @param entity_id [Integer]
22
28
  # @param body [Array<Amocrm::Models::EntityLinkUnlinkByEntityParams::Body>]
23
29
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
24
30
 
@@ -7,12 +7,18 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute entity_type
11
+ #
12
+ # @return [Symbol, Amocrm::Models::EntityLinkUnlinkParams::EntityType]
13
+ required :entity_type, enum: -> { Amocrm::EntityLinkUnlinkParams::EntityType }
14
+
10
15
  # @!attribute body
11
16
  #
12
17
  # @return [Array<Amocrm::Models::EntityLinkUnlinkParams::Body>]
13
18
  required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityLinkUnlinkParams::Body] }
14
19
 
15
- # @!method initialize(body:, request_options: {})
20
+ # @!method initialize(entity_type:, body:, request_options: {})
21
+ # @param entity_type [Symbol, Amocrm::Models::EntityLinkUnlinkParams::EntityType]
16
22
  # @param body [Array<Amocrm::Models::EntityLinkUnlinkParams::Body>]
17
23
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
18
24
 
@@ -7,12 +7,18 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute entity_type
11
+ #
12
+ # @return [Symbol, Amocrm::Models::EntityNoteCreateParams::EntityType]
13
+ required :entity_type, enum: -> { Amocrm::EntityNoteCreateParams::EntityType }
14
+
10
15
  # @!attribute body
11
16
  #
12
17
  # @return [Array<Amocrm::Models::EntityNoteCreateParams::Body>]
13
18
  required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityNoteCreateParams::Body] }
14
19
 
15
- # @!method initialize(body:, request_options: {})
20
+ # @!method initialize(entity_type:, body:, request_options: {})
21
+ # @param entity_type [Symbol, Amocrm::Models::EntityNoteCreateParams::EntityType]
16
22
  # @param body [Array<Amocrm::Models::EntityNoteCreateParams::Body>]
17
23
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
18
24
 
@@ -12,13 +12,19 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityNoteGetByIDParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityNoteGetByIDParams::EntityType }
14
14
 
15
+ # @!attribute id
16
+ #
17
+ # @return [Integer]
18
+ required :id, Integer
19
+
15
20
  # @!attribute with
16
21
  #
17
22
  # @return [String, nil]
18
23
  optional :with, String
19
24
 
20
- # @!method initialize(entity_type:, with: nil, request_options: {})
25
+ # @!method initialize(entity_type:, id:, with: nil, request_options: {})
21
26
  # @param entity_type [Symbol, Amocrm::Models::EntityNoteGetByIDParams::EntityType]
27
+ # @param id [Integer]
22
28
  # @param with [String]
23
29
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
24
30
 
@@ -7,6 +7,11 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute entity_type
11
+ #
12
+ # @return [Symbol, Amocrm::Models::EntityNoteListParams::EntityType]
13
+ required :entity_type, enum: -> { Amocrm::EntityNoteListParams::EntityType }
14
+
10
15
  # @!attribute filter
11
16
  #
12
17
  # @return [Object, nil]
@@ -22,7 +27,8 @@ module Amocrm
22
27
  # @return [Integer, nil]
23
28
  optional :page, Integer
24
29
 
25
- # @!method initialize(filter: nil, limit: nil, page: nil, request_options: {})
30
+ # @!method initialize(entity_type:, filter: nil, limit: nil, page: nil, request_options: {})
31
+ # @param entity_type [Symbol, Amocrm::Models::EntityNoteListParams::EntityType]
26
32
  # @param filter [Object]
27
33
  # @param limit [Integer]
28
34
  # @param page [Integer]
@@ -12,8 +12,14 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityNotePinParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityNotePinParams::EntityType }
14
14
 
15
- # @!method initialize(entity_type:, request_options: {})
15
+ # @!attribute id
16
+ #
17
+ # @return [Integer]
18
+ required :id, Integer
19
+
20
+ # @!method initialize(entity_type:, id:, request_options: {})
16
21
  # @param entity_type [Symbol, Amocrm::Models::EntityNotePinParams::EntityType]
22
+ # @param id [Integer]
17
23
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
18
24
 
19
25
  module EntityType
@@ -12,8 +12,14 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityNoteUnpinParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityNoteUnpinParams::EntityType }
14
14
 
15
- # @!method initialize(entity_type:, request_options: {})
15
+ # @!attribute id
16
+ #
17
+ # @return [Integer]
18
+ required :id, Integer
19
+
20
+ # @!method initialize(entity_type:, id:, request_options: {})
16
21
  # @param entity_type [Symbol, Amocrm::Models::EntityNoteUnpinParams::EntityType]
22
+ # @param id [Integer]
17
23
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
18
24
 
19
25
  module EntityType
@@ -12,6 +12,11 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityNoteUpdateByIDParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityNoteUpdateByIDParams::EntityType }
14
14
 
15
+ # @!attribute id
16
+ #
17
+ # @return [Integer]
18
+ required :id, Integer
19
+
15
20
  # @!attribute entity_id
16
21
  #
17
22
  # @return [Integer, nil]
@@ -37,8 +42,9 @@ module Amocrm
37
42
  # @return [Integer, nil]
38
43
  optional :updated_by, Integer
39
44
 
40
- # @!method initialize(entity_type:, entity_id: nil, note_type: nil, params: nil, updated_at: nil, updated_by: nil, request_options: {})
45
+ # @!method initialize(entity_type:, id:, entity_id: nil, note_type: nil, params: nil, updated_at: nil, updated_by: nil, request_options: {})
41
46
  # @param entity_type [Symbol, Amocrm::Models::EntityNoteUpdateByIDParams::EntityType]
47
+ # @param id [Integer]
42
48
  # @param entity_id [Integer]
43
49
  # @param note_type [String]
44
50
  # @param params [Object]
@@ -7,12 +7,18 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute entity_type
11
+ #
12
+ # @return [Symbol, Amocrm::Models::EntityNoteUpdateParams::EntityType]
13
+ required :entity_type, enum: -> { Amocrm::EntityNoteUpdateParams::EntityType }
14
+
10
15
  # @!attribute body
11
16
  #
12
17
  # @return [Array<Amocrm::Models::EntityNoteUpdateParams::Body>]
13
18
  required :body, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityNoteUpdateParams::Body] }
14
19
 
15
- # @!method initialize(body:, request_options: {})
20
+ # @!method initialize(entity_type:, body:, request_options: {})
21
+ # @param entity_type [Symbol, Amocrm::Models::EntityNoteUpdateParams::EntityType]
16
22
  # @param body [Array<Amocrm::Models::EntityNoteUpdateParams::Body>]
17
23
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
18
24
 
@@ -12,14 +12,20 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityNotesByParentCreateByParentParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityNotesByParentCreateByParentParams::EntityType }
14
14
 
15
+ # @!attribute entity_id
16
+ #
17
+ # @return [Integer]
18
+ required :entity_id, Integer
19
+
15
20
  # @!attribute body
16
21
  #
17
22
  # @return [Array<Amocrm::Models::EntityNotesByParentCreateByParentParams::Body>]
18
23
  required :body,
19
24
  -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityNotesByParentCreateByParentParams::Body] }
20
25
 
21
- # @!method initialize(entity_type:, body:, request_options: {})
26
+ # @!method initialize(entity_type:, entity_id:, body:, request_options: {})
22
27
  # @param entity_type [Symbol, Amocrm::Models::EntityNotesByParentCreateByParentParams::EntityType]
28
+ # @param entity_id [Integer]
23
29
  # @param body [Array<Amocrm::Models::EntityNotesByParentCreateByParentParams::Body>]
24
30
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
25
31
 
@@ -17,14 +17,20 @@ module Amocrm
17
17
  # @return [Integer]
18
18
  required :entity_id, Integer
19
19
 
20
+ # @!attribute note_id
21
+ #
22
+ # @return [Integer]
23
+ required :note_id, Integer
24
+
20
25
  # @!attribute with
21
26
  #
22
27
  # @return [String, nil]
23
28
  optional :with, String
24
29
 
25
- # @!method initialize(entity_type:, entity_id:, with: nil, request_options: {})
30
+ # @!method initialize(entity_type:, entity_id:, note_id:, with: nil, request_options: {})
26
31
  # @param entity_type [Symbol, Amocrm::Models::EntityNotesByParentGetByParentIDParams::EntityType]
27
32
  # @param entity_id [Integer]
33
+ # @param note_id [Integer]
28
34
  # @param with [String]
29
35
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
30
36
 
@@ -12,6 +12,11 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityNotesByParentListByParentParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityNotesByParentListByParentParams::EntityType }
14
14
 
15
+ # @!attribute entity_id
16
+ #
17
+ # @return [Integer]
18
+ required :entity_id, Integer
19
+
15
20
  # @!attribute filter
16
21
  #
17
22
  # @return [Object, nil]
@@ -27,8 +32,9 @@ module Amocrm
27
32
  # @return [Integer, nil]
28
33
  optional :page, Integer
29
34
 
30
- # @!method initialize(entity_type:, filter: nil, limit: nil, page: nil, request_options: {})
35
+ # @!method initialize(entity_type:, entity_id:, filter: nil, limit: nil, page: nil, request_options: {})
31
36
  # @param entity_type [Symbol, Amocrm::Models::EntityNotesByParentListByParentParams::EntityType]
37
+ # @param entity_id [Integer]
32
38
  # @param filter [Object]
33
39
  # @param limit [Integer]
34
40
  # @param page [Integer]
@@ -12,6 +12,16 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityNotesByParentUpdateByParentIDParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityNotesByParentUpdateByParentIDParams::EntityType }
14
14
 
15
+ # @!attribute path_entity_id
16
+ #
17
+ # @return [Integer]
18
+ required :path_entity_id, Integer
19
+
20
+ # @!attribute note_id
21
+ #
22
+ # @return [Integer]
23
+ required :note_id, Integer
24
+
15
25
  # @!attribute body_entity_id
16
26
  #
17
27
  # @return [Integer, nil]
@@ -37,8 +47,10 @@ module Amocrm
37
47
  # @return [Integer, nil]
38
48
  optional :updated_by, Integer
39
49
 
40
- # @!method initialize(entity_type:, body_entity_id: nil, note_type: nil, params: nil, updated_at: nil, updated_by: nil, request_options: {})
50
+ # @!method initialize(entity_type:, path_entity_id:, note_id:, body_entity_id: nil, note_type: nil, params: nil, updated_at: nil, updated_by: nil, request_options: {})
41
51
  # @param entity_type [Symbol, Amocrm::Models::EntityNotesByParentUpdateByParentIDParams::EntityType]
52
+ # @param path_entity_id [Integer]
53
+ # @param note_id [Integer]
42
54
  # @param body_entity_id [Integer]
43
55
  # @param note_type [String]
44
56
  # @param params [Object]
@@ -12,14 +12,20 @@ module Amocrm
12
12
  # @return [Symbol, Amocrm::Models::EntityNotesByParentUpdateByParentParams::EntityType]
13
13
  required :entity_type, enum: -> { Amocrm::EntityNotesByParentUpdateByParentParams::EntityType }
14
14
 
15
+ # @!attribute entity_id
16
+ #
17
+ # @return [Integer]
18
+ required :entity_id, Integer
19
+
15
20
  # @!attribute body
16
21
  #
17
22
  # @return [Array<Amocrm::Models::EntityNotesByParentUpdateByParentParams::Body>]
18
23
  required :body,
19
24
  -> { Amocrm::Internal::Type::ArrayOf[Amocrm::EntityNotesByParentUpdateByParentParams::Body] }
20
25
 
21
- # @!method initialize(entity_type:, body:, request_options: {})
26
+ # @!method initialize(entity_type:, entity_id:, body:, request_options: {})
22
27
  # @param entity_type [Symbol, Amocrm::Models::EntityNotesByParentUpdateByParentParams::EntityType]
28
+ # @param entity_id [Integer]
23
29
  # @param body [Array<Amocrm::Models::EntityNotesByParentUpdateByParentParams::Body>]
24
30
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
25
31
 
@@ -7,12 +7,18 @@ module Amocrm
7
7
  extend Amocrm::Internal::Type::RequestParameters::Converter
8
8
  include Amocrm::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute id
11
+ #
12
+ # @return [Integer]
13
+ required :id, Integer
14
+
10
15
  # @!attribute with
11
16
  #
12
17
  # @return [String, nil]
13
18
  optional :with, String
14
19
 
15
- # @!method initialize(with: nil, request_options: {})
20
+ # @!method initialize(id:, with: nil, request_options: {})
21
+ # @param id [Integer]
16
22
  # @param with [String]
17
23
  # @param request_options [Amocrm::RequestOptions, Hash{Symbol=>Object}]
18
24
  end