line-bot-api 2.6.1 → 2.8.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 (313) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/line/bot/v2/channel_access_token/api/channel_access_token_client.rb +105 -16
  4. data/lib/line/bot/v2/channel_access_token/model/channel_access_token_key_ids_response.rb +2 -2
  5. data/lib/line/bot/v2/channel_access_token/model/error_response.rb +2 -2
  6. data/lib/line/bot/v2/channel_access_token/model/issue_channel_access_token_response.rb +2 -2
  7. data/lib/line/bot/v2/channel_access_token/model/issue_short_lived_channel_access_token_response.rb +2 -2
  8. data/lib/line/bot/v2/channel_access_token/model/issue_stateless_channel_access_token_response.rb +2 -2
  9. data/lib/line/bot/v2/channel_access_token/model/verify_channel_access_token_response.rb +2 -2
  10. data/lib/line/bot/v2/insight/api/insight_client.rb +10 -10
  11. data/lib/line/bot/v2/insight/model/age_tile.rb +2 -2
  12. data/lib/line/bot/v2/insight/model/app_type_tile.rb +2 -2
  13. data/lib/line/bot/v2/insight/model/area_tile.rb +2 -2
  14. data/lib/line/bot/v2/insight/model/error_detail.rb +2 -2
  15. data/lib/line/bot/v2/insight/model/error_response.rb +3 -3
  16. data/lib/line/bot/v2/insight/model/gender_tile.rb +2 -2
  17. data/lib/line/bot/v2/insight/model/get_friends_demographics_response.rb +7 -7
  18. data/lib/line/bot/v2/insight/model/get_message_event_response.rb +5 -5
  19. data/lib/line/bot/v2/insight/model/get_message_event_response_click.rb +2 -2
  20. data/lib/line/bot/v2/insight/model/get_message_event_response_message.rb +2 -2
  21. data/lib/line/bot/v2/insight/model/get_message_event_response_overview.rb +2 -2
  22. data/lib/line/bot/v2/insight/model/get_number_of_followers_response.rb +2 -2
  23. data/lib/line/bot/v2/insight/model/get_number_of_message_deliveries_response.rb +2 -2
  24. data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response.rb +5 -5
  25. data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_click.rb +2 -2
  26. data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_message.rb +2 -2
  27. data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_overview.rb +2 -2
  28. data/lib/line/bot/v2/insight/model/subscription_period_tile.rb +2 -2
  29. data/lib/line/bot/v2/liff/api/liff_client.rb +6 -6
  30. data/lib/line/bot/v2/liff/model/add_liff_app_request.rb +4 -4
  31. data/lib/line/bot/v2/liff/model/add_liff_app_response.rb +2 -2
  32. data/lib/line/bot/v2/liff/model/get_all_liff_apps_response.rb +3 -3
  33. data/lib/line/bot/v2/liff/model/liff_app.rb +4 -4
  34. data/lib/line/bot/v2/liff/model/liff_features.rb +2 -2
  35. data/lib/line/bot/v2/liff/model/liff_view.rb +2 -2
  36. data/lib/line/bot/v2/liff/model/update_liff_app_request.rb +4 -4
  37. data/lib/line/bot/v2/liff/model/update_liff_view.rb +2 -2
  38. data/lib/line/bot/v2/manage_audience/api/manage_audience_blob_client.rb +3 -3
  39. data/lib/line/bot/v2/manage_audience/api/manage_audience_client.rb +19 -19
  40. data/lib/line/bot/v2/manage_audience/model/adaccount.rb +2 -2
  41. data/lib/line/bot/v2/manage_audience/model/add_audience_to_audience_group_request.rb +3 -3
  42. data/lib/line/bot/v2/manage_audience/model/audience.rb +2 -2
  43. data/lib/line/bot/v2/manage_audience/model/audience_group.rb +2 -2
  44. data/lib/line/bot/v2/manage_audience/model/audience_group_job.rb +2 -2
  45. data/lib/line/bot/v2/manage_audience/model/create_audience_group_request.rb +3 -3
  46. data/lib/line/bot/v2/manage_audience/model/create_audience_group_response.rb +2 -2
  47. data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_request.rb +2 -2
  48. data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_response.rb +2 -2
  49. data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_request.rb +2 -2
  50. data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_response.rb +2 -2
  51. data/lib/line/bot/v2/manage_audience/model/detailed_owner.rb +2 -2
  52. data/lib/line/bot/v2/manage_audience/model/error_detail.rb +2 -2
  53. data/lib/line/bot/v2/manage_audience/model/error_response.rb +3 -3
  54. data/lib/line/bot/v2/manage_audience/model/get_audience_data_response.rb +5 -5
  55. data/lib/line/bot/v2/manage_audience/model/get_audience_groups_response.rb +3 -3
  56. data/lib/line/bot/v2/manage_audience/model/get_shared_audience_data_response.rb +5 -5
  57. data/lib/line/bot/v2/manage_audience/model/get_shared_audience_groups_response.rb +3 -3
  58. data/lib/line/bot/v2/manage_audience/model/update_audience_group_description_request.rb +2 -2
  59. data/lib/line/bot/v2/messaging_api/api/messaging_api_blob_client.rb +10 -10
  60. data/lib/line/bot/v2/messaging_api/api/messaging_api_client.rb +147 -147
  61. data/lib/line/bot/v2/messaging_api/model/acquisition_condition_request.rb +3 -3
  62. data/lib/line/bot/v2/messaging_api/model/acquisition_condition_response.rb +3 -3
  63. data/lib/line/bot/v2/messaging_api/model/action.rb +3 -3
  64. data/lib/line/bot/v2/messaging_api/model/age_demographic_filter.rb +2 -2
  65. data/lib/line/bot/v2/messaging_api/model/all_mention_target.rb +2 -2
  66. data/lib/line/bot/v2/messaging_api/model/alt_uri.rb +2 -2
  67. data/lib/line/bot/v2/messaging_api/model/app_type_demographic_filter.rb +2 -2
  68. data/lib/line/bot/v2/messaging_api/model/area_demographic_filter.rb +2 -2
  69. data/lib/line/bot/v2/messaging_api/model/audience_recipient.rb +2 -2
  70. data/lib/line/bot/v2/messaging_api/model/audio_message.rb +4 -4
  71. data/lib/line/bot/v2/messaging_api/model/bot_info_response.rb +2 -2
  72. data/lib/line/bot/v2/messaging_api/model/broadcast_request.rb +3 -3
  73. data/lib/line/bot/v2/messaging_api/model/buttons_template.rb +4 -4
  74. data/lib/line/bot/v2/messaging_api/model/camera_action.rb +2 -2
  75. data/lib/line/bot/v2/messaging_api/model/camera_roll_action.rb +2 -2
  76. data/lib/line/bot/v2/messaging_api/model/carousel_column.rb +4 -4
  77. data/lib/line/bot/v2/messaging_api/model/carousel_template.rb +3 -3
  78. data/lib/line/bot/v2/messaging_api/model/cash_back_fixed_price_info_request.rb +2 -2
  79. data/lib/line/bot/v2/messaging_api/model/cash_back_fixed_price_info_response.rb +2 -2
  80. data/lib/line/bot/v2/messaging_api/model/cash_back_percentage_price_info_request.rb +2 -2
  81. data/lib/line/bot/v2/messaging_api/model/cash_back_percentage_price_info_response.rb +2 -2
  82. data/lib/line/bot/v2/messaging_api/model/cash_back_price_info_request.rb +3 -3
  83. data/lib/line/bot/v2/messaging_api/model/cash_back_price_info_response.rb +3 -3
  84. data/lib/line/bot/v2/messaging_api/model/chat_reference.rb +2 -2
  85. data/lib/line/bot/v2/messaging_api/model/clipboard_action.rb +2 -2
  86. data/lib/line/bot/v2/messaging_api/model/clipboard_imagemap_action.rb +3 -3
  87. data/lib/line/bot/v2/messaging_api/model/confirm_template.rb +3 -3
  88. data/lib/line/bot/v2/messaging_api/model/coupon_cash_back_reward_request.rb +3 -3
  89. data/lib/line/bot/v2/messaging_api/model/coupon_cash_back_reward_response.rb +3 -3
  90. data/lib/line/bot/v2/messaging_api/model/coupon_create_request.rb +4 -4
  91. data/lib/line/bot/v2/messaging_api/model/coupon_create_response.rb +2 -2
  92. data/lib/line/bot/v2/messaging_api/model/coupon_discount_reward_request.rb +3 -3
  93. data/lib/line/bot/v2/messaging_api/model/coupon_discount_reward_response.rb +3 -3
  94. data/lib/line/bot/v2/messaging_api/model/coupon_free_reward_request.rb +2 -2
  95. data/lib/line/bot/v2/messaging_api/model/coupon_free_reward_response.rb +2 -2
  96. data/lib/line/bot/v2/messaging_api/model/coupon_gift_reward_request.rb +2 -2
  97. data/lib/line/bot/v2/messaging_api/model/coupon_gift_reward_response.rb +2 -2
  98. data/lib/line/bot/v2/messaging_api/model/coupon_list_response.rb +2 -2
  99. data/lib/line/bot/v2/messaging_api/model/coupon_message.rb +4 -4
  100. data/lib/line/bot/v2/messaging_api/model/coupon_others_reward_request.rb +2 -2
  101. data/lib/line/bot/v2/messaging_api/model/coupon_others_reward_response.rb +2 -2
  102. data/lib/line/bot/v2/messaging_api/model/coupon_response.rb +4 -4
  103. data/lib/line/bot/v2/messaging_api/model/coupon_reward_request.rb +3 -3
  104. data/lib/line/bot/v2/messaging_api/model/coupon_reward_response.rb +3 -3
  105. data/lib/line/bot/v2/messaging_api/model/create_rich_menu_alias_request.rb +2 -2
  106. data/lib/line/bot/v2/messaging_api/model/datetime_picker_action.rb +2 -2
  107. data/lib/line/bot/v2/messaging_api/model/demographic_filter.rb +3 -3
  108. data/lib/line/bot/v2/messaging_api/model/discount_explicit_price_info_request.rb +2 -2
  109. data/lib/line/bot/v2/messaging_api/model/discount_explicit_price_info_response.rb +2 -2
  110. data/lib/line/bot/v2/messaging_api/model/discount_fixed_price_info_request.rb +2 -2
  111. data/lib/line/bot/v2/messaging_api/model/discount_fixed_price_info_response.rb +2 -2
  112. data/lib/line/bot/v2/messaging_api/model/discount_percentage_price_info_request.rb +2 -2
  113. data/lib/line/bot/v2/messaging_api/model/discount_percentage_price_info_response.rb +2 -2
  114. data/lib/line/bot/v2/messaging_api/model/discount_price_info_request.rb +3 -3
  115. data/lib/line/bot/v2/messaging_api/model/discount_price_info_response.rb +3 -3
  116. data/lib/line/bot/v2/messaging_api/model/emoji.rb +2 -2
  117. data/lib/line/bot/v2/messaging_api/model/emoji_substitution_object.rb +2 -2
  118. data/lib/line/bot/v2/messaging_api/model/error_detail.rb +2 -2
  119. data/lib/line/bot/v2/messaging_api/model/error_response.rb +4 -4
  120. data/lib/line/bot/v2/messaging_api/model/filter.rb +3 -3
  121. data/lib/line/bot/v2/messaging_api/model/flex_block_style.rb +2 -2
  122. data/lib/line/bot/v2/messaging_api/model/flex_box.rb +5 -5
  123. data/lib/line/bot/v2/messaging_api/model/flex_box_background.rb +3 -3
  124. data/lib/line/bot/v2/messaging_api/model/flex_box_linear_gradient.rb +2 -2
  125. data/lib/line/bot/v2/messaging_api/model/flex_bubble.rb +8 -8
  126. data/lib/line/bot/v2/messaging_api/model/flex_bubble_styles.rb +6 -6
  127. data/lib/line/bot/v2/messaging_api/model/flex_button.rb +3 -3
  128. data/lib/line/bot/v2/messaging_api/model/flex_carousel.rb +3 -3
  129. data/lib/line/bot/v2/messaging_api/model/flex_component.rb +3 -3
  130. data/lib/line/bot/v2/messaging_api/model/flex_container.rb +3 -3
  131. data/lib/line/bot/v2/messaging_api/model/flex_filler.rb +2 -2
  132. data/lib/line/bot/v2/messaging_api/model/flex_icon.rb +2 -2
  133. data/lib/line/bot/v2/messaging_api/model/flex_image.rb +3 -3
  134. data/lib/line/bot/v2/messaging_api/model/flex_message.rb +5 -5
  135. data/lib/line/bot/v2/messaging_api/model/flex_separator.rb +2 -2
  136. data/lib/line/bot/v2/messaging_api/model/flex_span.rb +2 -2
  137. data/lib/line/bot/v2/messaging_api/model/flex_text.rb +4 -4
  138. data/lib/line/bot/v2/messaging_api/model/flex_video.rb +4 -4
  139. data/lib/line/bot/v2/messaging_api/model/gender_demographic_filter.rb +2 -2
  140. data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_name_list_response.rb +2 -2
  141. data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_usage_response.rb +2 -2
  142. data/lib/line/bot/v2/messaging_api/model/get_followers_response.rb +2 -2
  143. data/lib/line/bot/v2/messaging_api/model/get_joined_membership_users_response.rb +2 -2
  144. data/lib/line/bot/v2/messaging_api/model/get_membership_subscription_response.rb +3 -3
  145. data/lib/line/bot/v2/messaging_api/model/get_message_content_transcoding_response.rb +2 -2
  146. data/lib/line/bot/v2/messaging_api/model/get_webhook_endpoint_response.rb +2 -2
  147. data/lib/line/bot/v2/messaging_api/model/group_member_count_response.rb +2 -2
  148. data/lib/line/bot/v2/messaging_api/model/group_summary_response.rb +2 -2
  149. data/lib/line/bot/v2/messaging_api/model/group_user_profile_response.rb +2 -2
  150. data/lib/line/bot/v2/messaging_api/model/image_carousel_column.rb +3 -3
  151. data/lib/line/bot/v2/messaging_api/model/image_carousel_template.rb +3 -3
  152. data/lib/line/bot/v2/messaging_api/model/image_message.rb +4 -4
  153. data/lib/line/bot/v2/messaging_api/model/imagemap_action.rb +4 -4
  154. data/lib/line/bot/v2/messaging_api/model/imagemap_area.rb +2 -2
  155. data/lib/line/bot/v2/messaging_api/model/imagemap_base_size.rb +2 -2
  156. data/lib/line/bot/v2/messaging_api/model/imagemap_external_link.rb +2 -2
  157. data/lib/line/bot/v2/messaging_api/model/imagemap_message.rb +7 -7
  158. data/lib/line/bot/v2/messaging_api/model/imagemap_video.rb +4 -4
  159. data/lib/line/bot/v2/messaging_api/model/issue_link_token_response.rb +2 -2
  160. data/lib/line/bot/v2/messaging_api/model/limit.rb +2 -2
  161. data/lib/line/bot/v2/messaging_api/model/location_action.rb +2 -2
  162. data/lib/line/bot/v2/messaging_api/model/location_message.rb +4 -4
  163. data/lib/line/bot/v2/messaging_api/model/lottery_acquisition_condition_request.rb +2 -2
  164. data/lib/line/bot/v2/messaging_api/model/lottery_acquisition_condition_response.rb +2 -2
  165. data/lib/line/bot/v2/messaging_api/model/mark_messages_as_read_by_token_request.rb +2 -2
  166. data/lib/line/bot/v2/messaging_api/model/mark_messages_as_read_request.rb +3 -3
  167. data/lib/line/bot/v2/messaging_api/model/members_ids_response.rb +2 -2
  168. data/lib/line/bot/v2/messaging_api/model/membership.rb +2 -2
  169. data/lib/line/bot/v2/messaging_api/model/membership_list_response.rb +3 -3
  170. data/lib/line/bot/v2/messaging_api/model/mention_substitution_object.rb +3 -3
  171. data/lib/line/bot/v2/messaging_api/model/mention_target.rb +3 -3
  172. data/lib/line/bot/v2/messaging_api/model/message.rb +5 -5
  173. data/lib/line/bot/v2/messaging_api/model/message_action.rb +2 -2
  174. data/lib/line/bot/v2/messaging_api/model/message_imagemap_action.rb +3 -3
  175. data/lib/line/bot/v2/messaging_api/model/message_quota_response.rb +2 -2
  176. data/lib/line/bot/v2/messaging_api/model/messaging_api_pager_coupon_list_response.rb +3 -3
  177. data/lib/line/bot/v2/messaging_api/model/multicast_request.rb +3 -3
  178. data/lib/line/bot/v2/messaging_api/model/narrowcast_progress_response.rb +2 -2
  179. data/lib/line/bot/v2/messaging_api/model/narrowcast_request.rb +6 -6
  180. data/lib/line/bot/v2/messaging_api/model/normal_acquisition_condition_request.rb +2 -2
  181. data/lib/line/bot/v2/messaging_api/model/normal_acquisition_condition_response.rb +2 -2
  182. data/lib/line/bot/v2/messaging_api/model/number_of_messages_response.rb +2 -2
  183. data/lib/line/bot/v2/messaging_api/model/operator_demographic_filter.rb +5 -5
  184. data/lib/line/bot/v2/messaging_api/model/operator_recipient.rb +5 -5
  185. data/lib/line/bot/v2/messaging_api/model/pnp_messages_request.rb +3 -3
  186. data/lib/line/bot/v2/messaging_api/model/postback_action.rb +2 -2
  187. data/lib/line/bot/v2/messaging_api/model/push_message_request.rb +3 -3
  188. data/lib/line/bot/v2/messaging_api/model/push_message_response.rb +3 -3
  189. data/lib/line/bot/v2/messaging_api/model/quick_reply.rb +3 -3
  190. data/lib/line/bot/v2/messaging_api/model/quick_reply_item.rb +3 -3
  191. data/lib/line/bot/v2/messaging_api/model/quota_consumption_response.rb +2 -2
  192. data/lib/line/bot/v2/messaging_api/model/recipient.rb +3 -3
  193. data/lib/line/bot/v2/messaging_api/model/redelivery_recipient.rb +2 -2
  194. data/lib/line/bot/v2/messaging_api/model/referral_acquisition_condition_response.rb +2 -2
  195. data/lib/line/bot/v2/messaging_api/model/reply_message_request.rb +3 -3
  196. data/lib/line/bot/v2/messaging_api/model/reply_message_response.rb +3 -3
  197. data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_list_response.rb +3 -3
  198. data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_response.rb +2 -2
  199. data/lib/line/bot/v2/messaging_api/model/rich_menu_area.rb +4 -4
  200. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_link_operation.rb +2 -2
  201. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rb +3 -3
  202. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_progress_response.rb +2 -2
  203. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_request.rb +3 -3
  204. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_all_operation.rb +2 -2
  205. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_operation.rb +2 -2
  206. data/lib/line/bot/v2/messaging_api/model/rich_menu_bounds.rb +2 -2
  207. data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_link_request.rb +2 -2
  208. data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_unlink_request.rb +2 -2
  209. data/lib/line/bot/v2/messaging_api/model/rich_menu_id_response.rb +2 -2
  210. data/lib/line/bot/v2/messaging_api/model/rich_menu_list_response.rb +3 -3
  211. data/lib/line/bot/v2/messaging_api/model/rich_menu_request.rb +4 -4
  212. data/lib/line/bot/v2/messaging_api/model/rich_menu_response.rb +4 -4
  213. data/lib/line/bot/v2/messaging_api/model/rich_menu_size.rb +2 -2
  214. data/lib/line/bot/v2/messaging_api/model/rich_menu_switch_action.rb +2 -2
  215. data/lib/line/bot/v2/messaging_api/model/room_member_count_response.rb +2 -2
  216. data/lib/line/bot/v2/messaging_api/model/room_user_profile_response.rb +2 -2
  217. data/lib/line/bot/v2/messaging_api/model/sender.rb +2 -2
  218. data/lib/line/bot/v2/messaging_api/model/sent_message.rb +2 -2
  219. data/lib/line/bot/v2/messaging_api/model/set_webhook_endpoint_request.rb +2 -2
  220. data/lib/line/bot/v2/messaging_api/model/show_loading_animation_request.rb +2 -2
  221. data/lib/line/bot/v2/messaging_api/model/sticker_message.rb +4 -4
  222. data/lib/line/bot/v2/messaging_api/model/subscribed_membership_plan.rb +2 -2
  223. data/lib/line/bot/v2/messaging_api/model/subscribed_membership_user.rb +2 -2
  224. data/lib/line/bot/v2/messaging_api/model/subscription.rb +4 -4
  225. data/lib/line/bot/v2/messaging_api/model/subscription_period_demographic_filter.rb +2 -2
  226. data/lib/line/bot/v2/messaging_api/model/substitution_object.rb +3 -3
  227. data/lib/line/bot/v2/messaging_api/model/template.rb +3 -3
  228. data/lib/line/bot/v2/messaging_api/model/template_message.rb +5 -5
  229. data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_request.rb +2 -2
  230. data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_response.rb +2 -2
  231. data/lib/line/bot/v2/messaging_api/model/text_message.rb +5 -5
  232. data/lib/line/bot/v2/messaging_api/model/text_message_v2.rb +4 -4
  233. data/lib/line/bot/v2/messaging_api/model/update_rich_menu_alias_request.rb +2 -2
  234. data/lib/line/bot/v2/messaging_api/model/uri_action.rb +3 -3
  235. data/lib/line/bot/v2/messaging_api/model/uri_imagemap_action.rb +3 -3
  236. data/lib/line/bot/v2/messaging_api/model/user_mention_target.rb +2 -2
  237. data/lib/line/bot/v2/messaging_api/model/user_profile_response.rb +2 -2
  238. data/lib/line/bot/v2/messaging_api/model/validate_message_request.rb +3 -3
  239. data/lib/line/bot/v2/messaging_api/model/video_message.rb +4 -4
  240. data/lib/line/bot/v2/module/api/line_module_client.rb +5 -5
  241. data/lib/line/bot/v2/module/model/acquire_chat_control_request.rb +2 -2
  242. data/lib/line/bot/v2/module/model/detach_module_request.rb +2 -2
  243. data/lib/line/bot/v2/module/model/get_modules_response.rb +3 -3
  244. data/lib/line/bot/v2/module/model/module_bot.rb +2 -2
  245. data/lib/line/bot/v2/module_attach/api/line_module_attach_client.rb +2 -2
  246. data/lib/line/bot/v2/module_attach/model/attach_module_response.rb +2 -2
  247. data/lib/line/bot/v2/shop/api/shop_client.rb +1 -1
  248. data/lib/line/bot/v2/shop/model/error_response.rb +2 -2
  249. data/lib/line/bot/v2/shop/model/mission_sticker_request.rb +2 -2
  250. data/lib/line/bot/v2/webhook/model/account_link_event.rb +5 -5
  251. data/lib/line/bot/v2/webhook/model/activated_event.rb +5 -5
  252. data/lib/line/bot/v2/webhook/model/all_mentionee.rb +2 -2
  253. data/lib/line/bot/v2/webhook/model/attached_module_content.rb +2 -2
  254. data/lib/line/bot/v2/webhook/model/audio_message_content.rb +3 -3
  255. data/lib/line/bot/v2/webhook/model/beacon_content.rb +2 -2
  256. data/lib/line/bot/v2/webhook/model/beacon_event.rb +5 -5
  257. data/lib/line/bot/v2/webhook/model/bot_resumed_event.rb +4 -4
  258. data/lib/line/bot/v2/webhook/model/bot_suspended_event.rb +4 -4
  259. data/lib/line/bot/v2/webhook/model/callback_request.rb +3 -3
  260. data/lib/line/bot/v2/webhook/model/chat_control.rb +2 -2
  261. data/lib/line/bot/v2/webhook/model/content_provider.rb +2 -2
  262. data/lib/line/bot/v2/webhook/model/deactivated_event.rb +4 -4
  263. data/lib/line/bot/v2/webhook/model/delivery_context.rb +2 -2
  264. data/lib/line/bot/v2/webhook/model/detached_module_content.rb +2 -2
  265. data/lib/line/bot/v2/webhook/model/emoji.rb +2 -2
  266. data/lib/line/bot/v2/webhook/model/event.rb +5 -5
  267. data/lib/line/bot/v2/webhook/model/file_message_content.rb +2 -2
  268. data/lib/line/bot/v2/webhook/model/follow_detail.rb +2 -2
  269. data/lib/line/bot/v2/webhook/model/follow_event.rb +5 -5
  270. data/lib/line/bot/v2/webhook/model/group_source.rb +2 -2
  271. data/lib/line/bot/v2/webhook/model/image_message_content.rb +4 -4
  272. data/lib/line/bot/v2/webhook/model/image_set.rb +2 -2
  273. data/lib/line/bot/v2/webhook/model/join_event.rb +4 -4
  274. data/lib/line/bot/v2/webhook/model/joined_members.rb +3 -3
  275. data/lib/line/bot/v2/webhook/model/joined_membership_content.rb +2 -2
  276. data/lib/line/bot/v2/webhook/model/leave_event.rb +4 -4
  277. data/lib/line/bot/v2/webhook/model/left_members.rb +3 -3
  278. data/lib/line/bot/v2/webhook/model/left_membership_content.rb +2 -2
  279. data/lib/line/bot/v2/webhook/model/link_content.rb +2 -2
  280. data/lib/line/bot/v2/webhook/model/location_message_content.rb +2 -2
  281. data/lib/line/bot/v2/webhook/model/member_joined_event.rb +5 -5
  282. data/lib/line/bot/v2/webhook/model/member_left_event.rb +5 -5
  283. data/lib/line/bot/v2/webhook/model/membership_content.rb +3 -3
  284. data/lib/line/bot/v2/webhook/model/membership_event.rb +5 -5
  285. data/lib/line/bot/v2/webhook/model/mention.rb +3 -3
  286. data/lib/line/bot/v2/webhook/model/mentionee.rb +3 -3
  287. data/lib/line/bot/v2/webhook/model/message_content.rb +3 -3
  288. data/lib/line/bot/v2/webhook/model/message_event.rb +5 -5
  289. data/lib/line/bot/v2/webhook/model/module_content.rb +3 -3
  290. data/lib/line/bot/v2/webhook/model/module_event.rb +5 -5
  291. data/lib/line/bot/v2/webhook/model/pnp_delivery.rb +2 -2
  292. data/lib/line/bot/v2/webhook/model/pnp_delivery_completion_event.rb +5 -5
  293. data/lib/line/bot/v2/webhook/model/postback_content.rb +2 -2
  294. data/lib/line/bot/v2/webhook/model/postback_event.rb +5 -5
  295. data/lib/line/bot/v2/webhook/model/renewed_membership_content.rb +2 -2
  296. data/lib/line/bot/v2/webhook/model/room_source.rb +2 -2
  297. data/lib/line/bot/v2/webhook/model/source.rb +3 -3
  298. data/lib/line/bot/v2/webhook/model/sticker_message_content.rb +2 -2
  299. data/lib/line/bot/v2/webhook/model/text_message_content.rb +4 -4
  300. data/lib/line/bot/v2/webhook/model/unfollow_event.rb +4 -4
  301. data/lib/line/bot/v2/webhook/model/unsend_detail.rb +2 -2
  302. data/lib/line/bot/v2/webhook/model/unsend_event.rb +5 -5
  303. data/lib/line/bot/v2/webhook/model/user_mentionee.rb +2 -2
  304. data/lib/line/bot/v2/webhook/model/user_source.rb +2 -2
  305. data/lib/line/bot/v2/webhook/model/video_message_content.rb +3 -3
  306. data/lib/line/bot/v2/webhook/model/video_play_complete.rb +2 -2
  307. data/lib/line/bot/v2/webhook/model/video_play_complete_event.rb +5 -5
  308. data/lib/line/bot/version.rb +1 -1
  309. data/line-bot-api.gemspec +1 -1
  310. data/sig/line/bot/v2/channel_access_token/api/channel_access_token_client.rbs +71 -0
  311. data/sig/line/bot/v2/messaging_api/api/messaging_api_blob_client.rbs +4 -4
  312. data/sig/line/bot/v2/messaging_api/api/messaging_api_client.rbs +2 -2
  313. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a902dcd5bceef1f010e251916c199f4ba52787191339ae9693ec8c978a75fc08
