@openclaw/line 2026.7.1-beta.2 → 2026.7.1-beta.4

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 (712) hide show
  1. package/dist/api.js +1 -1
  2. package/dist/{card-command-DZVv78B6.js → card-command--jtkAqp8.js} +1 -1
  3. package/dist/{channel-DIpdZiwc.js → channel-C_8hLniz.js} +83 -37
  4. package/dist/channel-plugin-api.js +1 -1
  5. package/dist/channel.runtime-Bh_AQM0k.js +4 -0
  6. package/dist/{flex-templates-DPBtqQ8R.js → flex-templates-DEIXn69v.js} +6 -2
  7. package/dist/index.js +1 -1
  8. package/dist/{markdown-to-line-CFx7ME4o.js → markdown-to-line-DmpZY78n.js} +2 -2
  9. package/dist/{monitor-DzkYuWhv.js → monitor-0eXlx_Pe.js} +53 -14
  10. package/dist/monitor.runtime-BGIpxzfB.js +2 -0
  11. package/dist/{outbound.runtime-BPz8U_hw.js → outbound.runtime-BwC7Y2U9.js} +1 -1
  12. package/dist/{reply-payload-transform-BwF-zq0G.js → reply-payload-transform-C7r5npxP.js} +3 -2
  13. package/dist/runtime-api.js +4 -4
  14. package/node_modules/@line/bot-sdk/dist/channel-access-token/api/channelAccessTokenClient.d.ts +109 -60
  15. package/node_modules/@line/bot-sdk/dist/channel-access-token/api/channelAccessTokenClient.d.ts.map +1 -1
  16. package/node_modules/@line/bot-sdk/dist/channel-access-token/api/channelAccessTokenClient.js +116 -100
  17. package/node_modules/@line/bot-sdk/dist/channel-access-token/api/channelAccessTokenClient.js.map +1 -1
  18. package/node_modules/@line/bot-sdk/dist/channel-access-token/model/errorResponse.d.ts +1 -0
  19. package/node_modules/@line/bot-sdk/dist/channel-access-token/model/errorResponse.d.ts.map +1 -1
  20. package/node_modules/@line/bot-sdk/dist/channel-access-token/model/issueChannelAccessTokenResponse.d.ts +1 -1
  21. package/node_modules/@line/bot-sdk/dist/channel-access-token/model/issueShortLivedChannelAccessTokenResponse.d.ts +1 -1
  22. package/node_modules/@line/bot-sdk/dist/channel-access-token/model/issueStatelessChannelAccessTokenResponse.d.ts +1 -1
  23. package/node_modules/@line/bot-sdk/dist/channel-access-token/model/verifyChannelAccessTokenResponse.d.ts +1 -0
  24. package/node_modules/@line/bot-sdk/dist/channel-access-token/model/verifyChannelAccessTokenResponse.d.ts.map +1 -1
  25. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/api/channelAccessTokenClient.d.ts +109 -60
  26. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/api/channelAccessTokenClient.d.ts.map +1 -1
  27. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/api/channelAccessTokenClient.js +150 -101
  28. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/api/channelAccessTokenClient.js.map +1 -1
  29. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/errorResponse.d.ts +1 -0
  30. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/errorResponse.d.ts.map +1 -1
  31. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/issueChannelAccessTokenResponse.d.ts +1 -1
  32. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/issueShortLivedChannelAccessTokenResponse.d.ts +1 -1
  33. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/issueStatelessChannelAccessTokenResponse.d.ts +1 -1
  34. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/verifyChannelAccessTokenResponse.d.ts +1 -0
  35. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/verifyChannelAccessTokenResponse.d.ts.map +1 -1
  36. package/node_modules/@line/bot-sdk/dist/cjs/exceptions.d.ts.map +1 -1
  37. package/node_modules/@line/bot-sdk/dist/cjs/exceptions.js +4 -1
  38. package/node_modules/@line/bot-sdk/dist/cjs/exceptions.js.map +1 -1
  39. package/node_modules/@line/bot-sdk/dist/cjs/http-fetch.d.ts.map +1 -1
  40. package/node_modules/@line/bot-sdk/dist/cjs/http-fetch.js +3 -0
  41. package/node_modules/@line/bot-sdk/dist/cjs/http-fetch.js.map +1 -1
  42. package/node_modules/@line/bot-sdk/dist/cjs/index.js +36 -11
  43. package/node_modules/@line/bot-sdk/dist/cjs/index.js.map +1 -1
  44. package/node_modules/@line/bot-sdk/dist/cjs/insight/api/insightClient.d.ts +119 -30
  45. package/node_modules/@line/bot-sdk/dist/cjs/insight/api/insightClient.d.ts.map +1 -1
  46. package/node_modules/@line/bot-sdk/dist/cjs/insight/api/insightClient.js +172 -51
  47. package/node_modules/@line/bot-sdk/dist/cjs/insight/api/insightClient.js.map +1 -1
  48. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/ageTile.d.ts +3 -0
  49. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/ageTile.d.ts.map +1 -1
  50. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/appTypeTile.d.ts +3 -0
  51. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/appTypeTile.d.ts.map +1 -1
  52. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/areaTile.d.ts +3 -0
  53. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/areaTile.d.ts.map +1 -1
  54. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/errorDetail.d.ts +3 -0
  55. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/errorDetail.d.ts.map +1 -1
  56. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/genderTile.d.ts +3 -0
  57. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/genderTile.d.ts.map +1 -1
  58. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseClick.d.ts +3 -0
  59. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseClick.d.ts.map +1 -1
  60. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseMessage.d.ts +3 -0
  61. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseMessage.d.ts.map +1 -1
  62. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseOverview.d.ts +1 -0
  63. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseOverview.d.ts.map +1 -1
  64. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponse.d.ts +38 -0
  65. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponse.d.ts.map +1 -0
  66. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponse.js +14 -0
  67. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponse.js.map +1 -0
  68. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseBounds.d.ts +33 -0
  69. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseBounds.d.ts.map +1 -0
  70. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseBounds.js +14 -0
  71. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseBounds.js.map +1 -0
  72. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseClick.d.ts +24 -0
  73. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseClick.d.ts.map +1 -0
  74. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseClick.js +14 -0
  75. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseClick.js.map +1 -0
  76. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseDailyMetrics.d.ts +30 -0
  77. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseDailyMetrics.d.ts.map +1 -0
  78. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseDailyMetrics.js +14 -0
  79. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseDailyMetrics.js.map +1 -0
  80. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseImpression.d.ts +22 -0
  81. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseImpression.d.ts.map +1 -0
  82. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseImpression.js +14 -0
  83. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseImpression.js.map +1 -0
  84. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponse.d.ts +38 -0
  85. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponse.d.ts.map +1 -0
  86. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponse.js +14 -0
  87. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponse.js.map +1 -0
  88. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseBounds.d.ts +33 -0
  89. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseBounds.d.ts.map +1 -0
  90. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseBounds.js +14 -0
  91. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseBounds.js.map +1 -0
  92. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseClick.d.ts +21 -0
  93. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseClick.d.ts.map +1 -0
  94. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseClick.js +14 -0
  95. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseClick.js.map +1 -0
  96. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseImpression.d.ts +19 -0
  97. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseImpression.d.ts.map +1 -0
  98. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseImpression.js +14 -0
  99. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseImpression.js.map +1 -0
  100. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseMetrics.d.ts +25 -0
  101. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseMetrics.d.ts.map +1 -0
  102. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseMetrics.js +14 -0
  103. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseMetrics.js.map +1 -0
  104. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/models.d.ts +10 -0
  105. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/models.d.ts.map +1 -1
  106. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/models.js +10 -0
  107. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/models.js.map +1 -1
  108. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/subscriptionPeriodTile.d.ts +3 -0
  109. package/node_modules/@line/bot-sdk/dist/cjs/insight/model/subscriptionPeriodTile.d.ts.map +1 -1
  110. package/node_modules/@line/bot-sdk/dist/cjs/liff/api/liffClient.d.ts +60 -24
  111. package/node_modules/@line/bot-sdk/dist/cjs/liff/api/liffClient.d.ts.map +1 -1
  112. package/node_modules/@line/bot-sdk/dist/cjs/liff/api/liffClient.js +83 -25
  113. package/node_modules/@line/bot-sdk/dist/cjs/liff/api/liffClient.js.map +1 -1
  114. package/node_modules/@line/bot-sdk/dist/cjs/liff/model/addLiffAppResponse.d.ts +3 -0
  115. package/node_modules/@line/bot-sdk/dist/cjs/liff/model/addLiffAppResponse.d.ts.map +1 -1
  116. package/node_modules/@line/bot-sdk/dist/cjs/liff/model/getAllLiffAppsResponse.d.ts +3 -0
  117. package/node_modules/@line/bot-sdk/dist/cjs/liff/model/getAllLiffAppsResponse.d.ts.map +1 -1
  118. package/node_modules/@line/bot-sdk/dist/cjs/liff/model/liffApp.d.ts +3 -0
  119. package/node_modules/@line/bot-sdk/dist/cjs/liff/model/liffApp.d.ts.map +1 -1
  120. package/node_modules/@line/bot-sdk/dist/cjs/liff/model/liffFeatures.d.ts +4 -1
  121. package/node_modules/@line/bot-sdk/dist/cjs/liff/model/liffFeatures.d.ts.map +1 -1
  122. package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.d.ts +1 -1
  123. package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.factory.generated.js +40 -7
  124. package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.factory.generated.js.map +1 -1
  125. package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.generated.d.ts +948 -600
  126. package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.generated.d.ts.map +1 -1
  127. package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.generated.js +956 -600
  128. package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.generated.js.map +1 -1
  129. package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.js +1 -1
  130. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceBlobClient.d.ts +42 -12
  131. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceBlobClient.d.ts.map +1 -1
  132. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceBlobClient.js +65 -13
  133. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceBlobClient.js.map +1 -1
  134. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceClient.d.ts +114 -60
  135. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceClient.d.ts.map +1 -1
  136. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceClient.js +167 -71
  137. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceClient.js.map +1 -1
  138. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/addAudienceToAudienceGroupRequest.d.ts +1 -1
  139. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/createAudienceGroupRequest.d.ts +2 -2
  140. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/createClickBasedAudienceGroupRequest.d.ts +2 -2
  141. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/createClickBasedAudienceGroupResponse.d.ts +1 -1
  142. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/createImpBasedAudienceGroupRequest.d.ts +2 -2
  143. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/getAudienceDataResponse.d.ts +1 -1
  144. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/getSharedAudienceDataResponse.d.ts +1 -1
  145. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/updateAudienceGroupDescriptionRequest.d.ts +2 -2
  146. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiBlobClient.d.ts +69 -30
  147. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiBlobClient.d.ts.map +1 -1
  148. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiBlobClient.js +92 -31
  149. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiBlobClient.js.map +1 -1
  150. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiClient.d.ts +636 -408
  151. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiClient.d.ts.map +1 -1
  152. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiClient.js +693 -475
  153. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiClient.js.map +1 -1
  154. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/altUri.d.ts +2 -2
  155. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/broadcastRequest.d.ts +3 -3
  156. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/cashBackPercentagePriceInfoRequest.d.ts +2 -2
  157. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/clipboardAction.d.ts +2 -2
  158. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/clipboardImagemapAction.d.ts +2 -2
  159. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/couponCreateRequest.d.ts +7 -7
  160. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/couponMessage.d.ts +1 -1
  161. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/createRichMenuAliasRequest.d.ts +3 -3
  162. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/datetimePickerAction.d.ts +2 -2
  163. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/discountPercentagePriceInfoRequest.d.ts +2 -2
  164. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/errorResponse.d.ts +2 -2
  165. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/flexImage.d.ts +2 -2
  166. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/getFollowersResponse.d.ts +1 -1
  167. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/getJoinedMembershipUsersResponse.d.ts +1 -1
  168. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/getMembershipSubscriptionResponse.d.ts +1 -1
  169. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/limit.d.ts +3 -3
  170. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/lotteryAcquisitionConditionRequest.d.ts +3 -3
  171. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/membersIdsResponse.d.ts +1 -1
  172. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/membership.d.ts +1 -1
  173. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/membershipListResponse.d.ts +1 -1
  174. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/multicastRequest.d.ts +6 -6
  175. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/narrowcastRequest.d.ts +3 -3
  176. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/pnpMessagesRequest.d.ts +3 -3
  177. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/postbackAction.d.ts +2 -2
  178. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/pushMessageRequest.d.ts +3 -3
  179. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/pushMessageResponse.d.ts +2 -2
  180. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/quickReply.d.ts +1 -1
  181. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/quickReplyItem.d.ts +2 -2
  182. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/replyMessageRequest.d.ts +3 -3
  183. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/replyMessageResponse.d.ts +2 -2
  184. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuBatchRequest.d.ts +4 -4
  185. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuBounds.d.ts +8 -8
  186. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuBulkLinkRequest.d.ts +2 -2
  187. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuBulkUnlinkRequest.d.ts +2 -2
  188. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuRequest.d.ts +2 -2
  189. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuResponse.d.ts +6 -3
  190. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuResponse.d.ts.map +1 -1
  191. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuSize.d.ts +4 -4
  192. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuSwitchAction.d.ts +4 -4
  193. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/sender.d.ts +2 -2
  194. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/setWebhookEndpointRequest.d.ts +2 -2
  195. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/showLoadingAnimationRequest.d.ts +2 -2
  196. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/subscribedMembershipPlan.d.ts +1 -1
  197. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/testWebhookEndpointRequest.d.ts +2 -2
  198. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/validateMessageRequest.d.ts +2 -2
  199. package/node_modules/@line/bot-sdk/dist/cjs/middleware.js +39 -3
  200. package/node_modules/@line/bot-sdk/dist/cjs/middleware.js.map +1 -1
  201. package/node_modules/@line/bot-sdk/dist/cjs/module/api/lineModuleClient.d.ts +60 -24
  202. package/node_modules/@line/bot-sdk/dist/cjs/module/api/lineModuleClient.d.ts.map +1 -1
  203. package/node_modules/@line/bot-sdk/dist/cjs/module/api/lineModuleClient.js +89 -30
  204. package/node_modules/@line/bot-sdk/dist/cjs/module/api/lineModuleClient.js.map +1 -1
  205. package/node_modules/@line/bot-sdk/dist/cjs/module/model/acquireChatControlRequest.d.ts +1 -1
  206. package/node_modules/@line/bot-sdk/dist/cjs/module-attach/api/lineModuleAttachClient.d.ts +33 -6
  207. package/node_modules/@line/bot-sdk/dist/cjs/module-attach/api/lineModuleAttachClient.d.ts.map +1 -1
  208. package/node_modules/@line/bot-sdk/dist/cjs/module-attach/api/lineModuleAttachClient.js +77 -12
  209. package/node_modules/@line/bot-sdk/dist/cjs/module-attach/api/lineModuleAttachClient.js.map +1 -1
  210. package/node_modules/@line/bot-sdk/dist/cjs/module-attach/model/attachModuleResponse.d.ts +1 -0
  211. package/node_modules/@line/bot-sdk/dist/cjs/module-attach/model/attachModuleResponse.d.ts.map +1 -1
  212. package/node_modules/@line/bot-sdk/dist/cjs/shop/api/shopClient.d.ts +33 -6
  213. package/node_modules/@line/bot-sdk/dist/cjs/shop/api/shopClient.d.ts.map +1 -1
  214. package/node_modules/@line/bot-sdk/dist/cjs/shop/api/shopClient.js +56 -7
  215. package/node_modules/@line/bot-sdk/dist/cjs/shop/api/shopClient.js.map +1 -1
  216. package/node_modules/@line/bot-sdk/dist/cjs/version.d.ts +1 -1
  217. package/node_modules/@line/bot-sdk/dist/cjs/version.js +1 -1
  218. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/accountLinkEvent.d.ts +1 -0
  219. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/accountLinkEvent.d.ts.map +1 -1
  220. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/activatedEvent.d.ts +1 -0
  221. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/activatedEvent.d.ts.map +1 -1
  222. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/attachedModuleContent.d.ts +3 -0
  223. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/attachedModuleContent.d.ts.map +1 -1
  224. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/audioMessageContent.d.ts +3 -0
  225. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/audioMessageContent.d.ts.map +1 -1
  226. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/beaconContent.d.ts +3 -0
  227. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/beaconContent.d.ts.map +1 -1
  228. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/beaconEvent.d.ts +1 -0
  229. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/beaconEvent.d.ts.map +1 -1
  230. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/botResumedEvent.d.ts +1 -0
  231. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/botResumedEvent.d.ts.map +1 -1
  232. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/botSuspendedEvent.d.ts +1 -0
  233. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/botSuspendedEvent.d.ts.map +1 -1
  234. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/callbackRequest.d.ts +3 -3
  235. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/chatControl.d.ts +3 -0
  236. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/chatControl.d.ts.map +1 -1
  237. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/deactivatedEvent.d.ts +1 -0
  238. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/deactivatedEvent.d.ts.map +1 -1
  239. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/detachedModuleContent.d.ts +3 -0
  240. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/detachedModuleContent.d.ts.map +1 -1
  241. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/fileMessageContent.d.ts +3 -0
  242. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/fileMessageContent.d.ts.map +1 -1
  243. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/followDetail.d.ts +3 -0
  244. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/followDetail.d.ts.map +1 -1
  245. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/followEvent.d.ts +1 -0
  246. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/followEvent.d.ts.map +1 -1
  247. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/imageMessageContent.d.ts +3 -0
  248. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/imageMessageContent.d.ts.map +1 -1
  249. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/joinEvent.d.ts +1 -0
  250. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/joinEvent.d.ts.map +1 -1
  251. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/joinedMembers.d.ts +3 -0
  252. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/joinedMembers.d.ts.map +1 -1
  253. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/leaveEvent.d.ts +1 -0
  254. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/leaveEvent.d.ts.map +1 -1
  255. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/leftMembers.d.ts +3 -0
  256. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/leftMembers.d.ts.map +1 -1
  257. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/linkContent.d.ts +1 -0
  258. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/linkContent.d.ts.map +1 -1
  259. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/locationMessageContent.d.ts +3 -0
  260. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/locationMessageContent.d.ts.map +1 -1
  261. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/memberJoinedEvent.d.ts +1 -0
  262. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/memberJoinedEvent.d.ts.map +1 -1
  263. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/memberLeftEvent.d.ts +1 -0
  264. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/memberLeftEvent.d.ts.map +1 -1
  265. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/membershipContent.d.ts +1 -0
  266. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/membershipContent.d.ts.map +1 -1
  267. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/membershipEvent.d.ts +1 -0
  268. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/membershipEvent.d.ts.map +1 -1
  269. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/messageEvent.d.ts +1 -0
  270. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/messageEvent.d.ts.map +1 -1
  271. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/moduleContent.d.ts +3 -0
  272. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/moduleContent.d.ts.map +1 -1
  273. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/moduleEvent.d.ts +1 -0
  274. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/moduleEvent.d.ts.map +1 -1
  275. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/pnpDelivery.d.ts +1 -0
  276. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/pnpDelivery.d.ts.map +1 -1
  277. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/pnpDeliveryCompletionEvent.d.ts +1 -0
  278. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/pnpDeliveryCompletionEvent.d.ts.map +1 -1
  279. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/postbackContent.d.ts +3 -0
  280. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/postbackContent.d.ts.map +1 -1
  281. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/postbackEvent.d.ts +1 -0
  282. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/postbackEvent.d.ts.map +1 -1
  283. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/stickerMessageContent.d.ts +2 -2
  284. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/textMessageContent.d.ts +3 -0
  285. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/textMessageContent.d.ts.map +1 -1
  286. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unfollowEvent.d.ts +1 -0
  287. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unfollowEvent.d.ts.map +1 -1
  288. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unsendDetail.d.ts +3 -0
  289. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unsendDetail.d.ts.map +1 -1
  290. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unsendEvent.d.ts +1 -0
  291. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unsendEvent.d.ts.map +1 -1
  292. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoMessageContent.d.ts +3 -0
  293. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoMessageContent.d.ts.map +1 -1
  294. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoPlayComplete.d.ts +3 -0
  295. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoPlayComplete.d.ts.map +1 -1
  296. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoPlayCompleteEvent.d.ts +1 -0
  297. package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoPlayCompleteEvent.d.ts.map +1 -1
  298. package/node_modules/@line/bot-sdk/dist/exceptions.d.ts.map +1 -1
  299. package/node_modules/@line/bot-sdk/dist/exceptions.js +4 -1
  300. package/node_modules/@line/bot-sdk/dist/exceptions.js.map +1 -1
  301. package/node_modules/@line/bot-sdk/dist/http-fetch.d.ts.map +1 -1
  302. package/node_modules/@line/bot-sdk/dist/http-fetch.js +3 -0
  303. package/node_modules/@line/bot-sdk/dist/http-fetch.js.map +1 -1
  304. package/node_modules/@line/bot-sdk/dist/insight/api/insightClient.d.ts +119 -30
  305. package/node_modules/@line/bot-sdk/dist/insight/api/insightClient.d.ts.map +1 -1
  306. package/node_modules/@line/bot-sdk/dist/insight/api/insightClient.js +138 -50
  307. package/node_modules/@line/bot-sdk/dist/insight/api/insightClient.js.map +1 -1
  308. package/node_modules/@line/bot-sdk/dist/insight/model/ageTile.d.ts +3 -0
  309. package/node_modules/@line/bot-sdk/dist/insight/model/ageTile.d.ts.map +1 -1
  310. package/node_modules/@line/bot-sdk/dist/insight/model/appTypeTile.d.ts +3 -0
  311. package/node_modules/@line/bot-sdk/dist/insight/model/appTypeTile.d.ts.map +1 -1
  312. package/node_modules/@line/bot-sdk/dist/insight/model/areaTile.d.ts +3 -0
  313. package/node_modules/@line/bot-sdk/dist/insight/model/areaTile.d.ts.map +1 -1
  314. package/node_modules/@line/bot-sdk/dist/insight/model/errorDetail.d.ts +3 -0
  315. package/node_modules/@line/bot-sdk/dist/insight/model/errorDetail.d.ts.map +1 -1
  316. package/node_modules/@line/bot-sdk/dist/insight/model/genderTile.d.ts +3 -0
  317. package/node_modules/@line/bot-sdk/dist/insight/model/genderTile.d.ts.map +1 -1
  318. package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseClick.d.ts +3 -0
  319. package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseClick.d.ts.map +1 -1
  320. package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseMessage.d.ts +3 -0
  321. package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseMessage.d.ts.map +1 -1
  322. package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseOverview.d.ts +1 -0
  323. package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseOverview.d.ts.map +1 -1
  324. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponse.d.ts +38 -0
  325. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponse.d.ts.map +1 -0
  326. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponse.js +13 -0
  327. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponse.js.map +1 -0
  328. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseBounds.d.ts +33 -0
  329. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseBounds.d.ts.map +1 -0
  330. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseBounds.js +13 -0
  331. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseBounds.js.map +1 -0
  332. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseClick.d.ts +24 -0
  333. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseClick.d.ts.map +1 -0
  334. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseClick.js +13 -0
  335. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseClick.js.map +1 -0
  336. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseDailyMetrics.d.ts +30 -0
  337. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseDailyMetrics.d.ts.map +1 -0
  338. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseDailyMetrics.js +13 -0
  339. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseDailyMetrics.js.map +1 -0
  340. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseImpression.d.ts +22 -0
  341. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseImpression.d.ts.map +1 -0
  342. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseImpression.js +13 -0
  343. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseImpression.js.map +1 -0
  344. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponse.d.ts +38 -0
  345. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponse.d.ts.map +1 -0
  346. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponse.js +13 -0
  347. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponse.js.map +1 -0
  348. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseBounds.d.ts +33 -0
  349. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseBounds.d.ts.map +1 -0
  350. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseBounds.js +13 -0
  351. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseBounds.js.map +1 -0
  352. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseClick.d.ts +21 -0
  353. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseClick.d.ts.map +1 -0
  354. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseClick.js +13 -0
  355. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseClick.js.map +1 -0
  356. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseImpression.d.ts +19 -0
  357. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseImpression.d.ts.map +1 -0
  358. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseImpression.js +13 -0
  359. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseImpression.js.map +1 -0
  360. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseMetrics.d.ts +25 -0
  361. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseMetrics.d.ts.map +1 -0
  362. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseMetrics.js +13 -0
  363. package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseMetrics.js.map +1 -0
  364. package/node_modules/@line/bot-sdk/dist/insight/model/models.d.ts +10 -0
  365. package/node_modules/@line/bot-sdk/dist/insight/model/models.d.ts.map +1 -1
  366. package/node_modules/@line/bot-sdk/dist/insight/model/models.js +10 -0
  367. package/node_modules/@line/bot-sdk/dist/insight/model/models.js.map +1 -1
  368. package/node_modules/@line/bot-sdk/dist/insight/model/subscriptionPeriodTile.d.ts +3 -0
  369. package/node_modules/@line/bot-sdk/dist/insight/model/subscriptionPeriodTile.d.ts.map +1 -1
  370. package/node_modules/@line/bot-sdk/dist/liff/api/liffClient.d.ts +60 -24
  371. package/node_modules/@line/bot-sdk/dist/liff/api/liffClient.d.ts.map +1 -1
  372. package/node_modules/@line/bot-sdk/dist/liff/api/liffClient.js +49 -24
  373. package/node_modules/@line/bot-sdk/dist/liff/api/liffClient.js.map +1 -1
  374. package/node_modules/@line/bot-sdk/dist/liff/model/addLiffAppResponse.d.ts +3 -0
  375. package/node_modules/@line/bot-sdk/dist/liff/model/addLiffAppResponse.d.ts.map +1 -1
  376. package/node_modules/@line/bot-sdk/dist/liff/model/getAllLiffAppsResponse.d.ts +3 -0
  377. package/node_modules/@line/bot-sdk/dist/liff/model/getAllLiffAppsResponse.d.ts.map +1 -1
  378. package/node_modules/@line/bot-sdk/dist/liff/model/liffApp.d.ts +3 -0
  379. package/node_modules/@line/bot-sdk/dist/liff/model/liffApp.d.ts.map +1 -1
  380. package/node_modules/@line/bot-sdk/dist/liff/model/liffFeatures.d.ts +4 -1
  381. package/node_modules/@line/bot-sdk/dist/liff/model/liffFeatures.d.ts.map +1 -1
  382. package/node_modules/@line/bot-sdk/dist/line-bot-client.d.ts +1 -1
  383. package/node_modules/@line/bot-sdk/dist/line-bot-client.generated.d.ts +948 -600
  384. package/node_modules/@line/bot-sdk/dist/line-bot-client.generated.d.ts.map +1 -1
  385. package/node_modules/@line/bot-sdk/dist/line-bot-client.generated.js +956 -600
  386. package/node_modules/@line/bot-sdk/dist/line-bot-client.generated.js.map +1 -1
  387. package/node_modules/@line/bot-sdk/dist/line-bot-client.js +1 -1
  388. package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceBlobClient.d.ts +42 -12
  389. package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceBlobClient.d.ts.map +1 -1
  390. package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceBlobClient.js +31 -12
  391. package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceBlobClient.js.map +1 -1
  392. package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceClient.d.ts +114 -60
  393. package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceClient.d.ts.map +1 -1
  394. package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceClient.js +133 -70
  395. package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceClient.js.map +1 -1
  396. package/node_modules/@line/bot-sdk/dist/manage-audience/model/addAudienceToAudienceGroupRequest.d.ts +1 -1
  397. package/node_modules/@line/bot-sdk/dist/manage-audience/model/createAudienceGroupRequest.d.ts +2 -2
  398. package/node_modules/@line/bot-sdk/dist/manage-audience/model/createClickBasedAudienceGroupRequest.d.ts +2 -2
  399. package/node_modules/@line/bot-sdk/dist/manage-audience/model/createClickBasedAudienceGroupResponse.d.ts +1 -1
  400. package/node_modules/@line/bot-sdk/dist/manage-audience/model/createImpBasedAudienceGroupRequest.d.ts +2 -2
  401. package/node_modules/@line/bot-sdk/dist/manage-audience/model/getAudienceDataResponse.d.ts +1 -1
  402. package/node_modules/@line/bot-sdk/dist/manage-audience/model/getSharedAudienceDataResponse.d.ts +1 -1
  403. package/node_modules/@line/bot-sdk/dist/manage-audience/model/updateAudienceGroupDescriptionRequest.d.ts +2 -2
  404. package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiBlobClient.d.ts +69 -30
  405. package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiBlobClient.d.ts.map +1 -1
  406. package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiBlobClient.js +58 -30
  407. package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiBlobClient.js.map +1 -1
  408. package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiClient.d.ts +636 -408
  409. package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiClient.d.ts.map +1 -1
  410. package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiClient.js +659 -474
  411. package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiClient.js.map +1 -1
  412. package/node_modules/@line/bot-sdk/dist/messaging-api/model/altUri.d.ts +2 -2
  413. package/node_modules/@line/bot-sdk/dist/messaging-api/model/broadcastRequest.d.ts +3 -3
  414. package/node_modules/@line/bot-sdk/dist/messaging-api/model/cashBackPercentagePriceInfoRequest.d.ts +2 -2
  415. package/node_modules/@line/bot-sdk/dist/messaging-api/model/clipboardAction.d.ts +2 -2
  416. package/node_modules/@line/bot-sdk/dist/messaging-api/model/clipboardImagemapAction.d.ts +2 -2
  417. package/node_modules/@line/bot-sdk/dist/messaging-api/model/couponCreateRequest.d.ts +7 -7
  418. package/node_modules/@line/bot-sdk/dist/messaging-api/model/couponMessage.d.ts +1 -1
  419. package/node_modules/@line/bot-sdk/dist/messaging-api/model/createRichMenuAliasRequest.d.ts +3 -3
  420. package/node_modules/@line/bot-sdk/dist/messaging-api/model/datetimePickerAction.d.ts +2 -2
  421. package/node_modules/@line/bot-sdk/dist/messaging-api/model/discountPercentagePriceInfoRequest.d.ts +2 -2
  422. package/node_modules/@line/bot-sdk/dist/messaging-api/model/errorResponse.d.ts +2 -2
  423. package/node_modules/@line/bot-sdk/dist/messaging-api/model/flexImage.d.ts +2 -2
  424. package/node_modules/@line/bot-sdk/dist/messaging-api/model/getFollowersResponse.d.ts +1 -1
  425. package/node_modules/@line/bot-sdk/dist/messaging-api/model/getJoinedMembershipUsersResponse.d.ts +1 -1
  426. package/node_modules/@line/bot-sdk/dist/messaging-api/model/getMembershipSubscriptionResponse.d.ts +1 -1
  427. package/node_modules/@line/bot-sdk/dist/messaging-api/model/limit.d.ts +3 -3
  428. package/node_modules/@line/bot-sdk/dist/messaging-api/model/lotteryAcquisitionConditionRequest.d.ts +3 -3
  429. package/node_modules/@line/bot-sdk/dist/messaging-api/model/membersIdsResponse.d.ts +1 -1
  430. package/node_modules/@line/bot-sdk/dist/messaging-api/model/membership.d.ts +1 -1
  431. package/node_modules/@line/bot-sdk/dist/messaging-api/model/membershipListResponse.d.ts +1 -1
  432. package/node_modules/@line/bot-sdk/dist/messaging-api/model/multicastRequest.d.ts +6 -6
  433. package/node_modules/@line/bot-sdk/dist/messaging-api/model/narrowcastRequest.d.ts +3 -3
  434. package/node_modules/@line/bot-sdk/dist/messaging-api/model/pnpMessagesRequest.d.ts +3 -3
  435. package/node_modules/@line/bot-sdk/dist/messaging-api/model/postbackAction.d.ts +2 -2
  436. package/node_modules/@line/bot-sdk/dist/messaging-api/model/pushMessageRequest.d.ts +3 -3
  437. package/node_modules/@line/bot-sdk/dist/messaging-api/model/pushMessageResponse.d.ts +2 -2
  438. package/node_modules/@line/bot-sdk/dist/messaging-api/model/quickReply.d.ts +1 -1
  439. package/node_modules/@line/bot-sdk/dist/messaging-api/model/quickReplyItem.d.ts +2 -2
  440. package/node_modules/@line/bot-sdk/dist/messaging-api/model/replyMessageRequest.d.ts +3 -3
  441. package/node_modules/@line/bot-sdk/dist/messaging-api/model/replyMessageResponse.d.ts +2 -2
  442. package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuBatchRequest.d.ts +4 -4
  443. package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuBounds.d.ts +8 -8
  444. package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuBulkLinkRequest.d.ts +2 -2
  445. package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuBulkUnlinkRequest.d.ts +2 -2
  446. package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuRequest.d.ts +2 -2
  447. package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuResponse.d.ts +6 -3
  448. package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuResponse.d.ts.map +1 -1
  449. package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuSize.d.ts +4 -4
  450. package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuSwitchAction.d.ts +4 -4
  451. package/node_modules/@line/bot-sdk/dist/messaging-api/model/sender.d.ts +2 -2
  452. package/node_modules/@line/bot-sdk/dist/messaging-api/model/setWebhookEndpointRequest.d.ts +2 -2
  453. package/node_modules/@line/bot-sdk/dist/messaging-api/model/showLoadingAnimationRequest.d.ts +2 -2
  454. package/node_modules/@line/bot-sdk/dist/messaging-api/model/subscribedMembershipPlan.d.ts +1 -1
  455. package/node_modules/@line/bot-sdk/dist/messaging-api/model/testWebhookEndpointRequest.d.ts +2 -2
  456. package/node_modules/@line/bot-sdk/dist/messaging-api/model/validateMessageRequest.d.ts +2 -2
  457. package/node_modules/@line/bot-sdk/dist/middleware.js +1 -1
  458. package/node_modules/@line/bot-sdk/dist/middleware.js.map +1 -1
  459. package/node_modules/@line/bot-sdk/dist/module/api/lineModuleClient.d.ts +60 -24
  460. package/node_modules/@line/bot-sdk/dist/module/api/lineModuleClient.d.ts.map +1 -1
  461. package/node_modules/@line/bot-sdk/dist/module/api/lineModuleClient.js +55 -29
  462. package/node_modules/@line/bot-sdk/dist/module/api/lineModuleClient.js.map +1 -1
  463. package/node_modules/@line/bot-sdk/dist/module/model/acquireChatControlRequest.d.ts +1 -1
  464. package/node_modules/@line/bot-sdk/dist/module-attach/api/lineModuleAttachClient.d.ts +33 -6
  465. package/node_modules/@line/bot-sdk/dist/module-attach/api/lineModuleAttachClient.d.ts.map +1 -1
  466. package/node_modules/@line/bot-sdk/dist/module-attach/api/lineModuleAttachClient.js +43 -11
  467. package/node_modules/@line/bot-sdk/dist/module-attach/api/lineModuleAttachClient.js.map +1 -1
  468. package/node_modules/@line/bot-sdk/dist/module-attach/model/attachModuleResponse.d.ts +1 -0
  469. package/node_modules/@line/bot-sdk/dist/module-attach/model/attachModuleResponse.d.ts.map +1 -1
  470. package/node_modules/@line/bot-sdk/dist/shop/api/shopClient.d.ts +33 -6
  471. package/node_modules/@line/bot-sdk/dist/shop/api/shopClient.d.ts.map +1 -1
  472. package/node_modules/@line/bot-sdk/dist/shop/api/shopClient.js +22 -6
  473. package/node_modules/@line/bot-sdk/dist/shop/api/shopClient.js.map +1 -1
  474. package/node_modules/@line/bot-sdk/dist/version.d.ts +1 -1
  475. package/node_modules/@line/bot-sdk/dist/version.js +1 -1
  476. package/node_modules/@line/bot-sdk/dist/webhook/model/accountLinkEvent.d.ts +1 -0
  477. package/node_modules/@line/bot-sdk/dist/webhook/model/accountLinkEvent.d.ts.map +1 -1
  478. package/node_modules/@line/bot-sdk/dist/webhook/model/activatedEvent.d.ts +1 -0
  479. package/node_modules/@line/bot-sdk/dist/webhook/model/activatedEvent.d.ts.map +1 -1
  480. package/node_modules/@line/bot-sdk/dist/webhook/model/attachedModuleContent.d.ts +3 -0
  481. package/node_modules/@line/bot-sdk/dist/webhook/model/attachedModuleContent.d.ts.map +1 -1
  482. package/node_modules/@line/bot-sdk/dist/webhook/model/audioMessageContent.d.ts +3 -0
  483. package/node_modules/@line/bot-sdk/dist/webhook/model/audioMessageContent.d.ts.map +1 -1
  484. package/node_modules/@line/bot-sdk/dist/webhook/model/beaconContent.d.ts +3 -0
  485. package/node_modules/@line/bot-sdk/dist/webhook/model/beaconContent.d.ts.map +1 -1
  486. package/node_modules/@line/bot-sdk/dist/webhook/model/beaconEvent.d.ts +1 -0
  487. package/node_modules/@line/bot-sdk/dist/webhook/model/beaconEvent.d.ts.map +1 -1
  488. package/node_modules/@line/bot-sdk/dist/webhook/model/botResumedEvent.d.ts +1 -0
  489. package/node_modules/@line/bot-sdk/dist/webhook/model/botResumedEvent.d.ts.map +1 -1
  490. package/node_modules/@line/bot-sdk/dist/webhook/model/botSuspendedEvent.d.ts +1 -0
  491. package/node_modules/@line/bot-sdk/dist/webhook/model/botSuspendedEvent.d.ts.map +1 -1
  492. package/node_modules/@line/bot-sdk/dist/webhook/model/callbackRequest.d.ts +3 -3
  493. package/node_modules/@line/bot-sdk/dist/webhook/model/chatControl.d.ts +3 -0
  494. package/node_modules/@line/bot-sdk/dist/webhook/model/chatControl.d.ts.map +1 -1
  495. package/node_modules/@line/bot-sdk/dist/webhook/model/deactivatedEvent.d.ts +1 -0
  496. package/node_modules/@line/bot-sdk/dist/webhook/model/deactivatedEvent.d.ts.map +1 -1
  497. package/node_modules/@line/bot-sdk/dist/webhook/model/detachedModuleContent.d.ts +3 -0
  498. package/node_modules/@line/bot-sdk/dist/webhook/model/detachedModuleContent.d.ts.map +1 -1
  499. package/node_modules/@line/bot-sdk/dist/webhook/model/fileMessageContent.d.ts +3 -0
  500. package/node_modules/@line/bot-sdk/dist/webhook/model/fileMessageContent.d.ts.map +1 -1
  501. package/node_modules/@line/bot-sdk/dist/webhook/model/followDetail.d.ts +3 -0
  502. package/node_modules/@line/bot-sdk/dist/webhook/model/followDetail.d.ts.map +1 -1
  503. package/node_modules/@line/bot-sdk/dist/webhook/model/followEvent.d.ts +1 -0
  504. package/node_modules/@line/bot-sdk/dist/webhook/model/followEvent.d.ts.map +1 -1
  505. package/node_modules/@line/bot-sdk/dist/webhook/model/imageMessageContent.d.ts +3 -0
  506. package/node_modules/@line/bot-sdk/dist/webhook/model/imageMessageContent.d.ts.map +1 -1
  507. package/node_modules/@line/bot-sdk/dist/webhook/model/joinEvent.d.ts +1 -0
  508. package/node_modules/@line/bot-sdk/dist/webhook/model/joinEvent.d.ts.map +1 -1
  509. package/node_modules/@line/bot-sdk/dist/webhook/model/joinedMembers.d.ts +3 -0
  510. package/node_modules/@line/bot-sdk/dist/webhook/model/joinedMembers.d.ts.map +1 -1
  511. package/node_modules/@line/bot-sdk/dist/webhook/model/leaveEvent.d.ts +1 -0
  512. package/node_modules/@line/bot-sdk/dist/webhook/model/leaveEvent.d.ts.map +1 -1
  513. package/node_modules/@line/bot-sdk/dist/webhook/model/leftMembers.d.ts +3 -0
  514. package/node_modules/@line/bot-sdk/dist/webhook/model/leftMembers.d.ts.map +1 -1
  515. package/node_modules/@line/bot-sdk/dist/webhook/model/linkContent.d.ts +1 -0
  516. package/node_modules/@line/bot-sdk/dist/webhook/model/linkContent.d.ts.map +1 -1
  517. package/node_modules/@line/bot-sdk/dist/webhook/model/locationMessageContent.d.ts +3 -0
  518. package/node_modules/@line/bot-sdk/dist/webhook/model/locationMessageContent.d.ts.map +1 -1
  519. package/node_modules/@line/bot-sdk/dist/webhook/model/memberJoinedEvent.d.ts +1 -0
  520. package/node_modules/@line/bot-sdk/dist/webhook/model/memberJoinedEvent.d.ts.map +1 -1
  521. package/node_modules/@line/bot-sdk/dist/webhook/model/memberLeftEvent.d.ts +1 -0
  522. package/node_modules/@line/bot-sdk/dist/webhook/model/memberLeftEvent.d.ts.map +1 -1
  523. package/node_modules/@line/bot-sdk/dist/webhook/model/membershipContent.d.ts +1 -0
  524. package/node_modules/@line/bot-sdk/dist/webhook/model/membershipContent.d.ts.map +1 -1
  525. package/node_modules/@line/bot-sdk/dist/webhook/model/membershipEvent.d.ts +1 -0
  526. package/node_modules/@line/bot-sdk/dist/webhook/model/membershipEvent.d.ts.map +1 -1
  527. package/node_modules/@line/bot-sdk/dist/webhook/model/messageEvent.d.ts +1 -0
  528. package/node_modules/@line/bot-sdk/dist/webhook/model/messageEvent.d.ts.map +1 -1
  529. package/node_modules/@line/bot-sdk/dist/webhook/model/moduleContent.d.ts +3 -0
  530. package/node_modules/@line/bot-sdk/dist/webhook/model/moduleContent.d.ts.map +1 -1
  531. package/node_modules/@line/bot-sdk/dist/webhook/model/moduleEvent.d.ts +1 -0
  532. package/node_modules/@line/bot-sdk/dist/webhook/model/moduleEvent.d.ts.map +1 -1
  533. package/node_modules/@line/bot-sdk/dist/webhook/model/pnpDelivery.d.ts +1 -0
  534. package/node_modules/@line/bot-sdk/dist/webhook/model/pnpDelivery.d.ts.map +1 -1
  535. package/node_modules/@line/bot-sdk/dist/webhook/model/pnpDeliveryCompletionEvent.d.ts +1 -0
  536. package/node_modules/@line/bot-sdk/dist/webhook/model/pnpDeliveryCompletionEvent.d.ts.map +1 -1
  537. package/node_modules/@line/bot-sdk/dist/webhook/model/postbackContent.d.ts +3 -0
  538. package/node_modules/@line/bot-sdk/dist/webhook/model/postbackContent.d.ts.map +1 -1
  539. package/node_modules/@line/bot-sdk/dist/webhook/model/postbackEvent.d.ts +1 -0
  540. package/node_modules/@line/bot-sdk/dist/webhook/model/postbackEvent.d.ts.map +1 -1
  541. package/node_modules/@line/bot-sdk/dist/webhook/model/stickerMessageContent.d.ts +2 -2
  542. package/node_modules/@line/bot-sdk/dist/webhook/model/textMessageContent.d.ts +3 -0
  543. package/node_modules/@line/bot-sdk/dist/webhook/model/textMessageContent.d.ts.map +1 -1
  544. package/node_modules/@line/bot-sdk/dist/webhook/model/unfollowEvent.d.ts +1 -0
  545. package/node_modules/@line/bot-sdk/dist/webhook/model/unfollowEvent.d.ts.map +1 -1
  546. package/node_modules/@line/bot-sdk/dist/webhook/model/unsendDetail.d.ts +3 -0
  547. package/node_modules/@line/bot-sdk/dist/webhook/model/unsendDetail.d.ts.map +1 -1
  548. package/node_modules/@line/bot-sdk/dist/webhook/model/unsendEvent.d.ts +1 -0
  549. package/node_modules/@line/bot-sdk/dist/webhook/model/unsendEvent.d.ts.map +1 -1
  550. package/node_modules/@line/bot-sdk/dist/webhook/model/videoMessageContent.d.ts +3 -0
  551. package/node_modules/@line/bot-sdk/dist/webhook/model/videoMessageContent.d.ts.map +1 -1
  552. package/node_modules/@line/bot-sdk/dist/webhook/model/videoPlayComplete.d.ts +3 -0
  553. package/node_modules/@line/bot-sdk/dist/webhook/model/videoPlayComplete.d.ts.map +1 -1
  554. package/node_modules/@line/bot-sdk/dist/webhook/model/videoPlayCompleteEvent.d.ts +1 -0
  555. package/node_modules/@line/bot-sdk/dist/webhook/model/videoPlayCompleteEvent.d.ts.map +1 -1
  556. package/node_modules/@line/bot-sdk/lib/channel-access-token/.openapi-generator/FILES +0 -1
  557. package/node_modules/@line/bot-sdk/lib/channel-access-token/api/channelAccessTokenClient.ts +129 -100
  558. package/node_modules/@line/bot-sdk/lib/channel-access-token/model/errorResponse.ts +1 -0
  559. package/node_modules/@line/bot-sdk/lib/channel-access-token/model/issueChannelAccessTokenResponse.ts +1 -1
  560. package/node_modules/@line/bot-sdk/lib/channel-access-token/model/issueShortLivedChannelAccessTokenResponse.ts +1 -1
  561. package/node_modules/@line/bot-sdk/lib/channel-access-token/model/issueStatelessChannelAccessTokenResponse.ts +1 -1
  562. package/node_modules/@line/bot-sdk/lib/channel-access-token/model/verifyChannelAccessTokenResponse.ts +1 -0
  563. package/node_modules/@line/bot-sdk/lib/exceptions.ts +4 -1
  564. package/node_modules/@line/bot-sdk/lib/http-fetch.ts +3 -0
  565. package/node_modules/@line/bot-sdk/lib/insight/.openapi-generator/FILES +10 -1
  566. package/node_modules/@line/bot-sdk/lib/insight/api/insightClient.ts +184 -50
  567. package/node_modules/@line/bot-sdk/lib/insight/model/ageTile.ts +3 -0
  568. package/node_modules/@line/bot-sdk/lib/insight/model/appTypeTile.ts +3 -0
  569. package/node_modules/@line/bot-sdk/lib/insight/model/areaTile.ts +3 -0
  570. package/node_modules/@line/bot-sdk/lib/insight/model/errorDetail.ts +3 -0
  571. package/node_modules/@line/bot-sdk/lib/insight/model/genderTile.ts +3 -0
  572. package/node_modules/@line/bot-sdk/lib/insight/model/getMessageEventResponseClick.ts +3 -0
  573. package/node_modules/@line/bot-sdk/lib/insight/model/getMessageEventResponseMessage.ts +3 -0
  574. package/node_modules/@line/bot-sdk/lib/insight/model/getMessageEventResponseOverview.ts +1 -0
  575. package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightDailyResponse.ts +39 -0
  576. package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightDailyResponseBounds.ts +33 -0
  577. package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightDailyResponseClick.ts +25 -0
  578. package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightDailyResponseDailyMetrics.ts +30 -0
  579. package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightDailyResponseImpression.ts +23 -0
  580. package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightSummaryResponse.ts +39 -0
  581. package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightSummaryResponseBounds.ts +33 -0
  582. package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightSummaryResponseClick.ts +22 -0
  583. package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightSummaryResponseImpression.ts +20 -0
  584. package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightSummaryResponseMetrics.ts +25 -0
  585. package/node_modules/@line/bot-sdk/lib/insight/model/models.ts +10 -0
  586. package/node_modules/@line/bot-sdk/lib/insight/model/subscriptionPeriodTile.ts +3 -0
  587. package/node_modules/@line/bot-sdk/lib/liff/.openapi-generator/FILES +0 -1
  588. package/node_modules/@line/bot-sdk/lib/liff/api/liffClient.ts +60 -24
  589. package/node_modules/@line/bot-sdk/lib/liff/model/addLiffAppResponse.ts +3 -0
  590. package/node_modules/@line/bot-sdk/lib/liff/model/getAllLiffAppsResponse.ts +3 -0
  591. package/node_modules/@line/bot-sdk/lib/liff/model/liffApp.ts +3 -0
  592. package/node_modules/@line/bot-sdk/lib/liff/model/liffFeatures.ts +4 -1
  593. package/node_modules/@line/bot-sdk/lib/line-bot-client.generated.ts +984 -600
  594. package/node_modules/@line/bot-sdk/lib/line-bot-client.ts +1 -1
  595. package/node_modules/@line/bot-sdk/lib/manage-audience/.openapi-generator/FILES +0 -2
  596. package/node_modules/@line/bot-sdk/lib/manage-audience/api/manageAudienceBlobClient.ts +42 -12
  597. package/node_modules/@line/bot-sdk/lib/manage-audience/api/manageAudienceClient.ts +154 -70
  598. package/node_modules/@line/bot-sdk/lib/manage-audience/model/addAudienceToAudienceGroupRequest.ts +1 -1
  599. package/node_modules/@line/bot-sdk/lib/manage-audience/model/createAudienceGroupRequest.ts +2 -2
  600. package/node_modules/@line/bot-sdk/lib/manage-audience/model/createClickBasedAudienceGroupRequest.ts +2 -2
  601. package/node_modules/@line/bot-sdk/lib/manage-audience/model/createClickBasedAudienceGroupResponse.ts +1 -1
  602. package/node_modules/@line/bot-sdk/lib/manage-audience/model/createImpBasedAudienceGroupRequest.ts +2 -2
  603. package/node_modules/@line/bot-sdk/lib/manage-audience/model/getAudienceDataResponse.ts +1 -1
  604. package/node_modules/@line/bot-sdk/lib/manage-audience/model/getSharedAudienceDataResponse.ts +1 -1
  605. package/node_modules/@line/bot-sdk/lib/manage-audience/model/updateAudienceGroupDescriptionRequest.ts +2 -2
  606. package/node_modules/@line/bot-sdk/lib/messaging-api/.openapi-generator/FILES +0 -2
  607. package/node_modules/@line/bot-sdk/lib/messaging-api/api/messagingApiBlobClient.ts +69 -30
  608. package/node_modules/@line/bot-sdk/lib/messaging-api/api/messagingApiClient.ts +681 -474
  609. package/node_modules/@line/bot-sdk/lib/messaging-api/model/altUri.ts +2 -2
  610. package/node_modules/@line/bot-sdk/lib/messaging-api/model/broadcastRequest.ts +3 -3
  611. package/node_modules/@line/bot-sdk/lib/messaging-api/model/cashBackPercentagePriceInfoRequest.ts +2 -2
  612. package/node_modules/@line/bot-sdk/lib/messaging-api/model/clipboardAction.ts +2 -2
  613. package/node_modules/@line/bot-sdk/lib/messaging-api/model/clipboardImagemapAction.ts +2 -2
  614. package/node_modules/@line/bot-sdk/lib/messaging-api/model/couponCreateRequest.ts +7 -7
  615. package/node_modules/@line/bot-sdk/lib/messaging-api/model/couponMessage.ts +1 -1
  616. package/node_modules/@line/bot-sdk/lib/messaging-api/model/createRichMenuAliasRequest.ts +3 -3
  617. package/node_modules/@line/bot-sdk/lib/messaging-api/model/datetimePickerAction.ts +2 -2
  618. package/node_modules/@line/bot-sdk/lib/messaging-api/model/discountPercentagePriceInfoRequest.ts +2 -2
  619. package/node_modules/@line/bot-sdk/lib/messaging-api/model/errorResponse.ts +2 -2
  620. package/node_modules/@line/bot-sdk/lib/messaging-api/model/flexImage.ts +2 -2
  621. package/node_modules/@line/bot-sdk/lib/messaging-api/model/getFollowersResponse.ts +1 -1
  622. package/node_modules/@line/bot-sdk/lib/messaging-api/model/getJoinedMembershipUsersResponse.ts +1 -1
  623. package/node_modules/@line/bot-sdk/lib/messaging-api/model/getMembershipSubscriptionResponse.ts +1 -1
  624. package/node_modules/@line/bot-sdk/lib/messaging-api/model/limit.ts +3 -3
  625. package/node_modules/@line/bot-sdk/lib/messaging-api/model/lotteryAcquisitionConditionRequest.ts +3 -3
  626. package/node_modules/@line/bot-sdk/lib/messaging-api/model/membersIdsResponse.ts +1 -1
  627. package/node_modules/@line/bot-sdk/lib/messaging-api/model/membership.ts +1 -1
  628. package/node_modules/@line/bot-sdk/lib/messaging-api/model/membershipListResponse.ts +1 -1
  629. package/node_modules/@line/bot-sdk/lib/messaging-api/model/multicastRequest.ts +6 -6
  630. package/node_modules/@line/bot-sdk/lib/messaging-api/model/narrowcastRequest.ts +3 -3
  631. package/node_modules/@line/bot-sdk/lib/messaging-api/model/pnpMessagesRequest.ts +3 -3
  632. package/node_modules/@line/bot-sdk/lib/messaging-api/model/postbackAction.ts +2 -2
  633. package/node_modules/@line/bot-sdk/lib/messaging-api/model/pushMessageRequest.ts +3 -3
  634. package/node_modules/@line/bot-sdk/lib/messaging-api/model/pushMessageResponse.ts +2 -2
  635. package/node_modules/@line/bot-sdk/lib/messaging-api/model/quickReply.ts +1 -1
  636. package/node_modules/@line/bot-sdk/lib/messaging-api/model/quickReplyItem.ts +2 -2
  637. package/node_modules/@line/bot-sdk/lib/messaging-api/model/replyMessageRequest.ts +3 -3
  638. package/node_modules/@line/bot-sdk/lib/messaging-api/model/replyMessageResponse.ts +2 -2
  639. package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuBatchRequest.ts +4 -4
  640. package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuBounds.ts +8 -8
  641. package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuBulkLinkRequest.ts +2 -2
  642. package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuBulkUnlinkRequest.ts +2 -2
  643. package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuRequest.ts +2 -2
  644. package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuResponse.ts +6 -3
  645. package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuSize.ts +4 -4
  646. package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuSwitchAction.ts +4 -4
  647. package/node_modules/@line/bot-sdk/lib/messaging-api/model/sender.ts +2 -2
  648. package/node_modules/@line/bot-sdk/lib/messaging-api/model/setWebhookEndpointRequest.ts +2 -2
  649. package/node_modules/@line/bot-sdk/lib/messaging-api/model/showLoadingAnimationRequest.ts +2 -2
  650. package/node_modules/@line/bot-sdk/lib/messaging-api/model/subscribedMembershipPlan.ts +1 -1
  651. package/node_modules/@line/bot-sdk/lib/messaging-api/model/testWebhookEndpointRequest.ts +2 -2
  652. package/node_modules/@line/bot-sdk/lib/messaging-api/model/validateMessageRequest.ts +2 -2
  653. package/node_modules/@line/bot-sdk/lib/middleware.ts +1 -1
  654. package/node_modules/@line/bot-sdk/lib/module/.openapi-generator/FILES +0 -1
  655. package/node_modules/@line/bot-sdk/lib/module/api/lineModuleClient.ts +68 -29
  656. package/node_modules/@line/bot-sdk/lib/module/model/acquireChatControlRequest.ts +1 -1
  657. package/node_modules/@line/bot-sdk/lib/module-attach/.openapi-generator/FILES +0 -1
  658. package/node_modules/@line/bot-sdk/lib/module-attach/api/lineModuleAttachClient.ts +61 -11
  659. package/node_modules/@line/bot-sdk/lib/module-attach/model/attachModuleResponse.ts +1 -0
  660. package/node_modules/@line/bot-sdk/lib/shop/.openapi-generator/FILES +0 -1
  661. package/node_modules/@line/bot-sdk/lib/shop/api/shopClient.ts +33 -6
  662. package/node_modules/@line/bot-sdk/lib/version.ts +1 -1
  663. package/node_modules/@line/bot-sdk/lib/webhook/.openapi-generator/FILES +0 -1
  664. package/node_modules/@line/bot-sdk/lib/webhook/model/accountLinkEvent.ts +1 -0
  665. package/node_modules/@line/bot-sdk/lib/webhook/model/activatedEvent.ts +1 -0
  666. package/node_modules/@line/bot-sdk/lib/webhook/model/attachedModuleContent.ts +3 -0
  667. package/node_modules/@line/bot-sdk/lib/webhook/model/audioMessageContent.ts +3 -0
  668. package/node_modules/@line/bot-sdk/lib/webhook/model/beaconContent.ts +3 -0
  669. package/node_modules/@line/bot-sdk/lib/webhook/model/beaconEvent.ts +1 -0
  670. package/node_modules/@line/bot-sdk/lib/webhook/model/botResumedEvent.ts +1 -0
  671. package/node_modules/@line/bot-sdk/lib/webhook/model/botSuspendedEvent.ts +1 -0
  672. package/node_modules/@line/bot-sdk/lib/webhook/model/callbackRequest.ts +3 -3
  673. package/node_modules/@line/bot-sdk/lib/webhook/model/chatControl.ts +3 -0
  674. package/node_modules/@line/bot-sdk/lib/webhook/model/deactivatedEvent.ts +1 -0
  675. package/node_modules/@line/bot-sdk/lib/webhook/model/detachedModuleContent.ts +3 -0
  676. package/node_modules/@line/bot-sdk/lib/webhook/model/fileMessageContent.ts +3 -0
  677. package/node_modules/@line/bot-sdk/lib/webhook/model/followDetail.ts +3 -0
  678. package/node_modules/@line/bot-sdk/lib/webhook/model/followEvent.ts +1 -0
  679. package/node_modules/@line/bot-sdk/lib/webhook/model/imageMessageContent.ts +3 -0
  680. package/node_modules/@line/bot-sdk/lib/webhook/model/joinEvent.ts +1 -0
  681. package/node_modules/@line/bot-sdk/lib/webhook/model/joinedMembers.ts +3 -0
  682. package/node_modules/@line/bot-sdk/lib/webhook/model/leaveEvent.ts +1 -0
  683. package/node_modules/@line/bot-sdk/lib/webhook/model/leftMembers.ts +3 -0
  684. package/node_modules/@line/bot-sdk/lib/webhook/model/linkContent.ts +1 -0
  685. package/node_modules/@line/bot-sdk/lib/webhook/model/locationMessageContent.ts +3 -0
  686. package/node_modules/@line/bot-sdk/lib/webhook/model/memberJoinedEvent.ts +1 -0
  687. package/node_modules/@line/bot-sdk/lib/webhook/model/memberLeftEvent.ts +1 -0
  688. package/node_modules/@line/bot-sdk/lib/webhook/model/membershipContent.ts +1 -0
  689. package/node_modules/@line/bot-sdk/lib/webhook/model/membershipEvent.ts +1 -0
  690. package/node_modules/@line/bot-sdk/lib/webhook/model/messageEvent.ts +1 -0
  691. package/node_modules/@line/bot-sdk/lib/webhook/model/moduleContent.ts +3 -0
  692. package/node_modules/@line/bot-sdk/lib/webhook/model/moduleEvent.ts +1 -0
  693. package/node_modules/@line/bot-sdk/lib/webhook/model/pnpDelivery.ts +1 -0
  694. package/node_modules/@line/bot-sdk/lib/webhook/model/pnpDeliveryCompletionEvent.ts +1 -0
  695. package/node_modules/@line/bot-sdk/lib/webhook/model/postbackContent.ts +3 -0
  696. package/node_modules/@line/bot-sdk/lib/webhook/model/postbackEvent.ts +1 -0
  697. package/node_modules/@line/bot-sdk/lib/webhook/model/stickerMessageContent.ts +2 -2
  698. package/node_modules/@line/bot-sdk/lib/webhook/model/textMessageContent.ts +3 -0
  699. package/node_modules/@line/bot-sdk/lib/webhook/model/unfollowEvent.ts +1 -0
  700. package/node_modules/@line/bot-sdk/lib/webhook/model/unsendDetail.ts +3 -0
  701. package/node_modules/@line/bot-sdk/lib/webhook/model/unsendEvent.ts +1 -0
  702. package/node_modules/@line/bot-sdk/lib/webhook/model/videoMessageContent.ts +3 -0
  703. package/node_modules/@line/bot-sdk/lib/webhook/model/videoPlayComplete.ts +3 -0
  704. package/node_modules/@line/bot-sdk/lib/webhook/model/videoPlayCompleteEvent.ts +1 -0
  705. package/node_modules/@line/bot-sdk/package.json +8 -9
  706. package/node_modules/@types/node/README.md +1 -1
  707. package/node_modules/@types/node/http2.d.ts +1 -0
  708. package/node_modules/@types/node/package.json +2 -2
  709. package/npm-shrinkwrap.json +10 -10
  710. package/package.json +5 -5
  711. package/dist/channel.runtime-KvcDpasA.js +0 -4
  712. package/dist/monitor.runtime-njiPADBe.js +0 -2
