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

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
@@ -10,14 +10,60 @@
10
10
  * https://openapi-generator.tech
11
11
  * Do not edit the class manually.
12
12
  */
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || (function () {
30
+ var ownKeys = function(o) {
31
+ ownKeys = Object.getOwnPropertyNames || function (o) {
32
+ var ar = [];
33
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
+ return ar;
35
+ };
36
+ return ownKeys(o);
37
+ };
38
+ return function (mod) {
39
+ if (mod && mod.__esModule) return mod;
40
+ var result = {};
41
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
+ __setModuleDefault(result, mod);
43
+ return result;
44
+ };
45
+ })();
13
46
  Object.defineProperty(exports, "__esModule", { value: true });
14
47
  exports.MessagingApiClient = void 0;
15
48
  const utils_js_1 = require("../../utils.js");
16
- const http_fetch_js_1 = require("../../http-fetch.js");
49
+ const http_fetch_js_1 = __importStar(require("../../http-fetch.js"));
17
50
  /**
18
51
  * @see {@link LineBotClient} for a unified interface that wraps this client.
19
52
  */
20
53
  class MessagingApiClient {
54
+ /**
55
+ * Initializes a new `MessagingApiClient`.
56
+ *
57
+ * @param config Configuration for this API client.
58
+ * @param config.baseURL The base URL for requests. Defaults to `https://api.line.me`.
59
+ * @param config.channelAccessToken The channel access token used for authorization.
60
+ * @param config.defaultHeaders Extra headers merged into every request.
61
+ *
62
+ * @example
63
+ * const client = new MessagingApiClient({
64
+ * channelAccessToken: process.env.LINE_CHANNEL_ACCESS_TOKEN!,
65
+ * });
66
+ */
21
67
  constructor(config) {
22
68
  const baseURL = config.baseURL || "https://api.line.me";
23
69
  const defaultHeaders = (0, http_fetch_js_1.mergeHeaders)(config.defaultHeaders, {
@@ -30,22 +76,25 @@ class MessagingApiClient {
30
76
  }
31
77
  /**
32
78
  * Sends a message to multiple users at any time.
79
+ * Calls `POST https://api.line.me/v2/bot/message/broadcast`.
80
+ * To inspect the HTTP status code or response headers, use {@link broadcastWithHttpInfo}.
33
81
  * @param broadcastRequest
34
82
  * @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.
35
- *
36
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message"> Documentation</a>
83
+ * @returns A promise resolving to the response body.
84
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">LINE Developers documentation</a>
37
85
  */
38
86
  async broadcast(broadcastRequest, xLineRetryKey) {
39
87
  return (await this.broadcastWithHttpInfo(broadcastRequest, xLineRetryKey))
40
88
  .body;
41
89
  }
42
90
  /**
43
- * Sends a message to multiple users at any time..
44
- * This method includes HttpInfo object to return additional information.
91
+ * Sends a message to multiple users at any time.
92
+ * Calls `POST https://api.line.me/v2/bot/message/broadcast`.
93
+ * This method returns the response body together with the underlying `httpResponse`.
45
94
  * @param broadcastRequest
46
95
  * @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.
47
- *
48
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message"> Documentation</a>
96
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
97
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">LINE Developers documentation</a>
49
98
  */
50
99
  async broadcastWithHttpInfo(broadcastRequest, xLineRetryKey) {
51
100
  const params = broadcastRequest;
@@ -57,17 +106,20 @@ class MessagingApiClient {
57
106
  }
58
107
  /**
59
108
  * Cancel default rich menu
60
- *
61
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu"> Documentation</a>
109
+ * Calls `DELETE https://api.line.me/v2/bot/user/all/richmenu`.
110
+ * To inspect the HTTP status code or response headers, use {@link cancelDefaultRichMenuWithHttpInfo}.
111
+ * @returns A promise resolving to the response body.
112
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu">LINE Developers documentation</a>
62
113
  */
63
114
  async cancelDefaultRichMenu() {
64
115
  return (await this.cancelDefaultRichMenuWithHttpInfo()).body;
65
116
  }
66
117
  /**
67
- * Cancel default rich menu.
68
- * This method includes HttpInfo object to return additional information.
69
- *
70
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu"> Documentation</a>
118
+ * Cancel default rich menu
119
+ * Calls `DELETE https://api.line.me/v2/bot/user/all/richmenu`.
120
+ * This method returns the response body together with the underlying `httpResponse`.
121
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
122
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu">LINE Developers documentation</a>
71
123
  */
72
124
  async cancelDefaultRichMenuWithHttpInfo() {
73
125
  const res = await this.httpClient.delete("/v2/bot/user/all/richmenu");
@@ -77,19 +129,22 @@ class MessagingApiClient {
77
129
  }
78
130
  /**
79
131
  * Close coupon
132
+ * Calls `PUT https://api.line.me/v2/bot/coupon/{couponId}/close`.
133
+ * To inspect the HTTP status code or response headers, use {@link closeCouponWithHttpInfo}.
80
134
  * @param couponId
81
- *
82
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon"> Documentation</a>
135
+ * @returns A promise resolving to the response body.
136
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">LINE Developers documentation</a>
83
137
  */
84
138
  async closeCoupon(couponId) {
85
139
  return (await this.closeCouponWithHttpInfo(couponId)).body;
86
140
  }
87
141
  /**
88
- * Close coupon.
89
- * This method includes HttpInfo object to return additional information.
142
+ * Close coupon
143
+ * Calls `PUT https://api.line.me/v2/bot/coupon/{couponId}/close`.
144
+ * This method returns the response body together with the underlying `httpResponse`.
90
145
  * @param couponId
91
- *
92
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon"> Documentation</a>
146
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
147
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">LINE Developers documentation</a>
93
148
  */
94
149
  async closeCouponWithHttpInfo(couponId) {
95
150
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/coupon/{couponId}/close", {
@@ -102,19 +157,22 @@ class MessagingApiClient {
102
157
  }
103
158
  /**
104
159
  * Create a new coupon. Define coupon details such as type, title, and validity period.
160
+ * Calls `POST https://api.line.me/v2/bot/coupon`.
161
+ * To inspect the HTTP status code or response headers, use {@link createCouponWithHttpInfo}.
105
162
  * @param couponCreateRequest
106
- *
107
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon"> Documentation</a>
163
+ * @returns A promise resolving to the response body.
164
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">LINE Developers documentation</a>
108
165
  */
109
166
  async createCoupon(couponCreateRequest) {
110
167
  return (await this.createCouponWithHttpInfo(couponCreateRequest)).body;
111
168
  }
112
169
  /**
113
- * Create a new coupon. Define coupon details such as type, title, and validity period..
114
- * This method includes HttpInfo object to return additional information.
170
+ * Create a new coupon. Define coupon details such as type, title, and validity period.
171
+ * Calls `POST https://api.line.me/v2/bot/coupon`.
172
+ * This method returns the response body together with the underlying `httpResponse`.
115
173
  * @param couponCreateRequest
116
- *
117
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon"> Documentation</a>
174
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
175
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">LINE Developers documentation</a>
118
176
  */
119
177
  async createCouponWithHttpInfo(couponCreateRequest) {
120
178
  const params = couponCreateRequest;
@@ -125,19 +183,22 @@ class MessagingApiClient {
125
183
  }
126
184
  /**
127
185
  * Create rich menu
186
+ * Calls `POST https://api.line.me/v2/bot/richmenu`.
187
+ * To inspect the HTTP status code or response headers, use {@link createRichMenuWithHttpInfo}.
128
188
  * @param richMenuRequest
129
- *
130
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu"> Documentation</a>
189
+ * @returns A promise resolving to the response body.
190
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">LINE Developers documentation</a>
131
191
  */
132
192
  async createRichMenu(richMenuRequest) {
133
193
  return (await this.createRichMenuWithHttpInfo(richMenuRequest)).body;
134
194
  }
135
195
  /**
136
- * Create rich menu.
137
- * This method includes HttpInfo object to return additional information.
196
+ * Create rich menu
197
+ * Calls `POST https://api.line.me/v2/bot/richmenu`.
198
+ * This method returns the response body together with the underlying `httpResponse`.
138
199
  * @param richMenuRequest
139
- *
140
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu"> Documentation</a>
200
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
201
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">LINE Developers documentation</a>
141
202
  */
142
203
  async createRichMenuWithHttpInfo(richMenuRequest) {
143
204
  const params = richMenuRequest;
@@ -148,19 +209,22 @@ class MessagingApiClient {
148
209
  }
149
210
  /**
150
211
  * Create rich menu alias
212
+ * Calls `POST https://api.line.me/v2/bot/richmenu/alias`.
213
+ * To inspect the HTTP status code or response headers, use {@link createRichMenuAliasWithHttpInfo}.
151
214
  * @param createRichMenuAliasRequest
152
- *
153
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias"> Documentation</a>
215
+ * @returns A promise resolving to the response body.
216
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">LINE Developers documentation</a>
154
217
  */
155
218
  async createRichMenuAlias(createRichMenuAliasRequest) {
156
219
  return (await this.createRichMenuAliasWithHttpInfo(createRichMenuAliasRequest)).body;
157
220
  }
158
221
  /**
159
- * Create rich menu alias.
160
- * This method includes HttpInfo object to return additional information.
222
+ * Create rich menu alias
223
+ * Calls `POST https://api.line.me/v2/bot/richmenu/alias`.
224
+ * This method returns the response body together with the underlying `httpResponse`.
161
225
  * @param createRichMenuAliasRequest
162
- *
163
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias"> Documentation</a>
226
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
227
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">LINE Developers documentation</a>
164
228
  */
165
229
  async createRichMenuAliasWithHttpInfo(createRichMenuAliasRequest) {
166
230
  const params = createRichMenuAliasRequest;
@@ -171,19 +235,22 @@ class MessagingApiClient {
171
235
  }
172
236
  /**
173
237
  * Deletes a rich menu.
238
+ * Calls `DELETE https://api.line.me/v2/bot/richmenu/{richMenuId}`.
239
+ * To inspect the HTTP status code or response headers, use {@link deleteRichMenuWithHttpInfo}.
174
240
  * @param richMenuId ID of a rich menu
175
- *
176
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu"> Documentation</a>
241
+ * @returns A promise resolving to the response body.
242
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu">LINE Developers documentation</a>
177
243
  */
178
244
  async deleteRichMenu(richMenuId) {
179
245
  return (await this.deleteRichMenuWithHttpInfo(richMenuId)).body;
180
246
  }
181
247
  /**
182
- * Deletes a rich menu..
183
- * This method includes HttpInfo object to return additional information.
248
+ * Deletes a rich menu.
249
+ * Calls `DELETE https://api.line.me/v2/bot/richmenu/{richMenuId}`.
250
+ * This method returns the response body together with the underlying `httpResponse`.
184
251
  * @param richMenuId ID of a rich menu
185
- *
186
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu"> 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/#delete-rich-menu">LINE Developers documentation</a>
187
254
  */
188
255
  async deleteRichMenuWithHttpInfo(richMenuId) {
189
256
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/richmenu/{richMenuId}", {
@@ -196,19 +263,22 @@ class MessagingApiClient {
196
263
  }
197
264
  /**
198
265
  * Delete rich menu alias
266
+ * Calls `DELETE https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
267
+ * To inspect the HTTP status code or response headers, use {@link deleteRichMenuAliasWithHttpInfo}.
199
268
  * @param richMenuAliasId Rich menu alias ID that you want to delete.
200
- *
201
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias"> Documentation</a>
269
+ * @returns A promise resolving to the response body.
270
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">LINE Developers documentation</a>
202
271
  */
203
272
  async deleteRichMenuAlias(richMenuAliasId) {
204
273
  return (await this.deleteRichMenuAliasWithHttpInfo(richMenuAliasId)).body;
205
274
  }
206
275
  /**
207
- * Delete rich menu alias.
208
- * This method includes HttpInfo object to return additional information.
276
+ * Delete rich menu alias
277
+ * Calls `DELETE https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
278
+ * This method returns the response body together with the underlying `httpResponse`.
209
279
  * @param richMenuAliasId Rich menu alias ID that you want to delete.
210
- *
211
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias"> Documentation</a>
280
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
281
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">LINE Developers documentation</a>
212
282
  */
213
283
  async deleteRichMenuAliasWithHttpInfo(richMenuAliasId) {
214
284
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/richmenu/alias/{richMenuAliasId}", {
@@ -221,33 +291,37 @@ class MessagingApiClient {
221
291
  }
222
292
  /**
223
293
  * Get name list of units used this month
294
+ * Calls `GET https://api.line.me/v2/bot/message/aggregation/list`.
295
+ * To inspect the HTTP status code or response headers, use {@link getAggregationUnitNameListWithHttpInfo}.
224
296
  * @param limit The maximum number of aggregation units you can get per request.
225
297
  * @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.
226
- *
227
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month"> Documentation</a>
298
+ * @returns A promise resolving to the response body.
299
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">LINE Developers documentation</a>
228
300
  */
229
301
  async getAggregationUnitNameList(limit, start) {
230
302
  return (await this.getAggregationUnitNameListWithHttpInfo(limit, start))
231
303
  .body;
232
304
  }
233
305
  /**
234
- * Get name list of units used this month.
235
- * This method includes HttpInfo object to return additional information.
306
+ * Get name list of units used this month
307
+ * Calls `GET https://api.line.me/v2/bot/message/aggregation/list`.
308
+ * This method returns the response body together with the underlying `httpResponse`.
236
309
  * @param limit The maximum number of aggregation units you can get per request.
237
310
  * @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.
238
- *
239
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month"> Documentation</a>
311
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
312
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">LINE Developers documentation</a>
240
313
  */
241
314
  async getAggregationUnitNameListWithHttpInfo(limit, start) {
242
315
  const queryParams = {
243
316
  limit: limit,
244
317
  start: start,
245
318
  };
246
- Object.keys(queryParams).forEach((key) => {
247
- if (queryParams[key] === undefined) {
248
- delete queryParams[key];
249
- }
250
- });
319
+ if (queryParams["limit"] === undefined) {
320
+ delete queryParams["limit"];
321
+ }
322
+ if (queryParams["start"] === undefined) {
323
+ delete queryParams["start"];
324
+ }
251
325
  const res = await this.httpClient.get("/v2/bot/message/aggregation/list", queryParams);
252
326
  const text = await res.text();
253
327
  const parsedBody = text ? JSON.parse(text) : null;
@@ -255,17 +329,20 @@ class MessagingApiClient {
255
329
  }
256
330
  /**
257
331
  * Get number of units used this month
258
- *
259
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month"> Documentation</a>
332
+ * Calls `GET https://api.line.me/v2/bot/message/aggregation/info`.
333
+ * To inspect the HTTP status code or response headers, use {@link getAggregationUnitUsageWithHttpInfo}.
334
+ * @returns A promise resolving to the response body.
335
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month">LINE Developers documentation</a>
260
336
  */
261
337
  async getAggregationUnitUsage() {
262
338
  return (await this.getAggregationUnitUsageWithHttpInfo()).body;
263
339
  }
264
340
  /**
265
- * Get number of units used this month.
266
- * This method includes HttpInfo object to return additional information.
267
- *
268
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month"> Documentation</a>
341
+ * Get number of units used this month
342
+ * Calls `GET https://api.line.me/v2/bot/message/aggregation/info`.
343
+ * This method returns the response body together with the underlying `httpResponse`.
344
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
345
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month">LINE Developers documentation</a>
269
346
  */
270
347
  async getAggregationUnitUsageWithHttpInfo() {
271
348
  const res = await this.httpClient.get("/v2/bot/message/aggregation/info");
@@ -275,17 +352,20 @@ class MessagingApiClient {
275
352
  }
276
353
  /**
277
354
  * Get bot info
278
- *
279
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info"> Documentation</a>
355
+ * Calls `GET https://api.line.me/v2/bot/info`.
356
+ * To inspect the HTTP status code or response headers, use {@link getBotInfoWithHttpInfo}.
357
+ * @returns A promise resolving to the response body.
358
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">LINE Developers documentation</a>
280
359
  */
281
360
  async getBotInfo() {
282
361
  return (await this.getBotInfoWithHttpInfo()).body;
283
362
  }
284
363
  /**
285
- * Get bot info.
286
- * This method includes HttpInfo object to return additional information.
287
- *
288
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info"> Documentation</a>
364
+ * Get bot info
365
+ * Calls `GET https://api.line.me/v2/bot/info`.
366
+ * This method returns the response body together with the underlying `httpResponse`.
367
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
368
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">LINE Developers documentation</a>
289
369
  */
290
370
  async getBotInfoWithHttpInfo() {
291
371
  const res = await this.httpClient.get("/v2/bot/info");
@@ -295,19 +375,22 @@ class MessagingApiClient {
295
375
  }
296
376
  /**
297
377
  * Get coupon detail
378
+ * Calls `GET https://api.line.me/v2/bot/coupon/{couponId}`.
379
+ * To inspect the HTTP status code or response headers, use {@link getCouponDetailWithHttpInfo}.
298
380
  * @param couponId
299
- *
300
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon"> Documentation</a>
381
+ * @returns A promise resolving to the response body.
382
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">LINE Developers documentation</a>
301
383
  */
302
384
  async getCouponDetail(couponId) {
303
385
  return (await this.getCouponDetailWithHttpInfo(couponId)).body;
304
386
  }
305
387
  /**
306
- * Get coupon detail.
307
- * This method includes HttpInfo object to return additional information.
388
+ * Get coupon detail
389
+ * Calls `GET https://api.line.me/v2/bot/coupon/{couponId}`.
390
+ * This method returns the response body together with the underlying `httpResponse`.
308
391
  * @param couponId
309
- *
310
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon"> Documentation</a>
392
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
393
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">LINE Developers documentation</a>
311
394
  */
312
395
  async getCouponDetailWithHttpInfo(couponId) {
313
396
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/coupon/{couponId}", {
@@ -320,17 +403,20 @@ class MessagingApiClient {
320
403
  }
321
404
  /**
322
405
  * Gets the ID of the default rich menu set with the Messaging API.
323
- *
324
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id"> Documentation</a>
406
+ * Calls `GET https://api.line.me/v2/bot/user/all/richmenu`.
407
+ * To inspect the HTTP status code or response headers, use {@link getDefaultRichMenuIdWithHttpInfo}.
408
+ * @returns A promise resolving to the response body.
409
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id">LINE Developers documentation</a>
325
410
  */
326
411
  async getDefaultRichMenuId() {
327
412
  return (await this.getDefaultRichMenuIdWithHttpInfo()).body;
328
413
  }
329
414
  /**
330
- * Gets the ID of the default rich menu set with the Messaging API..
331
- * This method includes HttpInfo object to return additional information.
332
- *
333
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id"> Documentation</a>
415
+ * Gets the ID of the default rich menu set with the Messaging API.
416
+ * Calls `GET https://api.line.me/v2/bot/user/all/richmenu`.
417
+ * This method returns the response body together with the underlying `httpResponse`.
418
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
419
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id">LINE Developers documentation</a>
334
420
  */
335
421
  async getDefaultRichMenuIdWithHttpInfo() {
336
422
  const res = await this.httpClient.get("/v2/bot/user/all/richmenu");
@@ -340,32 +426,36 @@ class MessagingApiClient {
340
426
  }
341
427
  /**
342
428
  * Get a list of users who added your LINE Official Account as a friend
429
+ * Calls `GET https://api.line.me/v2/bot/followers/ids`.
430
+ * To inspect the HTTP status code or response headers, use {@link getFollowersWithHttpInfo}.
343
431
  * @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.
344
432
  * @param limit The maximum number of user IDs to retrieve in a single request.
345
- *
346
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids"> Documentation</a>
433
+ * @returns A promise resolving to the response body.
434
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">LINE Developers documentation</a>
347
435
  */
348
436
  async getFollowers(start, limit) {
349
437
  return (await this.getFollowersWithHttpInfo(start, limit)).body;
350
438
  }
351
439
  /**
352
- * Get a list of users who added your LINE Official Account as a friend.
353
- * This method includes HttpInfo object to return additional information.
440
+ * Get a list of users who added your LINE Official Account as a friend
441
+ * Calls `GET https://api.line.me/v2/bot/followers/ids`.
442
+ * This method returns the response body together with the underlying `httpResponse`.
354
443
  * @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.
355
444
  * @param limit The maximum number of user IDs to retrieve in a single request.
356
- *
357
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids"> Documentation</a>
445
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
446
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">LINE Developers documentation</a>
358
447
  */
359
448
  async getFollowersWithHttpInfo(start, limit) {
360
449
  const queryParams = {
361
450
  start: start,
362
451
  limit: limit,
363
452
  };
364
- Object.keys(queryParams).forEach((key) => {
365
- if (queryParams[key] === undefined) {
366
- delete queryParams[key];
367
- }
368
- });
453
+ if (queryParams["start"] === undefined) {
454
+ delete queryParams["start"];
455
+ }
456
+ if (queryParams["limit"] === undefined) {
457
+ delete queryParams["limit"];
458
+ }
369
459
  const res = await this.httpClient.get("/v2/bot/followers/ids", queryParams);
370
460
  const text = await res.text();
371
461
  const parsedBody = text ? JSON.parse(text) : null;
@@ -373,19 +463,22 @@ class MessagingApiClient {
373
463
  }
374
464
  /**
375
465
  * Get number of users in a group chat
466
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/count`.
467
+ * To inspect the HTTP status code or response headers, use {@link getGroupMemberCountWithHttpInfo}.
376
468
  * @param groupId Group ID
377
- *
378
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count"> Documentation</a>
469
+ * @returns A promise resolving to the response body.
470
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">LINE Developers documentation</a>
379
471
  */
380
472
  async getGroupMemberCount(groupId) {
381
473
  return (await this.getGroupMemberCountWithHttpInfo(groupId)).body;
382
474
  }
383
475
  /**
384
- * Get number of users in a group chat.
385
- * This method includes HttpInfo object to return additional information.
476
+ * Get number of users in a group chat
477
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/count`.
478
+ * This method returns the response body together with the underlying `httpResponse`.
386
479
  * @param groupId Group ID
387
- *
388
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count"> Documentation</a>
480
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
481
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">LINE Developers documentation</a>
389
482
  */
390
483
  async getGroupMemberCountWithHttpInfo(groupId) {
391
484
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/group/{groupId}/members/count", {
@@ -398,21 +491,24 @@ class MessagingApiClient {
398
491
  }
399
492
  /**
400
493
  * Get group chat member profile
494
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/member/{userId}`.
495
+ * To inspect the HTTP status code or response headers, use {@link getGroupMemberProfileWithHttpInfo}.
401
496
  * @param groupId Group ID
402
497
  * @param userId User ID
403
- *
404
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile"> Documentation</a>
498
+ * @returns A promise resolving to the response body.
499
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">LINE Developers documentation</a>
405
500
  */
406
501
  async getGroupMemberProfile(groupId, userId) {
407
502
  return (await this.getGroupMemberProfileWithHttpInfo(groupId, userId)).body;
408
503
  }
409
504
  /**
410
- * Get group chat member profile.
411
- * This method includes HttpInfo object to return additional information.
505
+ * Get group chat member profile
506
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/member/{userId}`.
507
+ * This method returns the response body together with the underlying `httpResponse`.
412
508
  * @param groupId Group ID
413
509
  * @param userId User ID
414
- *
415
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile"> Documentation</a>
510
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
511
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">LINE Developers documentation</a>
416
512
  */
417
513
  async getGroupMemberProfileWithHttpInfo(groupId, userId) {
418
514
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/group/{groupId}/member/{userId}", {
@@ -426,21 +522,24 @@ class MessagingApiClient {
426
522
  }
427
523
  /**
428
524
  * Get group chat member user IDs
525
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/ids`.
526
+ * To inspect the HTTP status code or response headers, use {@link getGroupMembersIdsWithHttpInfo}.
429
527
  * @param groupId Group ID
430
528
  * @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.
431
- *
432
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids"> Documentation</a>
529
+ * @returns A promise resolving to the response body.
530
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">LINE Developers documentation</a>
433
531
  */
434
532
  async getGroupMembersIds(groupId, start) {
435
533
  return (await this.getGroupMembersIdsWithHttpInfo(groupId, start)).body;
436
534
  }
437
535
  /**
438
- * Get group chat member user IDs.
439
- * This method includes HttpInfo object to return additional information.
536
+ * Get group chat member user IDs
537
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/ids`.
538
+ * This method returns the response body together with the underlying `httpResponse`.
440
539
  * @param groupId Group ID
441
540
  * @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.
442
- *
443
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids"> Documentation</a>
541
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
542
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">LINE Developers documentation</a>
444
543
  */
445
544
  async getGroupMembersIdsWithHttpInfo(groupId, start) {
446
545
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/group/{groupId}/members/ids", {
@@ -449,11 +548,9 @@ class MessagingApiClient {
449
548
  const queryParams = {
450
549
  start: start,
451
550
  };
452
- Object.keys(queryParams).forEach((key) => {
453
- if (queryParams[key] === undefined) {
454
- delete queryParams[key];
455
- }
456
- });
551
+ if (queryParams["start"] === undefined) {
552
+ delete queryParams["start"];
553
+ }
457
554
  const res = await this.httpClient.get(requestPath, queryParams);
458
555
  const text = await res.text();
459
556
  const parsedBody = text ? JSON.parse(text) : null;
@@ -461,19 +558,22 @@ class MessagingApiClient {
461
558
  }
462
559
  /**
463
560
  * Get group chat summary
561
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/summary`.
562
+ * To inspect the HTTP status code or response headers, use {@link getGroupSummaryWithHttpInfo}.
464
563
  * @param groupId Group ID
465
- *
466
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary"> Documentation</a>
564
+ * @returns A promise resolving to the response body.
565
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">LINE Developers documentation</a>
467
566
  */
468
567
  async getGroupSummary(groupId) {
469
568
  return (await this.getGroupSummaryWithHttpInfo(groupId)).body;
470
569
  }
471
570
  /**
472
- * Get group chat summary.
473
- * This method includes HttpInfo object to return additional information.
571
+ * Get group chat summary
572
+ * Calls `GET https://api.line.me/v2/bot/group/{groupId}/summary`.
573
+ * This method returns the response body together with the underlying `httpResponse`.
474
574
  * @param groupId Group ID
475
- *
476
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary"> Documentation</a>
575
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
576
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">LINE Developers documentation</a>
477
577
  */
478
578
  async getGroupSummaryWithHttpInfo(groupId) {
479
579
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/group/{groupId}/summary", {
@@ -486,23 +586,26 @@ class MessagingApiClient {
486
586
  }
487
587
  /**
488
588
  * Get a list of user IDs who joined the membership.
589
+ * Calls `GET https://api.line.me/v2/bot/membership/{membershipId}/users/ids`.
590
+ * To inspect the HTTP status code or response headers, use {@link getJoinedMembershipUsersWithHttpInfo}.
489
591
  * @param membershipId Membership plan ID.
490
592
  * @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).
491
593
  * @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.
492
- *
493
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids"> Documentation</a>
594
+ * @returns A promise resolving to the response body.
595
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">LINE Developers documentation</a>
494
596
  */
495
597
  async getJoinedMembershipUsers(membershipId, start, limit) {
496
598
  return (await this.getJoinedMembershipUsersWithHttpInfo(membershipId, start, limit)).body;
497
599
  }
498
600
  /**
499
- * Get a list of user IDs who joined the membership..
500
- * This method includes HttpInfo object to return additional information.
601
+ * Get a list of user IDs who joined the membership.
602
+ * Calls `GET https://api.line.me/v2/bot/membership/{membershipId}/users/ids`.
603
+ * This method returns the response body together with the underlying `httpResponse`.
501
604
  * @param membershipId Membership plan ID.
502
605
  * @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).
503
606
  * @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.
504
- *
505
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids"> Documentation</a>
607
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
608
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">LINE Developers documentation</a>
506
609
  */
507
610
  async getJoinedMembershipUsersWithHttpInfo(membershipId, start, limit) {
508
611
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/membership/{membershipId}/users/ids", {
@@ -512,11 +615,12 @@ class MessagingApiClient {
512
615
  start: start,
513
616
  limit: limit,
514
617
  };
515
- Object.keys(queryParams).forEach((key) => {
516
- if (queryParams[key] === undefined) {
517
- delete queryParams[key];
518
- }
519
- });
618
+ if (queryParams["start"] === undefined) {
619
+ delete queryParams["start"];
620
+ }
621
+ if (queryParams["limit"] === undefined) {
622
+ delete queryParams["limit"];
623
+ }
520
624
  const res = await this.httpClient.get(requestPath, queryParams);
521
625
  const text = await res.text();
522
626
  const parsedBody = text ? JSON.parse(text) : null;
@@ -524,17 +628,20 @@ class MessagingApiClient {
524
628
  }
525
629
  /**
526
630
  * Get a list of memberships.
527
- *
528
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans"> Documentation</a>
631
+ * Calls `GET https://api.line.me/v2/bot/membership/list`.
632
+ * To inspect the HTTP status code or response headers, use {@link getMembershipListWithHttpInfo}.
633
+ * @returns A promise resolving to the response body.
634
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans">LINE Developers documentation</a>
529
635
  */
530
636
  async getMembershipList() {
531
637
  return (await this.getMembershipListWithHttpInfo()).body;
532
638
  }
533
639
  /**
534
- * Get a list of memberships..
535
- * This method includes HttpInfo object to return additional information.
536
- *
537
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans"> Documentation</a>
640
+ * Get a list of memberships.
641
+ * Calls `GET https://api.line.me/v2/bot/membership/list`.
642
+ * This method returns the response body together with the underlying `httpResponse`.
643
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
644
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans">LINE Developers documentation</a>
538
645
  */
539
646
  async getMembershipListWithHttpInfo() {
540
647
  const res = await this.httpClient.get("/v2/bot/membership/list");
@@ -544,19 +651,22 @@ class MessagingApiClient {
544
651
  }
545
652
  /**
546
653
  * Get a user's membership subscription.
654
+ * Calls `GET https://api.line.me/v2/bot/membership/subscription/{userId}`.
655
+ * To inspect the HTTP status code or response headers, use {@link getMembershipSubscriptionWithHttpInfo}.
547
656
  * @param userId User ID
548
- *
549
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status"> Documentation</a>
657
+ * @returns A promise resolving to the response body.
658
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status">LINE Developers documentation</a>
550
659
  */
551
660
  async getMembershipSubscription(userId) {
552
661
  return (await this.getMembershipSubscriptionWithHttpInfo(userId)).body;
553
662
  }
554
663
  /**
555
- * Get a user's membership subscription..
556
- * This method includes HttpInfo object to return additional information.
664
+ * Get a user's membership subscription.
665
+ * Calls `GET https://api.line.me/v2/bot/membership/subscription/{userId}`.
666
+ * This method returns the response body together with the underlying `httpResponse`.
557
667
  * @param userId User ID
558
- *
559
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status"> Documentation</a>
668
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
669
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status">LINE Developers documentation</a>
560
670
  */
561
671
  async getMembershipSubscriptionWithHttpInfo(userId) {
562
672
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/membership/subscription/{userId}", {
@@ -569,17 +679,20 @@ class MessagingApiClient {
569
679
  }
570
680
  /**
571
681
  * Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
572
- *
573
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota"> Documentation</a>
682
+ * Calls `GET https://api.line.me/v2/bot/message/quota`.
683
+ * To inspect the HTTP status code or response headers, use {@link getMessageQuotaWithHttpInfo}.
684
+ * @returns A promise resolving to the response body.
685
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota">LINE Developers documentation</a>
574
686
  */
575
687
  async getMessageQuota() {
576
688
  return (await this.getMessageQuotaWithHttpInfo()).body;
577
689
  }
578
690
  /**
579
- * Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned..
580
- * This method includes HttpInfo object to return additional information.
581
- *
582
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota"> Documentation</a>
691
+ * Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
692
+ * Calls `GET https://api.line.me/v2/bot/message/quota`.
693
+ * This method returns the response body together with the underlying `httpResponse`.
694
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
695
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota">LINE Developers documentation</a>
583
696
  */
584
697
  async getMessageQuotaWithHttpInfo() {
585
698
  const res = await this.httpClient.get("/v2/bot/message/quota");
@@ -589,17 +702,20 @@ class MessagingApiClient {
589
702
  }
590
703
  /**
591
704
  * Gets the number of messages sent in the current month.
592
- *
593
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption"> Documentation</a>
705
+ * Calls `GET https://api.line.me/v2/bot/message/quota/consumption`.
706
+ * To inspect the HTTP status code or response headers, use {@link getMessageQuotaConsumptionWithHttpInfo}.
707
+ * @returns A promise resolving to the response body.
708
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption">LINE Developers documentation</a>
594
709
  */
595
710
  async getMessageQuotaConsumption() {
596
711
  return (await this.getMessageQuotaConsumptionWithHttpInfo()).body;
597
712
  }
598
713
  /**
599
- * Gets the number of messages sent in the current month..
600
- * This method includes HttpInfo object to return additional information.
601
- *
602
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption"> Documentation</a>
714
+ * Gets the number of messages sent in the current month.
715
+ * Calls `GET https://api.line.me/v2/bot/message/quota/consumption`.
716
+ * This method returns the response body together with the underlying `httpResponse`.
717
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
718
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption">LINE Developers documentation</a>
603
719
  */
604
720
  async getMessageQuotaConsumptionWithHttpInfo() {
605
721
  const res = await this.httpClient.get("/v2/bot/message/quota/consumption");
@@ -609,29 +725,27 @@ class MessagingApiClient {
609
725
  }
610
726
  /**
611
727
  * Gets the status of a narrowcast message.
728
+ * Calls `GET https://api.line.me/v2/bot/message/progress/narrowcast`.
729
+ * To inspect the HTTP status code or response headers, use {@link getNarrowcastProgressWithHttpInfo}.
612
730
  * @param requestId The narrowcast message's request ID. Each Messaging API request has a request ID.
613
- *
614
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status"> Documentation</a>
731
+ * @returns A promise resolving to the response body.
732
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">LINE Developers documentation</a>
615
733
  */
616
734
  async getNarrowcastProgress(requestId) {
617
735
  return (await this.getNarrowcastProgressWithHttpInfo(requestId)).body;
618
736
  }
619
737
  /**
620
- * Gets the status of a narrowcast message..
621
- * This method includes HttpInfo object to return additional information.
738
+ * Gets the status of a narrowcast message.
739
+ * Calls `GET https://api.line.me/v2/bot/message/progress/narrowcast`.
740
+ * This method returns the response body together with the underlying `httpResponse`.
622
741
  * @param requestId The narrowcast message's request ID. Each Messaging API request has a request ID.
623
- *
624
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status"> Documentation</a>
742
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
743
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">LINE Developers documentation</a>
625
744
  */
626
745
  async getNarrowcastProgressWithHttpInfo(requestId) {
627
746
  const queryParams = {
628
747
  requestId: requestId,
629
748
  };
630
- Object.keys(queryParams).forEach((key) => {
631
- if (queryParams[key] === undefined) {
632
- delete queryParams[key];
633
- }
634
- });
635
749
  const res = await this.httpClient.get("/v2/bot/message/progress/narrowcast", queryParams);
636
750
  const text = await res.text();
637
751
  const parsedBody = text ? JSON.parse(text) : null;
@@ -639,29 +753,27 @@ class MessagingApiClient {
639
753
  }
640
754
  /**
641
755
  * Get number of sent broadcast messages
756
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/broadcast`.
757
+ * To inspect the HTTP status code or response headers, use {@link getNumberOfSentBroadcastMessagesWithHttpInfo}.
642
758
  * @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
643
- *
644
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages"> Documentation</a>
759
+ * @returns A promise resolving to the response body.
760
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">LINE Developers documentation</a>
645
761
  */
646
762
  async getNumberOfSentBroadcastMessages(date) {
647
763
  return (await this.getNumberOfSentBroadcastMessagesWithHttpInfo(date)).body;
648
764
  }
649
765
  /**
650
- * Get number of sent broadcast messages.
651
- * This method includes HttpInfo object to return additional information.
766
+ * Get number of sent broadcast messages
767
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/broadcast`.
768
+ * This method returns the response body together with the underlying `httpResponse`.
652
769
  * @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
653
- *
654
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages"> Documentation</a>
770
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
771
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">LINE Developers documentation</a>
655
772
  */
656
773
  async getNumberOfSentBroadcastMessagesWithHttpInfo(date) {
657
774
  const queryParams = {
658
775
  date: date,
659
776
  };
660
- Object.keys(queryParams).forEach((key) => {
661
- if (queryParams[key] === undefined) {
662
- delete queryParams[key];
663
- }
664
- });
665
777
  const res = await this.httpClient.get("/v2/bot/message/delivery/broadcast", queryParams);
666
778
  const text = await res.text();
667
779
  const parsedBody = text ? JSON.parse(text) : null;
@@ -669,29 +781,27 @@ class MessagingApiClient {
669
781
  }
670
782
  /**
671
783
  * Get number of sent multicast messages
784
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/multicast`.
785
+ * To inspect the HTTP status code or response headers, use {@link getNumberOfSentMulticastMessagesWithHttpInfo}.
672
786
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
673
- *
674
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages"> Documentation</a>
787
+ * @returns A promise resolving to the response body.
788
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages">LINE Developers documentation</a>
675
789
  */
676
790
  async getNumberOfSentMulticastMessages(date) {
677
791
  return (await this.getNumberOfSentMulticastMessagesWithHttpInfo(date)).body;
678
792
  }
679
793
  /**
680
- * Get number of sent multicast messages.
681
- * This method includes HttpInfo object to return additional information.
794
+ * Get number of sent multicast messages
795
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/multicast`.
796
+ * This method returns the response body together with the underlying `httpResponse`.
682
797
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
683
- *
684
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages"> Documentation</a>
798
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
799
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages">LINE Developers documentation</a>
685
800
  */
686
801
  async getNumberOfSentMulticastMessagesWithHttpInfo(date) {
687
802
  const queryParams = {
688
803
  date: date,
689
804
  };
690
- Object.keys(queryParams).forEach((key) => {
691
- if (queryParams[key] === undefined) {
692
- delete queryParams[key];
693
- }
694
- });
695
805
  const res = await this.httpClient.get("/v2/bot/message/delivery/multicast", queryParams);
696
806
  const text = await res.text();
697
807
  const parsedBody = text ? JSON.parse(text) : null;
@@ -699,29 +809,27 @@ class MessagingApiClient {
699
809
  }
700
810
  /**
701
811
  * Get number of sent push messages
812
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/push`.
813
+ * To inspect the HTTP status code or response headers, use {@link getNumberOfSentPushMessagesWithHttpInfo}.
702
814
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
703
- *
704
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages"> Documentation</a>
815
+ * @returns A promise resolving to the response body.
816
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">LINE Developers documentation</a>
705
817
  */
706
818
  async getNumberOfSentPushMessages(date) {
707
819
  return (await this.getNumberOfSentPushMessagesWithHttpInfo(date)).body;
708
820
  }
709
821
  /**
710
- * Get number of sent push messages.
711
- * This method includes HttpInfo object to return additional information.
822
+ * Get number of sent push messages
823
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/push`.
824
+ * This method returns the response body together with the underlying `httpResponse`.
712
825
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
713
- *
714
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages"> Documentation</a>
826
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
827
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">LINE Developers documentation</a>
715
828
  */
716
829
  async getNumberOfSentPushMessagesWithHttpInfo(date) {
717
830
  const queryParams = {
718
831
  date: date,
719
832
  };
720
- Object.keys(queryParams).forEach((key) => {
721
- if (queryParams[key] === undefined) {
722
- delete queryParams[key];
723
- }
724
- });
725
833
  const res = await this.httpClient.get("/v2/bot/message/delivery/push", queryParams);
726
834
  const text = await res.text();
727
835
  const parsedBody = text ? JSON.parse(text) : null;
@@ -729,29 +837,27 @@ class MessagingApiClient {
729
837
  }
730
838
  /**
731
839
  * Get number of sent reply messages
840
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/reply`.
841
+ * To inspect the HTTP status code or response headers, use {@link getNumberOfSentReplyMessagesWithHttpInfo}.
732
842
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
733
- *
734
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages"> Documentation</a>
843
+ * @returns A promise resolving to the response body.
844
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">LINE Developers documentation</a>
735
845
  */
736
846
  async getNumberOfSentReplyMessages(date) {
737
847
  return (await this.getNumberOfSentReplyMessagesWithHttpInfo(date)).body;
738
848
  }
739
849
  /**
740
- * Get number of sent reply messages.
741
- * This method includes HttpInfo object to return additional information.
850
+ * Get number of sent reply messages
851
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/reply`.
852
+ * This method returns the response body together with the underlying `httpResponse`.
742
853
  * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
743
- *
744
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages"> Documentation</a>
854
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
855
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">LINE Developers documentation</a>
745
856
  */
746
857
  async getNumberOfSentReplyMessagesWithHttpInfo(date) {
747
858
  const queryParams = {
748
859
  date: date,
749
860
  };
750
- Object.keys(queryParams).forEach((key) => {
751
- if (queryParams[key] === undefined) {
752
- delete queryParams[key];
753
- }
754
- });
755
861
  const res = await this.httpClient.get("/v2/bot/message/delivery/reply", queryParams);
756
862
  const text = await res.text();
757
863
  const parsedBody = text ? JSON.parse(text) : null;
@@ -759,29 +865,27 @@ class MessagingApiClient {
759
865
  }
760
866
  /**
761
867
  * Get number of sent LINE notification messages
868
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/pnp`.
869
+ * To inspect the HTTP status code or response headers, use {@link getPNPMessageStatisticsWithHttpInfo}.
762
870
  * @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
763
- *
764
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages"> Documentation</a>
871
+ * @returns A promise resolving to the response body.
872
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">LINE Developers documentation</a>
765
873
  */
766
874
  async getPNPMessageStatistics(date) {
767
875
  return (await this.getPNPMessageStatisticsWithHttpInfo(date)).body;
768
876
  }
769
877
  /**
770
- * Get number of sent LINE notification messages.
771
- * This method includes HttpInfo object to return additional information.
878
+ * Get number of sent LINE notification messages
879
+ * Calls `GET https://api.line.me/v2/bot/message/delivery/pnp`.
880
+ * This method returns the response body together with the underlying `httpResponse`.
772
881
  * @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
773
- *
774
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages"> Documentation</a>
882
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
883
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">LINE Developers documentation</a>
775
884
  */
776
885
  async getPNPMessageStatisticsWithHttpInfo(date) {
777
886
  const queryParams = {
778
887
  date: date,
779
888
  };
780
- Object.keys(queryParams).forEach((key) => {
781
- if (queryParams[key] === undefined) {
782
- delete queryParams[key];
783
- }
784
- });
785
889
  const res = await this.httpClient.get("/v2/bot/message/delivery/pnp", queryParams);
786
890
  const text = await res.text();
787
891
  const parsedBody = text ? JSON.parse(text) : null;
@@ -789,19 +893,22 @@ class MessagingApiClient {
789
893
  }
790
894
  /**
791
895
  * Get profile
896
+ * Calls `GET https://api.line.me/v2/bot/profile/{userId}`.
897
+ * To inspect the HTTP status code or response headers, use {@link getProfileWithHttpInfo}.
792
898
  * @param userId User ID
793
- *
794
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile"> Documentation</a>
899
+ * @returns A promise resolving to the response body.
900
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">LINE Developers documentation</a>
795
901
  */
796
902
  async getProfile(userId) {
797
903
  return (await this.getProfileWithHttpInfo(userId)).body;
798
904
  }
799
905
  /**
800
- * Get profile.
801
- * This method includes HttpInfo object to return additional information.
906
+ * Get profile
907
+ * Calls `GET https://api.line.me/v2/bot/profile/{userId}`.
908
+ * This method returns the response body together with the underlying `httpResponse`.
802
909
  * @param userId User ID
803
- *
804
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile"> Documentation</a>
910
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
911
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">LINE Developers documentation</a>
805
912
  */
806
913
  async getProfileWithHttpInfo(userId) {
807
914
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/profile/{userId}", {
@@ -814,19 +921,22 @@ class MessagingApiClient {
814
921
  }
815
922
  /**
816
923
  * Gets a rich menu via a rich menu ID.
924
+ * Calls `GET https://api.line.me/v2/bot/richmenu/{richMenuId}`.
925
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuWithHttpInfo}.
817
926
  * @param richMenuId ID of a rich menu
818
- *
819
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu"> Documentation</a>
927
+ * @returns A promise resolving to the response body.
928
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">LINE Developers documentation</a>
820
929
  */
821
930
  async getRichMenu(richMenuId) {
822
931
  return (await this.getRichMenuWithHttpInfo(richMenuId)).body;
823
932
  }
824
933
  /**
825
- * Gets a rich menu via a rich menu ID..
826
- * This method includes HttpInfo object to return additional information.
934
+ * Gets a rich menu via a rich menu ID.
935
+ * Calls `GET https://api.line.me/v2/bot/richmenu/{richMenuId}`.
936
+ * This method returns the response body together with the underlying `httpResponse`.
827
937
  * @param richMenuId ID of a rich menu
828
- *
829
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu"> Documentation</a>
938
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
939
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">LINE Developers documentation</a>
830
940
  */
831
941
  async getRichMenuWithHttpInfo(richMenuId) {
832
942
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/richmenu/{richMenuId}", {
@@ -839,19 +949,22 @@ class MessagingApiClient {
839
949
  }
840
950
  /**
841
951
  * Get rich menu alias information
952
+ * Calls `GET https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
953
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuAliasWithHttpInfo}.
842
954
  * @param richMenuAliasId The rich menu alias ID whose information you want to obtain.
843
- *
844
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id"> Documentation</a>
955
+ * @returns A promise resolving to the response body.
956
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">LINE Developers documentation</a>
845
957
  */
846
958
  async getRichMenuAlias(richMenuAliasId) {
847
959
  return (await this.getRichMenuAliasWithHttpInfo(richMenuAliasId)).body;
848
960
  }
849
961
  /**
850
- * Get rich menu alias information.
851
- * This method includes HttpInfo object to return additional information.
962
+ * Get rich menu alias information
963
+ * Calls `GET https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
964
+ * This method returns the response body together with the underlying `httpResponse`.
852
965
  * @param richMenuAliasId The rich menu alias ID whose information you want to obtain.
853
- *
854
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id"> Documentation</a>
966
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
967
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">LINE Developers documentation</a>
855
968
  */
856
969
  async getRichMenuAliasWithHttpInfo(richMenuAliasId) {
857
970
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/richmenu/alias/{richMenuAliasId}", {
@@ -864,17 +977,20 @@ class MessagingApiClient {
864
977
  }
865
978
  /**
866
979
  * Get list of rich menu alias
867
- *
868
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list"> Documentation</a>
980
+ * Calls `GET https://api.line.me/v2/bot/richmenu/alias/list`.
981
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuAliasListWithHttpInfo}.
982
+ * @returns A promise resolving to the response body.
983
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list">LINE Developers documentation</a>
869
984
  */
870
985
  async getRichMenuAliasList() {
871
986
  return (await this.getRichMenuAliasListWithHttpInfo()).body;
872
987
  }
873
988
  /**
874
- * Get list of rich menu alias.
875
- * This method includes HttpInfo object to return additional information.
876
- *
877
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list"> Documentation</a>
989
+ * Get list of rich menu alias
990
+ * Calls `GET https://api.line.me/v2/bot/richmenu/alias/list`.
991
+ * This method returns the response body together with the underlying `httpResponse`.
992
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
993
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list">LINE Developers documentation</a>
878
994
  */
879
995
  async getRichMenuAliasListWithHttpInfo() {
880
996
  const res = await this.httpClient.get("/v2/bot/richmenu/alias/list");
@@ -884,29 +1000,27 @@ class MessagingApiClient {
884
1000
  }
885
1001
  /**
886
1002
  * Get the status of Replace or unlink a linked rich menus in batches.
1003
+ * Calls `GET https://api.line.me/v2/bot/richmenu/progress/batch`.
1004
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuBatchProgressWithHttpInfo}.
887
1005
  * @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
888
- *
889
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status"> Documentation</a>
1006
+ * @returns A promise resolving to the response body.
1007
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">LINE Developers documentation</a>
890
1008
  */
891
1009
  async getRichMenuBatchProgress(requestId) {
892
1010
  return (await this.getRichMenuBatchProgressWithHttpInfo(requestId)).body;
893
1011
  }
894
1012
  /**
895
- * Get the status of Replace or unlink a linked rich menus in batches..
896
- * This method includes HttpInfo object to return additional information.
1013
+ * Get the status of Replace or unlink a linked rich menus in batches.
1014
+ * Calls `GET https://api.line.me/v2/bot/richmenu/progress/batch`.
1015
+ * This method returns the response body together with the underlying `httpResponse`.
897
1016
  * @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
898
- *
899
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status"> Documentation</a>
1017
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1018
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">LINE Developers documentation</a>
900
1019
  */
901
1020
  async getRichMenuBatchProgressWithHttpInfo(requestId) {
902
1021
  const queryParams = {
903
1022
  requestId: requestId,
904
1023
  };
905
- Object.keys(queryParams).forEach((key) => {
906
- if (queryParams[key] === undefined) {
907
- delete queryParams[key];
908
- }
909
- });
910
1024
  const res = await this.httpClient.get("/v2/bot/richmenu/progress/batch", queryParams);
911
1025
  const text = await res.text();
912
1026
  const parsedBody = text ? JSON.parse(text) : null;
@@ -914,19 +1028,22 @@ class MessagingApiClient {
914
1028
  }
915
1029
  /**
916
1030
  * Get rich menu ID of user
1031
+ * Calls `GET https://api.line.me/v2/bot/user/{userId}/richmenu`.
1032
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuIdOfUserWithHttpInfo}.
917
1033
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
918
- *
919
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user"> Documentation</a>
1034
+ * @returns A promise resolving to the response body.
1035
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">LINE Developers documentation</a>
920
1036
  */
921
1037
  async getRichMenuIdOfUser(userId) {
922
1038
  return (await this.getRichMenuIdOfUserWithHttpInfo(userId)).body;
923
1039
  }
924
1040
  /**
925
- * Get rich menu ID of user.
926
- * This method includes HttpInfo object to return additional information.
1041
+ * Get rich menu ID of user
1042
+ * Calls `GET https://api.line.me/v2/bot/user/{userId}/richmenu`.
1043
+ * This method returns the response body together with the underlying `httpResponse`.
927
1044
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
928
- *
929
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user"> Documentation</a>
1045
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1046
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">LINE Developers documentation</a>
930
1047
  */
931
1048
  async getRichMenuIdOfUserWithHttpInfo(userId) {
932
1049
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/user/{userId}/richmenu", {
@@ -939,17 +1056,20 @@ class MessagingApiClient {
939
1056
  }
940
1057
  /**
941
1058
  * Get rich menu list
942
- *
943
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list"> Documentation</a>
1059
+ * Calls `GET https://api.line.me/v2/bot/richmenu/list`.
1060
+ * To inspect the HTTP status code or response headers, use {@link getRichMenuListWithHttpInfo}.
1061
+ * @returns A promise resolving to the response body.
1062
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list">LINE Developers documentation</a>
944
1063
  */
945
1064
  async getRichMenuList() {
946
1065
  return (await this.getRichMenuListWithHttpInfo()).body;
947
1066
  }
948
1067
  /**
949
- * Get rich menu list.
950
- * This method includes HttpInfo object to return additional information.
951
- *
952
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list"> Documentation</a>
1068
+ * Get rich menu list
1069
+ * Calls `GET https://api.line.me/v2/bot/richmenu/list`.
1070
+ * This method returns the response body together with the underlying `httpResponse`.
1071
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1072
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list">LINE Developers documentation</a>
953
1073
  */
954
1074
  async getRichMenuListWithHttpInfo() {
955
1075
  const res = await this.httpClient.get("/v2/bot/richmenu/list");
@@ -959,19 +1079,22 @@ class MessagingApiClient {
959
1079
  }
960
1080
  /**
961
1081
  * Get number of users in a multi-person chat
1082
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/count`.
1083
+ * To inspect the HTTP status code or response headers, use {@link getRoomMemberCountWithHttpInfo}.
962
1084
  * @param roomId Room ID
963
- *
964
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count"> Documentation</a>
1085
+ * @returns A promise resolving to the response body.
1086
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">LINE Developers documentation</a>
965
1087
  */
966
1088
  async getRoomMemberCount(roomId) {
967
1089
  return (await this.getRoomMemberCountWithHttpInfo(roomId)).body;
968
1090
  }
969
1091
  /**
970
- * Get number of users in a multi-person chat.
971
- * This method includes HttpInfo object to return additional information.
1092
+ * Get number of users in a multi-person chat
1093
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/count`.
1094
+ * This method returns the response body together with the underlying `httpResponse`.
972
1095
  * @param roomId Room ID
973
- *
974
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count"> Documentation</a>
1096
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1097
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">LINE Developers documentation</a>
975
1098
  */
976
1099
  async getRoomMemberCountWithHttpInfo(roomId) {
977
1100
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/room/{roomId}/members/count", {
@@ -984,21 +1107,24 @@ class MessagingApiClient {
984
1107
  }
985
1108
  /**
986
1109
  * Get multi-person chat member profile
1110
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/member/{userId}`.
1111
+ * To inspect the HTTP status code or response headers, use {@link getRoomMemberProfileWithHttpInfo}.
987
1112
  * @param roomId Room ID
988
1113
  * @param userId User ID
989
- *
990
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile"> Documentation</a>
1114
+ * @returns A promise resolving to the response body.
1115
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">LINE Developers documentation</a>
991
1116
  */
992
1117
  async getRoomMemberProfile(roomId, userId) {
993
1118
  return (await this.getRoomMemberProfileWithHttpInfo(roomId, userId)).body;
994
1119
  }
995
1120
  /**
996
- * Get multi-person chat member profile.
997
- * This method includes HttpInfo object to return additional information.
1121
+ * Get multi-person chat member profile
1122
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/member/{userId}`.
1123
+ * This method returns the response body together with the underlying `httpResponse`.
998
1124
  * @param roomId Room ID
999
1125
  * @param userId User ID
1000
- *
1001
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile"> Documentation</a>
1126
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1127
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">LINE Developers documentation</a>
1002
1128
  */
1003
1129
  async getRoomMemberProfileWithHttpInfo(roomId, userId) {
1004
1130
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/room/{roomId}/member/{userId}", {
@@ -1012,21 +1138,24 @@ class MessagingApiClient {
1012
1138
  }
1013
1139
  /**
1014
1140
  * Get multi-person chat member user IDs
1141
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/ids`.
1142
+ * To inspect the HTTP status code or response headers, use {@link getRoomMembersIdsWithHttpInfo}.
1015
1143
  * @param roomId Room ID
1016
1144
  * @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.
1017
- *
1018
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids"> Documentation</a>
1145
+ * @returns A promise resolving to the response body.
1146
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">LINE Developers documentation</a>
1019
1147
  */
1020
1148
  async getRoomMembersIds(roomId, start) {
1021
1149
  return (await this.getRoomMembersIdsWithHttpInfo(roomId, start)).body;
1022
1150
  }
1023
1151
  /**
1024
- * Get multi-person chat member user IDs.
1025
- * This method includes HttpInfo object to return additional information.
1152
+ * Get multi-person chat member user IDs
1153
+ * Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/ids`.
1154
+ * This method returns the response body together with the underlying `httpResponse`.
1026
1155
  * @param roomId Room ID
1027
1156
  * @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.
1028
- *
1029
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids"> Documentation</a>
1157
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1158
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">LINE Developers documentation</a>
1030
1159
  */
1031
1160
  async getRoomMembersIdsWithHttpInfo(roomId, start) {
1032
1161
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/room/{roomId}/members/ids", {
@@ -1035,11 +1164,9 @@ class MessagingApiClient {
1035
1164
  const queryParams = {
1036
1165
  start: start,
1037
1166
  };
1038
- Object.keys(queryParams).forEach((key) => {
1039
- if (queryParams[key] === undefined) {
1040
- delete queryParams[key];
1041
- }
1042
- });
1167
+ if (queryParams["start"] === undefined) {
1168
+ delete queryParams["start"];
1169
+ }
1043
1170
  const res = await this.httpClient.get(requestPath, queryParams);
1044
1171
  const text = await res.text();
1045
1172
  const parsedBody = text ? JSON.parse(text) : null;
@@ -1047,17 +1174,20 @@ class MessagingApiClient {
1047
1174
  }
1048
1175
  /**
1049
1176
  * Get webhook endpoint information
1050
- *
1051
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information"> Documentation</a>
1177
+ * Calls `GET https://api.line.me/v2/bot/channel/webhook/endpoint`.
1178
+ * To inspect the HTTP status code or response headers, use {@link getWebhookEndpointWithHttpInfo}.
1179
+ * @returns A promise resolving to the response body.
1180
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information">LINE Developers documentation</a>
1052
1181
  */
1053
1182
  async getWebhookEndpoint() {
1054
1183
  return (await this.getWebhookEndpointWithHttpInfo()).body;
1055
1184
  }
1056
1185
  /**
1057
- * Get webhook endpoint information.
1058
- * This method includes HttpInfo object to return additional information.
1059
- *
1060
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information"> Documentation</a>
1186
+ * Get webhook endpoint information
1187
+ * Calls `GET https://api.line.me/v2/bot/channel/webhook/endpoint`.
1188
+ * This method returns the response body together with the underlying `httpResponse`.
1189
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1190
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information">LINE Developers documentation</a>
1061
1191
  */
1062
1192
  async getWebhookEndpointWithHttpInfo() {
1063
1193
  const res = await this.httpClient.get("/v2/bot/channel/webhook/endpoint");
@@ -1067,19 +1197,22 @@ class MessagingApiClient {
1067
1197
  }
1068
1198
  /**
1069
1199
  * Issue link token
1200
+ * Calls `POST https://api.line.me/v2/bot/user/{userId}/linkToken`.
1201
+ * To inspect the HTTP status code or response headers, use {@link issueLinkTokenWithHttpInfo}.
1070
1202
  * @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.
1071
- *
1072
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token"> Documentation</a>
1203
+ * @returns A promise resolving to the response body.
1204
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">LINE Developers documentation</a>
1073
1205
  */
1074
1206
  async issueLinkToken(userId) {
1075
1207
  return (await this.issueLinkTokenWithHttpInfo(userId)).body;
1076
1208
  }
1077
1209
  /**
1078
- * Issue link token.
1079
- * This method includes HttpInfo object to return additional information.
1210
+ * Issue link token
1211
+ * Calls `POST https://api.line.me/v2/bot/user/{userId}/linkToken`.
1212
+ * This method returns the response body together with the underlying `httpResponse`.
1080
1213
  * @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.
1081
- *
1082
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token"> Documentation</a>
1214
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1215
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">LINE Developers documentation</a>
1083
1216
  */
1084
1217
  async issueLinkTokenWithHttpInfo(userId) {
1085
1218
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/user/{userId}/linkToken", {
@@ -1092,19 +1225,22 @@ class MessagingApiClient {
1092
1225
  }
1093
1226
  /**
1094
1227
  * Leave group chat
1228
+ * Calls `POST https://api.line.me/v2/bot/group/{groupId}/leave`.
1229
+ * To inspect the HTTP status code or response headers, use {@link leaveGroupWithHttpInfo}.
1095
1230
  * @param groupId Group ID
1096
- *
1097
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group"> Documentation</a>
1231
+ * @returns A promise resolving to the response body.
1232
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">LINE Developers documentation</a>
1098
1233
  */
1099
1234
  async leaveGroup(groupId) {
1100
1235
  return (await this.leaveGroupWithHttpInfo(groupId)).body;
1101
1236
  }
1102
1237
  /**
1103
- * Leave group chat.
1104
- * This method includes HttpInfo object to return additional information.
1238
+ * Leave group chat
1239
+ * Calls `POST https://api.line.me/v2/bot/group/{groupId}/leave`.
1240
+ * This method returns the response body together with the underlying `httpResponse`.
1105
1241
  * @param groupId Group ID
1106
- *
1107
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group"> Documentation</a>
1242
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1243
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">LINE Developers documentation</a>
1108
1244
  */
1109
1245
  async leaveGroupWithHttpInfo(groupId) {
1110
1246
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/group/{groupId}/leave", {
@@ -1117,19 +1253,22 @@ class MessagingApiClient {
1117
1253
  }
1118
1254
  /**
1119
1255
  * Leave multi-person chat
1256
+ * Calls `POST https://api.line.me/v2/bot/room/{roomId}/leave`.
1257
+ * To inspect the HTTP status code or response headers, use {@link leaveRoomWithHttpInfo}.
1120
1258
  * @param roomId Room ID
1121
- *
1122
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room"> Documentation</a>
1259
+ * @returns A promise resolving to the response body.
1260
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">LINE Developers documentation</a>
1123
1261
  */
1124
1262
  async leaveRoom(roomId) {
1125
1263
  return (await this.leaveRoomWithHttpInfo(roomId)).body;
1126
1264
  }
1127
1265
  /**
1128
- * Leave multi-person chat.
1129
- * This method includes HttpInfo object to return additional information.
1266
+ * Leave multi-person chat
1267
+ * Calls `POST https://api.line.me/v2/bot/room/{roomId}/leave`.
1268
+ * This method returns the response body together with the underlying `httpResponse`.
1130
1269
  * @param roomId Room ID
1131
- *
1132
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room"> Documentation</a>
1270
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1271
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">LINE Developers documentation</a>
1133
1272
  */
1134
1273
  async leaveRoomWithHttpInfo(roomId) {
1135
1274
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/room/{roomId}/leave", {
@@ -1142,22 +1281,25 @@ class MessagingApiClient {
1142
1281
  }
1143
1282
  /**
1144
1283
  * Link rich menu to user.
1284
+ * Calls `POST https://api.line.me/v2/bot/user/{userId}/richmenu/{richMenuId}`.
1285
+ * To inspect the HTTP status code or response headers, use {@link linkRichMenuIdToUserWithHttpInfo}.
1145
1286
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1146
1287
  * @param richMenuId ID of a rich menu
1147
- *
1148
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user"> Documentation</a>
1288
+ * @returns A promise resolving to the response body.
1289
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">LINE Developers documentation</a>
1149
1290
  */
1150
1291
  async linkRichMenuIdToUser(userId, richMenuId) {
1151
1292
  return (await this.linkRichMenuIdToUserWithHttpInfo(userId, richMenuId))
1152
1293
  .body;
1153
1294
  }
1154
1295
  /**
1155
- * Link rich menu to user..
1156
- * This method includes HttpInfo object to return additional information.
1296
+ * Link rich menu to user.
1297
+ * Calls `POST https://api.line.me/v2/bot/user/{userId}/richmenu/{richMenuId}`.
1298
+ * This method returns the response body together with the underlying `httpResponse`.
1157
1299
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1158
1300
  * @param richMenuId ID of a rich menu
1159
- *
1160
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user"> Documentation</a>
1301
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1302
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">LINE Developers documentation</a>
1161
1303
  */
1162
1304
  async linkRichMenuIdToUserWithHttpInfo(userId, richMenuId) {
1163
1305
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/user/{userId}/richmenu/{richMenuId}", {
@@ -1171,19 +1313,22 @@ class MessagingApiClient {
1171
1313
  }
1172
1314
  /**
1173
1315
  * Link rich menu to multiple users
1316
+ * Calls `POST https://api.line.me/v2/bot/richmenu/bulk/link`.
1317
+ * To inspect the HTTP status code or response headers, use {@link linkRichMenuIdToUsersWithHttpInfo}.
1174
1318
  * @param richMenuBulkLinkRequest
1175
- *
1176
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users"> Documentation</a>
1319
+ * @returns A promise resolving to the response body.
1320
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">LINE Developers documentation</a>
1177
1321
  */
1178
1322
  async linkRichMenuIdToUsers(richMenuBulkLinkRequest) {
1179
1323
  return (await this.linkRichMenuIdToUsersWithHttpInfo(richMenuBulkLinkRequest)).body;
1180
1324
  }
1181
1325
  /**
1182
- * Link rich menu to multiple users.
1183
- * This method includes HttpInfo object to return additional information.
1326
+ * Link rich menu to multiple users
1327
+ * Calls `POST https://api.line.me/v2/bot/richmenu/bulk/link`.
1328
+ * This method returns the response body together with the underlying `httpResponse`.
1184
1329
  * @param richMenuBulkLinkRequest
1185
- *
1186
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users"> Documentation</a>
1330
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1331
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">LINE Developers documentation</a>
1187
1332
  */
1188
1333
  async linkRichMenuIdToUsersWithHttpInfo(richMenuBulkLinkRequest) {
1189
1334
  const params = richMenuBulkLinkRequest;
@@ -1194,35 +1339,42 @@ class MessagingApiClient {
1194
1339
  }
1195
1340
  /**
1196
1341
  * Get a paginated list of coupons.
1342
+ * Calls `GET https://api.line.me/v2/bot/coupon`.
1343
+ * To inspect the HTTP status code or response headers, use {@link listCouponWithHttpInfo}.
1197
1344
  * @param status Filter coupons by their status.
1198
1345
  * @param start Pagination token to retrieve the next page of results.
1199
1346
  * @param limit Maximum number of coupons to return per request.
1200
- *
1201
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list"> Documentation</a>
1347
+ * @returns A promise resolving to the response body.
1348
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">LINE Developers documentation</a>
1202
1349
  */
1203
1350
  async listCoupon(status, start, limit) {
1204
1351
  return (await this.listCouponWithHttpInfo(status, start, limit)).body;
1205
1352
  }
1206
1353
  /**
1207
- * Get a paginated list of coupons..
1208
- * This method includes HttpInfo object to return additional information.
1354
+ * Get a paginated list of coupons.
1355
+ * Calls `GET https://api.line.me/v2/bot/coupon`.
1356
+ * This method returns the response body together with the underlying `httpResponse`.
1209
1357
  * @param status Filter coupons by their status.
1210
1358
  * @param start Pagination token to retrieve the next page of results.
1211
1359
  * @param limit Maximum number of coupons to return per request.
1212
- *
1213
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list"> Documentation</a>
1360
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1361
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">LINE Developers documentation</a>
1214
1362
  */
1215
1363
  async listCouponWithHttpInfo(status, start, limit) {
1216
1364
  const queryParams = {
1217
- status: [...status].join(","),
1365
+ status: status != null ? [...status].join(",") : undefined,
1218
1366
  start: start,
1219
1367
  limit: limit,
1220
1368
  };
1221
- Object.keys(queryParams).forEach((key) => {
1222
- if (queryParams[key] === undefined) {
1223
- delete queryParams[key];
1224
- }
1225
- });
1369
+ if (queryParams["status"] === undefined) {
1370
+ delete queryParams["status"];
1371
+ }
1372
+ if (queryParams["start"] === undefined) {
1373
+ delete queryParams["start"];
1374
+ }
1375
+ if (queryParams["limit"] === undefined) {
1376
+ delete queryParams["limit"];
1377
+ }
1226
1378
  const res = await this.httpClient.get("/v2/bot/coupon", queryParams);
1227
1379
  const text = await res.text();
1228
1380
  const parsedBody = text ? JSON.parse(text) : null;
@@ -1230,19 +1382,22 @@ class MessagingApiClient {
1230
1382
  }
1231
1383
  /**
1232
1384
  * Mark messages from users as read
1385
+ * Calls `POST https://api.line.me/v2/bot/message/markAsRead`.
1386
+ * To inspect the HTTP status code or response headers, use {@link markMessagesAsReadWithHttpInfo}.
1233
1387
  * @param markMessagesAsReadRequest
1234
- *
1235
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read"> Documentation</a>
1388
+ * @returns A promise resolving to the response body.
1389
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">LINE Developers documentation</a>
1236
1390
  */
1237
1391
  async markMessagesAsRead(markMessagesAsReadRequest) {
1238
1392
  return (await this.markMessagesAsReadWithHttpInfo(markMessagesAsReadRequest)).body;
1239
1393
  }
1240
1394
  /**
1241
- * Mark messages from users as read.
1242
- * This method includes HttpInfo object to return additional information.
1395
+ * Mark messages from users as read
1396
+ * Calls `POST https://api.line.me/v2/bot/message/markAsRead`.
1397
+ * This method returns the response body together with the underlying `httpResponse`.
1243
1398
  * @param markMessagesAsReadRequest
1244
- *
1245
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read"> Documentation</a>
1399
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1400
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">LINE Developers documentation</a>
1246
1401
  */
1247
1402
  async markMessagesAsReadWithHttpInfo(markMessagesAsReadRequest) {
1248
1403
  const params = markMessagesAsReadRequest;
@@ -1253,19 +1408,22 @@ class MessagingApiClient {
1253
1408
  }
1254
1409
  /**
1255
1410
  * Mark messages from users as read by token
1411
+ * Calls `POST https://api.line.me/v2/bot/chat/markAsRead`.
1412
+ * To inspect the HTTP status code or response headers, use {@link markMessagesAsReadByTokenWithHttpInfo}.
1256
1413
  * @param markMessagesAsReadByTokenRequest
1257
- *
1258
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read"> Documentation</a>
1414
+ * @returns A promise resolving to the response body.
1415
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">LINE Developers documentation</a>
1259
1416
  */
1260
1417
  async markMessagesAsReadByToken(markMessagesAsReadByTokenRequest) {
1261
1418
  return (await this.markMessagesAsReadByTokenWithHttpInfo(markMessagesAsReadByTokenRequest)).body;
1262
1419
  }
1263
1420
  /**
1264
- * Mark messages from users as read by token.
1265
- * This method includes HttpInfo object to return additional information.
1421
+ * Mark messages from users as read by token
1422
+ * Calls `POST https://api.line.me/v2/bot/chat/markAsRead`.
1423
+ * This method returns the response body together with the underlying `httpResponse`.
1266
1424
  * @param markMessagesAsReadByTokenRequest
1267
- *
1268
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read"> Documentation</a>
1425
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1426
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">LINE Developers documentation</a>
1269
1427
  */
1270
1428
  async markMessagesAsReadByTokenWithHttpInfo(markMessagesAsReadByTokenRequest) {
1271
1429
  const params = markMessagesAsReadByTokenRequest;
@@ -1276,22 +1434,25 @@ class MessagingApiClient {
1276
1434
  }
1277
1435
  /**
1278
1436
  * An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.
1437
+ * Calls `POST https://api.line.me/v2/bot/message/multicast`.
1438
+ * To inspect the HTTP status code or response headers, use {@link multicastWithHttpInfo}.
1279
1439
  * @param multicastRequest
1280
1440
  * @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.
1281
- *
1282
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message"> Documentation</a>
1441
+ * @returns A promise resolving to the response body.
1442
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">LINE Developers documentation</a>
1283
1443
  */
1284
1444
  async multicast(multicastRequest, xLineRetryKey) {
1285
1445
  return (await this.multicastWithHttpInfo(multicastRequest, xLineRetryKey))
1286
1446
  .body;
1287
1447
  }
1288
1448
  /**
1289
- * An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats..
1290
- * This method includes HttpInfo object to return additional information.
1449
+ * An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.
1450
+ * Calls `POST https://api.line.me/v2/bot/message/multicast`.
1451
+ * This method returns the response body together with the underlying `httpResponse`.
1291
1452
  * @param multicastRequest
1292
1453
  * @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.
1293
- *
1294
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message"> Documentation</a>
1454
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1455
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">LINE Developers documentation</a>
1295
1456
  */
1296
1457
  async multicastWithHttpInfo(multicastRequest, xLineRetryKey) {
1297
1458
  const params = multicastRequest;
@@ -1303,22 +1464,25 @@ class MessagingApiClient {
1303
1464
  }
1304
1465
  /**
1305
1466
  * Send narrowcast message
1467
+ * Calls `POST https://api.line.me/v2/bot/message/narrowcast`.
1468
+ * To inspect the HTTP status code or response headers, use {@link narrowcastWithHttpInfo}.
1306
1469
  * @param narrowcastRequest
1307
1470
  * @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.
1308
- *
1309
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message"> Documentation</a>
1471
+ * @returns A promise resolving to the response body.
1472
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">LINE Developers documentation</a>
1310
1473
  */
1311
1474
  async narrowcast(narrowcastRequest, xLineRetryKey) {
1312
1475
  return (await this.narrowcastWithHttpInfo(narrowcastRequest, xLineRetryKey))
1313
1476
  .body;
1314
1477
  }
1315
1478
  /**
1316
- * Send narrowcast message.
1317
- * This method includes HttpInfo object to return additional information.
1479
+ * Send narrowcast message
1480
+ * Calls `POST https://api.line.me/v2/bot/message/narrowcast`.
1481
+ * This method returns the response body together with the underlying `httpResponse`.
1318
1482
  * @param narrowcastRequest
1319
1483
  * @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.
1320
- *
1321
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message"> Documentation</a>
1484
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1485
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">LINE Developers documentation</a>
1322
1486
  */
1323
1487
  async narrowcastWithHttpInfo(narrowcastRequest, xLineRetryKey) {
1324
1488
  const params = narrowcastRequest;
@@ -1330,21 +1494,24 @@ class MessagingApiClient {
1330
1494
  }
1331
1495
  /**
1332
1496
  * Sends a message to a user, group chat, or multi-person chat at any time.
1497
+ * Calls `POST https://api.line.me/v2/bot/message/push`.
1498
+ * To inspect the HTTP status code or response headers, use {@link pushMessageWithHttpInfo}.
1333
1499
  * @param pushMessageRequest
1334
1500
  * @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.
1335
- *
1336
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message"> Documentation</a>
1501
+ * @returns A promise resolving to the response body.
1502
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">LINE Developers documentation</a>
1337
1503
  */
1338
1504
  async pushMessage(pushMessageRequest, xLineRetryKey) {
1339
1505
  return (await this.pushMessageWithHttpInfo(pushMessageRequest, xLineRetryKey)).body;
1340
1506
  }
1341
1507
  /**
1342
- * Sends a message to a user, group chat, or multi-person chat at any time..
1343
- * This method includes HttpInfo object to return additional information.
1508
+ * Sends a message to a user, group chat, or multi-person chat at any time.
1509
+ * Calls `POST https://api.line.me/v2/bot/message/push`.
1510
+ * This method returns the response body together with the underlying `httpResponse`.
1344
1511
  * @param pushMessageRequest
1345
1512
  * @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.
1346
- *
1347
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message"> Documentation</a>
1513
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1514
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">LINE Developers documentation</a>
1348
1515
  */
1349
1516
  async pushMessageWithHttpInfo(pushMessageRequest, xLineRetryKey) {
1350
1517
  const params = pushMessageRequest;
@@ -1358,21 +1525,24 @@ class MessagingApiClient {
1358
1525
  }
1359
1526
  /**
1360
1527
  * Send LINE notification message
1528
+ * Calls `POST https://api.line.me/bot/pnp/push`.
1529
+ * To inspect the HTTP status code or response headers, use {@link pushMessagesByPhoneWithHttpInfo}.
1361
1530
  * @param pnpMessagesRequest
1362
1531
  * @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook.
1363
- *
1364
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message"> Documentation</a>
1532
+ * @returns A promise resolving to the response body.
1533
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">LINE Developers documentation</a>
1365
1534
  */
1366
1535
  async pushMessagesByPhone(pnpMessagesRequest, xLineDeliveryTag) {
1367
1536
  return (await this.pushMessagesByPhoneWithHttpInfo(pnpMessagesRequest, xLineDeliveryTag)).body;
1368
1537
  }
1369
1538
  /**
1370
- * Send LINE notification message.
1371
- * This method includes HttpInfo object to return additional information.
1539
+ * Send LINE notification message
1540
+ * Calls `POST https://api.line.me/bot/pnp/push`.
1541
+ * This method returns the response body together with the underlying `httpResponse`.
1372
1542
  * @param pnpMessagesRequest
1373
1543
  * @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook.
1374
- *
1375
- * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message"> Documentation</a>
1544
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1545
+ * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">LINE Developers documentation</a>
1376
1546
  */
1377
1547
  async pushMessagesByPhoneWithHttpInfo(pnpMessagesRequest, xLineDeliveryTag) {
1378
1548
  const params = pnpMessagesRequest;
@@ -1388,19 +1558,22 @@ class MessagingApiClient {
1388
1558
  }
1389
1559
  /**
1390
1560
  * Send reply message
1561
+ * Calls `POST https://api.line.me/v2/bot/message/reply`.
1562
+ * To inspect the HTTP status code or response headers, use {@link replyMessageWithHttpInfo}.
1391
1563
  * @param replyMessageRequest
1392
- *
1393
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message"> Documentation</a>
1564
+ * @returns A promise resolving to the response body.
1565
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">LINE Developers documentation</a>
1394
1566
  */
1395
1567
  async replyMessage(replyMessageRequest) {
1396
1568
  return (await this.replyMessageWithHttpInfo(replyMessageRequest)).body;
1397
1569
  }
1398
1570
  /**
1399
- * Send reply message.
1400
- * This method includes HttpInfo object to return additional information.
1571
+ * Send reply message
1572
+ * Calls `POST https://api.line.me/v2/bot/message/reply`.
1573
+ * This method returns the response body together with the underlying `httpResponse`.
1401
1574
  * @param replyMessageRequest
1402
- *
1403
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message"> Documentation</a>
1575
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1576
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">LINE Developers documentation</a>
1404
1577
  */
1405
1578
  async replyMessageWithHttpInfo(replyMessageRequest) {
1406
1579
  const params = replyMessageRequest;
@@ -1411,19 +1584,22 @@ class MessagingApiClient {
1411
1584
  }
1412
1585
  /**
1413
1586
  * 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
1587
+ * Calls `POST https://api.line.me/v2/bot/richmenu/batch`.
1588
+ * To inspect the HTTP status code or response headers, use {@link richMenuBatchWithHttpInfo}.
1414
1589
  * @param richMenuBatchRequest
1415
- *
1416
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users"> Documentation</a>
1590
+ * @returns A promise resolving to the response body.
1591
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">LINE Developers documentation</a>
1417
1592
  */
1418
1593
  async richMenuBatch(richMenuBatchRequest) {
1419
1594
  return (await this.richMenuBatchWithHttpInfo(richMenuBatchRequest)).body;
1420
1595
  }
1421
1596
  /**
1422
- * 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 .
1423
- * This method includes HttpInfo object to return additional information.
1597
+ * 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
1598
+ * Calls `POST https://api.line.me/v2/bot/richmenu/batch`.
1599
+ * This method returns the response body together with the underlying `httpResponse`.
1424
1600
  * @param richMenuBatchRequest
1425
- *
1426
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users"> Documentation</a>
1601
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1602
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">LINE Developers documentation</a>
1427
1603
  */
1428
1604
  async richMenuBatchWithHttpInfo(richMenuBatchRequest) {
1429
1605
  const params = richMenuBatchRequest;
@@ -1434,19 +1610,22 @@ class MessagingApiClient {
1434
1610
  }
1435
1611
  /**
1436
1612
  * Set default rich menu
1613
+ * Calls `POST https://api.line.me/v2/bot/user/all/richmenu/{richMenuId}`.
1614
+ * To inspect the HTTP status code or response headers, use {@link setDefaultRichMenuWithHttpInfo}.
1437
1615
  * @param richMenuId ID of a rich menu
1438
- *
1439
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu"> Documentation</a>
1616
+ * @returns A promise resolving to the response body.
1617
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">LINE Developers documentation</a>
1440
1618
  */
1441
1619
  async setDefaultRichMenu(richMenuId) {
1442
1620
  return (await this.setDefaultRichMenuWithHttpInfo(richMenuId)).body;
1443
1621
  }
1444
1622
  /**
1445
- * Set default rich menu.
1446
- * This method includes HttpInfo object to return additional information.
1623
+ * Set default rich menu
1624
+ * Calls `POST https://api.line.me/v2/bot/user/all/richmenu/{richMenuId}`.
1625
+ * This method returns the response body together with the underlying `httpResponse`.
1447
1626
  * @param richMenuId ID of a rich menu
1448
- *
1449
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu"> Documentation</a>
1627
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1628
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">LINE Developers documentation</a>
1450
1629
  */
1451
1630
  async setDefaultRichMenuWithHttpInfo(richMenuId) {
1452
1631
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/user/all/richmenu/{richMenuId}", {
@@ -1459,19 +1638,22 @@ class MessagingApiClient {
1459
1638
  }
1460
1639
  /**
1461
1640
  * Set webhook endpoint URL
1641
+ * Calls `PUT https://api.line.me/v2/bot/channel/webhook/endpoint`.
1642
+ * To inspect the HTTP status code or response headers, use {@link setWebhookEndpointWithHttpInfo}.
1462
1643
  * @param setWebhookEndpointRequest
1463
- *
1464
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url"> Documentation</a>
1644
+ * @returns A promise resolving to the response body.
1645
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">LINE Developers documentation</a>
1465
1646
  */
1466
1647
  async setWebhookEndpoint(setWebhookEndpointRequest) {
1467
1648
  return (await this.setWebhookEndpointWithHttpInfo(setWebhookEndpointRequest)).body;
1468
1649
  }
1469
1650
  /**
1470
- * Set webhook endpoint URL.
1471
- * This method includes HttpInfo object to return additional information.
1651
+ * Set webhook endpoint URL
1652
+ * Calls `PUT https://api.line.me/v2/bot/channel/webhook/endpoint`.
1653
+ * This method returns the response body together with the underlying `httpResponse`.
1472
1654
  * @param setWebhookEndpointRequest
1473
- *
1474
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url"> Documentation</a>
1655
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1656
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">LINE Developers documentation</a>
1475
1657
  */
1476
1658
  async setWebhookEndpointWithHttpInfo(setWebhookEndpointRequest) {
1477
1659
  const params = setWebhookEndpointRequest;
@@ -1482,19 +1664,22 @@ class MessagingApiClient {
1482
1664
  }
1483
1665
  /**
1484
1666
  * Display a loading animation in one-on-one chats between users and LINE Official Accounts.
1667
+ * Calls `POST https://api.line.me/v2/bot/chat/loading/start`.
1668
+ * To inspect the HTTP status code or response headers, use {@link showLoadingAnimationWithHttpInfo}.
1485
1669
  * @param showLoadingAnimationRequest
1486
- *
1487
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator"> Documentation</a>
1670
+ * @returns A promise resolving to the response body.
1671
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">LINE Developers documentation</a>
1488
1672
  */
1489
1673
  async showLoadingAnimation(showLoadingAnimationRequest) {
1490
1674
  return (await this.showLoadingAnimationWithHttpInfo(showLoadingAnimationRequest)).body;
1491
1675
  }
1492
1676
  /**
1493
- * Display a loading animation in one-on-one chats between users and LINE Official Accounts..
1494
- * This method includes HttpInfo object to return additional information.
1677
+ * Display a loading animation in one-on-one chats between users and LINE Official Accounts.
1678
+ * Calls `POST https://api.line.me/v2/bot/chat/loading/start`.
1679
+ * This method returns the response body together with the underlying `httpResponse`.
1495
1680
  * @param showLoadingAnimationRequest
1496
- *
1497
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator"> Documentation</a>
1681
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1682
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">LINE Developers documentation</a>
1498
1683
  */
1499
1684
  async showLoadingAnimationWithHttpInfo(showLoadingAnimationRequest) {
1500
1685
  const params = showLoadingAnimationRequest;
@@ -1505,19 +1690,22 @@ class MessagingApiClient {
1505
1690
  }
1506
1691
  /**
1507
1692
  * Test webhook endpoint
1693
+ * Calls `POST https://api.line.me/v2/bot/channel/webhook/test`.
1694
+ * To inspect the HTTP status code or response headers, use {@link testWebhookEndpointWithHttpInfo}.
1508
1695
  * @param testWebhookEndpointRequest
1509
- *
1510
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint"> Documentation</a>
1696
+ * @returns A promise resolving to the response body.
1697
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">LINE Developers documentation</a>
1511
1698
  */
1512
1699
  async testWebhookEndpoint(testWebhookEndpointRequest) {
1513
1700
  return (await this.testWebhookEndpointWithHttpInfo(testWebhookEndpointRequest)).body;
1514
1701
  }
1515
1702
  /**
1516
- * Test webhook endpoint.
1517
- * This method includes HttpInfo object to return additional information.
1703
+ * Test webhook endpoint
1704
+ * Calls `POST https://api.line.me/v2/bot/channel/webhook/test`.
1705
+ * This method returns the response body together with the underlying `httpResponse`.
1518
1706
  * @param testWebhookEndpointRequest
1519
- *
1520
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint"> Documentation</a>
1707
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1708
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">LINE Developers documentation</a>
1521
1709
  */
1522
1710
  async testWebhookEndpointWithHttpInfo(testWebhookEndpointRequest) {
1523
1711
  const params = testWebhookEndpointRequest;
@@ -1528,19 +1716,22 @@ class MessagingApiClient {
1528
1716
  }
1529
1717
  /**
1530
1718
  * Unlink rich menu from user
1719
+ * Calls `DELETE https://api.line.me/v2/bot/user/{userId}/richmenu`.
1720
+ * To inspect the HTTP status code or response headers, use {@link unlinkRichMenuIdFromUserWithHttpInfo}.
1531
1721
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1532
- *
1533
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user"> Documentation</a>
1722
+ * @returns A promise resolving to the response body.
1723
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">LINE Developers documentation</a>
1534
1724
  */
1535
1725
  async unlinkRichMenuIdFromUser(userId) {
1536
1726
  return (await this.unlinkRichMenuIdFromUserWithHttpInfo(userId)).body;
1537
1727
  }
1538
1728
  /**
1539
- * Unlink rich menu from user.
1540
- * This method includes HttpInfo object to return additional information.
1729
+ * Unlink rich menu from user
1730
+ * Calls `DELETE https://api.line.me/v2/bot/user/{userId}/richmenu`.
1731
+ * This method returns the response body together with the underlying `httpResponse`.
1541
1732
  * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1542
- *
1543
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user"> Documentation</a>
1733
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1734
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">LINE Developers documentation</a>
1544
1735
  */
1545
1736
  async unlinkRichMenuIdFromUserWithHttpInfo(userId) {
1546
1737
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/user/{userId}/richmenu", {
@@ -1553,19 +1744,22 @@ class MessagingApiClient {
1553
1744
  }
1554
1745
  /**
1555
1746
  * Unlink rich menus from multiple users
1747
+ * Calls `POST https://api.line.me/v2/bot/richmenu/bulk/unlink`.
1748
+ * To inspect the HTTP status code or response headers, use {@link unlinkRichMenuIdFromUsersWithHttpInfo}.
1556
1749
  * @param richMenuBulkUnlinkRequest
1557
- *
1558
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users"> Documentation</a>
1750
+ * @returns A promise resolving to the response body.
1751
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">LINE Developers documentation</a>
1559
1752
  */
1560
1753
  async unlinkRichMenuIdFromUsers(richMenuBulkUnlinkRequest) {
1561
1754
  return (await this.unlinkRichMenuIdFromUsersWithHttpInfo(richMenuBulkUnlinkRequest)).body;
1562
1755
  }
1563
1756
  /**
1564
- * Unlink rich menus from multiple users.
1565
- * This method includes HttpInfo object to return additional information.
1757
+ * Unlink rich menus from multiple users
1758
+ * Calls `POST https://api.line.me/v2/bot/richmenu/bulk/unlink`.
1759
+ * This method returns the response body together with the underlying `httpResponse`.
1566
1760
  * @param richMenuBulkUnlinkRequest
1567
- *
1568
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users"> Documentation</a>
1761
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1762
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">LINE Developers documentation</a>
1569
1763
  */
1570
1764
  async unlinkRichMenuIdFromUsersWithHttpInfo(richMenuBulkUnlinkRequest) {
1571
1765
  const params = richMenuBulkUnlinkRequest;
@@ -1576,21 +1770,24 @@ class MessagingApiClient {
1576
1770
  }
1577
1771
  /**
1578
1772
  * Update rich menu alias
1773
+ * Calls `POST https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
1774
+ * To inspect the HTTP status code or response headers, use {@link updateRichMenuAliasWithHttpInfo}.
1579
1775
  * @param richMenuAliasId The rich menu alias ID you want to update.
1580
1776
  * @param updateRichMenuAliasRequest
1581
- *
1582
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias"> Documentation</a>
1777
+ * @returns A promise resolving to the response body.
1778
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">LINE Developers documentation</a>
1583
1779
  */
1584
1780
  async updateRichMenuAlias(richMenuAliasId, updateRichMenuAliasRequest) {
1585
1781
  return (await this.updateRichMenuAliasWithHttpInfo(richMenuAliasId, updateRichMenuAliasRequest)).body;
1586
1782
  }
1587
1783
  /**
1588
- * Update rich menu alias.
1589
- * This method includes HttpInfo object to return additional information.
1784
+ * Update rich menu alias
1785
+ * Calls `POST https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
1786
+ * This method returns the response body together with the underlying `httpResponse`.
1590
1787
  * @param richMenuAliasId The rich menu alias ID you want to update.
1591
1788
  * @param updateRichMenuAliasRequest
1592
- *
1593
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias"> Documentation</a>
1789
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1790
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">LINE Developers documentation</a>
1594
1791
  */
1595
1792
  async updateRichMenuAliasWithHttpInfo(richMenuAliasId, updateRichMenuAliasRequest) {
1596
1793
  const requestPath = (0, utils_js_1.buildPath)("/v2/bot/richmenu/alias/{richMenuAliasId}", {
@@ -1604,20 +1801,23 @@ class MessagingApiClient {
1604
1801
  }
1605
1802
  /**
1606
1803
  * Validate message objects of a broadcast message
1804
+ * Calls `POST https://api.line.me/v2/bot/message/validate/broadcast`.
1805
+ * To inspect the HTTP status code or response headers, use {@link validateBroadcastWithHttpInfo}.
1607
1806
  * @param validateMessageRequest
1608
- *
1609
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message"> Documentation</a>
1807
+ * @returns A promise resolving to the response body.
1808
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">LINE Developers documentation</a>
1610
1809
  */
1611
1810
  async validateBroadcast(validateMessageRequest) {
1612
1811
  return (await this.validateBroadcastWithHttpInfo(validateMessageRequest))
1613
1812
  .body;
1614
1813
  }
1615
1814
  /**
1616
- * Validate message objects of a broadcast message.
1617
- * This method includes HttpInfo object to return additional information.
1815
+ * Validate message objects of a broadcast message
1816
+ * Calls `POST https://api.line.me/v2/bot/message/validate/broadcast`.
1817
+ * This method returns the response body together with the underlying `httpResponse`.
1618
1818
  * @param validateMessageRequest
1619
- *
1620
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message"> Documentation</a>
1819
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1820
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">LINE Developers documentation</a>
1621
1821
  */
1622
1822
  async validateBroadcastWithHttpInfo(validateMessageRequest) {
1623
1823
  const params = validateMessageRequest;
@@ -1628,20 +1828,23 @@ class MessagingApiClient {
1628
1828
  }
1629
1829
  /**
1630
1830
  * Validate message objects of a multicast message
1831
+ * Calls `POST https://api.line.me/v2/bot/message/validate/multicast`.
1832
+ * To inspect the HTTP status code or response headers, use {@link validateMulticastWithHttpInfo}.
1631
1833
  * @param validateMessageRequest
1632
- *
1633
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message"> Documentation</a>
1834
+ * @returns A promise resolving to the response body.
1835
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">LINE Developers documentation</a>
1634
1836
  */
1635
1837
  async validateMulticast(validateMessageRequest) {
1636
1838
  return (await this.validateMulticastWithHttpInfo(validateMessageRequest))
1637
1839
  .body;
1638
1840
  }
1639
1841
  /**
1640
- * Validate message objects of a multicast message.
1641
- * This method includes HttpInfo object to return additional information.
1842
+ * Validate message objects of a multicast message
1843
+ * Calls `POST https://api.line.me/v2/bot/message/validate/multicast`.
1844
+ * This method returns the response body together with the underlying `httpResponse`.
1642
1845
  * @param validateMessageRequest
1643
- *
1644
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message"> Documentation</a>
1846
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1847
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">LINE Developers documentation</a>
1645
1848
  */
1646
1849
  async validateMulticastWithHttpInfo(validateMessageRequest) {
1647
1850
  const params = validateMessageRequest;
@@ -1652,20 +1855,23 @@ class MessagingApiClient {
1652
1855
  }
1653
1856
  /**
1654
1857
  * Validate message objects of a narrowcast message
1858
+ * Calls `POST https://api.line.me/v2/bot/message/validate/narrowcast`.
1859
+ * To inspect the HTTP status code or response headers, use {@link validateNarrowcastWithHttpInfo}.
1655
1860
  * @param validateMessageRequest
1656
- *
1657
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message"> Documentation</a>
1861
+ * @returns A promise resolving to the response body.
1862
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">LINE Developers documentation</a>
1658
1863
  */
1659
1864
  async validateNarrowcast(validateMessageRequest) {
1660
1865
  return (await this.validateNarrowcastWithHttpInfo(validateMessageRequest))
1661
1866
  .body;
1662
1867
  }
1663
1868
  /**
1664
- * Validate message objects of a narrowcast message.
1665
- * This method includes HttpInfo object to return additional information.
1869
+ * Validate message objects of a narrowcast message
1870
+ * Calls `POST https://api.line.me/v2/bot/message/validate/narrowcast`.
1871
+ * This method returns the response body together with the underlying `httpResponse`.
1666
1872
  * @param validateMessageRequest
1667
- *
1668
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message"> Documentation</a>
1873
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1874
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">LINE Developers documentation</a>
1669
1875
  */
1670
1876
  async validateNarrowcastWithHttpInfo(validateMessageRequest) {
1671
1877
  const params = validateMessageRequest;
@@ -1676,19 +1882,22 @@ class MessagingApiClient {
1676
1882
  }
1677
1883
  /**
1678
1884
  * Validate message objects of a push message
1885
+ * Calls `POST https://api.line.me/v2/bot/message/validate/push`.
1886
+ * To inspect the HTTP status code or response headers, use {@link validatePushWithHttpInfo}.
1679
1887
  * @param validateMessageRequest
1680
- *
1681
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message"> Documentation</a>
1888
+ * @returns A promise resolving to the response body.
1889
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message">LINE Developers documentation</a>
1682
1890
  */
1683
1891
  async validatePush(validateMessageRequest) {
1684
1892
  return (await this.validatePushWithHttpInfo(validateMessageRequest)).body;
1685
1893
  }
1686
1894
  /**
1687
- * Validate message objects of a push message.
1688
- * This method includes HttpInfo object to return additional information.
1895
+ * Validate message objects of a push message
1896
+ * Calls `POST https://api.line.me/v2/bot/message/validate/push`.
1897
+ * This method returns the response body together with the underlying `httpResponse`.
1689
1898
  * @param validateMessageRequest
1690
- *
1691
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-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/#validate-message-objects-of-push-message">LINE Developers documentation</a>
1692
1901
  */
1693
1902
  async validatePushWithHttpInfo(validateMessageRequest) {
1694
1903
  const params = validateMessageRequest;
@@ -1699,19 +1908,22 @@ class MessagingApiClient {
1699
1908
  }
1700
1909
  /**
1701
1910
  * Validate message objects of a reply message
1911
+ * Calls `POST https://api.line.me/v2/bot/message/validate/reply`.
1912
+ * To inspect the HTTP status code or response headers, use {@link validateReplyWithHttpInfo}.
1702
1913
  * @param validateMessageRequest
1703
- *
1704
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message"> Documentation</a>
1914
+ * @returns A promise resolving to the response body.
1915
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">LINE Developers documentation</a>
1705
1916
  */
1706
1917
  async validateReply(validateMessageRequest) {
1707
1918
  return (await this.validateReplyWithHttpInfo(validateMessageRequest)).body;
1708
1919
  }
1709
1920
  /**
1710
- * Validate message objects of a reply message.
1711
- * This method includes HttpInfo object to return additional information.
1921
+ * Validate message objects of a reply message
1922
+ * Calls `POST https://api.line.me/v2/bot/message/validate/reply`.
1923
+ * This method returns the response body together with the underlying `httpResponse`.
1712
1924
  * @param validateMessageRequest
1713
- *
1714
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message"> Documentation</a>
1925
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1926
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">LINE Developers documentation</a>
1715
1927
  */
1716
1928
  async validateReplyWithHttpInfo(validateMessageRequest) {
1717
1929
  const params = validateMessageRequest;
@@ -1722,19 +1934,22 @@ class MessagingApiClient {
1722
1934
  }
1723
1935
  /**
1724
1936
  * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
1937
+ * Calls `POST https://api.line.me/v2/bot/richmenu/validate/batch`.
1938
+ * To inspect the HTTP status code or response headers, use {@link validateRichMenuBatchRequestWithHttpInfo}.
1725
1939
  * @param richMenuBatchRequest
1726
- *
1727
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request"> Documentation</a>
1940
+ * @returns A promise resolving to the response body.
1941
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">LINE Developers documentation</a>
1728
1942
  */
1729
1943
  async validateRichMenuBatchRequest(richMenuBatchRequest) {
1730
1944
  return (await this.validateRichMenuBatchRequestWithHttpInfo(richMenuBatchRequest)).body;
1731
1945
  }
1732
1946
  /**
1733
- * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint..
1734
- * This method includes HttpInfo object to return additional information.
1947
+ * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
1948
+ * Calls `POST https://api.line.me/v2/bot/richmenu/validate/batch`.
1949
+ * This method returns the response body together with the underlying `httpResponse`.
1735
1950
  * @param richMenuBatchRequest
1736
- *
1737
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request"> Documentation</a>
1951
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1952
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">LINE Developers documentation</a>
1738
1953
  */
1739
1954
  async validateRichMenuBatchRequestWithHttpInfo(richMenuBatchRequest) {
1740
1955
  const params = richMenuBatchRequest;
@@ -1745,20 +1960,23 @@ class MessagingApiClient {
1745
1960
  }
1746
1961
  /**
1747
1962
  * Validate rich menu object
1963
+ * Calls `POST https://api.line.me/v2/bot/richmenu/validate`.
1964
+ * To inspect the HTTP status code or response headers, use {@link validateRichMenuObjectWithHttpInfo}.
1748
1965
  * @param richMenuRequest
1749
- *
1750
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object"> Documentation</a>
1966
+ * @returns A promise resolving to the response body.
1967
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">LINE Developers documentation</a>
1751
1968
  */
1752
1969
  async validateRichMenuObject(richMenuRequest) {
1753
1970
  return (await this.validateRichMenuObjectWithHttpInfo(richMenuRequest))
1754
1971
  .body;
1755
1972
  }
1756
1973
  /**
1757
- * Validate rich menu object.
1758
- * This method includes HttpInfo object to return additional information.
1974
+ * Validate rich menu object
1975
+ * Calls `POST https://api.line.me/v2/bot/richmenu/validate`.
1976
+ * This method returns the response body together with the underlying `httpResponse`.
1759
1977
  * @param richMenuRequest
1760
- *
1761
- * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object"> Documentation</a>
1978
+ * @returns A promise resolving to the response body together with the underlying `httpResponse`.
1979
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">LINE Developers documentation</a>
1762
1980
  */
1763
1981
  async validateRichMenuObjectWithHttpInfo(richMenuRequest) {
1764
1982
  const params = richMenuRequest;