4
- data.tar.gz: 6cbfdede37b9585586dd6fda6d57ec6a417fd65ff153cf672f90c20624e7ba4a
3
+ metadata.gz: f023fd6c0f958541a976719fb3adb8538746ee19397136b370bbb6165fb6a86b
4
+ data.tar.gz: 99660df7df0c5bb83449d688ab5f8f8b8e8a422a3046d214f64a288317a6e24c
5
5
  SHA512:
6
- metadata.gz: bb1485178aefac4be9af75152f97d173f65f2d179bbcd9e5af70561d056158649d46e1608a5615a1b94ad3efd13d387b5dee58d2fc3c3b166a20c78733fef914
7
- data.tar.gz: 4fa37b4b42ee74cc0049ae77cec8957559ba5090a84d3a7eb456cb53d720b8e8652f3e0d1446e47e14dd0e96f4f8fd2022bb6f54de1d6ff457e25ba192ba7a59
6
+ metadata.gz: f295390c9f9084fdc15775f775bbb885fc09587abb216bb6d8ed63ae00ad00cf63b237ffd5d5c98de9ad77c6c1c68e6e60a25be3dd9fa2557868f7ac6beeaefe
7
+ data.tar.gz: d3b1d62f2bf36242fc42f43a9f24ff736cdffcb3616d111d7df34288456390aad7827dea5e2cb5108a46b81e997566386f8749b9761a267da08507e168965c5e
data/README.md CHANGED
@@ -19,7 +19,7 @@ Also, generated documentation by YARD is available.
19
19
  - https://line.github.io/line-bot-sdk-ruby/_index.html
