@im-more/dsh-line 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/LICENSE +21 -0
  2. package/cordis.patch.yml +12 -0
  3. package/lib/index.js +1701 -0
  4. package/lib/index.js.map +1 -0
  5. package/lib/types/bot.d.ts +55 -0
  6. package/lib/types/bot.d.ts.map +1 -0
  7. package/lib/types/bot.js +169 -0
  8. package/lib/types/bot.js.map +1 -0
  9. package/lib/types/config.d.ts +47 -0
  10. package/lib/types/config.d.ts.map +1 -0
  11. package/lib/types/config.js +77 -0
  12. package/lib/types/config.js.map +1 -0
  13. package/lib/types/decode.d.ts +60 -0
  14. package/lib/types/decode.d.ts.map +1 -0
  15. package/lib/types/decode.js +321 -0
  16. package/lib/types/decode.js.map +1 -0
  17. package/lib/types/errors.d.ts +47 -0
  18. package/lib/types/errors.d.ts.map +1 -0
  19. package/lib/types/errors.js +112 -0
  20. package/lib/types/errors.js.map +1 -0
  21. package/lib/types/identity.d.ts +17 -0
  22. package/lib/types/identity.d.ts.map +1 -0
  23. package/lib/types/identity.js +24 -0
  24. package/lib/types/identity.js.map +1 -0
  25. package/lib/types/index.d.ts +17 -0
  26. package/lib/types/index.d.ts.map +1 -0
  27. package/lib/types/index.js +16 -0
  28. package/lib/types/index.js.map +1 -0
  29. package/lib/types/media.d.ts +19 -0
  30. package/lib/types/media.d.ts.map +1 -0
  31. package/lib/types/media.js +55 -0
  32. package/lib/types/media.js.map +1 -0
  33. package/lib/types/modes/shared.d.ts +126 -0
  34. package/lib/types/modes/shared.d.ts.map +1 -0
  35. package/lib/types/modes/shared.js +316 -0
  36. package/lib/types/modes/shared.js.map +1 -0
  37. package/lib/types/modes/text.d.ts +13 -0
  38. package/lib/types/modes/text.d.ts.map +1 -0
  39. package/lib/types/modes/text.js +143 -0
  40. package/lib/types/modes/text.js.map +1 -0
  41. package/lib/types/request.d.ts +49 -0
  42. package/lib/types/request.d.ts.map +1 -0
  43. package/lib/types/request.js +162 -0
  44. package/lib/types/request.js.map +1 -0
  45. package/lib/types/send.d.ts +43 -0
  46. package/lib/types/send.d.ts.map +1 -0
  47. package/lib/types/send.js +74 -0
  48. package/lib/types/send.js.map +1 -0
  49. package/lib/types/signature.d.ts +19 -0
  50. package/lib/types/signature.d.ts.map +1 -0
  51. package/lib/types/signature.js +30 -0
  52. package/lib/types/signature.js.map +1 -0
  53. package/lib/types/transport/media.d.ts +62 -0
  54. package/lib/types/transport/media.d.ts.map +1 -0
  55. package/lib/types/transport/media.js +104 -0
  56. package/lib/types/transport/media.js.map +1 -0
  57. package/lib/types/transport/webhook.d.ts +62 -0
  58. package/lib/types/transport/webhook.d.ts.map +1 -0
  59. package/lib/types/transport/webhook.js +208 -0
  60. package/lib/types/transport/webhook.js.map +1 -0
  61. package/lib/types/types/definition.d.ts +1006 -0
  62. package/lib/types/types/definition.d.ts.map +1 -0
  63. package/lib/types/types/definition.js +2 -0
  64. package/lib/types/types/definition.js.map +1 -0
  65. package/lib/types/types/index.d.ts +542 -0
  66. package/lib/types/types/index.d.ts.map +1 -0
  67. package/lib/types/types/index.js +4 -0
  68. package/lib/types/types/index.js.map +1 -0
  69. package/lib/types/types/internal.d.ts +8 -0
  70. package/lib/types/types/internal.d.ts.map +1 -0
  71. package/lib/types/types/internal.js +234 -0
  72. package/lib/types/types/internal.js.map +1 -0
  73. package/lib/types/types/request.d.ts +341 -0
  74. package/lib/types/types/request.d.ts.map +1 -0
  75. package/lib/types/types/request.js +2 -0
  76. package/lib/types/types/request.js.map +1 -0
  77. package/package.json +61 -3
  78. package/src/bot.ts +229 -0
  79. package/src/config.ts +113 -0
  80. package/src/decode.ts +418 -0
  81. package/src/errors.ts +138 -0
  82. package/src/identity.ts +28 -0
  83. package/src/index.ts +60 -0
  84. package/src/media.ts +66 -0
  85. package/src/modes/shared.ts +408 -0
  86. package/src/modes/text.ts +177 -0
  87. package/src/request.ts +215 -0
  88. package/src/send.ts +104 -0
  89. package/src/signature.ts +32 -0
  90. package/src/transport/media.ts +117 -0
  91. package/src/transport/webhook.ts +266 -0
  92. package/src/types/.eslintrc.yml +2 -0
  93. package/src/types/definition.ts +1008 -0
  94. package/src/types/index.ts +593 -0
  95. package/src/types/internal.ts +233 -0
  96. package/src/types/request.ts +341 -0
  97. package/README.md +0 -3
