@open-wa/schema 5.0.0-alpha.0 → 5.0.0-alpha.3
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.
- package/dist/generated/index.cjs +598 -0
- package/dist/generated/index.cjs.map +1 -0
- package/dist/generated/index.d.cts +3674 -0
- package/dist/generated/index.d.cts.map +1 -0
- package/dist/generated/index.d.mts +3674 -0
- package/dist/generated/index.d.mts.map +1 -0
- package/dist/generated/index.mjs +595 -0
- package/dist/generated/index.mjs.map +1 -0
- package/dist/http-manifest-BlJWPKsp.d.mts +177 -0
- package/dist/http-manifest-BlJWPKsp.d.mts.map +1 -0
- package/dist/http-manifest-DCOVY9QZ.d.cts +177 -0
- package/dist/http-manifest-DCOVY9QZ.d.cts.map +1 -0
- package/dist/http-manifest.cjs +59 -0
- package/dist/http-manifest.cjs.map +1 -0
- package/dist/http-manifest.d.cts +2 -0
- package/dist/http-manifest.d.mts +2 -0
- package/dist/http-manifest.mjs +58 -0
- package/dist/http-manifest.mjs.map +1 -0
- package/dist/implementor-DIBNbQXA.d.cts +8 -0
- package/dist/implementor-DIBNbQXA.d.cts.map +1 -0
- package/dist/implementor-DoN9ga7C.d.mts +8 -0
- package/dist/implementor-DoN9ga7C.d.mts.map +1 -0
- package/dist/implementor.cjs +50 -0
- package/dist/implementor.cjs.map +1 -0
- package/dist/implementor.d.cts +2 -0
- package/dist/implementor.d.mts +2 -0
- package/dist/implementor.mjs +48 -0
- package/dist/implementor.mjs.map +1 -0
- package/dist/index-BB9uyLe8.d.cts +1323 -0
- package/dist/index-BB9uyLe8.d.cts.map +1 -0
- package/dist/index-D77q1gPk.d.mts +1323 -0
- package/dist/index-D77q1gPk.d.mts.map +1 -0
- package/dist/index.cjs +649 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +4 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.mjs +299 -0
- package/dist/index.mjs.map +1 -0
- package/dist/methods/index.cjs +125 -0
- package/dist/methods/index.d.cts +2 -0
- package/dist/methods/index.d.mts +2 -0
- package/dist/methods/index.mjs +2 -0
- package/dist/methods-BXZrkKjP.mjs +2633 -0
- package/dist/methods-BXZrkKjP.mjs.map +1 -0
- package/dist/methods-CuiwUO7-.cjs +3802 -0
- package/dist/methods-CuiwUO7-.cjs.map +1 -0
- package/dist/registry-CsyR8i6y.mjs +284 -0
- package/dist/registry-CsyR8i6y.mjs.map +1 -0
- package/dist/registry-TbMVoiw5.cjs +355 -0
- package/dist/registry-TbMVoiw5.cjs.map +1 -0
- package/package.json +6 -3
- package/CHANGELOG.md +0 -23
- package/client_migration_doc.md +0 -467
- package/codecs_and_params_plan.md +0 -936
- package/migration_plan_doc.md +0 -223
- package/scripts/gen-client-implementation.ts +0 -129
- package/scripts/gen-client-reference-docs.ts +0 -621
- package/scripts/gen-openapi.ts +0 -96
- package/scripts/gen-types.ts +0 -43
- package/scripts/verify-v5-pipeline.ts +0 -85
- package/src/__tests__/generators.contract.test.ts +0 -181
- package/src/__tests__/registry.contract.test.ts +0 -81
- package/src/client-config.ts +0 -30
- package/src/codecs.test.ts +0 -41
- package/src/codecs.ts +0 -191
- package/src/common-types.ts +0 -280
- package/src/config.ts +0 -47
- package/src/enums.ts +0 -63
- package/src/events/groups.ts +0 -33
- package/src/events/index.ts +0 -4
- package/src/events/messaging.ts +0 -72
- package/src/events/registry.ts +0 -114
- package/src/events/state.ts +0 -59
- package/src/generated/AliasMap.ts +0 -214
- package/src/generated/BaseClient.ts +0 -868
- package/src/generated/BaseNamespacedClient.ts +0 -212
- package/src/generated/index.ts +0 -5
- package/src/generated/openapi.json +0 -7799
- package/src/generated/types.ts +0 -377
- package/src/http-manifest.ts +0 -97
- package/src/implementor.test.ts +0 -88
- package/src/implementor.ts +0 -75
- package/src/index.ts +0 -43
- package/src/methods/business.ts +0 -51
- package/src/methods/chats.ts +0 -263
- package/src/methods/communities.ts +0 -119
- package/src/methods/contacts.ts +0 -158
- package/src/methods/groups.ts +0 -376
- package/src/methods/index.ts +0 -33
- package/src/methods/labels.ts +0 -86
- package/src/methods/media.ts +0 -36
- package/src/methods/messaging.ts +0 -828
- package/src/methods/session.ts +0 -261
- package/src/methods/status.ts +0 -120
- package/src/open-wa-utils.d.ts +0 -4
- package/src/parameters.ts +0 -237
- package/src/registry.test.ts +0 -30
- package/src/registry.ts +0 -601
- package/tsconfig.generated.json +0 -11
- package/tsconfig.json +0 -15
- package/tsdown.config.ts +0 -16
- package/vitest.config.ts +0 -10
|
@@ -0,0 +1,598 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_methods = require("../methods-CuiwUO7-.cjs");
|
|
3
|
+
const require_implementor = require("../implementor.cjs");
|
|
4
|
+
//#region src/generated/AliasMap.ts
|
|
5
|
+
/**
|
|
6
|
+
* This file was automatically generated by packages/schema/scripts/gen-client-implementation.ts
|
|
7
|
+
* Do not edit this file manually.
|
|
8
|
+
*/
|
|
9
|
+
const clientMethodAliasMap = {
|
|
10
|
+
"messages.sendText": "sendText",
|
|
11
|
+
"messages.sendTextWithMentions": "sendTextWithMentions",
|
|
12
|
+
"messages.sendReplyWithMentions": "sendReplyWithMentions",
|
|
13
|
+
"messages.sendPaymentRequest": "sendPaymentRequest",
|
|
14
|
+
"messages.sendImage": "sendImage",
|
|
15
|
+
"messages.sendFile": "sendFile",
|
|
16
|
+
"messages.sendAudio": "sendAudio",
|
|
17
|
+
"sendVoiceNote": "sendPtt",
|
|
18
|
+
"messages.sendPtt": "sendPtt",
|
|
19
|
+
"messages.sendVoiceNote": "sendPtt",
|
|
20
|
+
"messages.sendVideoAsGif": "sendVideoAsGif",
|
|
21
|
+
"messages.sendLocation": "sendLocation",
|
|
22
|
+
"messages.sendVCard": "sendVCard",
|
|
23
|
+
"messages.sendContact": "sendContact",
|
|
24
|
+
"sendContacts": "sendMultipleContacts",
|
|
25
|
+
"messages.sendContacts": "sendMultipleContacts",
|
|
26
|
+
"messages.sendMultipleContacts": "sendMultipleContacts",
|
|
27
|
+
"messages.sendButtons": "sendButtons",
|
|
28
|
+
"messages.sendAdvancedButtons": "sendAdvancedButtons",
|
|
29
|
+
"sendList": "sendListMessage",
|
|
30
|
+
"messages.sendList": "sendListMessage",
|
|
31
|
+
"messages.sendPoll": "sendPoll",
|
|
32
|
+
"messages.sendBanner": "sendBanner",
|
|
33
|
+
"sendYoutubeLink": "sendYouTubeLink",
|
|
34
|
+
"messages.sendYouTubeLink": "sendYouTubeLink",
|
|
35
|
+
"messages.sendYoutubeLink": "sendYouTubeLink",
|
|
36
|
+
"sendLink": "sendLinkWithAutoPreview",
|
|
37
|
+
"messages.sendLinkWithAutoPreview": "sendLinkWithAutoPreview",
|
|
38
|
+
"messages.sendLink": "sendLinkWithAutoPreview",
|
|
39
|
+
"sendLinkWithThumbnail": "sendMessageWithThumb",
|
|
40
|
+
"messages.sendLinkWithThumbnail": "sendMessageWithThumb",
|
|
41
|
+
"messages.sendWithThumb": "sendMessageWithThumb",
|
|
42
|
+
"messages.forward": "forwardMessages",
|
|
43
|
+
"messages.delete": "deleteMessage",
|
|
44
|
+
"getMessage": "getMessageById",
|
|
45
|
+
"messages.get": "getMessageById",
|
|
46
|
+
"messages.getById": "getMessageById",
|
|
47
|
+
"listMessages": "getAllMessages",
|
|
48
|
+
"messages.getAll": "getAllMessages",
|
|
49
|
+
"messages.all": "getAllMessages",
|
|
50
|
+
"messages.list": "getAllMessages",
|
|
51
|
+
"messages.getMyLast": "getMyLastMessage",
|
|
52
|
+
"messages.getStarred": "getStarredMessages",
|
|
53
|
+
"messages.getUnsent": "getUnsentMessages",
|
|
54
|
+
"messages.getInfo": "getMessageInfo",
|
|
55
|
+
"messages.getVCards": "getVCards",
|
|
56
|
+
"getGptArray": "getMessagesForLLM",
|
|
57
|
+
"messages.getForLLM": "getMessagesForLLM",
|
|
58
|
+
"messages.getGptArray": "getMessagesForLLM",
|
|
59
|
+
"messages.star": "starMessage",
|
|
60
|
+
"messages.unstar": "unstarMessage",
|
|
61
|
+
"messages.react": "react",
|
|
62
|
+
"messages.sendSeen": "sendSeen",
|
|
63
|
+
"loadOlderMessages": "loadEarlierMessages",
|
|
64
|
+
"messages.loadEarlier": "loadEarlierMessages",
|
|
65
|
+
"messages.loadOlder": "loadEarlierMessages",
|
|
66
|
+
"messages.sendFileFromUrl": "sendFileFromUrl",
|
|
67
|
+
"listChats": "getAllChats",
|
|
68
|
+
"chats.getAll": "getAllChats",
|
|
69
|
+
"chats.all": "getAllChats",
|
|
70
|
+
"chats.list": "getAllChats",
|
|
71
|
+
"chats.ids": "getAllChatIds",
|
|
72
|
+
"listChatIds": "getAllChatIds",
|
|
73
|
+
"chatIds.getAll": "getAllChatIds",
|
|
74
|
+
"chatIds.all": "getAllChatIds",
|
|
75
|
+
"chatIds.list": "getAllChatIds",
|
|
76
|
+
"getChatById": "getChat",
|
|
77
|
+
"chats.get": "getChat",
|
|
78
|
+
"chats.getById": "getChat",
|
|
79
|
+
"chats.getWithNonContacts": "getChatWithNonContacts",
|
|
80
|
+
"chats.archive": "archiveChat",
|
|
81
|
+
"chats.unarchive": "unarchiveChat",
|
|
82
|
+
"chats.clear": "clearChat",
|
|
83
|
+
"chats.delete": "deleteChat",
|
|
84
|
+
"chats.pin": "pinChat",
|
|
85
|
+
"chats.unpin": "unpinChat",
|
|
86
|
+
"chats.mute": "muteChat",
|
|
87
|
+
"chats.unmute": "unmuteChat",
|
|
88
|
+
"chats.markAsRead": "markAsRead",
|
|
89
|
+
"chats.markAsUnread": "markAsUnread",
|
|
90
|
+
"chats.setEphemeral": "setChatEphemeral",
|
|
91
|
+
"chats.isOnline": "isChatOnline",
|
|
92
|
+
"listContacts": "getAllContacts",
|
|
93
|
+
"contacts.getAll": "getAllContacts",
|
|
94
|
+
"contacts.all": "getAllContacts",
|
|
95
|
+
"contacts.list": "getAllContacts",
|
|
96
|
+
"contacts.get": "getContact",
|
|
97
|
+
"contacts.getCommonGroups": "getCommonGroups",
|
|
98
|
+
"contacts.getNumberProfile": "getNumberProfile",
|
|
99
|
+
"contacts.getBlockedIds": "getBlockedIds",
|
|
100
|
+
"contactBlock": "blockContact",
|
|
101
|
+
"contacts.block": "blockContact",
|
|
102
|
+
"contacts.contactBlock": "blockContact",
|
|
103
|
+
"contactUnblock": "unblockContact",
|
|
104
|
+
"contacts.unblock": "unblockContact",
|
|
105
|
+
"contacts.contactUnblock": "unblockContact",
|
|
106
|
+
"getReadReceipts": "checkReadReceipts",
|
|
107
|
+
"contacts.checkReadReceipts": "checkReadReceipts",
|
|
108
|
+
"contacts.getReadReceipts": "checkReadReceipts",
|
|
109
|
+
"contacts.checkNumberStatus": "checkNumberStatus",
|
|
110
|
+
"getProfilePicFromServer": "getProfilePicture",
|
|
111
|
+
"contacts.getProfilePicture": "getProfilePicture",
|
|
112
|
+
"contacts.getProfilePicFromServer": "getProfilePicture",
|
|
113
|
+
"groups.getMembers": "getGroupMembers",
|
|
114
|
+
"listGroups": "getAllGroups",
|
|
115
|
+
"groups.getAll": "getAllGroups",
|
|
116
|
+
"groups.all": "getAllGroups",
|
|
117
|
+
"groups.list": "getAllGroups",
|
|
118
|
+
"getGroupMemberIds": "getGroupMembersId",
|
|
119
|
+
"groups.getMemberIds": "getGroupMembersId",
|
|
120
|
+
"groups.getMembersId": "getGroupMembersId",
|
|
121
|
+
"groups.getInfo": "getGroupInfo",
|
|
122
|
+
"groups.getAdmins": "getGroupAdmins",
|
|
123
|
+
"groups.getKicked": "getKickedGroups",
|
|
124
|
+
"groups.getInviteLink": "getGroupInviteLink",
|
|
125
|
+
"groups.create": "createGroup",
|
|
126
|
+
"groups.leave": "leaveGroup",
|
|
127
|
+
"joinGroup": "joinGroupViaLink",
|
|
128
|
+
"groups.join": "joinGroupViaLink",
|
|
129
|
+
"groups.joinViaLink": "joinGroupViaLink",
|
|
130
|
+
"groups.revokeInviteLink": "revokeGroupInviteLink",
|
|
131
|
+
"groups.setTitle": "setGroupTitle",
|
|
132
|
+
"groups.setDescription": "setGroupDescription",
|
|
133
|
+
"groups.setIcon": "setGroupIcon",
|
|
134
|
+
"groups.setAdminsOnly": "setGroupToAdminsOnly",
|
|
135
|
+
"groups.setToAdminsOnly": "setGroupToAdminsOnly",
|
|
136
|
+
"groups.setEditAdminsOnly": "setGroupEditToAdminsOnly",
|
|
137
|
+
"groups.setEditToAdminsOnly": "setGroupEditToAdminsOnly",
|
|
138
|
+
"addGroupParticipant": "addParticipant",
|
|
139
|
+
"groups.addParticipant": "addParticipant",
|
|
140
|
+
"removeGroupParticipant": "removeParticipant",
|
|
141
|
+
"groups.removeParticipant": "removeParticipant",
|
|
142
|
+
"promoteGroupParticipant": "promoteParticipant",
|
|
143
|
+
"groups.promoteParticipant": "promoteParticipant",
|
|
144
|
+
"demoteGroupParticipant": "demoteParticipant",
|
|
145
|
+
"groups.demoteParticipant": "demoteParticipant",
|
|
146
|
+
"groups.approveJoinRequest": "approveGroupJoinRequest",
|
|
147
|
+
"groups.rejectJoinRequest": "rejectGroupJoinRequest",
|
|
148
|
+
"listCommunities": "getAllCommunities",
|
|
149
|
+
"communities.getAll": "getAllCommunities",
|
|
150
|
+
"communities.all": "getAllCommunities",
|
|
151
|
+
"communities.list": "getAllCommunities",
|
|
152
|
+
"communities.getInfo": "getCommunityInfo",
|
|
153
|
+
"communities.getParticipantIds": "getCommunityParticipantIds",
|
|
154
|
+
"communities.getAdminIds": "getCommunityAdminIds",
|
|
155
|
+
"communities.getParticipants": "getCommunityParticipants",
|
|
156
|
+
"communities.getAdmins": "getCommunityAdmins",
|
|
157
|
+
"status.postText": "postTextStatus",
|
|
158
|
+
"status.postImage": "postImageStatus",
|
|
159
|
+
"status.postVideo": "postVideoStatus",
|
|
160
|
+
"getStatuses": "getStories",
|
|
161
|
+
"status.getAll": "getStories",
|
|
162
|
+
"status.getStories": "getStories",
|
|
163
|
+
"status.get": "getStories",
|
|
164
|
+
"mystatus.getStatus": "getStatus",
|
|
165
|
+
"status.delete": "deleteStatus",
|
|
166
|
+
"deleteAllStatuses": "deleteAllStatus",
|
|
167
|
+
"status.deleteAll": "deleteAllStatus",
|
|
168
|
+
"listLabels": "getAllLabels",
|
|
169
|
+
"labels.getAll": "getAllLabels",
|
|
170
|
+
"labels.all": "getAllLabels",
|
|
171
|
+
"labels.list": "getAllLabels",
|
|
172
|
+
"labels.getChats": "getChatsByLabel",
|
|
173
|
+
"labels.getChatsBy": "getChatsByLabel",
|
|
174
|
+
"labels.add": "addLabel",
|
|
175
|
+
"labels.remove": "removeLabel",
|
|
176
|
+
"business.getProfile": "getBusinessProfile",
|
|
177
|
+
"getBusinessProfilesProducts": "getBusinessProducts",
|
|
178
|
+
"business.getProducts": "getBusinessProducts",
|
|
179
|
+
"business.getProfilesProducts": "getBusinessProducts",
|
|
180
|
+
"business.getOrder": "getOrder",
|
|
181
|
+
"session.getMe": "getMe",
|
|
182
|
+
"session.getHostNumber": "getHostNumber",
|
|
183
|
+
"session.getConnectionState": "getConnectionState",
|
|
184
|
+
"getWhatsAppVersion": "getWAVersion",
|
|
185
|
+
"session.getWAVersion": "getWAVersion",
|
|
186
|
+
"session.getWhatsAppVersion": "getWAVersion",
|
|
187
|
+
"session.getBatteryLevel": "getBatteryLevel",
|
|
188
|
+
"getIsPlugged": "isPlugged",
|
|
189
|
+
"session.isPlugged": "isPlugged",
|
|
190
|
+
"session.getIsPlugged": "isPlugged",
|
|
191
|
+
"session.getFeatures": "getFeatures",
|
|
192
|
+
"session.getLicenseType": "getLicenseType",
|
|
193
|
+
"getGeneratedUserAgent": "getUserAgent",
|
|
194
|
+
"session.getUserAgent": "getUserAgent",
|
|
195
|
+
"session.getGeneratedUserAgent": "getUserAgent",
|
|
196
|
+
"session.getProcessStats": "getProcessStats",
|
|
197
|
+
"getAmountOfLoadedMessages": "getLoadedMessageCount",
|
|
198
|
+
"session.getLoadedMessageCount": "getLoadedMessageCount",
|
|
199
|
+
"session.getAmountOfLoadedMessages": "getLoadedMessageCount",
|
|
200
|
+
"takeScreenshot": "getSnapshot",
|
|
201
|
+
"session.getSnapshot": "getSnapshot",
|
|
202
|
+
"session.takeScreenshot": "getSnapshot",
|
|
203
|
+
"session.healthCheck": "healthCheck",
|
|
204
|
+
"setDisplayName": "setMyName",
|
|
205
|
+
"session.setName": "setMyName",
|
|
206
|
+
"session.setMyName": "setMyName",
|
|
207
|
+
"session.setDisplayName": "setMyName",
|
|
208
|
+
"setStatusText": "setMyStatus",
|
|
209
|
+
"session.setStatus": "setMyStatus",
|
|
210
|
+
"session.setMyStatus": "setMyStatus",
|
|
211
|
+
"session.setStatusText": "setMyStatus",
|
|
212
|
+
"setProfilePic": "setProfilePicture",
|
|
213
|
+
"session.setProfilePicture": "setProfilePicture",
|
|
214
|
+
"session.setProfilePic": "setProfilePicture",
|
|
215
|
+
"media.decrypt": "decryptMedia",
|
|
216
|
+
"media.download": "downloadMedia"
|
|
217
|
+
};
|
|
218
|
+
//#endregion
|
|
219
|
+
//#region src/generated/BaseClient.ts
|
|
220
|
+
/**
|
|
221
|
+
* This file was automatically generated by packages/schema/scripts/gen-client-implementation.ts
|
|
222
|
+
* Do not edit this file manually.
|
|
223
|
+
*/
|
|
224
|
+
var BaseClient = class {
|
|
225
|
+
constructor() {
|
|
226
|
+
this.sendText = require_implementor.implementMethod(require_methods.sendText);
|
|
227
|
+
this.sendTextWithMentions = require_implementor.implementMethod(require_methods.sendTextWithMentions);
|
|
228
|
+
this.sendReplyWithMentions = require_implementor.implementMethod(require_methods.sendReplyWithMentions);
|
|
229
|
+
this.sendPaymentRequest = require_implementor.implementMethod(require_methods.sendPaymentRequest);
|
|
230
|
+
this.sendImage = require_implementor.implementMethod(require_methods.sendImage);
|
|
231
|
+
this.sendFile = require_implementor.implementMethod(require_methods.sendFile);
|
|
232
|
+
this.sendAudio = require_implementor.implementMethod(require_methods.sendAudio);
|
|
233
|
+
this.sendPtt = require_implementor.implementMethod(require_methods.sendPtt);
|
|
234
|
+
this.sendVideoAsGif = require_implementor.implementMethod(require_methods.sendVideoAsGif);
|
|
235
|
+
this.sendLocation = require_implementor.implementMethod(require_methods.sendLocation);
|
|
236
|
+
this.sendVCard = require_implementor.implementMethod(require_methods.sendVCard);
|
|
237
|
+
this.sendContact = require_implementor.implementMethod(require_methods.sendContact);
|
|
238
|
+
this.sendMultipleContacts = require_implementor.implementMethod(require_methods.sendMultipleContacts);
|
|
239
|
+
this.sendButtons = require_implementor.implementMethod(require_methods.sendButtons);
|
|
240
|
+
this.sendAdvancedButtons = require_implementor.implementMethod(require_methods.sendAdvancedButtons);
|
|
241
|
+
this.sendListMessage = require_implementor.implementMethod(require_methods.sendListMessage);
|
|
242
|
+
this.sendPoll = require_implementor.implementMethod(require_methods.sendPoll);
|
|
243
|
+
this.sendBanner = require_implementor.implementMethod(require_methods.sendBanner);
|
|
244
|
+
this.sendYouTubeLink = require_implementor.implementMethod(require_methods.sendYouTubeLink);
|
|
245
|
+
this.sendLinkWithAutoPreview = require_implementor.implementMethod(require_methods.sendLinkWithAutoPreview);
|
|
246
|
+
this.sendMessageWithThumb = require_implementor.implementMethod(require_methods.sendMessageWithThumb);
|
|
247
|
+
this.forwardMessages = require_implementor.implementMethod(require_methods.forwardMessages);
|
|
248
|
+
this.deleteMessage = require_implementor.implementMethod(require_methods.deleteMessage);
|
|
249
|
+
this.getMessageById = require_implementor.implementMethod(require_methods.getMessageById);
|
|
250
|
+
this.getAllMessages = require_implementor.implementMethod(require_methods.getAllMessages);
|
|
251
|
+
this.getMyLastMessage = require_implementor.implementMethod(require_methods.getMyLastMessage);
|
|
252
|
+
this.getStarredMessages = require_implementor.implementMethod(require_methods.getStarredMessages);
|
|
253
|
+
this.getUnsentMessages = require_implementor.implementMethod(require_methods.getUnsentMessages);
|
|
254
|
+
this.getMessageInfo = require_implementor.implementMethod(require_methods.getMessageInfo);
|
|
255
|
+
this.getVCards = require_implementor.implementMethod(require_methods.getVCards);
|
|
256
|
+
this.getMessagesForLLM = require_implementor.implementMethod(require_methods.getMessagesForLLM);
|
|
257
|
+
this.starMessage = require_implementor.implementMethod(require_methods.starMessage);
|
|
258
|
+
this.unstarMessage = require_implementor.implementMethod(require_methods.unstarMessage);
|
|
259
|
+
this.react = require_implementor.implementMethod(require_methods.react);
|
|
260
|
+
this.sendSeen = require_implementor.implementMethod(require_methods.sendSeen);
|
|
261
|
+
this.loadEarlierMessages = require_implementor.implementMethod(require_methods.loadEarlierMessages);
|
|
262
|
+
this.sendFileFromUrl = require_implementor.implementMethod(require_methods.sendFileFromUrl);
|
|
263
|
+
this.getAllChats = require_implementor.implementMethod(require_methods.getAllChats);
|
|
264
|
+
this.getAllChatIds = require_implementor.implementMethod(require_methods.getAllChatIds);
|
|
265
|
+
this.getChat = require_implementor.implementMethod(require_methods.getChat);
|
|
266
|
+
this.getChatWithNonContacts = require_implementor.implementMethod(require_methods.getChatWithNonContacts);
|
|
267
|
+
this.archiveChat = require_implementor.implementMethod(require_methods.archiveChat);
|
|
268
|
+
this.unarchiveChat = require_implementor.implementMethod(require_methods.unarchiveChat);
|
|
269
|
+
this.clearChat = require_implementor.implementMethod(require_methods.clearChat);
|
|
270
|
+
this.deleteChat = require_implementor.implementMethod(require_methods.deleteChat);
|
|
271
|
+
this.pinChat = require_implementor.implementMethod(require_methods.pinChat);
|
|
272
|
+
this.unpinChat = require_implementor.implementMethod(require_methods.unpinChat);
|
|
273
|
+
this.muteChat = require_implementor.implementMethod(require_methods.muteChat);
|
|
274
|
+
this.unmuteChat = require_implementor.implementMethod(require_methods.unmuteChat);
|
|
275
|
+
this.markAsRead = require_implementor.implementMethod(require_methods.markAsRead);
|
|
276
|
+
this.markAsUnread = require_implementor.implementMethod(require_methods.markAsUnread);
|
|
277
|
+
this.setChatEphemeral = require_implementor.implementMethod(require_methods.setChatEphemeral);
|
|
278
|
+
this.isChatOnline = require_implementor.implementMethod(require_methods.isChatOnline);
|
|
279
|
+
this.getAllContacts = require_implementor.implementMethod(require_methods.getAllContacts);
|
|
280
|
+
this.getContact = require_implementor.implementMethod(require_methods.getContact);
|
|
281
|
+
this.getCommonGroups = require_implementor.implementMethod(require_methods.getCommonGroups);
|
|
282
|
+
this.getNumberProfile = require_implementor.implementMethod(require_methods.getNumberProfile);
|
|
283
|
+
this.getBlockedIds = require_implementor.implementMethod(require_methods.getBlockedIds);
|
|
284
|
+
this.blockContact = require_implementor.implementMethod(require_methods.blockContact);
|
|
285
|
+
this.unblockContact = require_implementor.implementMethod(require_methods.unblockContact);
|
|
286
|
+
this.checkReadReceipts = require_implementor.implementMethod(require_methods.checkReadReceipts);
|
|
287
|
+
this.checkNumberStatus = require_implementor.implementMethod(require_methods.checkNumberStatus);
|
|
288
|
+
this.getProfilePicture = require_implementor.implementMethod(require_methods.getProfilePicture);
|
|
289
|
+
this.getGroupMembers = require_implementor.implementMethod(require_methods.getGroupMembers);
|
|
290
|
+
this.getAllGroups = require_implementor.implementMethod(require_methods.getAllGroups);
|
|
291
|
+
this.getGroupMembersId = require_implementor.implementMethod(require_methods.getGroupMembersId);
|
|
292
|
+
this.getGroupInfo = require_implementor.implementMethod(require_methods.getGroupInfo);
|
|
293
|
+
this.getGroupAdmins = require_implementor.implementMethod(require_methods.getGroupAdmins);
|
|
294
|
+
this.getKickedGroups = require_implementor.implementMethod(require_methods.getKickedGroups);
|
|
295
|
+
this.getGroupInviteLink = require_implementor.implementMethod(require_methods.getGroupInviteLink);
|
|
296
|
+
this.createGroup = require_implementor.implementMethod(require_methods.createGroup);
|
|
297
|
+
this.leaveGroup = require_implementor.implementMethod(require_methods.leaveGroup);
|
|
298
|
+
this.joinGroupViaLink = require_implementor.implementMethod(require_methods.joinGroupViaLink);
|
|
299
|
+
this.revokeGroupInviteLink = require_implementor.implementMethod(require_methods.revokeGroupInviteLink);
|
|
300
|
+
this.setGroupTitle = require_implementor.implementMethod(require_methods.setGroupTitle);
|
|
301
|
+
this.setGroupDescription = require_implementor.implementMethod(require_methods.setGroupDescription);
|
|
302
|
+
this.setGroupIcon = require_implementor.implementMethod(require_methods.setGroupIcon);
|
|
303
|
+
this.setGroupToAdminsOnly = require_implementor.implementMethod(require_methods.setGroupToAdminsOnly);
|
|
304
|
+
this.setGroupEditToAdminsOnly = require_implementor.implementMethod(require_methods.setGroupEditToAdminsOnly);
|
|
305
|
+
this.addParticipant = require_implementor.implementMethod(require_methods.addParticipant);
|
|
306
|
+
this.removeParticipant = require_implementor.implementMethod(require_methods.removeParticipant);
|
|
307
|
+
this.promoteParticipant = require_implementor.implementMethod(require_methods.promoteParticipant);
|
|
308
|
+
this.demoteParticipant = require_implementor.implementMethod(require_methods.demoteParticipant);
|
|
309
|
+
this.approveGroupJoinRequest = require_implementor.implementMethod(require_methods.approveGroupJoinRequest);
|
|
310
|
+
this.rejectGroupJoinRequest = require_implementor.implementMethod(require_methods.rejectGroupJoinRequest);
|
|
311
|
+
this.getAllCommunities = require_implementor.implementMethod(require_methods.getAllCommunities);
|
|
312
|
+
this.getCommunityInfo = require_implementor.implementMethod(require_methods.getCommunityInfo);
|
|
313
|
+
this.getCommunityParticipantIds = require_implementor.implementMethod(require_methods.getCommunityParticipantIds);
|
|
314
|
+
this.getCommunityAdminIds = require_implementor.implementMethod(require_methods.getCommunityAdminIds);
|
|
315
|
+
this.getCommunityParticipants = require_implementor.implementMethod(require_methods.getCommunityParticipants);
|
|
316
|
+
this.getCommunityAdmins = require_implementor.implementMethod(require_methods.getCommunityAdmins);
|
|
317
|
+
this.postTextStatus = require_implementor.implementMethod(require_methods.postTextStatus);
|
|
318
|
+
this.postImageStatus = require_implementor.implementMethod(require_methods.postImageStatus);
|
|
319
|
+
this.postVideoStatus = require_implementor.implementMethod(require_methods.postVideoStatus);
|
|
320
|
+
this.getStories = require_implementor.implementMethod(require_methods.getStories);
|
|
321
|
+
this.getStatus = require_implementor.implementMethod(require_methods.getStatus);
|
|
322
|
+
this.deleteStatus = require_implementor.implementMethod(require_methods.deleteStatus);
|
|
323
|
+
this.deleteAllStatus = require_implementor.implementMethod(require_methods.deleteAllStatus);
|
|
324
|
+
this.getAllLabels = require_implementor.implementMethod(require_methods.getAllLabels);
|
|
325
|
+
this.getChatsByLabel = require_implementor.implementMethod(require_methods.getChatsByLabel);
|
|
326
|
+
this.addLabel = require_implementor.implementMethod(require_methods.addLabel);
|
|
327
|
+
this.removeLabel = require_implementor.implementMethod(require_methods.removeLabel);
|
|
328
|
+
this.getBusinessProfile = require_implementor.implementMethod(require_methods.getBusinessProfile);
|
|
329
|
+
this.getBusinessProducts = require_implementor.implementMethod(require_methods.getBusinessProducts);
|
|
330
|
+
this.getOrder = require_implementor.implementMethod(require_methods.getOrder);
|
|
331
|
+
this.getMe = require_implementor.implementMethod(require_methods.getMe);
|
|
332
|
+
this.getHostNumber = require_implementor.implementMethod(require_methods.getHostNumber);
|
|
333
|
+
this.getConnectionState = require_implementor.implementMethod(require_methods.getConnectionState);
|
|
334
|
+
this.getWAVersion = require_implementor.implementMethod(require_methods.getWAVersion);
|
|
335
|
+
this.getBatteryLevel = require_implementor.implementMethod(require_methods.getBatteryLevel);
|
|
336
|
+
this.isPlugged = require_implementor.implementMethod(require_methods.isPlugged);
|
|
337
|
+
this.getFeatures = require_implementor.implementMethod(require_methods.getFeatures);
|
|
338
|
+
this.getLicenseType = require_implementor.implementMethod(require_methods.getLicenseType);
|
|
339
|
+
this.getUserAgent = require_implementor.implementMethod(require_methods.getUserAgent);
|
|
340
|
+
this.getProcessStats = require_implementor.implementMethod(require_methods.getProcessStats);
|
|
341
|
+
this.getLoadedMessageCount = require_implementor.implementMethod(require_methods.getLoadedMessageCount);
|
|
342
|
+
this.getSnapshot = require_implementor.implementMethod(require_methods.getSnapshot);
|
|
343
|
+
this.healthCheck = require_implementor.implementMethod(require_methods.healthCheck);
|
|
344
|
+
this.setMyName = require_implementor.implementMethod(require_methods.setMyName);
|
|
345
|
+
this.setMyStatus = require_implementor.implementMethod(require_methods.setMyStatus);
|
|
346
|
+
this.setProfilePicture = require_implementor.implementMethod(require_methods.setProfilePicture);
|
|
347
|
+
this.decryptMedia = require_implementor.implementMethod(require_methods.decryptMedia);
|
|
348
|
+
this.downloadMedia = require_implementor.implementMethod(require_methods.downloadMedia);
|
|
349
|
+
this.sendVoiceNote = this.sendPtt;
|
|
350
|
+
this.sendContacts = this.sendMultipleContacts;
|
|
351
|
+
this.sendList = this.sendListMessage;
|
|
352
|
+
this.sendYoutubeLink = this.sendYouTubeLink;
|
|
353
|
+
this.sendLink = this.sendLinkWithAutoPreview;
|
|
354
|
+
this.sendLinkWithThumbnail = this.sendMessageWithThumb;
|
|
355
|
+
this.getMessage = this.getMessageById;
|
|
356
|
+
this.listMessages = this.getAllMessages;
|
|
357
|
+
this.getGptArray = this.getMessagesForLLM;
|
|
358
|
+
this.loadOlderMessages = this.loadEarlierMessages;
|
|
359
|
+
this.listChats = this.getAllChats;
|
|
360
|
+
this.listChatIds = this.getAllChatIds;
|
|
361
|
+
this.getChatById = this.getChat;
|
|
362
|
+
this.listContacts = this.getAllContacts;
|
|
363
|
+
this.contactBlock = this.blockContact;
|
|
364
|
+
this.contactUnblock = this.unblockContact;
|
|
365
|
+
this.getReadReceipts = this.checkReadReceipts;
|
|
366
|
+
this.getProfilePicFromServer = this.getProfilePicture;
|
|
367
|
+
this.listGroups = this.getAllGroups;
|
|
368
|
+
this.getGroupMemberIds = this.getGroupMembersId;
|
|
369
|
+
this.joinGroup = this.joinGroupViaLink;
|
|
370
|
+
this.addGroupParticipant = this.addParticipant;
|
|
371
|
+
this.removeGroupParticipant = this.removeParticipant;
|
|
372
|
+
this.promoteGroupParticipant = this.promoteParticipant;
|
|
373
|
+
this.demoteGroupParticipant = this.demoteParticipant;
|
|
374
|
+
this.listCommunities = this.getAllCommunities;
|
|
375
|
+
this.getStatuses = this.getStories;
|
|
376
|
+
this.deleteAllStatuses = this.deleteAllStatus;
|
|
377
|
+
this.listLabels = this.getAllLabels;
|
|
378
|
+
this.getBusinessProfilesProducts = this.getBusinessProducts;
|
|
379
|
+
this.getWhatsAppVersion = this.getWAVersion;
|
|
380
|
+
this.getIsPlugged = this.isPlugged;
|
|
381
|
+
this.getGeneratedUserAgent = this.getUserAgent;
|
|
382
|
+
this.getAmountOfLoadedMessages = this.getLoadedMessageCount;
|
|
383
|
+
this.takeScreenshot = this.getSnapshot;
|
|
384
|
+
this.setDisplayName = this.setMyName;
|
|
385
|
+
this.setStatusText = this.setMyStatus;
|
|
386
|
+
this.setProfilePic = this.setProfilePicture;
|
|
387
|
+
}
|
|
388
|
+
async pup(_func, args) {
|
|
389
|
+
throw new Error("BaseClient.pup is not available without a runtime implementation.");
|
|
390
|
+
}
|
|
391
|
+
};
|
|
392
|
+
//#endregion
|
|
393
|
+
//#region src/generated/BaseNamespacedClient.ts
|
|
394
|
+
/**
|
|
395
|
+
* This file was automatically generated by packages/schema/scripts/gen-client-implementation.ts
|
|
396
|
+
* Do not edit this file manually.
|
|
397
|
+
*/
|
|
398
|
+
var BaseNamespacedClient = class extends BaseClient {
|
|
399
|
+
constructor(..._args) {
|
|
400
|
+
super(..._args);
|
|
401
|
+
this.business = {
|
|
402
|
+
getOrder: this.getOrder,
|
|
403
|
+
getProducts: this.getBusinessProducts,
|
|
404
|
+
getProfile: this.getBusinessProfile,
|
|
405
|
+
getProfilesProducts: this.getBusinessProducts
|
|
406
|
+
};
|
|
407
|
+
this.chatIds = {
|
|
408
|
+
all: this.getAllChatIds,
|
|
409
|
+
getAll: this.getAllChatIds,
|
|
410
|
+
list: this.getAllChatIds
|
|
411
|
+
};
|
|
412
|
+
this.chats = {
|
|
413
|
+
all: this.getAllChats,
|
|
414
|
+
archive: this.archiveChat,
|
|
415
|
+
clear: this.clearChat,
|
|
416
|
+
delete: this.deleteChat,
|
|
417
|
+
get: this.getChat,
|
|
418
|
+
getAll: this.getAllChats,
|
|
419
|
+
getById: this.getChat,
|
|
420
|
+
getWithNonContacts: this.getChatWithNonContacts,
|
|
421
|
+
isOnline: this.isChatOnline,
|
|
422
|
+
list: this.getAllChats,
|
|
423
|
+
markAsRead: this.markAsRead,
|
|
424
|
+
markAsUnread: this.markAsUnread,
|
|
425
|
+
mute: this.muteChat,
|
|
426
|
+
pin: this.pinChat,
|
|
427
|
+
setEphemeral: this.setChatEphemeral,
|
|
428
|
+
unarchive: this.unarchiveChat,
|
|
429
|
+
unmute: this.unmuteChat,
|
|
430
|
+
unpin: this.unpinChat
|
|
431
|
+
};
|
|
432
|
+
this.communities = {
|
|
433
|
+
all: this.getAllCommunities,
|
|
434
|
+
getAdminIds: this.getCommunityAdminIds,
|
|
435
|
+
getAdmins: this.getCommunityAdmins,
|
|
436
|
+
getAll: this.getAllCommunities,
|
|
437
|
+
getInfo: this.getCommunityInfo,
|
|
438
|
+
getParticipantIds: this.getCommunityParticipantIds,
|
|
439
|
+
getParticipants: this.getCommunityParticipants,
|
|
440
|
+
list: this.getAllCommunities
|
|
441
|
+
};
|
|
442
|
+
this.contacts = {
|
|
443
|
+
all: this.getAllContacts,
|
|
444
|
+
block: this.blockContact,
|
|
445
|
+
checkNumberStatus: this.checkNumberStatus,
|
|
446
|
+
checkReadReceipts: this.checkReadReceipts,
|
|
447
|
+
contactBlock: this.blockContact,
|
|
448
|
+
contactUnblock: this.unblockContact,
|
|
449
|
+
get: this.getContact,
|
|
450
|
+
getAll: this.getAllContacts,
|
|
451
|
+
getBlockedIds: this.getBlockedIds,
|
|
452
|
+
getCommonGroups: this.getCommonGroups,
|
|
453
|
+
getNumberProfile: this.getNumberProfile,
|
|
454
|
+
getProfilePicFromServer: this.getProfilePicture,
|
|
455
|
+
getProfilePicture: this.getProfilePicture,
|
|
456
|
+
getReadReceipts: this.checkReadReceipts,
|
|
457
|
+
list: this.getAllContacts,
|
|
458
|
+
unblock: this.unblockContact
|
|
459
|
+
};
|
|
460
|
+
this.groups = {
|
|
461
|
+
addParticipant: this.addParticipant,
|
|
462
|
+
all: this.getAllGroups,
|
|
463
|
+
approveJoinRequest: this.approveGroupJoinRequest,
|
|
464
|
+
create: this.createGroup,
|
|
465
|
+
demoteParticipant: this.demoteParticipant,
|
|
466
|
+
getAdmins: this.getGroupAdmins,
|
|
467
|
+
getAll: this.getAllGroups,
|
|
468
|
+
getInfo: this.getGroupInfo,
|
|
469
|
+
getInviteLink: this.getGroupInviteLink,
|
|
470
|
+
getKicked: this.getKickedGroups,
|
|
471
|
+
getMemberIds: this.getGroupMembersId,
|
|
472
|
+
getMembers: this.getGroupMembers,
|
|
473
|
+
getMembersId: this.getGroupMembersId,
|
|
474
|
+
join: this.joinGroupViaLink,
|
|
475
|
+
joinViaLink: this.joinGroupViaLink,
|
|
476
|
+
leave: this.leaveGroup,
|
|
477
|
+
list: this.getAllGroups,
|
|
478
|
+
promoteParticipant: this.promoteParticipant,
|
|
479
|
+
rejectJoinRequest: this.rejectGroupJoinRequest,
|
|
480
|
+
removeParticipant: this.removeParticipant,
|
|
481
|
+
revokeInviteLink: this.revokeGroupInviteLink,
|
|
482
|
+
setAdminsOnly: this.setGroupToAdminsOnly,
|
|
483
|
+
setDescription: this.setGroupDescription,
|
|
484
|
+
setEditAdminsOnly: this.setGroupEditToAdminsOnly,
|
|
485
|
+
setEditToAdminsOnly: this.setGroupEditToAdminsOnly,
|
|
486
|
+
setIcon: this.setGroupIcon,
|
|
487
|
+
setTitle: this.setGroupTitle,
|
|
488
|
+
setToAdminsOnly: this.setGroupToAdminsOnly
|
|
489
|
+
};
|
|
490
|
+
this.labels = {
|
|
491
|
+
add: this.addLabel,
|
|
492
|
+
all: this.getAllLabels,
|
|
493
|
+
getAll: this.getAllLabels,
|
|
494
|
+
getChats: this.getChatsByLabel,
|
|
495
|
+
getChatsBy: this.getChatsByLabel,
|
|
496
|
+
list: this.getAllLabels,
|
|
497
|
+
remove: this.removeLabel
|
|
498
|
+
};
|
|
499
|
+
this.media = {
|
|
500
|
+
decrypt: this.decryptMedia,
|
|
501
|
+
download: this.downloadMedia
|
|
502
|
+
};
|
|
503
|
+
this.messages = {
|
|
504
|
+
all: this.getAllMessages,
|
|
505
|
+
delete: this.deleteMessage,
|
|
506
|
+
forward: this.forwardMessages,
|
|
507
|
+
get: this.getMessageById,
|
|
508
|
+
getAll: this.getAllMessages,
|
|
509
|
+
getById: this.getMessageById,
|
|
510
|
+
getForLLM: this.getMessagesForLLM,
|
|
511
|
+
getGptArray: this.getMessagesForLLM,
|
|
512
|
+
getInfo: this.getMessageInfo,
|
|
513
|
+
getMyLast: this.getMyLastMessage,
|
|
514
|
+
getStarred: this.getStarredMessages,
|
|
515
|
+
getUnsent: this.getUnsentMessages,
|
|
516
|
+
getVCards: this.getVCards,
|
|
517
|
+
list: this.getAllMessages,
|
|
518
|
+
loadEarlier: this.loadEarlierMessages,
|
|
519
|
+
loadOlder: this.loadEarlierMessages,
|
|
520
|
+
react: this.react,
|
|
521
|
+
sendAdvancedButtons: this.sendAdvancedButtons,
|
|
522
|
+
sendAudio: this.sendAudio,
|
|
523
|
+
sendBanner: this.sendBanner,
|
|
524
|
+
sendButtons: this.sendButtons,
|
|
525
|
+
sendContact: this.sendContact,
|
|
526
|
+
sendContacts: this.sendMultipleContacts,
|
|
527
|
+
sendFile: this.sendFile,
|
|
528
|
+
sendFileFromUrl: this.sendFileFromUrl,
|
|
529
|
+
sendImage: this.sendImage,
|
|
530
|
+
sendLink: this.sendLinkWithAutoPreview,
|
|
531
|
+
sendLinkWithAutoPreview: this.sendLinkWithAutoPreview,
|
|
532
|
+
sendLinkWithThumbnail: this.sendMessageWithThumb,
|
|
533
|
+
sendList: this.sendListMessage,
|
|
534
|
+
sendLocation: this.sendLocation,
|
|
535
|
+
sendMultipleContacts: this.sendMultipleContacts,
|
|
536
|
+
sendPaymentRequest: this.sendPaymentRequest,
|
|
537
|
+
sendPoll: this.sendPoll,
|
|
538
|
+
sendPtt: this.sendPtt,
|
|
539
|
+
sendReplyWithMentions: this.sendReplyWithMentions,
|
|
540
|
+
sendSeen: this.sendSeen,
|
|
541
|
+
sendText: this.sendText,
|
|
542
|
+
sendTextWithMentions: this.sendTextWithMentions,
|
|
543
|
+
sendVCard: this.sendVCard,
|
|
544
|
+
sendVideoAsGif: this.sendVideoAsGif,
|
|
545
|
+
sendVoiceNote: this.sendPtt,
|
|
546
|
+
sendWithThumb: this.sendMessageWithThumb,
|
|
547
|
+
sendYoutubeLink: this.sendYouTubeLink,
|
|
548
|
+
sendYouTubeLink: this.sendYouTubeLink,
|
|
549
|
+
star: this.starMessage,
|
|
550
|
+
unstar: this.unstarMessage
|
|
551
|
+
};
|
|
552
|
+
this.mystatus = { getStatus: this.getStatus };
|
|
553
|
+
this.session = {
|
|
554
|
+
getAmountOfLoadedMessages: this.getLoadedMessageCount,
|
|
555
|
+
getBatteryLevel: this.getBatteryLevel,
|
|
556
|
+
getConnectionState: this.getConnectionState,
|
|
557
|
+
getFeatures: this.getFeatures,
|
|
558
|
+
getGeneratedUserAgent: this.getUserAgent,
|
|
559
|
+
getHostNumber: this.getHostNumber,
|
|
560
|
+
getIsPlugged: this.isPlugged,
|
|
561
|
+
getLicenseType: this.getLicenseType,
|
|
562
|
+
getLoadedMessageCount: this.getLoadedMessageCount,
|
|
563
|
+
getMe: this.getMe,
|
|
564
|
+
getProcessStats: this.getProcessStats,
|
|
565
|
+
getSnapshot: this.getSnapshot,
|
|
566
|
+
getUserAgent: this.getUserAgent,
|
|
567
|
+
getWAVersion: this.getWAVersion,
|
|
568
|
+
getWhatsAppVersion: this.getWAVersion,
|
|
569
|
+
healthCheck: this.healthCheck,
|
|
570
|
+
isPlugged: this.isPlugged,
|
|
571
|
+
setDisplayName: this.setMyName,
|
|
572
|
+
setMyName: this.setMyName,
|
|
573
|
+
setMyStatus: this.setMyStatus,
|
|
574
|
+
setName: this.setMyName,
|
|
575
|
+
setProfilePic: this.setProfilePicture,
|
|
576
|
+
setProfilePicture: this.setProfilePicture,
|
|
577
|
+
setStatus: this.setMyStatus,
|
|
578
|
+
setStatusText: this.setMyStatus,
|
|
579
|
+
takeScreenshot: this.getSnapshot
|
|
580
|
+
};
|
|
581
|
+
this.status = {
|
|
582
|
+
delete: this.deleteStatus,
|
|
583
|
+
deleteAll: this.deleteAllStatus,
|
|
584
|
+
get: this.getStories,
|
|
585
|
+
getAll: this.getStories,
|
|
586
|
+
getStories: this.getStories,
|
|
587
|
+
postImage: this.postImageStatus,
|
|
588
|
+
postText: this.postTextStatus,
|
|
589
|
+
postVideo: this.postVideoStatus
|
|
590
|
+
};
|
|
591
|
+
}
|
|
592
|
+
};
|
|
593
|
+
//#endregion
|
|
594
|
+
exports.BaseClient = BaseClient;
|
|
595
|
+
exports.BaseNamespacedClient = BaseNamespacedClient;
|
|
596
|
+
exports.clientMethodAliasMap = clientMethodAliasMap;
|
|
597
|
+
|
|
598
|
+
//# sourceMappingURL=index.cjs.map
|