20
20
 
21
21
  ## Requirements
22
- This library requires Ruby 3.2 or later.
22
+ This library requires Ruby 3.3 or later.
23
23
 
24
24
  ## Installation
25
25
 
@@ -49,7 +49,7 @@ module Line
49
49
  # @see https://developers.line.biz/en/reference/messaging-api/#get-all-valid-channel-access-token-key-ids-v2-1
50
50
  # @return [Array(Line::Bot::V2::ChannelAccessToken::ChannelAccessTokenKeyIdsResponse, Integer, Hash{String => String})] when HTTP status code is 200
51
51
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
52
- def gets_all_valid_channel_access_token_key_ids_with_http_info( # steep:ignore MethodBodyTypeMismatch
52
+ def gets_all_valid_channel_access_token_key_ids_with_http_info(
53
53
  client_assertion_type:,
54
54
  client_assertion:
55
55
  )
@@ -70,7 +70,7 @@ module Line
70
70
  json.transform_keys! do |key|
71
71
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
72
72
  end
73
- response_body = Line::Bot::V2::ChannelAccessToken::ChannelAccessTokenKeyIdsResponse.create(json) # steep:ignore InsufficientKeywordArguments
73
+ response_body = Line::Bot::V2::ChannelAccessToken::ChannelAccessTokenKeyIdsResponse.create(json)
74
74
  [response_body, 200, response.each_header.to_h]
75
75
  else
76
76
  [response.body, response.code.to_i, response.each_header.to_h]
@@ -109,7 +109,7 @@ module Line
109
109
  # @return [Array(Line::Bot::V2::ChannelAccessToken::IssueShortLivedChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
110
110
  # @return [Array(Line::Bot::V2::ChannelAccessToken::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
111
111
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
112
- def issue_channel_token_with_http_info( # steep:ignore MethodBodyTypeMismatch
112
+ def issue_channel_token_with_http_info(
113
113
  grant_type:,
114
114
  client_id:,
115
115
  client_secret:
@@ -133,14 +133,14 @@ module Line
133
133
  json.transform_keys! do |key|
134
134
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
135
135
  end
136
- response_body = Line::Bot::V2::ChannelAccessToken::IssueShortLivedChannelAccessTokenResponse.create(json) # steep:ignore InsufficientKeywordArguments
136
+ response_body = Line::Bot::V2::ChannelAccessToken::IssueShortLivedChannelAccessTokenResponse.create(json)
137
137
  [response_body, 200, response.each_header.to_h]
138
138
  when 400
139
139
  json = Line::Bot::V2::Utils.deep_underscore(JSON.parse(response.body))
140
140
  json.transform_keys! do |key|
141
141
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
142
142
  end
143
- response_body = Line::Bot::V2::ChannelAccessToken::ErrorResponse.create(json) # steep:ignore InsufficientKeywordArguments
143
+ response_body = Line::Bot::V2::ChannelAccessToken::ErrorResponse.create(json)
144
144
  [response_body, 400, response.each_header.to_h]
145
145
  else
146
146
  [response.body, response.code.to_i, response.each_header.to_h]
@@ -182,7 +182,7 @@ module Line
182
182
  # @see https://developers.line.biz/en/reference/messaging-api/#issue-channel-access-token-v2-1
183
183
  # @return [Array(Line::Bot::V2::ChannelAccessToken::IssueChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
184
184
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
185
- def issue_channel_token_by_jwt_with_http_info( # steep:ignore MethodBodyTypeMismatch
185
+ def issue_channel_token_by_jwt_with_http_info(
186
186
  grant_type:,
187
187
  client_assertion_type:,
188
188
  client_assertion:
@@ -206,7 +206,7 @@ module Line
206
206
  json.transform_keys! do |key|
207
207
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
208
208
  end
209
- response_body = Line::Bot::V2::ChannelAccessToken::IssueChannelAccessTokenResponse.create(json) # steep:ignore InsufficientKeywordArguments
209
+ response_body = Line::Bot::V2::ChannelAccessToken::IssueChannelAccessTokenResponse.create(json)
210
210
  [response_body, 200, response.each_header.to_h]
211
211
  else
212
212
  [response.body, response.code.to_i, response.each_header.to_h]
@@ -237,6 +237,10 @@ module Line
237
237
  response_body
238
238
  end
239
239
 
240
+ # @deprecated
241
+ # This is deprecated.
242
+ # Please use {#issue_stateless_channel_token_by_jwt_assertion_with_http_info} or {#issue_stateless_channel_token_by_client_secret_with_http_info} instead.
243
+ #
240
244
  # Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires.
241
245
  # This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
242
246
  # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
@@ -249,7 +253,7 @@ module Line
249
253
  # @see https://developers.line.biz/en/reference/messaging-api/#issue-stateless-channel-access-token
250
254
  # @return [Array(Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
251
255
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
252
- def issue_stateless_channel_token_with_http_info( # steep:ignore MethodBodyTypeMismatch
256
+ def issue_stateless_channel_token_with_http_info(
253
257
  grant_type: nil,
254
258
  client_assertion_type: nil,
255
259
  client_assertion: nil,
@@ -277,13 +281,17 @@ module Line
277
281
  json.transform_keys! do |key|
278
282
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
279
283
  end
280
- response_body = Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse.create(json) # steep:ignore InsufficientKeywordArguments
284
+ response_body = Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse.create(json)
281
285
  [response_body, 200, response.each_header.to_h]
282
286
  else
283
287
  [response.body, response.code.to_i, response.each_header.to_h]
284
288
  end
285
289
  end
286
290
 
291
+ # @deprecated
292
+ # This is deprecated.
293
+ # Please use {#issue_stateless_channel_token_by_jwt_assertion} or {#issue_stateless_channel_token_by_client_secret} instead.
294
+ #
287
295
  # Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires.
288
296
  # This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
289
297
  # When you want to get HTTP status code or response headers, use {#issue_stateless_channel_token_with_http_info} instead of this.
@@ -303,7 +311,7 @@ module Line
303
311
  client_id: nil,
304
312
  client_secret: nil
305
313
  )
306
- response_body, _status_code, _headers = issue_stateless_channel_token_with_http_info(
314
+ response_body, _status_code, _headers = issue_stateless_channel_token_with_http_info( # steep:ignore DeprecatedReference
307
315
  grant_type: grant_type,
308
316
  client_assertion_type: client_assertion_type,
309
317
  client_assertion: client_assertion,
@@ -322,7 +330,7 @@ module Line
322
330
  # @see https://developers.line.biz/en/reference/messaging-api/#revoke-longlived-or-shortlived-channel-access-token
323
331
  # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
324
332
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
325
- def revoke_channel_token_with_http_info( # steep:ignore MethodBodyTypeMismatch
333
+ def revoke_channel_token_with_http_info(
326
334
  access_token:
327
335
  )
328
336
  path = "/v2/oauth/revoke"
@@ -372,7 +380,7 @@ module Line
372
380
  # @see https://developers.line.biz/en/reference/messaging-api/#revoke-channel-access-token-v2-1
373
381
  # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
374
382
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
375
- def revoke_channel_token_by_jwt_with_http_info( # steep:ignore MethodBodyTypeMismatch
383
+ def revoke_channel_token_by_jwt_with_http_info(
376
384
  client_id:,
377
385
  client_secret:,
378
386
  access_token:
@@ -430,7 +438,7 @@ module Line
430
438
  # @see https://developers.line.biz/en/reference/messaging-api/#verify-channel-access-token
431
439
  # @return [Array(Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
432
440
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
433
- def verify_channel_token_with_http_info( # steep:ignore MethodBodyTypeMismatch
441
+ def verify_channel_token_with_http_info(
434
442
  access_token:
435
443
  )
436
444
  path = "/v2/oauth/verify"
@@ -450,7 +458,7 @@ module Line
450
458
  json.transform_keys! do |key|
451
459
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
452
460
  end
453
- response_body = Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse.create(json) # steep:ignore InsufficientKeywordArguments
461
+ response_body = Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse.create(json)
454
462
  [response_body, 200, response.each_header.to_h]
455
463
  else
456
464
  [response.body, response.code.to_i, response.each_header.to_h]
@@ -483,7 +491,7 @@ module Line
483
491
  # @see https://developers.line.biz/en/reference/messaging-api/#verify-channel-access-token-v2-1
484
492
  # @return [Array(Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
485
493
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
486
- def verify_channel_token_by_jwt_with_http_info( # steep:ignore MethodBodyTypeMismatch
494
+ def verify_channel_token_by_jwt_with_http_info(
487
495
  access_token:
488
496
  )
489
497
  path = "/oauth2/v2.1/verify"
@@ -502,7 +510,7 @@ module Line
502
510
  json.transform_keys! do |key|
503
511
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
504
512
  end
505
- response_body = Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse.create(json) # steep:ignore InsufficientKeywordArguments
513
+ response_body = Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse.create(json)
506
514
  [response_body, 200, response.each_header.to_h]
507
515
  else
508
516
  [response.body, response.code.to_i, response.each_header.to_h]
@@ -526,6 +534,87 @@ module Line
526
534
 
527
535
  response_body
528
536
  end
537
+
538
+ # Issues a new stateless channel access token by JWT assertion, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires.
539
+ # This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
540
+ # This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
541
+ # When you want to get HTTP status code or response headers, use {#issue_stateless_channel_token_by_jwt_assertion_with_http_info} instead of this.
542
+ #
543
+ # @param client_assertion [String] A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.
544
+ # @see https://developers.line.biz/en/reference/messaging-api/#issue-stateless-channel-access-token
545
+ # @return [Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse] when HTTP status code is 200
546
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
547
+ def issue_stateless_channel_token_by_jwt_assertion(
548
+ client_assertion:
549
+ )
550
+ issue_stateless_channel_token( # steep:ignore DeprecatedReference
551
+ grant_type: 'client_credentials',
552
+ client_assertion_type: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer',
553
+ client_assertion: client_assertion
554
+ )
555
+ end
556
+
557
+ # Issues a new stateless channel access token by client secret, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires.
558
+ # This is a convenience wrapper that only requires the parameters needed for client secret authentication.
559
+ # This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
560
+ # When you want to get HTTP status code or response headers, use {#issue_stateless_channel_token_by_client_secret_with_http_info} instead of this.
561
+ #
562
+ # @param client_id [String] Channel ID.
563
+ # @param client_secret [String] Channel secret.
564
+ # @see https://developers.line.biz/en/reference/messaging-api/#issue-stateless-channel-access-token
565
+ # @return [Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse] when HTTP status code is 200
566
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
567
+ def issue_stateless_channel_token_by_client_secret(
568
+ client_id:,
569
+ client_secret:
570
+ )
571
+ issue_stateless_channel_token( # steep:ignore DeprecatedReference
572
+ grant_type: 'client_credentials',
573
+ client_id: client_id,
574
+ client_secret: client_secret
575
+ )
576
+ end
577
+
578
+ # Issues a new stateless channel access token by JWT assertion, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires.
579
+ # This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
580
+ # This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
581
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
582
+ #
583
+ # @param client_assertion [String] A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.
584
+ # @see https://developers.line.biz/en/reference/messaging-api/#issue-stateless-channel-access-token
585
+ # @return [Array(Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
586
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
587
+ def issue_stateless_channel_token_by_jwt_assertion_with_http_info(
588
+ client_assertion:
589
+ )
590
+ issue_stateless_channel_token_with_http_info( # steep:ignore DeprecatedReference
591
+ grant_type: 'client_credentials',
592
+ client_assertion_type: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer',
593
+ client_assertion: client_assertion
594
+ )
595
+ end
596
+
597
+ # Issues a new stateless channel access token by client secret, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires.
598
+ # This is a convenience wrapper that only requires the parameters needed for client secret authentication.
599
+ # This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
600
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
601
+ #
602
+ # @param client_id [String] Channel ID.
603
+ # @param client_secret [String] Channel secret.
604
+ # @see https://developers.line.biz/en/reference/messaging-api/#issue-stateless-channel-access-token
605
+ # @return [Array(Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
606
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
607
+ def issue_stateless_channel_token_by_client_secret_with_http_info(
608
+ client_id:,
609
+ client_secret:
610
+ )
611
+ issue_stateless_channel_token_with_http_info( # steep:ignore DeprecatedReference
612
+ grant_type: 'client_credentials',
613
+ client_id: client_id,
614
+ client_secret: client_secret
615
+ )
616
+ end
617
+
529
618
  end
530
619
  end
531
620
  end
@@ -42,9 +42,9 @@ module Line
42
42
  # Create an instance of the class from a hash
43
43
  # @param args [Hash] Hash containing all the required attributes
44
44
  # @return [Line::Bot::V2::ChannelAccessToken::ChannelAccessTokenKeyIdsResponse] Instance of the class
45
- def self.create(args) # steep:ignore
45
+ def self.create(args)
46
46
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
47
- return new(**symbolized_args) # steep:ignore
47
+ return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
48
48
  end
49
49
 
50
50
  # @param other [Object] Object to compare
@@ -47,9 +47,9 @@ module Line
47
47
  # Create an instance of the class from a hash
48
48
  # @param args [Hash] Hash containing all the required attributes
49
49
  # @return [Line::Bot::V2::ChannelAccessToken::ErrorResponse] Instance of the class
50
- def self.create(args) # steep:ignore
50
+ def self.create(args)
51
51
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
52
- return new(**symbolized_args) # steep:ignore
52
+ return new(**symbolized_args)
53
53
  end
54
54
 
55
55
  # @param other [Object] Object to compare
@@ -60,9 +60,9 @@ module Line
60
60
  # Create an instance of the class from a hash
61
61
  # @param args [Hash] Hash containing all the required attributes
62
62
  # @return [Line::Bot::V2::ChannelAccessToken::IssueChannelAccessTokenResponse] Instance of the class
63
- def self.create(args) # steep:ignore
63
+ def self.create(args)
64
64
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
65
- return new(**symbolized_args) # steep:ignore
65
+ return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
66
66
  end
67
67
 
68
68
  # @param other [Object] Object to compare
@@ -54,9 +54,9 @@ module Line
54
54
  # Create an instance of the class from a hash
55
55
  # @param args [Hash] Hash containing all the required attributes
56
56
  # @return [Line::Bot::V2::ChannelAccessToken::IssueShortLivedChannelAccessTokenResponse] Instance of the class
57
- def self.create(args) # steep:ignore
57
+ def self.create(args)
58
58
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
59
- return new(**symbolized_args) # steep:ignore
59
+ return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
60
60
  end
61
61
 
62
62
  # @param other [Object] Object to compare
@@ -54,9 +54,9 @@ module Line
54
54
  # Create an instance of the class from a hash
55
55
  # @param args [Hash] Hash containing all the required attributes
56
56
  # @return [Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse] Instance of the class
57
- def self.create(args) # steep:ignore
57
+ def self.create(args)
58
58
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
59
- return new(**symbolized_args) # steep:ignore
59
+ return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
60
60
  end
61
61
 
62
62
  # @param other [Object] Object to compare
@@ -53,9 +53,9 @@ module Line
53
53
  # Create an instance of the class from a hash
54
54
  # @param args [Hash] Hash containing all the required attributes
55
55
  # @return [Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse] Instance of the class
56
- def self.create(args) # steep:ignore
56
+ def self.create(args)
57
57
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
58
- return new(**symbolized_args) # steep:ignore
58
+ return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
59
59
  end
60
60
 
61
61
  # @param other [Object] Object to compare
@@ -52,7 +52,7 @@ module Line
52
52
  # @see https://developers.line.biz/en/reference/messaging-api/#get-demographic
53
53
  # @return [Array(Line::Bot::V2::Insight::GetFriendsDemographicsResponse, Integer, Hash{String => String})] when HTTP status code is 200
54
54
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
55
- def get_friends_demographics_with_http_info( # steep:ignore MethodBodyTypeMismatch
55
+ def get_friends_demographics_with_http_info(
56
56
  )
57
57
  path = "/v2/bot/insight/demographic"
58
58
 
@@ -66,7 +66,7 @@ module Line
66
66
  json.transform_keys! do |key|
67
67
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
68
68
  end
69
- response_body = Line::Bot::V2::Insight::GetFriendsDemographicsResponse.create(json) # steep:ignore InsufficientKeywordArguments
69
+ response_body = Line::Bot::V2::Insight::GetFriendsDemographicsResponse.create(json)
70
70
  [response_body, 200, response.each_header.to_h]
71
71
  else
72
72
  [response.body, response.code.to_i, response.each_header.to_h]
@@ -96,7 +96,7 @@ module Line
96
96
  # @see https://developers.line.biz/en/reference/messaging-api/#get-message-event
97
97
  # @return [Array(Line::Bot::V2::Insight::GetMessageEventResponse, Integer, Hash{String => String})] when HTTP status code is 200
98
98
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
99
- def get_message_event_with_http_info( # steep:ignore MethodBodyTypeMismatch
99
+ def get_message_event_with_http_info(
100
100
  request_id:
101
101
  )
102
102
  path = "/v2/bot/insight/message/event"
@@ -115,7 +115,7 @@ module Line
115
115
  json.transform_keys! do |key|
116
116
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
117
117
  end
118
- response_body = Line::Bot::V2::Insight::GetMessageEventResponse.create(json) # steep:ignore InsufficientKeywordArguments
118
+ response_body = Line::Bot::V2::Insight::GetMessageEventResponse.create(json)
119
119
  [response_body, 200, response.each_header.to_h]
120
120
  else
121
121
  [response.body, response.code.to_i, response.each_header.to_h]
@@ -148,7 +148,7 @@ module Line
148
148
  # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers
149
149
  # @return [Array(Line::Bot::V2::Insight::GetNumberOfFollowersResponse, Integer, Hash{String => String})] when HTTP status code is 200
150
150
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
151
- def get_number_of_followers_with_http_info( # steep:ignore MethodBodyTypeMismatch
151
+ def get_number_of_followers_with_http_info(
152
152
  date: nil
153
153
  )
154
154
  path = "/v2/bot/insight/followers"
@@ -167,7 +167,7 @@ module Line
167
167
  json.transform_keys! do |key|
168
168
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
169
169
  end
170
- response_body = Line::Bot::V2::Insight::GetNumberOfFollowersResponse.create(json) # steep:ignore InsufficientKeywordArguments
170
+ response_body = Line::Bot::V2::Insight::GetNumberOfFollowersResponse.create(json)
171
171
  [response_body, 200, response.each_header.to_h]
172
172
  else
173
173
  [response.body, response.code.to_i, response.each_header.to_h]
@@ -200,7 +200,7 @@ module Line
200
200
  # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-delivery-messages
201
201
  # @return [Array(Line::Bot::V2::Insight::GetNumberOfMessageDeliveriesResponse, Integer, Hash{String => String})] when HTTP status code is 200
202
202
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
203
- def get_number_of_message_deliveries_with_http_info( # steep:ignore MethodBodyTypeMismatch
203
+ def get_number_of_message_deliveries_with_http_info(
204
204
  date:
205
205
  )
206
206
  path = "/v2/bot/insight/message/delivery"
@@ -219,7 +219,7 @@ module Line
219
219
  json.transform_keys! do |key|
220
220
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
221
221
  end
222
- response_body = Line::Bot::V2::Insight::GetNumberOfMessageDeliveriesResponse.create(json) # steep:ignore InsufficientKeywordArguments
222
+ response_body = Line::Bot::V2::Insight::GetNumberOfMessageDeliveriesResponse.create(json)
223
223
  [response_body, 200, response.each_header.to_h]
224
224
  else
225
225
  [response.body, response.code.to_i, response.each_header.to_h]
@@ -254,7 +254,7 @@ module Line
254
254
  # @see https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit
255
255
  # @return [Array(Line::Bot::V2::Insight::GetStatisticsPerUnitResponse, Integer, Hash{String => String})] when HTTP status code is 200
256
256
  # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
257
- def get_statistics_per_unit_with_http_info( # steep:ignore MethodBodyTypeMismatch
257
+ def get_statistics_per_unit_with_http_info(
258
258
  custom_aggregation_unit:,
259
259
  from:,
260
260
  to:
@@ -277,7 +277,7 @@ module Line
277
277
  json.transform_keys! do |key|
278
278
  Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
279
279
  end
280
- response_body = Line::Bot::V2::Insight::GetStatisticsPerUnitResponse.create(json) # steep:ignore InsufficientKeywordArguments
280
+ response_body = Line::Bot::V2::Insight::GetStatisticsPerUnitResponse.create(json)
281
281
  [response_body, 200, response.each_header.to_h]
282
282
  else
283
283
  [response.body, response.code.to_i, response.each_header.to_h]
@@ -46,9 +46,9 @@ module Line
46
46
  # Create an instance of the class from a hash
47
47
  # @param args [Hash] Hash containing all the required attributes
48
48
  # @return [Line::Bot::V2::Insight::AgeTile] Instance of the class
49
- def self.create(args) # steep:ignore
49
+ def self.create(args)
50
50
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
51
- return new(**symbolized_args) # steep:ignore
51
+ return new(**symbolized_args)
52
52
  end
53
53
 
54
54
  # @param other [Object] Object to compare
@@ -46,9 +46,9 @@ module Line
46
46
  # Create an instance of the class from a hash
47
47
  # @param args [Hash] Hash containing all the required attributes
48
48
  # @return [Line::Bot::V2::Insight::AppTypeTile] Instance of the class
49
- def self.create(args) # steep:ignore
49
+ def self.create(args)
50
50
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
51
- return new(**symbolized_args) # steep:ignore
51
+ return new(**symbolized_args)
52
52
  end
53
53
 
54
54
  # @param other [Object] Object to compare
@@ -46,9 +46,9 @@ module Line
46
46
  # Create an instance of the class from a hash
47
47
  # @param args [Hash] Hash containing all the required attributes
48
48
  # @return [Line::Bot::V2::Insight::AreaTile] Instance of the class
49
- def self.create(args) # steep:ignore
49
+ def self.create(args)
50
50
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
51
- return new(**symbolized_args) # steep:ignore
51
+ return new(**symbolized_args)
52
52
  end
53
53
 
54
54
  # @param other [Object] Object to compare
@@ -46,9 +46,9 @@ module Line
46
46
  # Create an instance of the class from a hash
47
47
  # @param args [Hash] Hash containing all the required attributes
48
48
  # @return [Line::Bot::V2::Insight::ErrorDetail] Instance of the class
49
- def self.create(args) # steep:ignore
49
+ def self.create(args)
50
50
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
51
- return new(**symbolized_args) # steep:ignore
51
+ return new(**symbolized_args)
52
52
  end
53
53
 
54
54
  # @param other [Object] Object to compare
@@ -31,7 +31,7 @@ module Line
31
31
  @message = message
32
32
  @details = details&.map do |item|
33
33
  if item.is_a?(Hash)
34
- Line::Bot::V2::Insight::ErrorDetail.create(**item) # steep:ignore InsufficientKeywordArguments
34
+ Line::Bot::V2::Insight::ErrorDetail.create(**item)
35
35
  else
36
36
  item
37
37
  end
@@ -53,9 +53,9 @@ module Line
53
53
  # Create an instance of the class from a hash
54
54
  # @param args [Hash] Hash containing all the required attributes
55
55
  # @return [Line::Bot::V2::Insight::ErrorResponse] Instance of the class
56
- def self.create(args) # steep:ignore
56
+ def self.create(args)
57
57
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
58
- return new(**symbolized_args) # steep:ignore
58
+ return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
59
59
  end
60
60
 
61
61
  # @param other [Object] Object to compare
@@ -46,9 +46,9 @@ module Line
46
46
  # Create an instance of the class from a hash
47
47
  # @param args [Hash] Hash containing all the required attributes
48
48
  # @return [Line::Bot::V2::Insight::GenderTile] Instance of the class
49
- def self.create(args) # steep:ignore
49
+ def self.create(args)
50
50
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
51
- return new(**symbolized_args) # steep:ignore
51
+ return new(**symbolized_args)
52
52
  end
53
53
 
54
54
  # @param other [Object] Object to compare
@@ -52,35 +52,35 @@ module Line
52
52
  @available = available
53
53
  @genders = genders&.map do |item|
54
54
  if item.is_a?(Hash)
55
- Line::Bot::V2::Insight::GenderTile.create(**item) # steep:ignore InsufficientKeywordArguments
55
+ Line::Bot::V2::Insight::GenderTile.create(**item)
56
56
  else
57
57
  item
58
58
  end
59
59
  end
60
60
  @ages = ages&.map do |item|
61
61
  if item.is_a?(Hash)
62
- Line::Bot::V2::Insight::AgeTile.create(**item) # steep:ignore InsufficientKeywordArguments
62
+ Line::Bot::V2::Insight::AgeTile.create(**item)
63
63
  else
64
64
  item
65
65
  end
66
66
  end
67
67
  @areas = areas&.map do |item|
68
68
  if item.is_a?(Hash)
69
- Line::Bot::V2::Insight::AreaTile.create(**item) # steep:ignore InsufficientKeywordArguments
69
+ Line::Bot::V2::Insight::AreaTile.create(**item)
70
70
  else
71
71
  item
72
72
  end
73
73
  end
74
74
  @app_types = app_types&.map do |item|
75
75
  if item.is_a?(Hash)
76
- Line::Bot::V2::Insight::AppTypeTile.create(**item) # steep:ignore InsufficientKeywordArguments
76
+ Line::Bot::V2::Insight::AppTypeTile.create(**item)
77
77
  else
78
78
  item
79
79
  end
80
80
  end
81
81
  @subscription_periods = subscription_periods&.map do |item|
82
82
  if item.is_a?(Hash)
83
- Line::Bot::V2::Insight::SubscriptionPeriodTile.create(**item) # steep:ignore InsufficientKeywordArguments
83
+ Line::Bot::V2::Insight::SubscriptionPeriodTile.create(**item)
84
84
  else
85
85
  item
86
86
  end
@@ -102,9 +102,9 @@ module Line
102
102
  # Create an instance of the class from a hash
103
103
  # @param args [Hash] Hash containing all the required attributes
104
104
  # @return [Line::Bot::V2::Insight::GetFriendsDemographicsResponse] Instance of the class
105
- def self.create(args) # steep:ignore
105
+ def self.create(args)
106
106
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
107
- return new(**symbolized_args) # steep:ignore
107
+ return new(**symbolized_args)
108
108
  end
109
109
 
110
110
  # @param other [Object] Object to compare
@@ -34,17 +34,17 @@ module Line
34
34
  **dynamic_attributes
35
35
  )
36
36
 
37
- @overview = overview.is_a?(Line::Bot::V2::Insight::GetMessageEventResponseOverview) || overview.nil? ? overview : Line::Bot::V2::Insight::GetMessageEventResponseOverview.create(**overview) # steep:ignore
37
+ @overview = overview.is_a?(Line::Bot::V2::Insight::GetMessageEventResponseOverview) || overview.nil? ? overview : Line::Bot::V2::Insight::GetMessageEventResponseOverview.create(**overview)
38
38
  @messages = messages&.map do |item|
39
39
  if item.is_a?(Hash)
40
- Line::Bot::V2::Insight::GetMessageEventResponseMessage.create(**item) # steep:ignore InsufficientKeywordArguments
40
+ Line::Bot::V2::Insight::GetMessageEventResponseMessage.create(**item)
41
41
  else
42
42
  item
43
43
  end
44
44
  end
45
45
  @clicks = clicks&.map do |item|
46
46
  if item.is_a?(Hash)
47
- Line::Bot::V2::Insight::GetMessageEventResponseClick.create(**item) # steep:ignore InsufficientKeywordArguments
47
+ Line::Bot::V2::Insight::GetMessageEventResponseClick.create(**item)
48
48
  else
49
49
  item
50
50
  end
@@ -66,9 +66,9 @@ module Line
66
66
  # Create an instance of the class from a hash
67
67
  # @param args [Hash] Hash containing all the required attributes
68
68
  # @return [Line::Bot::V2::Insight::GetMessageEventResponse] Instance of the class
69
- def self.create(args) # steep:ignore
69
+ def self.create(args)
70
70
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
71
- return new(**symbolized_args) # steep:ignore
71
+ return new(**symbolized_args)
72
72
  end
73
73
 
74
74
  # @param other [Object] Object to compare
@@ -64,9 +64,9 @@ module Line
64
64
  # Create an instance of the class from a hash
65
65
  # @param args [Hash] Hash containing all the required attributes
66
66
  # @return [Line::Bot::V2::Insight::GetMessageEventResponseClick] Instance of the class
67
- def self.create(args) # steep:ignore
67
+ def self.create(args)
68
68
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
69
- return new(**symbolized_args) # steep:ignore
69
+ return new(**symbolized_args)
70
70
  end
71
71
 
72
72
  # @param other [Object] Object to compare