@@ -0,0 +1,234 @@
1
+ import { invoke, } from "../request.js";
2
+ export class Internal {
3
+ request;
4
+ constructor(request) {
5
+ this.request = request;
6
+ }
7
+ static define(routes) {
8
+ // One method per generated route; the prototype is the method table the declarations augment.
9
+ const methods = Internal.prototype;
10
+ for (const path in routes) {
11
+ for (const key in routes[path]) {
12
+ const method = key;
13
+ const group = routes[path][method];
14
+ if (group === undefined)
15
+ continue;
16
+ const names = Array.isArray(group) ? group : [group];
17
+ for (const name of names) {
18
+ methods[name] = async function (...args) {
19
+ const raw = args.join(', ');
20
+ const url = path.replace(/\{([^}]+)\}/g, () => {
21
+ if (!args.length)
22
+ throw new Error(`too few arguments for ${path}, received ${raw}`);
23
+ return args.shift();
24
+ });
25
+ const config = {};
26
+ if (args.length === 1) {
27
+ if (method === 'GET' || method === 'DELETE') {
28
+ config.params = args[0];
29
+ }
30
+ else {
31
+ config.data = args[0];
32
+ }
33
+ }
34
+ else if (args.length === 2 && method !== 'GET' && method !== 'DELETE') {
35
+ config.data = args[0];
36
+ config.params = args[1];
37
+ }
38
+ else if (args.length > 1) {
39
+ throw new Error(`too many arguments for ${path}, received ${raw}`);
40
+ }
41
+ return await invoke(this.request, method, url, config);
42
+ };
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ Internal.define({
49
+ '/v2/bot/channel/webhook/endpoint': {
50
+ GET: 'getWebhookEndpoint',
51
+ PUT: 'setWebhookEndpoint',
52
+ },
53
+ '/v2/bot/channel/webhook/test': {
54
+ POST: 'testWebhookEndpoint',
55
+ },
56
+ '/v2/bot/message/{messageId}/content': {
57
+ GET: 'getMessageContent',
58
+ },
59
+ '/v2/bot/message/{messageId}/content/preview': {
60
+ GET: 'getMessageContentPreview',
61
+ },
62
+ '/v2/bot/message/{messageId}/content/transcoding': {
63
+ GET: 'getMessageContentTranscodingByMessageId',
64
+ },
65
+ '/v2/bot/message/reply': {
66
+ POST: 'replyMessage',
67
+ },
68
+ '/v2/bot/message/push': {
69
+ POST: 'pushMessage',
70
+ },
71
+ '/v2/bot/message/multicast': {
72
+ POST: 'multicast',
73
+ },
74
+ '/v2/bot/message/narrowcast': {
75
+ POST: 'narrowcast',
76
+ },
77
+ '/v2/bot/message/progress/narrowcast': {
78
+ GET: 'getNarrowcastProgress',
79
+ },
80
+ '/v2/bot/message/broadcast': {
81
+ POST: 'broadcast',
82
+ },
83
+ '/v2/bot/message/quota': {
84
+ GET: 'getMessageQuota',
85
+ },
86
+ '/v2/bot/message/quota/consumption': {
87
+ GET: 'getMessageQuotaConsumption',
88
+ },
89
+ '/v2/bot/message/delivery/reply': {
90
+ GET: 'getNumberOfSentReplyMessages',
91
+ },
92
+ '/v2/bot/message/delivery/push': {
93
+ GET: 'getNumberOfSentPushMessages',
94
+ },
95
+ '/v2/bot/message/delivery/multicast': {
96
+ GET: 'getNumberOfSentMulticastMessages',
97
+ },
98
+ '/v2/bot/message/delivery/broadcast': {
99
+ GET: 'getNumberOfSentBroadcastMessages',
100
+ },
101
+ '/v2/bot/message/validate/reply': {
102
+ POST: 'validateReply',
103
+ },
104
+ '/v2/bot/message/validate/push': {
105
+ POST: 'validatePush',
106
+ },
107
+ '/v2/bot/message/validate/multicast': {
108
+ POST: 'validateMulticast',
109
+ },
110
+ '/v2/bot/message/validate/narrowcast': {
111
+ POST: 'validateNarrowcast',
112
+ },
113
+ '/v2/bot/message/validate/broadcast': {
114
+ POST: 'validateBroadcast',
115
+ },
116
+ '/v2/bot/message/aggregation/info': {
117
+ GET: 'getAggregationUnitUsage',
118
+ },
119
+ '/v2/bot/message/aggregation/list': {
120
+ GET: 'getAggregationUnitNameList',
121
+ },
122
+ '/v2/bot/profile/{userId}': {
123
+ GET: 'getProfile',
124
+ },
125
+ '/v2/bot/followers/ids': {
126
+ GET: 'getFollowers',
127
+ },
128
+ '/v2/bot/info': {
129
+ GET: 'getBotInfo',
130
+ },
131
+ '/v2/bot/group/{groupId}/member/{userId}': {
132
+ GET: 'getGroupMemberProfile',
133
+ },
134
+ '/v2/bot/room/{roomId}/member/{userId}': {
135
+ GET: 'getRoomMemberProfile',
136
+ },
137
+ '/v2/bot/group/{groupId}/members/ids': {
138
+ GET: 'getGroupMembersIds',
139
+ },
140
+ '/v2/bot/room/{roomId}/members/ids': {
141
+ GET: 'getRoomMembersIds',
142
+ },
143
+ '/v2/bot/group/{groupId}/leave': {
144
+ POST: 'leaveGroup',
145
+ },
146
+ '/v2/bot/room/{roomId}/leave': {
147
+ POST: 'leaveRoom',
148
+ },
149
+ '/v2/bot/group/{groupId}/summary': {
150
+ GET: 'getGroupSummary',
151
+ },
152
+ '/v2/bot/group/{groupId}/members/count': {
153
+ GET: 'getGroupMemberCount',
154
+ },
155
+ '/v2/bot/room/{roomId}/members/count': {
156
+ GET: 'getRoomMemberCount',
157
+ },
158
+ '/v2/bot/richmenu': {
159
+ POST: 'createRichMenu',
160
+ },
161
+ '/v2/bot/richmenu/validate': {
162
+ POST: 'validateRichMenuObject',
163
+ },
164
+ '/v2/bot/richmenu/{richMenuId}/content': {
165
+ GET: 'getRichMenuImage',
166
+ POST: 'setRichMenuImage',
167
+ },
168
+ '/v2/bot/richmenu/{richMenuId}': {
169
+ GET: 'getRichMenu',
170
+ DELETE: 'deleteRichMenu',
171
+ },
172
+ '/v2/bot/richmenu/list': {
173
+ GET: 'getRichMenuList',
174
+ },
175
+ '/v2/bot/user/all/richmenu/{richMenuId}': {
176
+ POST: 'setDefaultRichMenu',
177
+ },
178
+ '/v2/bot/user/all/richmenu': {
179
+ GET: 'getDefaultRichMenuId',
180
+ DELETE: 'cancelDefaultRichMenu',
181
+ },
182
+ '/v2/bot/richmenu/alias': {
183
+ POST: 'createRichMenuAlias',
184
+ },
185
+ '/v2/bot/richmenu/alias/{richMenuAliasId}': {
186
+ GET: 'getRichMenuAlias',
187
+ POST: 'updateRichMenuAlias',
188
+ DELETE: 'deleteRichMenuAlias',
189
+ },
190
+ '/v2/bot/richmenu/alias/list': {
191
+ GET: 'getRichMenuAliasList',
192
+ },
193
+ '/v2/bot/user/{userId}/richmenu': {
194
+ GET: 'getRichMenuIdOfUser',
195
+ DELETE: 'unlinkRichMenuIdFromUser',
196
+ },
197
+ '/v2/bot/user/{userId}/richmenu/{richMenuId}': {
198
+ POST: 'linkRichMenuIdToUser',
199
+ },
200
+ '/v2/bot/richmenu/bulk/link': {
201
+ POST: 'linkRichMenuIdToUsers',
202
+ },
203
+ '/v2/bot/richmenu/bulk/unlink': {
204
+ POST: 'unlinkRichMenuIdFromUsers',
205
+ },
206
+ '/v2/bot/richmenu/batch': {
207
+ POST: 'richMenuBatch',
208
+ },
209
+ '/v2/bot/richmenu/validate/batch': {
210
+ POST: 'validateRichMenuBatchRequest',
211
+ },
212
+ '/v2/bot/richmenu/progress/batch': {
213
+ GET: 'getRichMenuBatchProgress',
214
+ },
215
+ '/v2/bot/user/{userId}/linkToken': {
216
+ POST: 'issueLinkToken',
217
+ },
218
+ '/v2/bot/message/markAsRead': {
219
+ POST: 'markMessagesAsRead',
220
+ },
221
+ '/bot/pnp/push': {
222
+ POST: 'pushMessagesByPhone',
223
+ },
224
+ '/bot/ad/multicast/phone': {
225
+ POST: 'audienceMatch',
226
+ },
227
+ '/v2/bot/message/delivery/pnp': {
228
+ GET: 'getPNPMessageStatistics',
229
+ },
230
+ '/v2/bot/message/delivery/ad_phone': {
231
+ GET: 'getAdPhoneMessageStatistics',
232
+ },
233
+ });
234
+ //# sourceMappingURL=internal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/types/internal.ts"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,GAGP,MAAM,eA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,IAAI,EAAE,gBAAgB;KACvB;IACD,4BAA4B,EAAE;QAC5B,IAAI,EAAE,oBAAoB;KAC3B;IACD,eAAe,EAAE;QACf,IAAI,EAAE,qBAAqB;KAC5B;IACD,yBAAyB,EAAE;QACzB,IAAI,EAAE,eAAe;KACtB;IACD,8BAA8B,EAAE;QAC9B,GAAG,EAAE,yBAAyB;KAC/B;IACD,mCAAmC,EAAE;QACnC,GAAG,EAAE,6BAA6B;KACnC;CACF,CAAC,CAAA"}
@@ -0,0 +1,341 @@
1
+ import * as Line from './definition.ts';
2
+ declare module './internal' {
3
+ interface Internal {
4
+ /**
5
+ * Get webhook endpoint information
6
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information
7
+ */
8
+ getWebhookEndpoint(): Promise<Line.GetWebhookEndpointResponse>;
9
+ /**
10
+ * Set webhook endpoint URL
11
+ * @see https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url
12
+ */
13
+ setWebhookEndpoint(body: Line.SetWebhookEndpointRequest): Promise<{}>;
14
+ /**
15
+ * Test webhook endpoint
16
+ * @see https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint
17
+ */
18
+ testWebhookEndpoint(body: Line.TestWebhookEndpointRequest): Promise<Line.TestWebhookEndpointResponse>;
19
+ /**
20
+ * Download image, video, and audio data sent from users.
21
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-content
22
+ */
23
+ getMessageContent(messageId: string): Promise<unknown>;
24
+ /**
25
+ * Get a preview image of the image or video
26
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-image-or-video-preview
27
+ */
28
+ getMessageContentPreview(messageId: string): Promise<unknown>;
29
+ /**
30
+ * Verify the preparation status of a video or audio for getting
31
+ * @see https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status
32
+ */
33
+ getMessageContentTranscodingByMessageId(messageId: string): Promise<Line.GetMessageContentTranscodingResponse>;
34
+ /**
35
+ * Send reply message
36
+ * @see https://developers.line.biz/en/reference/messaging-api/#send-reply-message
37
+ */
38
+ replyMessage(body: Line.ReplyMessageRequest): Promise<Line.ReplyMessageResponse>;
39
+ /**
40
+ * Sends a message to a user, group chat, or multi-person chat at any time.
41
+ * @see https://developers.line.biz/en/reference/messaging-api/#send-push-message
42
+ */
43
+ pushMessage(body: Line.PushMessageRequest): Promise<Line.PushMessageResponse>;
44
+ /**
45
+ * An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.
46
+ * @see https://developers.line.biz/en/reference/messaging-api/#send-multicast-message
47
+ */
48
+ multicast(body: Line.MulticastRequest): Promise<Line.MulticastResponse>;
49
+ /**
50
+ * Send narrowcast message
51
+ * @see https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message
52
+ */
53
+ narrowcast(body: Line.NarrowcastRequest): Promise<{}>;
54
+ /**
55
+ * Gets the status of a narrowcast message.
56
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status
57
+ */
58
+ getNarrowcastProgress(query?: Line.GetNarrowcastProgressQuery): Promise<Line.NarrowcastProgressResponse>;
59
+ /**
60
+ * Sends a message to multiple users at any time.
61
+ * @see https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message
62
+ */
63
+ broadcast(body: Line.BroadcastRequest): Promise<Line.BroadcastResponse>;
64
+ /**
65
+ * Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
66
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-quota
67
+ */
68
+ getMessageQuota(): Promise<Line.MessageQuotaResponse>;
69
+ /**
70
+ * Gets the number of messages sent in the current month.
71
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-consumption
72
+ */
73
+ getMessageQuotaConsumption(): Promise<Line.QuotaConsumptionResponse>;
74
+ /**
75
+ * Get number of sent reply messages
76
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages
77
+ */
78
+ getNumberOfSentReplyMessages(query?: Line.GetNumberOfSentReplyMessagesQuery): Promise<Line.NumberOfMessagesResponse>;
79
+ /**
80
+ * Get number of sent push messages
81
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages
82
+ */
83
+ getNumberOfSentPushMessages(query?: Line.GetNumberOfSentPushMessagesQuery): Promise<Line.NumberOfMessagesResponse>;
84
+ /**
85
+ * Get number of sent multicast messages
86
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages
87
+ */
88
+ getNumberOfSentMulticastMessages(query?: Line.GetNumberOfSentMulticastMessagesQuery): Promise<Line.NumberOfMessagesResponse>;
89
+ /**
90
+ * Get number of sent broadcast messages
91
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages
92
+ */
93
+ getNumberOfSentBroadcastMessages(query?: Line.GetNumberOfSentBroadcastMessagesQuery): Promise<Line.NumberOfMessagesResponse>;
94
+ /**
95
+ * Validate message objects of a reply message
96
+ * @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message
97
+ */
98
+ validateReply(body: Line.ValidateMessageRequest): Promise<{}>;
99
+ /**
100
+ * Validate message objects of a push message
101
+ * @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message
102
+ */
103
+ validatePush(body: Line.ValidateMessageRequest): Promise<{}>;
104
+ /**
105
+ * Validate message objects of a multicast message
106
+ * @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message
107
+ */
108
+ validateMulticast(body: Line.ValidateMessageRequest): Promise<{}>;
109
+ /**
110
+ * Validate message objects of a narrowcast message
111
+ * @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message
112
+ */
113
+ validateNarrowcast(body: Line.ValidateMessageRequest): Promise<{}>;
114
+ /**
115
+ * Validate message objects of a broadcast message
116
+ * @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message
117
+ */
118
+ validateBroadcast(body: Line.ValidateMessageRequest): Promise<{}>;
119
+ /**
120
+ * Get number of units used this month
121
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month
122
+ */
123
+ getAggregationUnitUsage(): Promise<Line.GetAggregationUnitUsageResponse>;
124
+ /**
125
+ * Get name list of units used this month
126
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month
127
+ */
128
+ getAggregationUnitNameList(query?: Line.GetAggregationUnitNameListQuery): Promise<Line.GetAggregationUnitNameListResponse>;
129
+ /**
130
+ * Get profile
131
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-profile
132
+ */
133
+ getProfile(userId: string): Promise<Line.UserProfileResponse>;
134
+ /**
135
+ * Get a list of users who added your LINE Official Account as a friend
136
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-follower-ids
137
+ */
138
+ getFollowers(query?: Line.GetFollowersQuery): Promise<Line.GetFollowersResponse>;
139
+ /**
140
+ * Get bot info
141
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-bot-info
142
+ */
143
+ getBotInfo(): Promise<Line.BotInfoResponse>;
144
+ /**
145
+ * Get group chat member profile
146
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile
147
+ */
148
+ getGroupMemberProfile(groupId: string, userId: string): Promise<Line.GroupUserProfileResponse>;
149
+ /**
150
+ * Get multi-person chat member profile
151
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile
152
+ */
153
+ getRoomMemberProfile(roomId: string, userId: string): Promise<Line.RoomUserProfileResponse>;
154
+ /**
155
+ * Get group chat member user IDs
156
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids
157
+ */
158
+ getGroupMembersIds(groupId: string, query?: Line.GetGroupMembersIdsQuery): Promise<Line.MembersIdsResponse>;
159
+ /**
160
+ * Get multi-person chat member user IDs
161
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids
162
+ */
163
+ getRoomMembersIds(roomId: string, query?: Line.GetRoomMembersIdsQuery): Promise<Line.MembersIdsResponse>;
164
+ /**
165
+ * Leave group chat
166
+ * @see https://developers.line.biz/en/reference/messaging-api/#leave-group
167
+ */
168
+ leaveGroup(groupId: string): Promise<{}>;
169
+ /**
170
+ * Leave multi-person chat
171
+ * @see https://developers.line.biz/en/reference/messaging-api/#leave-room
172
+ */
173
+ leaveRoom(roomId: string): Promise<{}>;
174
+ /**
175
+ * Get group chat summary
176
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-group-summary
177
+ */
178
+ getGroupSummary(groupId: string): Promise<Line.GroupSummaryResponse>;
179
+ /**
180
+ * Get number of users in a group chat
181
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-members-group-count
182
+ */
183
+ getGroupMemberCount(groupId: string): Promise<Line.GroupMemberCountResponse>;
184
+ /**
185
+ * Get number of users in a multi-person chat
186
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-members-room-count
187
+ */
188
+ getRoomMemberCount(roomId: string): Promise<Line.RoomMemberCountResponse>;
189
+ /**
190
+ * Create rich menu
191
+ * @see https://developers.line.biz/en/reference/messaging-api/#create-rich-menu
192
+ */
193
+ createRichMenu(body: Line.RichMenuRequest): Promise<Line.RichMenuIdResponse>;
194
+ /**
195
+ * Validate rich menu object
196
+ * @see https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object
197
+ */
198
+ validateRichMenuObject(body: Line.RichMenuRequest): Promise<{}>;
199
+ /**
200
+ * Download rich menu image.
201
+ * @see https://developers.line.biz/en/reference/messaging-api/#download-rich-menu-image
202
+ */
203
+ getRichMenuImage(richMenuId: string): Promise<unknown>;
204
+ /**
205
+ * Upload rich menu image
206
+ * @see https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image
207
+ */
208
+ setRichMenuImage(richMenuId: string, body: any): Promise<{}>;
209
+ /**
210
+ * Gets a rich menu via a rich menu ID.
211
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu
212
+ */
213
+ getRichMenu(): Promise<Line.RichMenuResponse>;
214
+ /**
215
+ * Deletes a rich menu.
216
+ * @see https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu
217
+ */
218
+ deleteRichMenu(): Promise<{}>;
219
+ /**
220
+ * Get rich menu list
221
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list
222
+ */
223
+ getRichMenuList(): Promise<Line.RichMenuListResponse>;
224
+ /**
225
+ * Set default rich menu
226
+ * @see https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu
227
+ */
228
+ setDefaultRichMenu(richMenuId: string): Promise<{}>;
229
+ /**
230
+ * Gets the ID of the default rich menu set with the Messaging API.
231
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id
232
+ */
233
+ getDefaultRichMenuId(): Promise<Line.RichMenuIdResponse>;
234
+ /**
235
+ * Cancel default rich menu
236
+ * @see https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu
237
+ */
238
+ cancelDefaultRichMenu(): Promise<{}>;
239
+ /**
240
+ * Create rich menu alias
241
+ * @see https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias
242
+ */
243
+ createRichMenuAlias(body: Line.CreateRichMenuAliasRequest): Promise<{}>;
244
+ /**
245
+ * Get rich menu alias information
246
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id
247
+ */
248
+ getRichMenuAlias(richMenuAliasId: string): Promise<Line.RichMenuAliasResponse>;
249
+ /**
250
+ * Update rich menu alias
251
+ * @see https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias
252
+ */
253
+ updateRichMenuAlias(richMenuAliasId: string, body: Line.UpdateRichMenuAliasRequest): Promise<{}>;
254
+ /**
255
+ * Delete rich menu alias
256
+ * @see https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias
257
+ */
258
+ deleteRichMenuAlias(richMenuAliasId: string): Promise<{}>;
259
+ /**
260
+ * Get list of rich menu alias
261
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list
262
+ */
263
+ getRichMenuAliasList(): Promise<Line.RichMenuAliasListResponse>;
264
+ /**
265
+ * Get rich menu ID of user
266
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user
267
+ */
268
+ getRichMenuIdOfUser(): Promise<Line.RichMenuIdResponse>;
269
+ /**
270
+ * Unlink rich menu from user
271
+ * @see https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user
272
+ */
273
+ unlinkRichMenuIdFromUser(): Promise<{}>;
274
+ /**
275
+ * Link rich menu to user.
276
+ * @see https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user
277
+ */
278
+ linkRichMenuIdToUser(userId: string, richMenuId: string): Promise<{}>;
279
+ /**
280
+ * Link rich menu to multiple users
281
+ * @see https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users
282
+ */
283
+ linkRichMenuIdToUsers(body: Line.RichMenuBulkLinkRequest): Promise<{}>;
284
+ /**
285
+ * Unlink rich menus from multiple users
286
+ * @see https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users
287
+ */
288
+ unlinkRichMenuIdFromUsers(body: Line.RichMenuBulkUnlinkRequest): Promise<{}>;
289
+ /**
290
+ * 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.
291
+ * The following operations are available:
292
+ *
293
+ * 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu
294
+ * 2. Unlink a rich menu for all users linked to a specific rich menu
295
+ * 3. Unlink a rich menu for all users linked the rich menu
296
+ * @see https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users
297
+ */
298
+ richMenuBatch(body: Line.RichMenuBatchRequest): Promise<{}>;
299
+ /**
300
+ * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
301
+ * @see https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request
302
+ */
303
+ validateRichMenuBatchRequest(body: Line.RichMenuBatchRequest): Promise<{}>;
304
+ /**
305
+ * Get the status of Replace or unlink a linked rich menus in batches.
306
+ * @see https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status
307
+ */
308
+ getRichMenuBatchProgress(query?: Line.GetRichMenuBatchProgressQuery): Promise<Line.RichMenuBatchProgressResponse>;
309
+ /**
310
+ * Issue link token
311
+ * @see https://developers.line.biz/en/reference/messaging-api/#issue-link-token
312
+ */
313
+ issueLinkToken(userId: string): Promise<Line.IssueLinkTokenResponse>;
314
+ /**
315
+ * Mark messages from users as read
316
+ * @see https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read
317
+ */
318
+ markMessagesAsRead(body: Line.MarkMessagesAsReadRequest): Promise<{}>;
319
+ /**
320
+ * Send LINE notification message
321
+ * @see https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message
322
+ */
323
+ pushMessagesByPhone(body: Line.PnpMessagesRequest): Promise<{}>;
324
+ /**
325
+ * Send a message using phone number
326
+ * @see https://developers.line.biz/en/reference/partner-docs/#phone-audience-match
327
+ */
328
+ audienceMatch(body: Line.AudienceMatchMessagesRequest): Promise<{}>;
329
+ /**
330
+ * Get number of sent LINE notification messages
331
+ * @see https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages
332
+ */
333
+ getPNPMessageStatistics(query?: Line.GetPNPMessageStatisticsQuery): Promise<Line.NumberOfMessagesResponse>;
334
+ /**
335
+ * Get result of message delivery using phone number
336
+ * @see https://developers.line.biz/en/reference/partner-docs/#get-phone-audience-match
337
+ */
338
+ getAdPhoneMessageStatistics(query?: Line.GetAdPhoneMessageStatisticsQuery): Promise<Line.NumberOfMessagesResponse>;
339
+ }
340
+ }
341
+ //# sourceMappingURL=request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../src/types/request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AAEvC,OAAO,QAAQ,YAAY,CAAC;IAC1B,UAAU,QAAQ;QAChB;;;WAGG;QACH,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC,0BAA0B,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IAAI,EAAE,IAAI,CAAC,yBAAyB,GAAG,OAAO,CAAC,EAAE,CAAC,CAAA;QACrE;;;WAGG;QACH,mBAAmB,CAAC,IAAI,EAAE,IAAI,CAAC,kBAAkB,GAAG,OAAO,CAAC,EAAE,CAAC,CAAA;QAC/D;;;WAGG;QACH,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,4BAA4B,GAAG,OAAO,CAAC,EAAE,CAAC,CAAA;QACnE;;;WAGG;QACH,uBAAuB,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAA;QAC1G;;;WAGG;QACH,2BAA2B,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,gCAAgC,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAA;KACnH;CACF"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/types/request.ts"],"names":[],"mappings":""}