line-bot-api 2.7.0 → 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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/line/bot/v2/channel_access_token/api/channel_access_token_client.rb +15 -15
- data/lib/line/bot/v2/channel_access_token/model/channel_access_token_key_ids_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/error_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/issue_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/issue_short_lived_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/issue_stateless_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/verify_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/insight/api/insight_client.rb +10 -10
- data/lib/line/bot/v2/insight/model/age_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/app_type_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/area_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/error_detail.rb +2 -2
- data/lib/line/bot/v2/insight/model/error_response.rb +3 -3
- data/lib/line/bot/v2/insight/model/gender_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_friends_demographics_response.rb +7 -7
- data/lib/line/bot/v2/insight/model/get_message_event_response.rb +5 -5
- data/lib/line/bot/v2/insight/model/get_message_event_response_click.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_message_event_response_message.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_message_event_response_overview.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_number_of_followers_response.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_number_of_message_deliveries_response.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response.rb +5 -5
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_click.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_message.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_overview.rb +2 -2
- data/lib/line/bot/v2/insight/model/subscription_period_tile.rb +2 -2
- data/lib/line/bot/v2/liff/api/liff_client.rb +6 -6
- data/lib/line/bot/v2/liff/model/add_liff_app_request.rb +4 -4
- data/lib/line/bot/v2/liff/model/add_liff_app_response.rb +2 -2
- data/lib/line/bot/v2/liff/model/get_all_liff_apps_response.rb +3 -3
- data/lib/line/bot/v2/liff/model/liff_app.rb +4 -4
- data/lib/line/bot/v2/liff/model/liff_features.rb +2 -2
- data/lib/line/bot/v2/liff/model/liff_view.rb +2 -2
- data/lib/line/bot/v2/liff/model/update_liff_app_request.rb +4 -4
- data/lib/line/bot/v2/liff/model/update_liff_view.rb +2 -2
- data/lib/line/bot/v2/manage_audience/api/manage_audience_blob_client.rb +3 -3
- data/lib/line/bot/v2/manage_audience/api/manage_audience_client.rb +19 -19
- data/lib/line/bot/v2/manage_audience/model/adaccount.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/add_audience_to_audience_group_request.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/audience.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/audience_group.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/audience_group_job.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_audience_group_request.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/create_audience_group_response.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_request.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_response.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_request.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_response.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/detailed_owner.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/error_detail.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/error_response.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/get_audience_data_response.rb +5 -5
- data/lib/line/bot/v2/manage_audience/model/get_audience_groups_response.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/get_shared_audience_data_response.rb +5 -5
- data/lib/line/bot/v2/manage_audience/model/get_shared_audience_groups_response.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/update_audience_group_description_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/api/messaging_api_blob_client.rb +10 -10
- data/lib/line/bot/v2/messaging_api/api/messaging_api_client.rb +147 -147
- data/lib/line/bot/v2/messaging_api/model/acquisition_condition_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/acquisition_condition_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/age_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/all_mention_target.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/alt_uri.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/app_type_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/area_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/audience_recipient.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/audio_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/bot_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/broadcast_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/buttons_template.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/camera_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/camera_roll_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/carousel_column.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/carousel_template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/cash_back_fixed_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_fixed_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_percentage_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_percentage_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_price_info_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/cash_back_price_info_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/chat_reference.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/clipboard_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/clipboard_imagemap_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/confirm_template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_cash_back_reward_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_cash_back_reward_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_create_request.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/coupon_create_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_discount_reward_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_discount_reward_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_free_reward_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_free_reward_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_gift_reward_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_gift_reward_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_list_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/coupon_others_reward_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_others_reward_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_response.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/coupon_reward_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_reward_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/create_rich_menu_alias_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/datetime_picker_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/demographic_filter.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/discount_explicit_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_explicit_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_fixed_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_fixed_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_percentage_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_percentage_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_price_info_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/discount_price_info_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/emoji.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/emoji_substitution_object.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/error_detail.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/error_response.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/filter.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_block_style.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_box.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/flex_box_background.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_box_linear_gradient.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_bubble.rb +8 -8
- data/lib/line/bot/v2/messaging_api/model/flex_bubble_styles.rb +6 -6
- data/lib/line/bot/v2/messaging_api/model/flex_button.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_carousel.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_component.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_container.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_filler.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_icon.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_image.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/flex_separator.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_span.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_text.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/flex_video.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/gender_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_name_list_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_usage_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_followers_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_joined_membership_users_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_membership_subscription_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/get_message_content_transcoding_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_webhook_endpoint_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/group_member_count_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/group_summary_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/group_user_profile_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/image_carousel_column.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/image_carousel_template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/image_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/imagemap_action.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/imagemap_area.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/imagemap_base_size.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/imagemap_external_link.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/imagemap_message.rb +7 -7
- data/lib/line/bot/v2/messaging_api/model/imagemap_video.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/issue_link_token_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/limit.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/location_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/location_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/lottery_acquisition_condition_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/lottery_acquisition_condition_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/mark_messages_as_read_by_token_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/mark_messages_as_read_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/members_ids_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/membership.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/membership_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/mention_substitution_object.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/mention_target.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/message_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/message_imagemap_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/message_quota_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/messaging_api_pager_coupon_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/multicast_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/narrowcast_progress_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/narrowcast_request.rb +6 -6
- data/lib/line/bot/v2/messaging_api/model/normal_acquisition_condition_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/normal_acquisition_condition_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/number_of_messages_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/operator_demographic_filter.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/operator_recipient.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/pnp_messages_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/postback_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/push_message_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/push_message_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/quick_reply.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/quick_reply_item.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/quota_consumption_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/recipient.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/redelivery_recipient.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/referral_acquisition_condition_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/reply_message_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/reply_message_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_area.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_link_operation.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_progress_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_all_operation.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_operation.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bounds.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_link_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_unlink_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_id_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_request.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/rich_menu_response.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/rich_menu_size.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_switch_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/room_member_count_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/room_user_profile_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/sender.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/sent_message.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/set_webhook_endpoint_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/show_loading_animation_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/sticker_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/subscribed_membership_plan.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/subscribed_membership_user.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/subscription.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/subscription_period_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/substitution_object.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/template_message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/text_message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/text_message_v2.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/update_rich_menu_alias_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/uri_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/uri_imagemap_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/user_mention_target.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/user_profile_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/validate_message_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/video_message.rb +4 -4
- data/lib/line/bot/v2/module/api/line_module_client.rb +5 -5
- data/lib/line/bot/v2/module/model/acquire_chat_control_request.rb +2 -2
- data/lib/line/bot/v2/module/model/detach_module_request.rb +2 -2
- data/lib/line/bot/v2/module/model/get_modules_response.rb +3 -3
- data/lib/line/bot/v2/module/model/module_bot.rb +2 -2
- data/lib/line/bot/v2/module_attach/api/line_module_attach_client.rb +2 -2
- data/lib/line/bot/v2/module_attach/model/attach_module_response.rb +2 -2
- data/lib/line/bot/v2/shop/api/shop_client.rb +1 -1
- data/lib/line/bot/v2/shop/model/error_response.rb +2 -2
- data/lib/line/bot/v2/shop/model/mission_sticker_request.rb +2 -2
- data/lib/line/bot/v2/webhook/model/account_link_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/activated_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/all_mentionee.rb +2 -2
- data/lib/line/bot/v2/webhook/model/attached_module_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/audio_message_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/beacon_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/beacon_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/bot_resumed_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/bot_suspended_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/callback_request.rb +3 -3
- data/lib/line/bot/v2/webhook/model/chat_control.rb +2 -2
- data/lib/line/bot/v2/webhook/model/content_provider.rb +2 -2
- data/lib/line/bot/v2/webhook/model/deactivated_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/delivery_context.rb +2 -2
- data/lib/line/bot/v2/webhook/model/detached_module_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/emoji.rb +2 -2
- data/lib/line/bot/v2/webhook/model/event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/file_message_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/follow_detail.rb +2 -2
- data/lib/line/bot/v2/webhook/model/follow_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/group_source.rb +2 -2
- data/lib/line/bot/v2/webhook/model/image_message_content.rb +4 -4
- data/lib/line/bot/v2/webhook/model/image_set.rb +2 -2
- data/lib/line/bot/v2/webhook/model/join_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/joined_members.rb +3 -3
- data/lib/line/bot/v2/webhook/model/joined_membership_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/leave_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/left_members.rb +3 -3
- data/lib/line/bot/v2/webhook/model/left_membership_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/link_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/location_message_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/member_joined_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/member_left_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/membership_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/membership_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/mention.rb +3 -3
- data/lib/line/bot/v2/webhook/model/mentionee.rb +3 -3
- data/lib/line/bot/v2/webhook/model/message_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/message_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/module_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/module_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/pnp_delivery.rb +2 -2
- data/lib/line/bot/v2/webhook/model/pnp_delivery_completion_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/postback_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/postback_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/renewed_membership_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/room_source.rb +2 -2
- data/lib/line/bot/v2/webhook/model/source.rb +3 -3
- data/lib/line/bot/v2/webhook/model/sticker_message_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/text_message_content.rb +4 -4
- data/lib/line/bot/v2/webhook/model/unfollow_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/unsend_detail.rb +2 -2
- data/lib/line/bot/v2/webhook/model/unsend_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/user_mentionee.rb +2 -2
- data/lib/line/bot/v2/webhook/model/user_source.rb +2 -2
- data/lib/line/bot/v2/webhook/model/video_message_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/video_play_complete.rb +2 -2
- data/lib/line/bot/v2/webhook/model/video_play_complete_event.rb +5 -5
- data/lib/line/bot/version.rb +1 -1
- data/line-bot-api.gemspec +1 -1
- data/sig/line/bot/v2/messaging_api/api/messaging_api_blob_client.rbs +4 -4
- data/sig/line/bot/v2/messaging_api/api/messaging_api_client.rbs +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f023fd6c0f958541a976719fb3adb8538746ee19397136b370bbb6165fb6a86b
|
|
4
|
+
data.tar.gz: 99660df7df0c5bb83449d688ab5f8f8b8e8a422a3046d214f64a288317a6e24c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f295390c9f9084fdc15775f775bbb885fc09587abb216bb6d8ed63ae00ad00cf63b237ffd5d5c98de9ad77c6c1c68e6e60a25be3dd9fa2557868f7ac6beeaefe
|
|
7
|
+
data.tar.gz: d3b1d62f2bf36242fc42f43a9f24ff736cdffcb3616d111d7df34288456390aad7827dea5e2cb5108a46b81e997566386f8749b9761a267da08507e168965c5e
|
data/README.md
CHANGED
|
@@ -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(
|
|
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)
|
|
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(
|
|
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)
|
|
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)
|
|
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(
|
|
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)
|
|
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]
|
|
@@ -253,7 +253,7 @@ module Line
|
|
|
253
253
|
# @see https://developers.line.biz/en/reference/messaging-api/#issue-stateless-channel-access-token
|
|
254
254
|
# @return [Array(Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
|
|
255
255
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
256
|
-
def issue_stateless_channel_token_with_http_info(
|
|
256
|
+
def issue_stateless_channel_token_with_http_info(
|
|
257
257
|
grant_type: nil,
|
|
258
258
|
client_assertion_type: nil,
|
|
259
259
|
client_assertion: nil,
|
|
@@ -281,7 +281,7 @@ module Line
|
|
|
281
281
|
json.transform_keys! do |key|
|
|
282
282
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
283
283
|
end
|
|
284
|
-
response_body = Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse.create(json)
|
|
284
|
+
response_body = Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse.create(json)
|
|
285
285
|
[response_body, 200, response.each_header.to_h]
|
|
286
286
|
else
|
|
287
287
|
[response.body, response.code.to_i, response.each_header.to_h]
|
|
@@ -330,7 +330,7 @@ module Line
|
|
|
330
330
|
# @see https://developers.line.biz/en/reference/messaging-api/#revoke-longlived-or-shortlived-channel-access-token
|
|
331
331
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
|
|
332
332
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
333
|
-
def revoke_channel_token_with_http_info(
|
|
333
|
+
def revoke_channel_token_with_http_info(
|
|
334
334
|
access_token:
|
|
335
335
|
)
|
|
336
336
|
path = "/v2/oauth/revoke"
|
|
@@ -380,7 +380,7 @@ module Line
|
|
|
380
380
|
# @see https://developers.line.biz/en/reference/messaging-api/#revoke-channel-access-token-v2-1
|
|
381
381
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
|
|
382
382
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
383
|
-
def revoke_channel_token_by_jwt_with_http_info(
|
|
383
|
+
def revoke_channel_token_by_jwt_with_http_info(
|
|
384
384
|
client_id:,
|
|
385
385
|
client_secret:,
|
|
386
386
|
access_token:
|
|
@@ -438,7 +438,7 @@ module Line
|
|
|
438
438
|
# @see https://developers.line.biz/en/reference/messaging-api/#verify-channel-access-token
|
|
439
439
|
# @return [Array(Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
|
|
440
440
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
441
|
-
def verify_channel_token_with_http_info(
|
|
441
|
+
def verify_channel_token_with_http_info(
|
|
442
442
|
access_token:
|
|
443
443
|
)
|
|
444
444
|
path = "/v2/oauth/verify"
|
|
@@ -458,7 +458,7 @@ module Line
|
|
|
458
458
|
json.transform_keys! do |key|
|
|
459
459
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
460
460
|
end
|
|
461
|
-
response_body = Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse.create(json)
|
|
461
|
+
response_body = Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse.create(json)
|
|
462
462
|
[response_body, 200, response.each_header.to_h]
|
|
463
463
|
else
|
|
464
464
|
[response.body, response.code.to_i, response.each_header.to_h]
|
|
@@ -491,7 +491,7 @@ module Line
|
|
|
491
491
|
# @see https://developers.line.biz/en/reference/messaging-api/#verify-channel-access-token-v2-1
|
|
492
492
|
# @return [Array(Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
|
|
493
493
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
494
|
-
def verify_channel_token_by_jwt_with_http_info(
|
|
494
|
+
def verify_channel_token_by_jwt_with_http_info(
|
|
495
495
|
access_token:
|
|
496
496
|
)
|
|
497
497
|
path = "/oauth2/v2.1/verify"
|
|
@@ -510,7 +510,7 @@ module Line
|
|
|
510
510
|
json.transform_keys! do |key|
|
|
511
511
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
512
512
|
end
|
|
513
|
-
response_body = Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse.create(json)
|
|
513
|
+
response_body = Line::Bot::V2::ChannelAccessToken::VerifyChannelAccessTokenResponse.create(json)
|
|
514
514
|
[response_body, 200, response.each_header.to_h]
|
|
515
515
|
else
|
|
516
516
|
[response.body, response.code.to_i, response.each_header.to_h]
|
|
@@ -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)
|
|
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)
|
|
50
|
+
def self.create(args)
|
|
51
51
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
52
|
-
return new(**symbolized_args)
|
|
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)
|
|
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
|
data/lib/line/bot/v2/channel_access_token/model/issue_short_lived_channel_access_token_response.rb
CHANGED
|
@@ -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)
|
|
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
|
data/lib/line/bot/v2/channel_access_token/model/issue_stateless_channel_access_token_response.rb
CHANGED
|
@@ -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)
|
|
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)
|
|
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(
|
|
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)
|
|
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(
|
|
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)
|
|
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(
|
|
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)
|
|
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(
|
|
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)
|
|
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(
|
|
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)
|
|
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)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
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)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
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)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
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)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
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)
|
|
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)
|
|
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)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
105
|
+
def self.create(args)
|
|
106
106
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
107
|
-
return new(**symbolized_args)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
69
|
+
def self.create(args)
|
|
70
70
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
71
|
-
return new(**symbolized_args)
|
|
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)
|
|
67
|
+
def self.create(args)
|
|
68
68
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
69
|
-
return new(**symbolized_args)
|
|
69
|
+
return new(**symbolized_args)
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @param other [Object] Object to compare
|
|
@@ -106,9 +106,9 @@ module Line
|
|
|
106
106
|
# Create an instance of the class from a hash
|
|
107
107
|
# @param args [Hash] Hash containing all the required attributes
|
|
108
108
|
# @return [Line::Bot::V2::Insight::GetMessageEventResponseMessage] Instance of the class
|
|
109
|
-
def self.create(args)
|
|
109
|
+
def self.create(args)
|
|
110
110
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
111
|
-
return new(**symbolized_args)
|
|
111
|
+
return new(**symbolized_args)
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
# @param other [Object] Object to compare
|
|
@@ -77,9 +77,9 @@ module Line
|
|
|
77
77
|
# Create an instance of the class from a hash
|
|
78
78
|
# @param args [Hash] Hash containing all the required attributes
|
|
79
79
|
# @return [Line::Bot::V2::Insight::GetMessageEventResponseOverview] Instance of the class
|
|
80
|
-
def self.create(args)
|
|
80
|
+
def self.create(args)
|
|
81
81
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
82
|
-
return new(**symbolized_args)
|
|
82
|
+
return new(**symbolized_args)
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
# @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::Insight::GetNumberOfFollowersResponse] Instance of the class
|
|
63
|
-
def self.create(args)
|
|
63
|
+
def self.create(args)
|
|
64
64
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
65
|
-
return new(**symbolized_args)
|
|
65
|
+
return new(**symbolized_args)
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
# @param other [Object] Object to compare
|
|
@@ -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::GetNumberOfMessageDeliveriesResponse] Instance of the class
|
|
105
|
-
def self.create(args)
|
|
105
|
+
def self.create(args)
|
|
106
106
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
107
|
-
return new(**symbolized_args)
|
|
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::GetStatisticsPerUnitResponseOverview) ? overview : Line::Bot::V2::Insight::GetStatisticsPerUnitResponseOverview.create(**overview)
|
|
37
|
+
@overview = overview.is_a?(Line::Bot::V2::Insight::GetStatisticsPerUnitResponseOverview) ? overview : Line::Bot::V2::Insight::GetStatisticsPerUnitResponseOverview.create(**overview)
|
|
38
38
|
@messages = messages.map do |item|
|
|
39
39
|
if item.is_a?(Hash)
|
|
40
|
-
Line::Bot::V2::Insight::GetStatisticsPerUnitResponseMessage.create(**item)
|
|
40
|
+
Line::Bot::V2::Insight::GetStatisticsPerUnitResponseMessage.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::GetStatisticsPerUnitResponseClick.create(**item)
|
|
47
|
+
Line::Bot::V2::Insight::GetStatisticsPerUnitResponseClick.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::GetStatisticsPerUnitResponse] Instance of the class
|
|
69
|
-
def self.create(args)
|
|
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) # steep:ignore InsufficientKeywordArguments
|
|
72
72
|
end
|
|
73
73
|
|
|
74
74
|
# @param other [Object] Object to compare
|
|
@@ -65,9 +65,9 @@ module Line
|
|
|
65
65
|
# Create an instance of the class from a hash
|
|
66
66
|
# @param args [Hash] Hash containing all the required attributes
|
|
67
67
|
# @return [Line::Bot::V2::Insight::GetStatisticsPerUnitResponseClick] Instance of the class
|
|
68
|
-
def self.create(args)
|
|
68
|
+
def self.create(args)
|
|
69
69
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
70
|
-
return new(**symbolized_args) # steep:ignore
|
|
70
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
71
71
|
end
|
|
72
72
|
|
|
73
73
|
# @param other [Object] Object to compare
|
|
@@ -113,9 +113,9 @@ module Line
|
|
|
113
113
|
# Create an instance of the class from a hash
|
|
114
114
|
# @param args [Hash] Hash containing all the required attributes
|
|
115
115
|
# @return [Line::Bot::V2::Insight::GetStatisticsPerUnitResponseMessage] Instance of the class
|
|
116
|
-
def self.create(args)
|
|
116
|
+
def self.create(args)
|
|
117
117
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
118
|
-
return new(**symbolized_args) # steep:ignore
|
|
118
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
# @param other [Object] Object to compare
|