@@ -78,8 +78,19 @@ import HTTPFetchClient, {
78
78
  // ===============================================
79
79
 
80
80
  interface httpClientConfig {
81
+ /**
82
+ * Base URL for requests.
83
+ * Defaults to 'https://api.line.me'.
84
+ * You can override this for testing or to use a mock server.
85
+ */
81
86
  baseURL?: string;
87
+ /**
88
+ * Channel access token used for authorization.
89
+ */
82
90
  channelAccessToken: string;
91
+ /**
92
+ * Extra headers merged into every request.
93
+ */
83
94
  defaultHeaders?: Record<string, string>;
84
95
  }
85
96
 
@@ -90,6 +101,19 @@ interface httpClientConfig {
90
101
  export class MessagingApiClient {
91
102
  private httpClient: HTTPFetchClient;
92
103
 
104
+ /**
105
+ * Initializes a new `MessagingApiClient`.
106
+ *
107
+ * @param config Configuration for this API client.
108
+ * @param config.baseURL The base URL for requests. Defaults to `https://api.line.me`.
109
+ * @param config.channelAccessToken The channel access token used for authorization.
110
+ * @param config.defaultHeaders Extra headers merged into every request.
111
+ *
112
+ * @example
113
+ * const client = new MessagingApiClient({
114
+ * channelAccessToken: process.env.LINE_CHANNEL_ACCESS_TOKEN!,
115
+ * });
116
+ */
93
117
  constructor(config: httpClientConfig) {
94
118
  const baseURL = config.baseURL || "https://api.line.me";
95
119
  const defaultHeaders = mergeHeaders(config.defaultHeaders, {
@@ -103,10 +127,12 @@ export class MessagingApiClient {
103
127
 
104
128
  /**
105
129
  * Sends a message to multiple users at any time.
130
+ * Calls `POST https://api.line.me/v2/bot/message/broadcast`.
131
+ * To inspect the HTTP status code or response headers, use {@link broadcastWithHttpInfo}.
106
132
  * @param broadcastRequest
107
133
  * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
108
- *
109
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message"> Documentation</a>
134
+ * @returns A promise resolving to the response body.
135
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">LINE Developers documentation</a>
110
136
  */
111
137
  public async broadcast(
112
138
  broadcastRequest: BroadcastRequest,
@@ -117,12 +143,13 @@ export class MessagingApiClient {
117
143
  }
118
144
 
119
145
  /**
120
- * Sends a message to multiple users at any time..
121
- * This method includes HttpInfo object to return additional information.
146
+ * Sends a message to multiple users at any time.
147
+ * Calls `POST https://api.line.me/v2/bot/message/broadcast`.
148
+ * This method returns the response body together with the underlying `httpResponse`.
122
149
  * @param broadcastRequest
123
150
  * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
124
- *
125
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message"> Documentation</a>
151
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
152
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">LINE Developers documentation</a>
126
153
  */
127
154
  public async broadcastWithHttpInfo(
128
155
  broadcastRequest: BroadcastRequest,
@@ -145,18 +172,21 @@ export class MessagingApiClient {
145
172
  }
146
173
  /**
147
174
  * Cancel default rich menu
148
- *
149
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu"> Documentation</a>
175
+ * Calls `DELETE https://api.line.me/v2/bot/user/all/richmenu`.
176
+ * To inspect the HTTP status code or response headers, use {@link cancelDefaultRichMenuWithHttpInfo}.
177
+ * @returns A promise resolving to the response body.
178
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu">LINE Developers documentation</a>
150
179
  */
151
180
  public async cancelDefaultRichMenu(): Promise<Types.MessageAPIResponseBase> {
152
181
  return (await this.cancelDefaultRichMenuWithHttpInfo()).body;
153
182
  }
154
183
 
155
184
  /**
156
- * Cancel default rich menu.
157
- * This method includes HttpInfo object to return additional information.
158
- *
159
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu"> Documentation</a>
185
+ * Cancel default rich menu
186
+ * Calls `DELETE https://api.line.me/v2/bot/user/all/richmenu`.
187
+ * This method returns the response body together with the underlying `httpResponse`.
188
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
189
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu">LINE Developers documentation</a>
160
190
  */
161
191
  public async cancelDefaultRichMenuWithHttpInfo(): Promise<
162
192
  Types.ApiResponseType<Types.MessageAPIResponseBase>
@@ -168,9 +198,11 @@ export class MessagingApiClient {
168
198
  }
169
199
  /**
170
200
  * Close coupon
201
+ * Calls `PUT https://api.line.me/v2/bot/coupon/{couponId}/close`.
202
+ * To inspect the HTTP status code or response headers, use {@link closeCouponWithHttpInfo}.
171
203
  * @param couponId
172
- *
173
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon"> Documentation</a>
204
+ * @returns A promise resolving to the response body.
205
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">LINE Developers documentation</a>
174
206
  */
175
207
  public async closeCoupon(
176
208
  couponId: string,
@@ -179,11 +211,12 @@ export class MessagingApiClient {
179
211
  }
180
212
 
181
213
  /**
182
- * Close coupon.
183
- * This method includes HttpInfo object to return additional information.
214
+ * Close coupon
215
+ * Calls `PUT https://api.line.me/v2/bot/coupon/{couponId}/close`.
216
+ * This method returns the response body together with the underlying `httpResponse`.
184
217
  * @param couponId
185
- *
186
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon"> Documentation</a>
218
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
219
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">LINE Developers documentation</a>
187
220
  */
188
221
  public async closeCouponWithHttpInfo(
189
222
  couponId: string,
@@ -199,9 +232,11 @@ export class MessagingApiClient {
199
232
  }
200
233
  /**
201
234
  * Create a new coupon. Define coupon details such as type, title, and validity period.
235
+ * Calls `POST https://api.line.me/v2/bot/coupon`.
236
+ * To inspect the HTTP status code or response headers, use {@link createCouponWithHttpInfo}.
202
237
  * @param couponCreateRequest
203
- *
204
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon"> Documentation</a>
238
+ * @returns A promise resolving to the response body.
239
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">LINE Developers documentation</a>
205
240
  */
206
241
  public async createCoupon(
207
242
  couponCreateRequest?: CouponCreateRequest,
@@ -210,11 +245,12 @@ export class MessagingApiClient {
210
245
  }
211
246
 
212
247
  /**
213
- * Create a new coupon. Define coupon details such as type, title, and validity period..
214
- * This method includes HttpInfo object to return additional information.
248
+ * Create a new coupon. Define coupon details such as type, title, and validity period.
249
+ * Calls `POST https://api.line.me/v2/bot/coupon`.
250
+ * This method returns the response body together with the underlying `httpResponse`.
215
251
  * @param couponCreateRequest
216
- *
217
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon"> Documentation</a>
252
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
253
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">LINE Developers documentation</a>
218
254
  */
219
255
  public async createCouponWithHttpInfo(
220
256
  couponCreateRequest?: CouponCreateRequest,
@@ -228,9 +264,11 @@ export class MessagingApiClient {
228
264
  }
229
265
  /**
230
266
  * Create rich menu
267
+ * Calls `POST https://api.line.me/v2/bot/richmenu`.
268
+ * To inspect the HTTP status code or response headers, use {@link createRichMenuWithHttpInfo}.
231
269
  * @param richMenuRequest
232
- *
233
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu"> Documentation</a>
270
+ * @returns A promise resolving to the response body.
271
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">LINE Developers documentation</a>
234
272
  */
235
273
  public async createRichMenu(
236
274
  richMenuRequest: RichMenuRequest,
@@ -239,11 +277,12 @@ export class MessagingApiClient {
239
277
  }
240
278
 
241
279
  /**
242
- * Create rich menu.
243
- * This method includes HttpInfo object to return additional information.
280
+ * Create rich menu
281
+ * Calls `POST https://api.line.me/v2/bot/richmenu`.
282
+ * This method returns the response body together with the underlying `httpResponse`.
244
283
  * @param richMenuRequest
245
- *
246
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu"> Documentation</a>
284
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
285
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">LINE Developers documentation</a>
247
286
  */
248
287
  public async createRichMenuWithHttpInfo(
249
288
  richMenuRequest: RichMenuRequest,
@@ -257,9 +296,11 @@ export class MessagingApiClient {
257
296
  }
258
297
  /**
259
298
  * Create rich menu alias
299
+ * Calls `POST https://api.line.me/v2/bot/richmenu/alias`.
300
+ * To inspect the HTTP status code or response headers, use {@link createRichMenuAliasWithHttpInfo}.
260
301
  * @param createRichMenuAliasRequest
261
- *
262
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias"> Documentation</a>
302
+ * @returns A promise resolving to the response body.
303
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">LINE Developers documentation</a>
263
304
  */
264
305
  public async createRichMenuAlias(
265
306
  createRichMenuAliasRequest: CreateRichMenuAliasRequest,
@@ -270,11 +311,12 @@ export class MessagingApiClient {
270
311
  }
271
312
 
272
313
  /**
273
- * Create rich menu alias.
274
- * This method includes HttpInfo object to return additional information.
314
+ * Create rich menu alias
315
+ * Calls `POST https://api.line.me/v2/bot/richmenu/alias`.
316
+ * This method returns the response body together with the underlying `httpResponse`.
275
317
  * @param createRichMenuAliasRequest
276
- *
277
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias"> Documentation</a>
318
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
319
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">LINE Developers documentation</a>
278
320
  */
279
321
  public async createRichMenuAliasWithHttpInfo(
280
322
  createRichMenuAliasRequest: CreateRichMenuAliasRequest,
@@ -288,9 +330,11 @@ export class MessagingApiClient {
288
330
  }
289
331
  /**
290
332
  * Deletes a rich menu.
333
+ * Calls `DELETE https://api.line.me/v2/bot/richmenu/{richMenuId}`.
334
+ * To inspect the HTTP status code or response headers, use {@link deleteRichMenuWithHttpInfo}.
291
335
  * @param richMenuId ID of a rich menu
292
- *
293
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu"> Documentation</a>
336
+ * @returns A promise resolving to the response body.
337
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu">LINE Developers documentation</a>
294
338
  */
295
339
  public async deleteRichMenu(
296
340
  richMenuId: string,
@@ -299,11 +343,12 @@ export class MessagingApiClient {
299
343
  }
300
344
 
301
345
  /**
302
- * Deletes a rich menu..
303
- * This method includes HttpInfo object to return additional information.
346
+ * Deletes a rich menu.
347
+ * Calls `DELETE https://api.line.me/v2/bot/richmenu/{richMenuId}`.
348
+ * This method returns the response body together with the underlying `httpResponse`.
304
349
  * @param richMenuId ID of a rich menu
305
- *
306
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu"> Documentation</a>
350
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
351
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu">LINE Developers documentation</a>
307
352
  */
308
353
  public async deleteRichMenuWithHttpInfo(
309
354
  richMenuId: string,
@@ -319,9 +364,11 @@ export class MessagingApiClient {
319
364
  }
320
365
  /**
321
366
  * Delete rich menu alias
367
+ * Calls `DELETE https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
368
+ * To inspect the HTTP status code or response headers, use {@link deleteRichMenuAliasWithHttpInfo}.
322
369
  * @param richMenuAliasId Rich menu alias ID that you want to delete.
323
- *
324
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias"> Documentation</a>
370
+ * @returns A promise resolving to the response body.
371
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">LINE Developers documentation</a>
325
372
  */
326
373
  public async deleteRichMenuAlias(
327
374
  richMenuAliasId: string,
@@ -330,11 +377,12 @@ export class MessagingApiClient {
330
377
  }
331
378
 
332
379
  /**
333
- * Delete rich menu alias.
334
- * This method includes HttpInfo object to return additional information.
380
+ * Delete rich menu alias
381
+ * Calls `DELETE https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
382
+ * This method returns the response body together with the underlying `httpResponse`.
335
383
  * @param richMenuAliasId Rich menu alias ID that you want to delete.
336
- *
337
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias"> Documentation</a>
384
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
385
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">LINE Developers documentation</a>
338
386
  */
339
387
  public async deleteRichMenuAliasWithHttpInfo(
340
388
  richMenuAliasId: string,
@@ -350,10 +398,12 @@ export class MessagingApiClient {
350
398
  }
351
399
  /**
352
400
  * Get name list of units used this month
401
+ * Calls `GET https://api.line.me/v2/bot/message/aggregation/list`.
402
+ * To inspect the HTTP status code or response headers, use {@link getAggregationUnitNameListWithHttpInfo}.
353
403
  * @param limit The maximum number of aggregation units you can get per request.
354
404
  * @param start Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all the aggregation units in one request, include this parameter to get the remaining array.
355
- *
356
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month"> Documentation</a>
405
+ * @returns A promise resolving to the response body.
406
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">LINE Developers documentation</a>
357
407
  */
358
408
  public async getAggregationUnitNameList(
359
409
  limit?: string,
@@ -364,12 +414,13 @@ export class MessagingApiClient {
364
414
  }
365
415
 
366
416
  /**
367
- * Get name list of units used this month.
368
- * This method includes HttpInfo object to return additional information.
417
+ * Get name list of units used this month
418
+ * Calls `GET https://api.line.me/v2/bot/message/aggregation/list`.
419
+ * This method returns the response body together with the underlying `httpResponse`.
369
420
  * @param limit The maximum number of aggregation units you can get per request.
370
421
  * @param start Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all the aggregation units in one request, include this parameter to get the remaining array.
371
- *
372
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month"> Documentation</a>
422
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
423
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">LINE Developers documentation</a>
373
424
  */
374
425
  public async getAggregationUnitNameListWithHttpInfo(
375
426
  limit?: string,
@@ -379,11 +430,14 @@ export class MessagingApiClient {
379
430
  limit: limit,
380
431
  start: start,
381
432
  };
382
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
383
- if (queryParams[key] === undefined) {
384
- delete queryParams[key];
385
- }
386
- });
433
+
434
+ if (queryParams["limit"] === undefined) {
435
+ delete queryParams["limit"];
436
+ }
437
+
438
+ if (queryParams["start"] === undefined) {
439
+ delete queryParams["start"];
440
+ }
387
441
 
388
442
  const res = await this.httpClient.get(
389
443
  "/v2/bot/message/aggregation/list",
@@ -395,18 +449,21 @@ export class MessagingApiClient {
395
449
  }
396
450
  /**
397
451
  * Get number of units used this month
398
- *
399
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month"> Documentation</a>
452
+ * Calls `GET https://api.line.me/v2/bot/message/aggregation/info`.
453
+ * To inspect the HTTP status code or response headers, use {@link getAggregationUnitUsageWithHttpInfo}.
454
+ * @returns A promise resolving to the response body.
455
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month">LINE Developers documentation</a>
400
456
  */
401
457
  public async getAggregationUnitUsage(): Promise<GetAggregationUnitUsageResponse> {
402
458
  return (await this.getAggregationUnitUsageWithHttpInfo()).body;
403
459
  }
404
460
 
405
461
  /**
406
- * Get number of units used this month.
407
- * This method includes HttpInfo object to return additional information.
408
- *
409
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month"> Documentation</a>
462
+ * Get number of units used this month
463
+ * Calls `GET https://api.line.me/v2/bot/message/aggregation/info`.
464
+ * This method returns the response body together with the underlying `httpResponse`.
465
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
466
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month">LINE Developers documentation</a>
410
467
  */
411
468
  public async getAggregationUnitUsageWithHttpInfo(): Promise<
412
469
  Types.ApiResponseType<GetAggregationUnitUsageResponse>
@@ -418,18 +475,21 @@ export class MessagingApiClient {
418
475
  }
419
476
  /**
420
477
  * Get bot info
421
- *
422
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info"> Documentation</a>
478
+ * Calls `GET https://api.line.me/v2/bot/info`.
479
+ * To inspect the HTTP status code or response headers, use {@link getBotInfoWithHttpInfo}.
480
+ * @returns A promise resolving to the response body.
481
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">LINE Developers documentation</a>
423
482
  */
424
483
  public async getBotInfo(): Promise<BotInfoResponse> {
425
484
  return (await this.getBotInfoWithHttpInfo()).body;
426
485
  }
427
486
 
428
487
  /**
429
- * Get bot info.
430
- * This method includes HttpInfo object to return additional information.
431
- *
432
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info"> Documentation</a>
488
+ * Get bot info
489
+ * Calls `GET https://api.line.me/v2/bot/info`.
490
+ * This method returns the response body together with the underlying `httpResponse`.
491
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
492
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">LINE Developers documentation</a>
433
493
  */
434
494
  public async getBotInfoWithHttpInfo(): Promise<
435
495
  Types.ApiResponseType<BotInfoResponse>
@@ -441,20 +501,23 @@ export class MessagingApiClient {
441
501
  }
442
502
  /**
443
503
  * Get coupon detail
504
+ * Calls `GET https://api.line.me/v2/bot/coupon/{couponId}`.
505
+ * To inspect the HTTP status code or response headers, use {@link getCouponDetailWithHttpInfo}.
444
506
  * @param couponId
445
- *
446
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon"> Documentation</a>
507
+ * @returns A promise resolving to the response body.
508
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">LINE Developers documentation</a>
447
509
  */
448
510
  public async getCouponDetail(couponId: string): Promise<CouponResponse> {
449
511
  return (await this.getCouponDetailWithHttpInfo(couponId)).body;
450
512
  }
451
513
 
452
514
  /**
453
- * Get coupon detail.
454
- * This method includes HttpInfo object to return additional information.
515
+ * Get coupon detail
516
+ * Calls `GET https://api.line.me/v2/bot/coupon/{couponId}`.
517
+ * This method returns the response body together with the underlying `httpResponse`.
455
518
  * @param couponId
456
- *
457
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon"> Documentation</a>
519
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
520
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">LINE Developers documentation</a>
458
521
  */
459
522
  public async getCouponDetailWithHttpInfo(
460
523
  couponId: string,
@@ -470,18 +533,21 @@ export class MessagingApiClient {
470
533
  }
471
534
  /**
472
535
  * Gets the ID of the default rich menu set with the Messaging API.
473
- *
474
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id"> Documentation</a>
536
+ * Calls `GET https://api.line.me/v2/bot/user/all/richmenu`.
537
+ * To inspect the HTTP status code or response headers, use {@link getDefaultRichMenuIdWithHttpInfo}.
538
+ * @returns A promise resolving to the response body.
539
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id">LINE Developers documentation</a>
475
540
  */
476
541
  public async getDefaultRichMenuId(): Promise<RichMenuIdResponse> {
477
542
  return (await this.getDefaultRichMenuIdWithHttpInfo()).body;
478
543
  }
479
544
 
480
545
  /**
481
- * Gets the ID of the default rich menu set with the Messaging API..
482
- * This method includes HttpInfo object to return additional information.
483
- *
484
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id"> Documentation</a>
546
+ * Gets the ID of the default rich menu set with the Messaging API.
547
+ * Calls `GET https://api.line.me/v2/bot/user/all/richmenu`.
548
+ * This method returns the response body together with the underlying `httpResponse`.
549
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
550
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id">LINE Developers documentation</a>
485
551
  */
486
552
  public async getDefaultRichMenuIdWithHttpInfo(): Promise<
487
553
  Types.ApiResponseType<RichMenuIdResponse>
@@ -493,10 +559,12 @@ export class MessagingApiClient {
493
559
  }
494
560
  /**
495
561
  * Get a list of users who added your LINE Official Account as a friend
562
+ * Calls `GET https://api.line.me/v2/bot/followers/ids`.
563
+ * To inspect the HTTP status code or response headers, use {@link getFollowersWithHttpInfo}.
496
564
  * @param start Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs.
497
565
  * @param limit The maximum number of user IDs to retrieve in a single request.
498
- *
499
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids"> Documentation</a>
566
+ * @returns A promise resolving to the response body.
567
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">LINE Developers documentation</a>
500
568
  */
501
569
  public async getFollowers(
502
570
  start?: string,
@@ -506,12 +574,13 @@ export class MessagingApiClient {
506
574
  }
507
575
 
508
576
  /**
509
- * Get a list of users who added your LINE Official Account as a friend.
510
- * This method includes HttpInfo object to return additional information.
577
+ * Get a list of users who added your LINE Official Account as a friend
578
+ * Calls `GET https://api.line.me/v2/bot/followers/ids`.
579
+ * This method returns the response body together with the underlying `httpResponse`.
511
580
  * @param start Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs.
512
581
  * @param limit The maximum number of user IDs to retrieve in a single request.
513
- *
514
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids"> Documentation</a>
582
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
583
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">LINE Developers documentation</a>
515
584
  */
516
585
  public async getFollowersWithHttpInfo(
517
586
  start?: string,
@@ -521,11 +590,14 @@ export class MessagingApiClient {
521
590
  start: start,
522
591
  limit: limit,
523
592
  };
524
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
525
- if (queryParams[key] === undefined) {
526
- delete queryParams[key];
527
- }
528
- });
593
+
594
+ if (queryParams["start"] === undefined) {
595
+ delete queryParams["start"];
596
+ }
597
+
598
+ if (queryParams["limit"] === undefined) {
599
+ delete queryParams["limit"];
600
+ }
529
601
 
530
602
  const res = await this.httpClient.get("/v2/bot/followers/ids", queryParams);
531
603
  const text = await res.text();
@@ -534,9 +606,11 @@ export class MessagingApiClient {
534
606
  }
535
607
  /**
536
608
  * Get number of users in a group chat
609
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/count`.
610
+ * To inspect the HTTP status code or response headers, use {@link getGroupMemberCountWithHttpInfo}.
537
611
  * @param groupId Group ID
538
- *
539
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count"> Documentation</a>
612
+ * @returns A promise resolving to the response body.
613
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">LINE Developers documentation</a>
540
614
  */
541
615
  public async getGroupMemberCount(
542
616
  groupId: string,
@@ -545,11 +619,12 @@ export class MessagingApiClient {
545
619
  }
546
620
 
547
621
  /**
548
- * Get number of users in a group chat.
549
- * This method includes HttpInfo object to return additional information.
622
+ * Get number of users in a group chat
623
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/count`.
624
+ * This method returns the response body together with the underlying `httpResponse`.
550
625
  * @param groupId Group ID
551
- *
552
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count"> Documentation</a>
626
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
627
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">LINE Developers documentation</a>
553
628
  */
554
629
  public async getGroupMemberCountWithHttpInfo(
555
630
  groupId: string,
@@ -565,10 +640,12 @@ export class MessagingApiClient {
565
640
  }
566
641
  /**
567
642
  * Get group chat member profile
643
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/member/{userId}`.
644
+ * To inspect the HTTP status code or response headers, use {@link getGroupMemberProfileWithHttpInfo}.
568
645
  * @param groupId Group ID
569
646
  * @param userId User ID
570
- *
571
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile"> Documentation</a>
647
+ * @returns A promise resolving to the response body.
648
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">LINE Developers documentation</a>
572
649
  */
573
650
  public async getGroupMemberProfile(
574
651
  groupId: string,
@@ -578,12 +655,13 @@ export class MessagingApiClient {
578
655
  }
579
656
 
580
657
  /**
581
- * Get group chat member profile.
582
- * This method includes HttpInfo object to return additional information.
658
+ * Get group chat member profile
659
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/member/{userId}`.
660
+ * This method returns the response body together with the underlying `httpResponse`.
583
661
  * @param groupId Group ID
584
662
  * @param userId User ID
585
- *
586
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile"> Documentation</a>
663
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
664
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">LINE Developers documentation</a>
587
665
  */
588
666
  public async getGroupMemberProfileWithHttpInfo(
589
667
  groupId: string,
@@ -601,10 +679,12 @@ export class MessagingApiClient {
601
679
  }
602
680
  /**
603
681
  * Get group chat member user IDs
682
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/ids`.
683
+ * To inspect the HTTP status code or response headers, use {@link getGroupMembersIdsWithHttpInfo}.
604
684
  * @param groupId Group ID
605
685
  * @param start Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.
606
- *
607
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids"> Documentation</a>
686
+ * @returns A promise resolving to the response body.
687
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">LINE Developers documentation</a>
608
688
  */
609
689
  public async getGroupMembersIds(
610
690
  groupId: string,
@@ -614,12 +694,13 @@ export class MessagingApiClient {
614
694
  }
615
695
 
616
696
  /**
617
- * Get group chat member user IDs.
618
- * This method includes HttpInfo object to return additional information.
697
+ * Get group chat member user IDs
698
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/ids`.
699
+ * This method returns the response body together with the underlying `httpResponse`.
619
700
  * @param groupId Group ID
620
701
  * @param start Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.
621
- *
622
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids"> Documentation</a>
702
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
703
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">LINE Developers documentation</a>
623
704
  */
624
705
  public async getGroupMembersIdsWithHttpInfo(
625
706
  groupId: string,
@@ -632,11 +713,10 @@ export class MessagingApiClient {
632
713
  const queryParams = {
633
714
  start: start,
634
715
  };
635
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
636
- if (queryParams[key] === undefined) {
637
- delete queryParams[key];
638
- }
639
- });
716
+
717
+ if (queryParams["start"] === undefined) {
718
+ delete queryParams["start"];
719
+ }
640
720
 
641
721
  const res = await this.httpClient.get(requestPath, queryParams);
642
722
  const text = await res.text();
@@ -645,20 +725,23 @@ export class MessagingApiClient {
645
725
  }
646
726
  /**
647
727
  * Get group chat summary
728
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/summary`.
729
+ * To inspect the HTTP status code or response headers, use {@link getGroupSummaryWithHttpInfo}.
648
730
  * @param groupId Group ID
649
- *
650
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary"> Documentation</a>
731
+ * @returns A promise resolving to the response body.
732
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">LINE Developers documentation</a>
651
733
  */
652
734
  public async getGroupSummary(groupId: string): Promise<GroupSummaryResponse> {
653
735
  return (await this.getGroupSummaryWithHttpInfo(groupId)).body;
654
736
  }
655
737
 
656
738
  /**
657
- * Get group chat summary.
658
- * This method includes HttpInfo object to return additional information.
739
+ * Get group chat summary
740
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/summary`.
741
+ * This method returns the response body together with the underlying `httpResponse`.
659
742
  * @param groupId Group ID
660
- *
661
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary"> Documentation</a>
743
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
744
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">LINE Developers documentation</a>
662
745
  */
663
746
  public async getGroupSummaryWithHttpInfo(
664
747
  groupId: string,
@@ -674,11 +757,13 @@ export class MessagingApiClient {
674
757
  }
675
758
  /**
676
759
  * Get a list of user IDs who joined the membership.
760
+ * Calls `GET https://api.line.me/v2/bot/membership/{membershipId}/users/ids`.
761
+ * To inspect the HTTP status code or response headers, use {@link getJoinedMembershipUsersWithHttpInfo}.
677
762
  * @param membershipId Membership plan ID.
678
763
  * @param start A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds).
679
764
  * @param limit The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000.
680
- *
681
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids"> Documentation</a>
765
+ * @returns A promise resolving to the response body.
766
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">LINE Developers documentation</a>
682
767
  */
683
768
  public async getJoinedMembershipUsers(
684
769
  membershipId: number,
@@ -695,13 +780,14 @@ export class MessagingApiClient {
695
780
  }
696
781
 
697
782
  /**
698
- * Get a list of user IDs who joined the membership..
699
- * This method includes HttpInfo object to return additional information.
783
+ * Get a list of user IDs who joined the membership.
784
+ * Calls `GET https://api.line.me/v2/bot/membership/{membershipId}/users/ids`.
785
+ * This method returns the response body together with the underlying `httpResponse`.
700
786
  * @param membershipId Membership plan ID.
701
787
  * @param start A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds).
702
788
  * @param limit The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000.
703
- *
704
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids"> Documentation</a>
789
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
790
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">LINE Developers documentation</a>
705
791
  */
706
792
  public async getJoinedMembershipUsersWithHttpInfo(
707
793
  membershipId: number,
@@ -719,11 +805,14 @@ export class MessagingApiClient {
719
805
  start: start,
720
806
  limit: limit,
721
807
  };
722
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
723
- if (queryParams[key] === undefined) {
724
- delete queryParams[key];
725
- }
726
- });
808
+
809
+ if (queryParams["start"] === undefined) {
810
+ delete queryParams["start"];
811
+ }
812
+
813
+ if (queryParams["limit"] === undefined) {
814
+ delete queryParams["limit"];
815
+ }
727
816
 
728
817
  const res = await this.httpClient.get(requestPath, queryParams);
729
818
  const text = await res.text();
@@ -732,18 +821,21 @@ export class MessagingApiClient {
732
821
  }
733
822
  /**
734
823
  * Get a list of memberships.
735
- *
736
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans"> Documentation</a>
824
+ * Calls `GET https://api.line.me/v2/bot/membership/list`.
825
+ * To inspect the HTTP status code or response headers, use {@link getMembershipListWithHttpInfo}.
826
+ * @returns A promise resolving to the response body.
827
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans">LINE Developers documentation</a>
737
828
  */
738
829
  public async getMembershipList(): Promise<MembershipListResponse> {
739
830
  return (await this.getMembershipListWithHttpInfo()).body;
740
831
  }
741
832
 
742
833
  /**
743
- * Get a list of memberships..
744
- * This method includes HttpInfo object to return additional information.
745
- *
746
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans"> Documentation</a>
834
+ * Get a list of memberships.
835
+ * Calls `GET https://api.line.me/v2/bot/membership/list`.
836
+ * This method returns the response body together with the underlying `httpResponse`.
837
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
838
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans">LINE Developers documentation</a>
747
839
  */
748
840
  public async getMembershipListWithHttpInfo(): Promise<
749
841
  Types.ApiResponseType<MembershipListResponse>
@@ -755,9 +847,11 @@ export class MessagingApiClient {
755
847
  }
756
848
  /**
757
849
  * Get a user's membership subscription.
850
+ * Calls `GET https://api.line.me/v2/bot/membership/subscription/{userId}`.
851
+ * To inspect the HTTP status code or response headers, use {@link getMembershipSubscriptionWithHttpInfo}.
758
852
  * @param userId User ID
759
- *
760
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status"> Documentation</a>
853
+ * @returns A promise resolving to the response body.
854
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status">LINE Developers documentation</a>
761
855
  */
762
856
  public async getMembershipSubscription(
763
857
  userId: string,
@@ -766,11 +860,12 @@ export class MessagingApiClient {
766
860
  }
767
861
 
768
862
  /**
769
- * Get a user's membership subscription..
770
- * This method includes HttpInfo object to return additional information.
863
+ * Get a user's membership subscription.
864
+ * Calls `GET https://api.line.me/v2/bot/membership/subscription/{userId}`.
865
+ * This method returns the response body together with the underlying `httpResponse`.
771
866
  * @param userId User ID
772
- *
773
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status"> Documentation</a>
867
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
868
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status">LINE Developers documentation</a>
774
869
  */
775
870
  public async getMembershipSubscriptionWithHttpInfo(
776
871
  userId: string,
@@ -786,18 +881,21 @@ export class MessagingApiClient {
786
881
  }
787
882
  /**
788
883
  * Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
789
- *
790
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota"> Documentation</a>
884
+ * Calls `GET https://api.line.me/v2/bot/message/quota`.
885
+ * To inspect the HTTP status code or response headers, use {@link getMessageQuotaWithHttpInfo}.
886
+ * @returns A promise resolving to the response body.
887
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota">LINE Developers documentation</a>
791
888
  */
792
889
  public async getMessageQuota(): Promise<MessageQuotaResponse> {
793
890
  return (await this.getMessageQuotaWithHttpInfo()).body;
794
891
  }
795
892
 
796
893
  /**
797
- * Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned..
798
- * This method includes HttpInfo object to return additional information.
799
- *
800
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota"> Documentation</a>
894
+ * Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
895
+ * Calls `GET https://api.line.me/v2/bot/message/quota`.
896
+ * This method returns the response body together with the underlying `httpResponse`.
897
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
898
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota">LINE Developers documentation</a>
801
899
  */
802
900
  public async getMessageQuotaWithHttpInfo(): Promise<
803
901
  Types.ApiResponseType<MessageQuotaResponse>
@@ -809,18 +907,21 @@ export class MessagingApiClient {
809
907
  }
810
908
  /**
811
909
  * Gets the number of messages sent in the current month.
812
- *
813
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption"> Documentation</a>
910
+ * Calls `GET https://api.line.me/v2/bot/message/quota/consumption`.
911
+ * To inspect the HTTP status code or response headers, use {@link getMessageQuotaConsumptionWithHttpInfo}.
912
+ * @returns A promise resolving to the response body.
913
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption">LINE Developers documentation</a>
814
914
  */
815
915
  public async getMessageQuotaConsumption(): Promise<QuotaConsumptionResponse> {
816
916
  return (await this.getMessageQuotaConsumptionWithHttpInfo()).body;
817
917
  }
818
918
 
819
919
  /**
820
- * Gets the number of messages sent in the current month..
821
- * This method includes HttpInfo object to return additional information.
822
- *
823
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption"> Documentation</a>
920
+ * Gets the number of messages sent in the current month.
921
+ * Calls `GET https://api.line.me/v2/bot/message/quota/consumption`.
922
+ * This method returns the response body together with the underlying `httpResponse`.
923
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
924
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption">LINE Developers documentation</a>
824
925
  */
825
926
  public async getMessageQuotaConsumptionWithHttpInfo(): Promise<
826
927
  Types.ApiResponseType<QuotaConsumptionResponse>
@@ -832,9 +933,11 @@ export class MessagingApiClient {
832
933
  }
833
934
  /**
834
935
  * Gets the status of a narrowcast message.
936
+ * Calls `GET https://api.line.me/v2/bot/message/progress/narrowcast`.
937
+ * To inspect the HTTP status code or response headers, use {@link getNarrowcastProgressWithHttpInfo}.
835
938
  * @param requestId The narrowcast message's request ID. Each Messaging API request has a request ID.
836
- *
837
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status"> Documentation</a>
939
+ * @returns A promise resolving to the response body.
940
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">LINE Developers documentation</a>
838
941
  */
839
942
  public async getNarrowcastProgress(
840
943
  requestId: string,
@@ -843,11 +946,12 @@ export class MessagingApiClient {
843
946
  }
844
947
 
845
948
  /**
846
- * Gets the status of a narrowcast message..
847
- * This method includes HttpInfo object to return additional information.
949
+ * Gets the status of a narrowcast message.
950
+ * Calls `GET https://api.line.me/v2/bot/message/progress/narrowcast`.
951
+ * This method returns the response body together with the underlying `httpResponse`.
848
952
  * @param requestId The narrowcast message's request ID. Each Messaging API request has a request ID.
849
- *
850
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status"> Documentation</a>
953
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
954
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">LINE Developers documentation</a>
851
955
  */
852
956
  public async getNarrowcastProgressWithHttpInfo(
853
957
  requestId: string,
@@ -855,11 +959,6 @@ export class MessagingApiClient {
855
959
  const queryParams = {
856
960
  requestId: requestId,
857
961
  };
858
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
859
- if (queryParams[key] === undefined) {
860
- delete queryParams[key];
861
- }
862
- });
863
962
 
864
963
  const res = await this.httpClient.get(
865
964
  "/v2/bot/message/progress/narrowcast",
@@ -871,9 +970,11 @@ export class MessagingApiClient {
871
970
  }
872
971
  /**
873
972
  * Get number of sent broadcast messages
973
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/broadcast`.
974
+ * To inspect the HTTP status code or response headers, use {@link getNumberOfSentBroadcastMessagesWithHttpInfo}.
874
975
  * @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
875
- *
876
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages"> Documentation</a>
976
+ * @returns A promise resolving to the response body.
977
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">LINE Developers documentation</a>
877
978
  */
878
979
  public async getNumberOfSentBroadcastMessages(
879
980
  date: string,
@@ -882,11 +983,12 @@ export class MessagingApiClient {
882
983
  }
883
984
 
884
985
  /**
885
- * Get number of sent broadcast messages.
886
- * This method includes HttpInfo object to return additional information.
986
+ * Get number of sent broadcast messages
987
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/broadcast`.
988
+ * This method returns the response body together with the underlying `httpResponse`.
887
989
  * @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
888
- *
889
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages"> Documentation</a>
990
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
991
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">LINE Developers documentation</a>
890
992
  */
891
993
  public async getNumberOfSentBroadcastMessagesWithHttpInfo(
892
994
  date: string,
@@ -894,11 +996,6 @@ export class MessagingApiClient {
894
996
  const queryParams = {
895
997
  date: date,
896
998
  };
897
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
898
- if (queryParams[key] === undefined) {
899
- delete queryParams[key];
900
- }
901
- });
902
999
 
903
1000
  const res = await this.httpClient.get(
904
1001
  "/v2/bot/message/delivery/broadcast",
@@ -910,9 +1007,11 @@ export class MessagingApiClient {
910
1007
  }
911
1008
  /**
912
1009
  * Get number of sent multicast messages
1010
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/multicast`.
1011
+ * To inspect the HTTP status code or response headers, use {@link getNumberOfSentMulticastMessagesWithHttpInfo}.
913
1012
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
914
- *
915
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages"> Documentation</a>
1013
+ * @returns A promise resolving to the response body.
1014
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages">LINE Developers documentation</a>
916
1015
  */
917
1016
  public async getNumberOfSentMulticastMessages(
918
1017
  date: string,
@@ -921,11 +1020,12 @@ export class MessagingApiClient {
921
1020
  }
922
1021
 
923
1022
  /**
924
- * Get number of sent multicast messages.
925
- * This method includes HttpInfo object to return additional information.
1023
+ * Get number of sent multicast messages
1024
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/multicast`.
1025
+ * This method returns the response body together with the underlying `httpResponse`.
926
1026
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
927
- *
928
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages"> Documentation</a>
1027
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1028
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages">LINE Developers documentation</a>
929
1029
  */
930
1030
  public async getNumberOfSentMulticastMessagesWithHttpInfo(
931
1031
  date: string,
@@ -933,11 +1033,6 @@ export class MessagingApiClient {
933
1033
  const queryParams = {
934
1034
  date: date,
935
1035
  };
936
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
937
- if (queryParams[key] === undefined) {
938
- delete queryParams[key];
939
- }
940
- });
941
1036
 
942
1037
  const res = await this.httpClient.get(
943
1038
  "/v2/bot/message/delivery/multicast",
@@ -949,9 +1044,11 @@ export class MessagingApiClient {
949
1044
  }
950
1045
  /**
951
1046
  * Get number of sent push messages
1047
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/push`.
1048
+ * To inspect the HTTP status code or response headers, use {@link getNumberOfSentPushMessagesWithHttpInfo}.
952
1049
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
953
- *
954
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages"> Documentation</a>
1050
+ * @returns A promise resolving to the response body.
1051
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">LINE Developers documentation</a>
955
1052
  */
956
1053
  public async getNumberOfSentPushMessages(
957
1054
  date: string,
@@ -960,11 +1057,12 @@ export class MessagingApiClient {
960
1057
  }
961
1058
 
962
1059
  /**
963
- * Get number of sent push messages.
964
- * This method includes HttpInfo object to return additional information.
1060
+ * Get number of sent push messages
1061
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/push`.
1062
+ * This method returns the response body together with the underlying `httpResponse`.
965
1063
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
966
- *
967
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages"> Documentation</a>
1064
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1065
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">LINE Developers documentation</a>
968
1066
  */
969
1067
  public async getNumberOfSentPushMessagesWithHttpInfo(
970
1068
  date: string,
@@ -972,11 +1070,6 @@ export class MessagingApiClient {
972
1070
  const queryParams = {
973
1071
  date: date,
974
1072
  };
975
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
976
- if (queryParams[key] === undefined) {
977
- delete queryParams[key];
978
- }
979
- });
980
1073
 
981
1074
  const res = await this.httpClient.get(
982
1075
  "/v2/bot/message/delivery/push",
@@ -988,9 +1081,11 @@ export class MessagingApiClient {
988
1081
  }
989
1082
  /**
990
1083
  * Get number of sent reply messages
1084
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/reply`.
1085
+ * To inspect the HTTP status code or response headers, use {@link getNumberOfSentReplyMessagesWithHttpInfo}.
991
1086
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
992
- *
993
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages"> Documentation</a>
1087
+ * @returns A promise resolving to the response body.
1088
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">LINE Developers documentation</a>
994
1089
  */
995
1090
  public async getNumberOfSentReplyMessages(
996
1091
  date: string,
@@ -999,11 +1094,12 @@ export class MessagingApiClient {
999
1094
  }
1000
1095
 
1001
1096
  /**
1002
- * Get number of sent reply messages.
1003
- * This method includes HttpInfo object to return additional information.
1097
+ * Get number of sent reply messages
1098
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/reply`.
1099
+ * This method returns the response body together with the underlying `httpResponse`.
1004
1100
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
1005
- *
1006
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages"> Documentation</a>
1101
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1102
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">LINE Developers documentation</a>
1007
1103
  */
1008
1104
  public async getNumberOfSentReplyMessagesWithHttpInfo(
1009
1105
  date: string,
@@ -1011,11 +1107,6 @@ export class MessagingApiClient {
1011
1107
  const queryParams = {
1012
1108
  date: date,
1013
1109
  };
1014
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
1015
- if (queryParams[key] === undefined) {
1016
- delete queryParams[key];
1017
- }
1018
- });
1019
1110
 
1020
1111
  const res = await this.httpClient.get(
1021
1112
  "/v2/bot/message/delivery/reply",
@@ -1027,9 +1118,11 @@ export class MessagingApiClient {
1027
1118
  }
1028
1119
  /**
1029
1120
  * Get number of sent LINE notification messages
1121
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/pnp`.
1122
+ * To inspect the HTTP status code or response headers, use {@link getPNPMessageStatisticsWithHttpInfo}.
1030
1123
  * @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
1031
- *
1032
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages"> Documentation</a>
1124
+ * @returns A promise resolving to the response body.
1125
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">LINE Developers documentation</a>
1033
1126
  */
1034
1127
  public async getPNPMessageStatistics(
1035
1128
  date: string,
@@ -1038,11 +1131,12 @@ export class MessagingApiClient {
1038
1131
  }
1039
1132
 
1040
1133
  /**
1041
- * Get number of sent LINE notification messages.
1042
- * This method includes HttpInfo object to return additional information.
1134
+ * Get number of sent LINE notification messages
1135
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/pnp`.
1136
+ * This method returns the response body together with the underlying `httpResponse`.
1043
1137
  * @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
1044
- *
1045
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages"> Documentation</a>
1138
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1139
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">LINE Developers documentation</a>
1046
1140
  */
1047
1141
  public async getPNPMessageStatisticsWithHttpInfo(
1048
1142
  date: string,
@@ -1050,11 +1144,6 @@ export class MessagingApiClient {
1050
1144
  const queryParams = {
1051
1145
  date: date,
1052
1146
  };
1053
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
1054
- if (queryParams[key] === undefined) {
1055
- delete queryParams[key];
1056
- }
1057
- });
1058
1147
 
1059
1148
  const res = await this.httpClient.get(
1060
1149
  "/v2/bot/message/delivery/pnp",
@@ -1066,20 +1155,23 @@ export class MessagingApiClient {
1066
1155
  }
1067
1156
  /**
1068
1157
  * Get profile
1158
+ * Calls `GET https://api.line.me/v2/bot/profile/{userId}`.
1159
+ * To inspect the HTTP status code or response headers, use {@link getProfileWithHttpInfo}.
1069
1160
  * @param userId User ID
1070
- *
1071
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile"> Documentation</a>
1161
+ * @returns A promise resolving to the response body.
1162
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">LINE Developers documentation</a>
1072
1163
  */
1073
1164
  public async getProfile(userId: string): Promise<UserProfileResponse> {
1074
1165
  return (await this.getProfileWithHttpInfo(userId)).body;
1075
1166
  }
1076
1167
 
1077
1168
  /**
1078
- * Get profile.
1079
- * This method includes HttpInfo object to return additional information.
1169
+ * Get profile
1170
+ * Calls `GET https://api.line.me/v2/bot/profile/{userId}`.
1171
+ * This method returns the response body together with the underlying `httpResponse`.
1080
1172
  * @param userId User ID
1081
- *
1082
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile"> Documentation</a>
1173
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1174
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">LINE Developers documentation</a>
1083
1175
  */
1084
1176
  public async getProfileWithHttpInfo(
1085
1177
  userId: string,
@@ -1095,20 +1187,23 @@ export class MessagingApiClient {
1095
1187
  }
1096
1188
  /**
1097
1189
  * Gets a rich menu via a rich menu ID.
1190
+ * Calls `GET https://api.line.me/v2/bot/richmenu/{richMenuId}`.
1191
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuWithHttpInfo}.
1098
1192
  * @param richMenuId ID of a rich menu
1099
- *
1100
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu"> Documentation</a>
1193
+ * @returns A promise resolving to the response body.
1194
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">LINE Developers documentation</a>
1101
1195
  */
1102
1196
  public async getRichMenu(richMenuId: string): Promise<RichMenuResponse> {
1103
1197
  return (await this.getRichMenuWithHttpInfo(richMenuId)).body;
1104
1198
  }
1105
1199
 
1106
1200
  /**
1107
- * Gets a rich menu via a rich menu ID..
1108
- * This method includes HttpInfo object to return additional information.
1201
+ * Gets a rich menu via a rich menu ID.
1202
+ * Calls `GET https://api.line.me/v2/bot/richmenu/{richMenuId}`.
1203
+ * This method returns the response body together with the underlying `httpResponse`.
1109
1204
  * @param richMenuId ID of a rich menu
1110
- *
1111
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu"> Documentation</a>
1205
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1206
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">LINE Developers documentation</a>
1112
1207
  */
1113
1208
  public async getRichMenuWithHttpInfo(
1114
1209
  richMenuId: string,
@@ -1124,9 +1219,11 @@ export class MessagingApiClient {
1124
1219
  }
1125
1220
  /**
1126
1221
  * Get rich menu alias information
1222
+ * Calls `GET https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
1223
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuAliasWithHttpInfo}.
1127
1224
  * @param richMenuAliasId The rich menu alias ID whose information you want to obtain.
1128
- *
1129
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id"> Documentation</a>
1225
+ * @returns A promise resolving to the response body.
1226
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">LINE Developers documentation</a>
1130
1227
  */
1131
1228
  public async getRichMenuAlias(
1132
1229
  richMenuAliasId: string,
@@ -1135,11 +1232,12 @@ export class MessagingApiClient {
1135
1232
  }
1136
1233
 
1137
1234
  /**
1138
- * Get rich menu alias information.
1139
- * This method includes HttpInfo object to return additional information.
1235
+ * Get rich menu alias information
1236
+ * Calls `GET https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
1237
+ * This method returns the response body together with the underlying `httpResponse`.
1140
1238
  * @param richMenuAliasId The rich menu alias ID whose information you want to obtain.
1141
- *
1142
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id"> Documentation</a>
1239
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1240
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">LINE Developers documentation</a>
1143
1241
  */
1144
1242
  public async getRichMenuAliasWithHttpInfo(
1145
1243
  richMenuAliasId: string,
@@ -1155,18 +1253,21 @@ export class MessagingApiClient {
1155
1253
  }
1156
1254
  /**
1157
1255
  * Get list of rich menu alias
1158
- *
1159
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list"> Documentation</a>
1256
+ * Calls `GET https://api.line.me/v2/bot/richmenu/alias/list`.
1257
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuAliasListWithHttpInfo}.
1258
+ * @returns A promise resolving to the response body.
1259
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list">LINE Developers documentation</a>
1160
1260
  */
1161
1261
  public async getRichMenuAliasList(): Promise<RichMenuAliasListResponse> {
1162
1262
  return (await this.getRichMenuAliasListWithHttpInfo()).body;
1163
1263
  }
1164
1264
 
1165
1265
  /**
1166
- * Get list of rich menu alias.
1167
- * This method includes HttpInfo object to return additional information.
1168
- *
1169
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list"> Documentation</a>
1266
+ * Get list of rich menu alias
1267
+ * Calls `GET https://api.line.me/v2/bot/richmenu/alias/list`.
1268
+ * This method returns the response body together with the underlying `httpResponse`.
1269
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1270
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list">LINE Developers documentation</a>
1170
1271
  */
1171
1272
  public async getRichMenuAliasListWithHttpInfo(): Promise<
1172
1273
  Types.ApiResponseType<RichMenuAliasListResponse>
@@ -1178,9 +1279,11 @@ export class MessagingApiClient {
1178
1279
  }
1179
1280
  /**
1180
1281
  * Get the status of Replace or unlink a linked rich menus in batches.
1282
+ * Calls `GET https://api.line.me/v2/bot/richmenu/progress/batch`.
1283
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuBatchProgressWithHttpInfo}.
1181
1284
  * @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
1182
- *
1183
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status"> Documentation</a>
1285
+ * @returns A promise resolving to the response body.
1286
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">LINE Developers documentation</a>
1184
1287
  */
1185
1288
  public async getRichMenuBatchProgress(
1186
1289
  requestId: string,
@@ -1189,11 +1292,12 @@ export class MessagingApiClient {
1189
1292
  }
1190
1293
 
1191
1294
  /**
1192
- * Get the status of Replace or unlink a linked rich menus in batches..
1193
- * This method includes HttpInfo object to return additional information.
1295
+ * Get the status of Replace or unlink a linked rich menus in batches.
1296
+ * Calls `GET https://api.line.me/v2/bot/richmenu/progress/batch`.
1297
+ * This method returns the response body together with the underlying `httpResponse`.
1194
1298
  * @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
1195
- *
1196
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status"> Documentation</a>
1299
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1300
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">LINE Developers documentation</a>
1197
1301
  */
1198
1302
  public async getRichMenuBatchProgressWithHttpInfo(
1199
1303
  requestId: string,
@@ -1201,11 +1305,6 @@ export class MessagingApiClient {
1201
1305
  const queryParams = {
1202
1306
  requestId: requestId,
1203
1307
  };
1204
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
1205
- if (queryParams[key] === undefined) {
1206
- delete queryParams[key];
1207
- }
1208
- });
1209
1308
 
1210
1309
  const res = await this.httpClient.get(
1211
1310
  "/v2/bot/richmenu/progress/batch",
@@ -1217,9 +1316,11 @@ export class MessagingApiClient {
1217
1316
  }
1218
1317
  /**
1219
1318
  * Get rich menu ID of user
1319
+ * Calls `GET https://api.line.me/v2/bot/user/{userId}/richmenu`.
1320
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuIdOfUserWithHttpInfo}.
1220
1321
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1221
- *
1222
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user"> Documentation</a>
1322
+ * @returns A promise resolving to the response body.
1323
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">LINE Developers documentation</a>
1223
1324
  */
1224
1325
  public async getRichMenuIdOfUser(
1225
1326
  userId: string,
@@ -1228,11 +1329,12 @@ export class MessagingApiClient {
1228
1329
  }
1229
1330
 
1230
1331
  /**
1231
- * Get rich menu ID of user.
1232
- * This method includes HttpInfo object to return additional information.
1332
+ * Get rich menu ID of user
1333
+ * Calls `GET https://api.line.me/v2/bot/user/{userId}/richmenu`.
1334
+ * This method returns the response body together with the underlying `httpResponse`.
1233
1335
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1234
- *
1235
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user"> Documentation</a>
1336
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1337
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">LINE Developers documentation</a>
1236
1338
  */
1237
1339
  public async getRichMenuIdOfUserWithHttpInfo(
1238
1340
  userId: string,
@@ -1248,18 +1350,21 @@ export class MessagingApiClient {
1248
1350
  }
1249
1351
  /**
1250
1352
  * Get rich menu list
1251
- *
1252
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list"> Documentation</a>
1353
+ * Calls `GET https://api.line.me/v2/bot/richmenu/list`.
1354
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuListWithHttpInfo}.
1355
+ * @returns A promise resolving to the response body.
1356
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list">LINE Developers documentation</a>
1253
1357
  */
1254
1358
  public async getRichMenuList(): Promise<RichMenuListResponse> {
1255
1359
  return (await this.getRichMenuListWithHttpInfo()).body;
1256
1360
  }
1257
1361
 
1258
1362
  /**
1259
- * Get rich menu list.
1260
- * This method includes HttpInfo object to return additional information.
1261
- *
1262
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list"> Documentation</a>
1363
+ * Get rich menu list
1364
+ * Calls `GET https://api.line.me/v2/bot/richmenu/list`.
1365
+ * This method returns the response body together with the underlying `httpResponse`.
1366
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1367
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list">LINE Developers documentation</a>
1263
1368
  */
1264
1369
  public async getRichMenuListWithHttpInfo(): Promise<
1265
1370
  Types.ApiResponseType<RichMenuListResponse>
@@ -1271,9 +1376,11 @@ export class MessagingApiClient {
1271
1376
  }
1272
1377
  /**
1273
1378
  * Get number of users in a multi-person chat
1379
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/count`.
1380
+ * To inspect the HTTP status code or response headers, use {@link getRoomMemberCountWithHttpInfo}.
1274
1381
  * @param roomId Room ID
1275
- *
1276
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count"> Documentation</a>
1382
+ * @returns A promise resolving to the response body.
1383
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">LINE Developers documentation</a>
1277
1384
  */
1278
1385
  public async getRoomMemberCount(
1279
1386
  roomId: string,
@@ -1282,11 +1389,12 @@ export class MessagingApiClient {
1282
1389
  }
1283
1390
 
1284
1391
  /**
1285
- * Get number of users in a multi-person chat.
1286
- * This method includes HttpInfo object to return additional information.
1392
+ * Get number of users in a multi-person chat
1393
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/count`.
1394
+ * This method returns the response body together with the underlying `httpResponse`.
1287
1395
  * @param roomId Room ID
1288
- *
1289
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count"> Documentation</a>
1396
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1397
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">LINE Developers documentation</a>
1290
1398
  */
1291
1399
  public async getRoomMemberCountWithHttpInfo(
1292
1400
  roomId: string,
@@ -1302,10 +1410,12 @@ export class MessagingApiClient {
1302
1410
  }
1303
1411
  /**
1304
1412
  * Get multi-person chat member profile
1413
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/member/{userId}`.
1414
+ * To inspect the HTTP status code or response headers, use {@link getRoomMemberProfileWithHttpInfo}.
1305
1415
  * @param roomId Room ID
1306
1416
  * @param userId User ID
1307
- *
1308
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile"> Documentation</a>
1417
+ * @returns A promise resolving to the response body.
1418
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">LINE Developers documentation</a>
1309
1419
  */
1310
1420
  public async getRoomMemberProfile(
1311
1421
  roomId: string,
@@ -1315,12 +1425,13 @@ export class MessagingApiClient {
1315
1425
  }
1316
1426
 
1317
1427
  /**
1318
- * Get multi-person chat member profile.
1319
- * This method includes HttpInfo object to return additional information.
1428
+ * Get multi-person chat member profile
1429
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/member/{userId}`.
1430
+ * This method returns the response body together with the underlying `httpResponse`.
1320
1431
  * @param roomId Room ID
1321
1432
  * @param userId User ID
1322
- *
1323
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile"> Documentation</a>
1433
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1434
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">LINE Developers documentation</a>
1324
1435
  */
1325
1436
  public async getRoomMemberProfileWithHttpInfo(
1326
1437
  roomId: string,
@@ -1338,10 +1449,12 @@ export class MessagingApiClient {
1338
1449
  }
1339
1450
  /**
1340
1451
  * Get multi-person chat member user IDs
1452
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/ids`.
1453
+ * To inspect the HTTP status code or response headers, use {@link getRoomMembersIdsWithHttpInfo}.
1341
1454
  * @param roomId Room ID
1342
1455
  * @param start Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.
1343
- *
1344
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids"> Documentation</a>
1456
+ * @returns A promise resolving to the response body.
1457
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">LINE Developers documentation</a>
1345
1458
  */
1346
1459
  public async getRoomMembersIds(
1347
1460
  roomId: string,
@@ -1351,12 +1464,13 @@ export class MessagingApiClient {
1351
1464
  }
1352
1465
 
1353
1466
  /**
1354
- * Get multi-person chat member user IDs.
1355
- * This method includes HttpInfo object to return additional information.
1467
+ * Get multi-person chat member user IDs
1468
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/ids`.
1469
+ * This method returns the response body together with the underlying `httpResponse`.
1356
1470
  * @param roomId Room ID
1357
1471
  * @param start Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.
1358
- *
1359
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids"> Documentation</a>
1472
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1473
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">LINE Developers documentation</a>
1360
1474
  */
1361
1475
  public async getRoomMembersIdsWithHttpInfo(
1362
1476
  roomId: string,
@@ -1369,11 +1483,10 @@ export class MessagingApiClient {
1369
1483
  const queryParams = {
1370
1484
  start: start,
1371
1485
  };
1372
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
1373
- if (queryParams[key] === undefined) {
1374
- delete queryParams[key];
1375
- }
1376
- });
1486
+
1487
+ if (queryParams["start"] === undefined) {
1488
+ delete queryParams["start"];
1489
+ }
1377
1490
 
1378
1491
  const res = await this.httpClient.get(requestPath, queryParams);
1379
1492
  const text = await res.text();
@@ -1382,18 +1495,21 @@ export class MessagingApiClient {
1382
1495
  }
1383
1496
  /**
1384
1497
  * Get webhook endpoint information
1385
- *
1386
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information"> Documentation</a>
1498
+ * Calls `GET https://api.line.me/v2/bot/channel/webhook/endpoint`.
1499
+ * To inspect the HTTP status code or response headers, use {@link getWebhookEndpointWithHttpInfo}.
1500
+ * @returns A promise resolving to the response body.
1501
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information">LINE Developers documentation</a>
1387
1502
  */
1388
1503
  public async getWebhookEndpoint(): Promise<GetWebhookEndpointResponse> {
1389
1504
  return (await this.getWebhookEndpointWithHttpInfo()).body;
1390
1505
  }
1391
1506
 
1392
1507
  /**
1393
- * Get webhook endpoint information.
1394
- * This method includes HttpInfo object to return additional information.
1395
- *
1396
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information"> Documentation</a>
1508
+ * Get webhook endpoint information
1509
+ * Calls `GET https://api.line.me/v2/bot/channel/webhook/endpoint`.
1510
+ * This method returns the response body together with the underlying `httpResponse`.
1511
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1512
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information">LINE Developers documentation</a>
1397
1513
  */
1398
1514
  public async getWebhookEndpointWithHttpInfo(): Promise<
1399
1515
  Types.ApiResponseType<GetWebhookEndpointResponse>
@@ -1405,20 +1521,23 @@ export class MessagingApiClient {
1405
1521
  }
1406
1522
  /**
1407
1523
  * Issue link token
1524
+ * Calls `POST https://api.line.me/v2/bot/user/{userId}/linkToken`.
1525
+ * To inspect the HTTP status code or response headers, use {@link issueLinkTokenWithHttpInfo}.
1408
1526
  * @param userId User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE.
1409
- *
1410
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token"> Documentation</a>
1527
+ * @returns A promise resolving to the response body.
1528
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">LINE Developers documentation</a>
1411
1529
  */
1412
1530
  public async issueLinkToken(userId: string): Promise<IssueLinkTokenResponse> {
1413
1531
  return (await this.issueLinkTokenWithHttpInfo(userId)).body;
1414
1532
  }
1415
1533
 
1416
1534
  /**
1417
- * Issue link token.
1418
- * This method includes HttpInfo object to return additional information.
1535
+ * Issue link token
1536
+ * Calls `POST https://api.line.me/v2/bot/user/{userId}/linkToken`.
1537
+ * This method returns the response body together with the underlying `httpResponse`.
1419
1538
  * @param userId User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE.
1420
- *
1421
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token"> Documentation</a>
1539
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1540
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">LINE Developers documentation</a>
1422
1541
  */
1423
1542
  public async issueLinkTokenWithHttpInfo(
1424
1543
  userId: string,
@@ -1434,9 +1553,11 @@ export class MessagingApiClient {
1434
1553
  }
1435
1554
  /**
1436
1555
  * Leave group chat
1556
+ * Calls `POST https://api.line.me/v2/bot/group/{groupId}/leave`.
1557
+ * To inspect the HTTP status code or response headers, use {@link leaveGroupWithHttpInfo}.
1437
1558
  * @param groupId Group ID
1438
- *
1439
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group"> Documentation</a>
1559
+ * @returns A promise resolving to the response body.
1560
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">LINE Developers documentation</a>
1440
1561
  */
1441
1562
  public async leaveGroup(
1442
1563
  groupId: string,
@@ -1445,11 +1566,12 @@ export class MessagingApiClient {
1445
1566
  }
1446
1567
 
1447
1568
  /**
1448
- * Leave group chat.
1449
- * This method includes HttpInfo object to return additional information.
1569
+ * Leave group chat
1570
+ * Calls `POST https://api.line.me/v2/bot/group/{groupId}/leave`.
1571
+ * This method returns the response body together with the underlying `httpResponse`.
1450
1572
  * @param groupId Group ID
1451
- *
1452
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group"> Documentation</a>
1573
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1574
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">LINE Developers documentation</a>
1453
1575
  */
1454
1576
  public async leaveGroupWithHttpInfo(
1455
1577
  groupId: string,
@@ -1465,9 +1587,11 @@ export class MessagingApiClient {
1465
1587
  }
1466
1588
  /**
1467
1589
  * Leave multi-person chat
1590
+ * Calls `POST https://api.line.me/v2/bot/room/{roomId}/leave`.
1591
+ * To inspect the HTTP status code or response headers, use {@link leaveRoomWithHttpInfo}.
1468
1592
  * @param roomId Room ID
1469
- *
1470
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room"> Documentation</a>
1593
+ * @returns A promise resolving to the response body.
1594
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">LINE Developers documentation</a>
1471
1595
  */
1472
1596
  public async leaveRoom(
1473
1597
  roomId: string,
@@ -1476,11 +1600,12 @@ export class MessagingApiClient {
1476
1600
  }
1477
1601
 
1478
1602
  /**
1479
- * Leave multi-person chat.
1480
- * This method includes HttpInfo object to return additional information.
1603
+ * Leave multi-person chat
1604
+ * Calls `POST https://api.line.me/v2/bot/room/{roomId}/leave`.
1605
+ * This method returns the response body together with the underlying `httpResponse`.
1481
1606
  * @param roomId Room ID
1482
- *
1483
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room"> Documentation</a>
1607
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1608
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">LINE Developers documentation</a>
1484
1609
  */
1485
1610
  public async leaveRoomWithHttpInfo(
1486
1611
  roomId: string,
@@ -1496,10 +1621,12 @@ export class MessagingApiClient {
1496
1621
  }
1497
1622
  /**
1498
1623
  * Link rich menu to user.
1624
+ * Calls `POST https://api.line.me/v2/bot/user/{userId}/richmenu/{richMenuId}`.
1625
+ * To inspect the HTTP status code or response headers, use {@link linkRichMenuIdToUserWithHttpInfo}.
1499
1626
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1500
1627
  * @param richMenuId ID of a rich menu
1501
- *
1502
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user"> Documentation</a>
1628
+ * @returns A promise resolving to the response body.
1629
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">LINE Developers documentation</a>
1503
1630
  */
1504
1631
  public async linkRichMenuIdToUser(
1505
1632
  userId: string,
@@ -1510,12 +1637,13 @@ export class MessagingApiClient {
1510
1637
  }
1511
1638
 
1512
1639
  /**
1513
- * Link rich menu to user..
1514
- * This method includes HttpInfo object to return additional information.
1640
+ * Link rich menu to user.
1641
+ * Calls `POST https://api.line.me/v2/bot/user/{userId}/richmenu/{richMenuId}`.
1642
+ * This method returns the response body together with the underlying `httpResponse`.
1515
1643
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1516
1644
  * @param richMenuId ID of a rich menu
1517
- *
1518
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user"> Documentation</a>
1645
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1646
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">LINE Developers documentation</a>
1519
1647
  */
1520
1648
  public async linkRichMenuIdToUserWithHttpInfo(
1521
1649
  userId: string,
@@ -1536,9 +1664,11 @@ export class MessagingApiClient {
1536
1664
  }
1537
1665
  /**
1538
1666
  * Link rich menu to multiple users
1667
+ * Calls `POST https://api.line.me/v2/bot/richmenu/bulk/link`.
1668
+ * To inspect the HTTP status code or response headers, use {@link linkRichMenuIdToUsersWithHttpInfo}.
1539
1669
  * @param richMenuBulkLinkRequest
1540
- *
1541
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users"> Documentation</a>
1670
+ * @returns A promise resolving to the response body.
1671
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">LINE Developers documentation</a>
1542
1672
  */
1543
1673
  public async linkRichMenuIdToUsers(
1544
1674
  richMenuBulkLinkRequest: RichMenuBulkLinkRequest,
@@ -1549,11 +1679,12 @@ export class MessagingApiClient {
1549
1679
  }
1550
1680
 
1551
1681
  /**
1552
- * Link rich menu to multiple users.
1553
- * This method includes HttpInfo object to return additional information.
1682
+ * Link rich menu to multiple users
1683
+ * Calls `POST https://api.line.me/v2/bot/richmenu/bulk/link`.
1684
+ * This method returns the response body together with the underlying `httpResponse`.
1554
1685
  * @param richMenuBulkLinkRequest
1555
- *
1556
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users"> Documentation</a>
1686
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1687
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">LINE Developers documentation</a>
1557
1688
  */
1558
1689
  public async linkRichMenuIdToUsersWithHttpInfo(
1559
1690
  richMenuBulkLinkRequest: RichMenuBulkLinkRequest,
@@ -1570,11 +1701,13 @@ export class MessagingApiClient {
1570
1701
  }
1571
1702
  /**
1572
1703
  * Get a paginated list of coupons.
1704
+ * Calls `GET https://api.line.me/v2/bot/coupon`.
1705
+ * To inspect the HTTP status code or response headers, use {@link listCouponWithHttpInfo}.
1573
1706
  * @param status Filter coupons by their status.
1574
1707
  * @param start Pagination token to retrieve the next page of results.
1575
1708
  * @param limit Maximum number of coupons to return per request.
1576
- *
1577
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list"> Documentation</a>
1709
+ * @returns A promise resolving to the response body.
1710
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">LINE Developers documentation</a>
1578
1711
  */
1579
1712
  public async listCoupon(
1580
1713
  status?: Set<"DRAFT" | "RUNNING" | "CLOSED">,
@@ -1585,13 +1718,14 @@ export class MessagingApiClient {
1585
1718
  }
1586
1719
 
1587
1720
  /**
1588
- * Get a paginated list of coupons..
1589
- * This method includes HttpInfo object to return additional information.
1721
+ * Get a paginated list of coupons.
1722
+ * Calls `GET https://api.line.me/v2/bot/coupon`.
1723
+ * This method returns the response body together with the underlying `httpResponse`.
1590
1724
  * @param status Filter coupons by their status.
1591
1725
  * @param start Pagination token to retrieve the next page of results.
1592
1726
  * @param limit Maximum number of coupons to return per request.
1593
- *
1594
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list"> Documentation</a>
1727
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1728
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">LINE Developers documentation</a>
1595
1729
  */
1596
1730
  public async listCouponWithHttpInfo(
1597
1731
  status?: Set<"DRAFT" | "RUNNING" | "CLOSED">,
@@ -1599,15 +1733,22 @@ export class MessagingApiClient {
1599
1733
  limit?: number,
1600
1734
  ): Promise<Types.ApiResponseType<MessagingApiPagerCouponListResponse>> {
1601
1735
  const queryParams = {
1602
- status: [...status].join(","),
1736
+ status: status != null ? [...status].join(",") : undefined,
1603
1737
  start: start,
1604
1738
  limit: limit,
1605
1739
  };
1606
- Object.keys(queryParams).forEach((key: keyof typeof queryParams) => {
1607
- if (queryParams[key] === undefined) {
1608
- delete queryParams[key];
1609
- }
1610
- });
1740
+
1741
+ if (queryParams["status"] === undefined) {
1742
+ delete queryParams["status"];
1743
+ }
1744
+
1745
+ if (queryParams["start"] === undefined) {
1746
+ delete queryParams["start"];
1747
+ }
1748
+
1749
+ if (queryParams["limit"] === undefined) {
1750
+ delete queryParams["limit"];
1751
+ }
1611
1752
 
1612
1753
  const res = await this.httpClient.get("/v2/bot/coupon", queryParams);
1613
1754
  const text = await res.text();
@@ -1616,9 +1757,11 @@ export class MessagingApiClient {
1616
1757
  }
1617
1758
  /**
1618
1759
  * Mark messages from users as read
1760
+ * Calls `POST https://api.line.me/v2/bot/message/markAsRead`.
1761
+ * To inspect the HTTP status code or response headers, use {@link markMessagesAsReadWithHttpInfo}.
1619
1762
  * @param markMessagesAsReadRequest
1620
- *
1621
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read"> Documentation</a>
1763
+ * @returns A promise resolving to the response body.
1764
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">LINE Developers documentation</a>
1622
1765
  */
1623
1766
  public async markMessagesAsRead(
1624
1767
  markMessagesAsReadRequest: MarkMessagesAsReadRequest,
@@ -1629,11 +1772,12 @@ export class MessagingApiClient {
1629
1772
  }
1630
1773
 
1631
1774
  /**
1632
- * Mark messages from users as read.
1633
- * This method includes HttpInfo object to return additional information.
1775
+ * Mark messages from users as read
1776
+ * Calls `POST https://api.line.me/v2/bot/message/markAsRead`.
1777
+ * This method returns the response body together with the underlying `httpResponse`.
1634
1778
  * @param markMessagesAsReadRequest
1635
- *
1636
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read"> Documentation</a>
1779
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1780
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">LINE Developers documentation</a>
1637
1781
  */
1638
1782
  public async markMessagesAsReadWithHttpInfo(
1639
1783
  markMessagesAsReadRequest: MarkMessagesAsReadRequest,
@@ -1650,9 +1794,11 @@ export class MessagingApiClient {
1650
1794
  }
1651
1795
  /**
1652
1796
  * Mark messages from users as read by token
1797
+ * Calls `POST https://api.line.me/v2/bot/chat/markAsRead`.
1798
+ * To inspect the HTTP status code or response headers, use {@link markMessagesAsReadByTokenWithHttpInfo}.
1653
1799
  * @param markMessagesAsReadByTokenRequest
1654
- *
1655
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read"> Documentation</a>
1800
+ * @returns A promise resolving to the response body.
1801
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">LINE Developers documentation</a>
1656
1802
  */
1657
1803
  public async markMessagesAsReadByToken(
1658
1804
  markMessagesAsReadByTokenRequest: MarkMessagesAsReadByTokenRequest,
@@ -1665,11 +1811,12 @@ export class MessagingApiClient {
1665
1811
  }
1666
1812
 
1667
1813
  /**
1668
- * Mark messages from users as read by token.
1669
- * This method includes HttpInfo object to return additional information.
1814
+ * Mark messages from users as read by token
1815
+ * Calls `POST https://api.line.me/v2/bot/chat/markAsRead`.
1816
+ * This method returns the response body together with the underlying `httpResponse`.
1670
1817
  * @param markMessagesAsReadByTokenRequest
1671
- *
1672
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read"> Documentation</a>
1818
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1819
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">LINE Developers documentation</a>
1673
1820
  */
1674
1821
  public async markMessagesAsReadByTokenWithHttpInfo(
1675
1822
  markMessagesAsReadByTokenRequest: MarkMessagesAsReadByTokenRequest,
@@ -1683,10 +1830,12 @@ export class MessagingApiClient {
1683
1830
  }
1684
1831
  /**
1685
1832
  * An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.
1833
+ * Calls `POST https://api.line.me/v2/bot/message/multicast`.
1834
+ * To inspect the HTTP status code or response headers, use {@link multicastWithHttpInfo}.
1686
1835
  * @param multicastRequest
1687
1836
  * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1688
- *
1689
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message"> Documentation</a>
1837
+ * @returns A promise resolving to the response body.
1838
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">LINE Developers documentation</a>
1690
1839
  */
1691
1840
  public async multicast(
1692
1841
  multicastRequest: MulticastRequest,
@@ -1697,12 +1846,13 @@ export class MessagingApiClient {
1697
1846
  }
1698
1847
 
1699
1848
  /**
1700
- * An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats..
1701
- * This method includes HttpInfo object to return additional information.
1849
+ * An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.
1850
+ * Calls `POST https://api.line.me/v2/bot/message/multicast`.
1851
+ * This method returns the response body together with the underlying `httpResponse`.
1702
1852
  * @param multicastRequest
1703
1853
  * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1704
- *
1705
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message"> Documentation</a>
1854
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1855
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">LINE Developers documentation</a>
1706
1856
  */
1707
1857
  public async multicastWithHttpInfo(
1708
1858
  multicastRequest: MulticastRequest,
@@ -1725,10 +1875,12 @@ export class MessagingApiClient {
1725
1875
  }
1726
1876
  /**
1727
1877
  * Send narrowcast message
1878
+ * Calls `POST https://api.line.me/v2/bot/message/narrowcast`.
1879
+ * To inspect the HTTP status code or response headers, use {@link narrowcastWithHttpInfo}.
1728
1880
  * @param narrowcastRequest
1729
1881
  * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1730
- *
1731
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message"> Documentation</a>
1882
+ * @returns A promise resolving to the response body.
1883
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">LINE Developers documentation</a>
1732
1884
  */
1733
1885
  public async narrowcast(
1734
1886
  narrowcastRequest: NarrowcastRequest,
@@ -1739,12 +1891,13 @@ export class MessagingApiClient {
1739
1891
  }
1740
1892
 
1741
1893
  /**
1742
- * Send narrowcast message.
1743
- * This method includes HttpInfo object to return additional information.
1894
+ * Send narrowcast message
1895
+ * Calls `POST https://api.line.me/v2/bot/message/narrowcast`.
1896
+ * This method returns the response body together with the underlying `httpResponse`.
1744
1897
  * @param narrowcastRequest
1745
1898
  * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1746
- *
1747
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message"> Documentation</a>
1899
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1900
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">LINE Developers documentation</a>
1748
1901
  */
1749
1902
  public async narrowcastWithHttpInfo(
1750
1903
  narrowcastRequest: NarrowcastRequest,
@@ -1767,10 +1920,12 @@ export class MessagingApiClient {
1767
1920
  }
1768
1921
  /**
1769
1922
  * Sends a message to a user, group chat, or multi-person chat at any time.
1923
+ * Calls `POST https://api.line.me/v2/bot/message/push`.
1924
+ * To inspect the HTTP status code or response headers, use {@link pushMessageWithHttpInfo}.
1770
1925
  * @param pushMessageRequest
1771
1926
  * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1772
- *
1773
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message"> Documentation</a>
1927
+ * @returns A promise resolving to the response body.
1928
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">LINE Developers documentation</a>
1774
1929
  */
1775
1930
  public async pushMessage(
1776
1931
  pushMessageRequest: PushMessageRequest,
@@ -1782,12 +1937,13 @@ export class MessagingApiClient {
1782
1937
  }
1783
1938
 
1784
1939
  /**
1785
- * Sends a message to a user, group chat, or multi-person chat at any time..
1786
- * This method includes HttpInfo object to return additional information.
1940
+ * Sends a message to a user, group chat, or multi-person chat at any time.
1941
+ * Calls `POST https://api.line.me/v2/bot/message/push`.
1942
+ * This method returns the response body together with the underlying `httpResponse`.
1787
1943
  * @param pushMessageRequest
1788
1944
  * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1789
- *
1790
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message"> Documentation</a>
1945
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1946
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">LINE Developers documentation</a>
1791
1947
  */
1792
1948
  public async pushMessageWithHttpInfo(
1793
1949
  pushMessageRequest: PushMessageRequest,
@@ -1808,10 +1964,12 @@ export class MessagingApiClient {
1808
1964
  }
1809
1965
  /**
1810
1966
  * Send LINE notification message
1967
+ * Calls `POST https://api.line.me/bot/pnp/push`.
1968
+ * To inspect the HTTP status code or response headers, use {@link pushMessagesByPhoneWithHttpInfo}.
1811
1969
  * @param pnpMessagesRequest
1812
1970
  * @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook.
1813
- *
1814
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message"> Documentation</a>
1971
+ * @returns A promise resolving to the response body.
1972
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">LINE Developers documentation</a>
1815
1973
  */
1816
1974
  public async pushMessagesByPhone(
1817
1975
  pnpMessagesRequest: PnpMessagesRequest,
@@ -1826,12 +1984,13 @@ export class MessagingApiClient {
1826
1984
  }
1827
1985
 
1828
1986
  /**
1829
- * Send LINE notification message.
1830
- * This method includes HttpInfo object to return additional information.
1987
+ * Send LINE notification message
1988
+ * Calls `POST https://api.line.me/bot/pnp/push`.
1989
+ * This method returns the response body together with the underlying `httpResponse`.
1831
1990
  * @param pnpMessagesRequest
1832
1991
  * @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook.
1833
- *
1834
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message"> Documentation</a>
1992
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1993
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">LINE Developers documentation</a>
1835
1994
  */
1836
1995
  public async pushMessagesByPhoneWithHttpInfo(
1837
1996
  pnpMessagesRequest: PnpMessagesRequest,
@@ -1854,9 +2013,11 @@ export class MessagingApiClient {
1854
2013
  }
1855
2014
  /**
1856
2015
  * Send reply message
2016
+ * Calls `POST https://api.line.me/v2/bot/message/reply`.
2017
+ * To inspect the HTTP status code or response headers, use {@link replyMessageWithHttpInfo}.
1857
2018
  * @param replyMessageRequest
1858
- *
1859
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message"> Documentation</a>
2019
+ * @returns A promise resolving to the response body.
2020
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">LINE Developers documentation</a>
1860
2021
  */
1861
2022
  public async replyMessage(
1862
2023
  replyMessageRequest: ReplyMessageRequest,
@@ -1865,11 +2026,12 @@ export class MessagingApiClient {
1865
2026
  }
1866
2027
 
1867
2028
  /**
1868
- * Send reply message.
1869
- * This method includes HttpInfo object to return additional information.
2029
+ * Send reply message
2030
+ * Calls `POST https://api.line.me/v2/bot/message/reply`.
2031
+ * This method returns the response body together with the underlying `httpResponse`.
1870
2032
  * @param replyMessageRequest
1871
- *
1872
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message"> Documentation</a>
2033
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2034
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">LINE Developers documentation</a>
1873
2035
  */
1874
2036
  public async replyMessageWithHttpInfo(
1875
2037
  replyMessageRequest: ReplyMessageRequest,
@@ -1883,9 +2045,11 @@ export class MessagingApiClient {
1883
2045
  }
1884
2046
  /**
1885
2047
  * You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu
2048
+ * Calls `POST https://api.line.me/v2/bot/richmenu/batch`.
2049
+ * To inspect the HTTP status code or response headers, use {@link richMenuBatchWithHttpInfo}.
1886
2050
  * @param richMenuBatchRequest
1887
- *
1888
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users"> Documentation</a>
2051
+ * @returns A promise resolving to the response body.
2052
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">LINE Developers documentation</a>
1889
2053
  */
1890
2054
  public async richMenuBatch(
1891
2055
  richMenuBatchRequest: RichMenuBatchRequest,
@@ -1894,11 +2058,12 @@ export class MessagingApiClient {
1894
2058
  }
1895
2059
 
1896
2060
  /**
1897
- * You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu .
1898
- * This method includes HttpInfo object to return additional information.
2061
+ * You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu
2062
+ * Calls `POST https://api.line.me/v2/bot/richmenu/batch`.
2063
+ * This method returns the response body together with the underlying `httpResponse`.
1899
2064
  * @param richMenuBatchRequest
1900
- *
1901
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users"> Documentation</a>
2065
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2066
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">LINE Developers documentation</a>
1902
2067
  */
1903
2068
  public async richMenuBatchWithHttpInfo(
1904
2069
  richMenuBatchRequest: RichMenuBatchRequest,
@@ -1912,9 +2077,11 @@ export class MessagingApiClient {
1912
2077
  }
1913
2078
  /**
1914
2079
  * Set default rich menu
2080
+ * Calls `POST https://api.line.me/v2/bot/user/all/richmenu/{richMenuId}`.
2081
+ * To inspect the HTTP status code or response headers, use {@link setDefaultRichMenuWithHttpInfo}.
1915
2082
  * @param richMenuId ID of a rich menu
1916
- *
1917
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu"> Documentation</a>
2083
+ * @returns A promise resolving to the response body.
2084
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">LINE Developers documentation</a>
1918
2085
  */
1919
2086
  public async setDefaultRichMenu(
1920
2087
  richMenuId: string,
@@ -1923,11 +2090,12 @@ export class MessagingApiClient {
1923
2090
  }
1924
2091
 
1925
2092
  /**
1926
- * Set default rich menu.
1927
- * This method includes HttpInfo object to return additional information.
2093
+ * Set default rich menu
2094
+ * Calls `POST https://api.line.me/v2/bot/user/all/richmenu/{richMenuId}`.
2095
+ * This method returns the response body together with the underlying `httpResponse`.
1928
2096
  * @param richMenuId ID of a rich menu
1929
- *
1930
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu"> Documentation</a>
2097
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2098
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">LINE Developers documentation</a>
1931
2099
  */
1932
2100
  public async setDefaultRichMenuWithHttpInfo(
1933
2101
  richMenuId: string,
@@ -1943,9 +2111,11 @@ export class MessagingApiClient {
1943
2111
  }
1944
2112
  /**
1945
2113
  * Set webhook endpoint URL
2114
+ * Calls `PUT https://api.line.me/v2/bot/channel/webhook/endpoint`.
2115
+ * To inspect the HTTP status code or response headers, use {@link setWebhookEndpointWithHttpInfo}.
1946
2116
  * @param setWebhookEndpointRequest
1947
- *
1948
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url"> Documentation</a>
2117
+ * @returns A promise resolving to the response body.
2118
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">LINE Developers documentation</a>
1949
2119
  */
1950
2120
  public async setWebhookEndpoint(
1951
2121
  setWebhookEndpointRequest: SetWebhookEndpointRequest,
@@ -1956,11 +2126,12 @@ export class MessagingApiClient {
1956
2126
  }
1957
2127
 
1958
2128
  /**
1959
- * Set webhook endpoint URL.
1960
- * This method includes HttpInfo object to return additional information.
2129
+ * Set webhook endpoint URL
2130
+ * Calls `PUT https://api.line.me/v2/bot/channel/webhook/endpoint`.
2131
+ * This method returns the response body together with the underlying `httpResponse`.
1961
2132
  * @param setWebhookEndpointRequest
1962
- *
1963
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url"> Documentation</a>
2133
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2134
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">LINE Developers documentation</a>
1964
2135
  */
1965
2136
  public async setWebhookEndpointWithHttpInfo(
1966
2137
  setWebhookEndpointRequest: SetWebhookEndpointRequest,
@@ -1977,9 +2148,11 @@ export class MessagingApiClient {
1977
2148
  }
1978
2149
  /**
1979
2150
  * Display a loading animation in one-on-one chats between users and LINE Official Accounts.
2151
+ * Calls `POST https://api.line.me/v2/bot/chat/loading/start`.
2152
+ * To inspect the HTTP status code or response headers, use {@link showLoadingAnimationWithHttpInfo}.
1980
2153
  * @param showLoadingAnimationRequest
1981
- *
1982
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator"> Documentation</a>
2154
+ * @returns A promise resolving to the response body.
2155
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">LINE Developers documentation</a>
1983
2156
  */
1984
2157
  public async showLoadingAnimation(
1985
2158
  showLoadingAnimationRequest: ShowLoadingAnimationRequest,
@@ -1990,11 +2163,12 @@ export class MessagingApiClient {
1990
2163
  }
1991
2164
 
1992
2165
  /**
1993
- * Display a loading animation in one-on-one chats between users and LINE Official Accounts..
1994
- * This method includes HttpInfo object to return additional information.
2166
+ * Display a loading animation in one-on-one chats between users and LINE Official Accounts.
2167
+ * Calls `POST https://api.line.me/v2/bot/chat/loading/start`.
2168
+ * This method returns the response body together with the underlying `httpResponse`.
1995
2169
  * @param showLoadingAnimationRequest
1996
- *
1997
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator"> Documentation</a>
2170
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2171
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">LINE Developers documentation</a>
1998
2172
  */
1999
2173
  public async showLoadingAnimationWithHttpInfo(
2000
2174
  showLoadingAnimationRequest: ShowLoadingAnimationRequest,
@@ -2011,9 +2185,11 @@ export class MessagingApiClient {
2011
2185
  }
2012
2186
  /**
2013
2187
  * Test webhook endpoint
2188
+ * Calls `POST https://api.line.me/v2/bot/channel/webhook/test`.
2189
+ * To inspect the HTTP status code or response headers, use {@link testWebhookEndpointWithHttpInfo}.
2014
2190
  * @param testWebhookEndpointRequest
2015
- *
2016
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint"> Documentation</a>
2191
+ * @returns A promise resolving to the response body.
2192
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">LINE Developers documentation</a>
2017
2193
  */
2018
2194
  public async testWebhookEndpoint(
2019
2195
  testWebhookEndpointRequest?: TestWebhookEndpointRequest,
@@ -2024,11 +2200,12 @@ export class MessagingApiClient {
2024
2200
  }
2025
2201
 
2026
2202
  /**
2027
- * Test webhook endpoint.
2028
- * This method includes HttpInfo object to return additional information.
2203
+ * Test webhook endpoint
2204
+ * Calls `POST https://api.line.me/v2/bot/channel/webhook/test`.
2205
+ * This method returns the response body together with the underlying `httpResponse`.
2029
2206
  * @param testWebhookEndpointRequest
2030
- *
2031
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint"> Documentation</a>
2207
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2208
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">LINE Developers documentation</a>
2032
2209
  */
2033
2210
  public async testWebhookEndpointWithHttpInfo(
2034
2211
  testWebhookEndpointRequest?: TestWebhookEndpointRequest,
@@ -2045,9 +2222,11 @@ export class MessagingApiClient {
2045
2222
  }
2046
2223
  /**
2047
2224
  * Unlink rich menu from user
2225
+ * Calls `DELETE https://api.line.me/v2/bot/user/{userId}/richmenu`.
2226
+ * To inspect the HTTP status code or response headers, use {@link unlinkRichMenuIdFromUserWithHttpInfo}.
2048
2227
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
2049
- *
2050
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user"> Documentation</a>
2228
+ * @returns A promise resolving to the response body.
2229
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">LINE Developers documentation</a>
2051
2230
  */
2052
2231
  public async unlinkRichMenuIdFromUser(
2053
2232
  userId: string,
@@ -2056,11 +2235,12 @@ export class MessagingApiClient {
2056
2235
  }
2057
2236
 
2058
2237
  /**
2059
- * Unlink rich menu from user.
2060
- * This method includes HttpInfo object to return additional information.
2238
+ * Unlink rich menu from user
2239
+ * Calls `DELETE https://api.line.me/v2/bot/user/{userId}/richmenu`.
2240
+ * This method returns the response body together with the underlying `httpResponse`.
2061
2241
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
2062
- *
2063
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user"> Documentation</a>
2242
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2243
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">LINE Developers documentation</a>
2064
2244
  */
2065
2245
  public async unlinkRichMenuIdFromUserWithHttpInfo(
2066
2246
  userId: string,
@@ -2076,9 +2256,11 @@ export class MessagingApiClient {
2076
2256
  }
2077
2257
  /**
2078
2258
  * Unlink rich menus from multiple users
2259
+ * Calls `POST https://api.line.me/v2/bot/richmenu/bulk/unlink`.
2260
+ * To inspect the HTTP status code or response headers, use {@link unlinkRichMenuIdFromUsersWithHttpInfo}.
2079
2261
  * @param richMenuBulkUnlinkRequest
2080
- *
2081
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users"> Documentation</a>
2262
+ * @returns A promise resolving to the response body.
2263
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">LINE Developers documentation</a>
2082
2264
  */
2083
2265
  public async unlinkRichMenuIdFromUsers(
2084
2266
  richMenuBulkUnlinkRequest: RichMenuBulkUnlinkRequest,
@@ -2091,11 +2273,12 @@ export class MessagingApiClient {
2091
2273
  }
2092
2274
 
2093
2275
  /**
2094
- * Unlink rich menus from multiple users.
2095
- * This method includes HttpInfo object to return additional information.
2276
+ * Unlink rich menus from multiple users
2277
+ * Calls `POST https://api.line.me/v2/bot/richmenu/bulk/unlink`.
2278
+ * This method returns the response body together with the underlying `httpResponse`.
2096
2279
  * @param richMenuBulkUnlinkRequest
2097
- *
2098
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users"> Documentation</a>
2280
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2281
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">LINE Developers documentation</a>
2099
2282
  */
2100
2283
  public async unlinkRichMenuIdFromUsersWithHttpInfo(
2101
2284
  richMenuBulkUnlinkRequest: RichMenuBulkUnlinkRequest,
@@ -2112,10 +2295,12 @@ export class MessagingApiClient {
2112
2295
  }
2113
2296
  /**
2114
2297
  * Update rich menu alias
2298
+ * Calls `POST https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
2299
+ * To inspect the HTTP status code or response headers, use {@link updateRichMenuAliasWithHttpInfo}.
2115
2300
  * @param richMenuAliasId The rich menu alias ID you want to update.
2116
2301
  * @param updateRichMenuAliasRequest
2117
- *
2118
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias"> Documentation</a>
2302
+ * @returns A promise resolving to the response body.
2303
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">LINE Developers documentation</a>
2119
2304
  */
2120
2305
  public async updateRichMenuAlias(
2121
2306
  richMenuAliasId: string,
@@ -2130,12 +2315,13 @@ export class MessagingApiClient {
2130
2315
  }
2131
2316
 
2132
2317
  /**
2133
- * Update rich menu alias.
2134
- * This method includes HttpInfo object to return additional information.
2318
+ * Update rich menu alias
2319
+ * Calls `POST https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
2320
+ * This method returns the response body together with the underlying `httpResponse`.
2135
2321
  * @param richMenuAliasId The rich menu alias ID you want to update.
2136
2322
  * @param updateRichMenuAliasRequest
2137
- *
2138
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias"> Documentation</a>
2323
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2324
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">LINE Developers documentation</a>
2139
2325
  */
2140
2326
  public async updateRichMenuAliasWithHttpInfo(
2141
2327
  richMenuAliasId: string,
@@ -2154,9 +2340,11 @@ export class MessagingApiClient {
2154
2340
  }
2155
2341
  /**
2156
2342
  * Validate message objects of a broadcast message
2343
+ * Calls `POST https://api.line.me/v2/bot/message/validate/broadcast`.
2344
+ * To inspect the HTTP status code or response headers, use {@link validateBroadcastWithHttpInfo}.
2157
2345
  * @param validateMessageRequest
2158
- *
2159
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message"> Documentation</a>
2346
+ * @returns A promise resolving to the response body.
2347
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">LINE Developers documentation</a>
2160
2348
  */
2161
2349
  public async validateBroadcast(
2162
2350
  validateMessageRequest: ValidateMessageRequest,
@@ -2166,11 +2354,12 @@ export class MessagingApiClient {
2166
2354
  }
2167
2355
 
2168
2356
  /**
2169
- * Validate message objects of a broadcast message.
2170
- * This method includes HttpInfo object to return additional information.
2357
+ * Validate message objects of a broadcast message
2358
+ * Calls `POST https://api.line.me/v2/bot/message/validate/broadcast`.
2359
+ * This method returns the response body together with the underlying `httpResponse`.
2171
2360
  * @param validateMessageRequest
2172
- *
2173
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message"> Documentation</a>
2361
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2362
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">LINE Developers documentation</a>
2174
2363
  */
2175
2364
  public async validateBroadcastWithHttpInfo(
2176
2365
  validateMessageRequest: ValidateMessageRequest,
@@ -2187,9 +2376,11 @@ export class MessagingApiClient {
2187
2376
  }
2188
2377
  /**
2189
2378
  * Validate message objects of a multicast message
2379
+ * Calls `POST https://api.line.me/v2/bot/message/validate/multicast`.
2380
+ * To inspect the HTTP status code or response headers, use {@link validateMulticastWithHttpInfo}.
2190
2381
  * @param validateMessageRequest
2191
- *
2192
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message"> Documentation</a>
2382
+ * @returns A promise resolving to the response body.
2383
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">LINE Developers documentation</a>
2193
2384
  */
2194
2385
  public async validateMulticast(
2195
2386
  validateMessageRequest: ValidateMessageRequest,
@@ -2199,11 +2390,12 @@ export class MessagingApiClient {
2199
2390
  }
2200
2391
 
2201
2392
  /**
2202
- * Validate message objects of a multicast message.
2203
- * This method includes HttpInfo object to return additional information.
2393
+ * Validate message objects of a multicast message
2394
+ * Calls `POST https://api.line.me/v2/bot/message/validate/multicast`.
2395
+ * This method returns the response body together with the underlying `httpResponse`.
2204
2396
  * @param validateMessageRequest
2205
- *
2206
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message"> Documentation</a>
2397
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2398
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">LINE Developers documentation</a>
2207
2399
  */
2208
2400
  public async validateMulticastWithHttpInfo(
2209
2401
  validateMessageRequest: ValidateMessageRequest,
@@ -2220,9 +2412,11 @@ export class MessagingApiClient {
2220
2412
  }
2221
2413
  /**
2222
2414
  * Validate message objects of a narrowcast message
2415
+ * Calls `POST https://api.line.me/v2/bot/message/validate/narrowcast`.
2416
+ * To inspect the HTTP status code or response headers, use {@link validateNarrowcastWithHttpInfo}.
2223
2417
  * @param validateMessageRequest
2224
- *
2225
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message"> Documentation</a>
2418
+ * @returns A promise resolving to the response body.
2419
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">LINE Developers documentation</a>
2226
2420
  */
2227
2421
  public async validateNarrowcast(
2228
2422
  validateMessageRequest: ValidateMessageRequest,
@@ -2232,11 +2426,12 @@ export class MessagingApiClient {
2232
2426
  }
2233
2427
 
2234
2428
  /**
2235
- * Validate message objects of a narrowcast message.
2236
- * This method includes HttpInfo object to return additional information.
2429
+ * Validate message objects of a narrowcast message
2430
+ * Calls `POST https://api.line.me/v2/bot/message/validate/narrowcast`.
2431
+ * This method returns the response body together with the underlying `httpResponse`.
2237
2432
  * @param validateMessageRequest
2238
- *
2239
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message"> Documentation</a>
2433
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2434
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">LINE Developers documentation</a>
2240
2435
  */
2241
2436
  public async validateNarrowcastWithHttpInfo(
2242
2437
  validateMessageRequest: ValidateMessageRequest,
@@ -2253,9 +2448,11 @@ export class MessagingApiClient {
2253
2448
  }
2254
2449
  /**
2255
2450
  * Validate message objects of a push message
2451
+ * Calls `POST https://api.line.me/v2/bot/message/validate/push`.
2452
+ * To inspect the HTTP status code or response headers, use {@link validatePushWithHttpInfo}.
2256
2453
  * @param validateMessageRequest
2257
- *
2258
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message"> Documentation</a>
2454
+ * @returns A promise resolving to the response body.
2455
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message">LINE Developers documentation</a>
2259
2456
  */
2260
2457
  public async validatePush(
2261
2458
  validateMessageRequest: ValidateMessageRequest,
@@ -2264,11 +2461,12 @@ export class MessagingApiClient {
2264
2461
  }
2265
2462
 
2266
2463
  /**
2267
- * Validate message objects of a push message.
2268
- * This method includes HttpInfo object to return additional information.
2464
+ * Validate message objects of a push message
2465
+ * Calls `POST https://api.line.me/v2/bot/message/validate/push`.
2466
+ * This method returns the response body together with the underlying `httpResponse`.
2269
2467
  * @param validateMessageRequest
2270
- *
2271
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message"> Documentation</a>
2468
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2469
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message">LINE Developers documentation</a>
2272
2470
  */
2273
2471
  public async validatePushWithHttpInfo(
2274
2472
  validateMessageRequest: ValidateMessageRequest,
@@ -2285,9 +2483,11 @@ export class MessagingApiClient {
2285
2483
  }
2286
2484
  /**
2287
2485
  * Validate message objects of a reply message
2486
+ * Calls `POST https://api.line.me/v2/bot/message/validate/reply`.
2487
+ * To inspect the HTTP status code or response headers, use {@link validateReplyWithHttpInfo}.
2288
2488
  * @param validateMessageRequest
2289
- *
2290
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message"> Documentation</a>
2489
+ * @returns A promise resolving to the response body.
2490
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">LINE Developers documentation</a>
2291
2491
  */
2292
2492
  public async validateReply(
2293
2493
  validateMessageRequest: ValidateMessageRequest,
@@ -2296,11 +2496,12 @@ export class MessagingApiClient {
2296
2496
  }
2297
2497
 
2298
2498
  /**
2299
- * Validate message objects of a reply message.
2300
- * This method includes HttpInfo object to return additional information.
2499
+ * Validate message objects of a reply message
2500
+ * Calls `POST https://api.line.me/v2/bot/message/validate/reply`.
2501
+ * This method returns the response body together with the underlying `httpResponse`.
2301
2502
  * @param validateMessageRequest
2302
- *
2303
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message"> Documentation</a>
2503
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2504
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">LINE Developers documentation</a>
2304
2505
  */
2305
2506
  public async validateReplyWithHttpInfo(
2306
2507
  validateMessageRequest: ValidateMessageRequest,
@@ -2317,9 +2518,11 @@ export class MessagingApiClient {
2317
2518
  }
2318
2519
  /**
2319
2520
  * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
2521
+ * Calls `POST https://api.line.me/v2/bot/richmenu/validate/batch`.
2522
+ * To inspect the HTTP status code or response headers, use {@link validateRichMenuBatchRequestWithHttpInfo}.
2320
2523
  * @param richMenuBatchRequest
2321
- *
2322
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request"> Documentation</a>
2524
+ * @returns A promise resolving to the response body.
2525
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">LINE Developers documentation</a>
2323
2526
  */
2324
2527
  public async validateRichMenuBatchRequest(
2325
2528
  richMenuBatchRequest: RichMenuBatchRequest,
@@ -2330,11 +2533,12 @@ export class MessagingApiClient {
2330
2533
  }
2331
2534
 
2332
2535
  /**
2333
- * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint..
2334
- * This method includes HttpInfo object to return additional information.
2536
+ * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
2537
+ * Calls `POST https://api.line.me/v2/bot/richmenu/validate/batch`.
2538
+ * This method returns the response body together with the underlying `httpResponse`.
2335
2539
  * @param richMenuBatchRequest
2336
- *
2337
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request"> Documentation</a>
2540
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2541
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">LINE Developers documentation</a>
2338
2542
  */
2339
2543
  public async validateRichMenuBatchRequestWithHttpInfo(
2340
2544
  richMenuBatchRequest: RichMenuBatchRequest,
@@ -2351,9 +2555,11 @@ export class MessagingApiClient {
2351
2555
  }
2352
2556
  /**
2353
2557
  * Validate rich menu object
2558
+ * Calls `POST https://api.line.me/v2/bot/richmenu/validate`.
2559
+ * To inspect the HTTP status code or response headers, use {@link validateRichMenuObjectWithHttpInfo}.
2354
2560
  * @param richMenuRequest
2355
- *
2356
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object"> Documentation</a>
2561
+ * @returns A promise resolving to the response body.
2562
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">LINE Developers documentation</a>
2357
2563
  */
2358
2564
  public async validateRichMenuObject(
2359
2565
  richMenuRequest: RichMenuRequest,
@@ -2363,11 +2569,12 @@ export class MessagingApiClient {
2363
2569
  }
2364
2570
 
2365
2571
  /**
2366
- * Validate rich menu object.
2367
- * This method includes HttpInfo object to return additional information.
2572
+ * Validate rich menu object
2573
+ * Calls `POST https://api.line.me/v2/bot/richmenu/validate`.
2574
+ * This method returns the response body together with the underlying `httpResponse`.
2368
2575
  * @param richMenuRequest
2369
- *
2370
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object"> Documentation</a>
2576
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
2577
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">LINE Developers documentation</a>
2371
2578
  */
2372
2579
  public async validateRichMenuObjectWithHttpInfo(
2373
2580
  richMenuRequest: RichMenuRequest,