@badzz88/baileys 8.5.6 → 8.5.8
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/README.md +337 -1055
- package/WAProto/WAProto.proto +28 -1189
- package/WAProto/fix-imports.js +79 -69
- package/WAProto/index.d.ts +71491 -15254
- package/WAProto/index.js +126436 -19814
- package/engine-requirements.js +8 -15
- package/lib/Defaults/index.js +130 -0
- package/{src → lib}/Signal/Group/ciphertext-message.js +2 -5
- package/lib/Signal/Group/group-session-builder.js +30 -0
- package/{src → lib}/Signal/Group/group_cipher.js +11 -11
- package/lib/Signal/Group/index.js +12 -0
- package/lib/Signal/Group/keyhelper.js +18 -0
- package/{src → lib}/Signal/Group/sender-chain-key.js +6 -9
- package/{src → lib}/Signal/Group/sender-key-distribution-message.js +6 -9
- package/{src → lib}/Signal/Group/sender-key-message.js +9 -12
- package/{src → lib}/Signal/Group/sender-key-name.js +2 -5
- package/{src → lib}/Signal/Group/sender-key-record.js +8 -11
- package/{src → lib}/Signal/Group/sender-key-state.js +6 -9
- package/lib/Signal/Group/sender-message-key.js +26 -0
- package/{src → lib}/Signal/libsignal.js +131 -155
- package/{src → lib}/Signal/lid-mapping.js +27 -23
- package/lib/Socket/Client/index.js +3 -0
- package/lib/Socket/Client/types.js +11 -0
- package/{src → lib}/Socket/Client/websocket.js +11 -18
- package/{src → lib}/Socket/business.js +35 -67
- package/{src → lib}/Socket/chats.js +294 -550
- package/{src → lib}/Socket/communities.js +82 -114
- package/lib/Socket/graphql.js +716 -0
- package/lib/Socket/groups.js +374 -0
- package/lib/Socket/index.js +18 -0
- package/lib/Socket/interop.js +463 -0
- package/{src → lib}/Socket/luxu.js +120 -82
- package/lib/Socket/messages-recv.js +1916 -0
- package/lib/Socket/messages-send.js +1436 -0
- package/lib/Socket/mex.js +54 -0
- package/lib/Socket/newsletter.js +757 -0
- package/lib/Socket/privacy.js +318 -0
- package/{src → lib}/Socket/socket.js +356 -244
- package/lib/Socket/username.js +236 -0
- package/lib/Store/index.js +10 -0
- package/{src → lib}/Store/keyed-db.js +11 -21
- package/lib/Store/make-cache-manager-store.js +85 -0
- package/lib/Store/make-in-memory-store.js +244 -0
- package/{src → lib}/Store/make-ordered-dictionary.js +19 -25
- package/{src → lib}/Store/object-repository.js +11 -5
- package/lib/Types/Auth.js +2 -0
- package/lib/Types/Bussines.js +2 -0
- package/lib/Types/Call.js +2 -0
- package/lib/Types/Chat.js +8 -0
- package/lib/Types/Contact.js +2 -0
- package/lib/Types/Events.js +2 -0
- package/lib/Types/GroupMetadata.js +2 -0
- package/lib/Types/Label.js +25 -0
- package/lib/Types/LabelAssociation.js +7 -0
- package/lib/Types/Message.js +11 -0
- package/lib/Types/Mex.js +111 -0
- package/lib/Types/Product.js +2 -0
- package/lib/Types/Signal.js +2 -0
- package/lib/Types/Socket.js +3 -0
- package/lib/Types/State.js +56 -0
- package/lib/Types/USync.js +2 -0
- package/lib/Types/index.js +26 -0
- package/{src → lib}/Utils/auth-utils.js +91 -43
- package/lib/Utils/browser-utils.js +48 -0
- package/lib/Utils/business.js +231 -0
- package/lib/Utils/chat-utils.js +872 -0
- package/lib/Utils/companion-reg-client-utils.js +35 -0
- package/lib/Utils/crypto.js +118 -0
- package/lib/Utils/decode-wa-message.js +350 -0
- package/{src → lib}/Utils/event-buffer.js +81 -39
- package/lib/Utils/generics.js +403 -0
- package/lib/Utils/history.js +134 -0
- package/{src → lib}/Utils/identity-change-handler.js +9 -11
- package/lib/Utils/index.js +23 -0
- package/lib/Utils/link-preview.js +85 -0
- package/lib/Utils/logger.js +3 -0
- package/lib/Utils/lt-hash.js +8 -0
- package/{src → lib}/Utils/make-mutex.js +7 -10
- package/lib/Utils/message-composer.js +273 -0
- package/{src → lib}/Utils/message-retry-manager.js +76 -28
- package/lib/Utils/messages-media.js +870 -0
- package/lib/Utils/messages.js +1337 -0
- package/lib/Utils/noise-handler.js +201 -0
- package/{src → lib}/Utils/offline-node-processor.js +10 -4
- package/{src → lib}/Utils/pre-key-manager.js +27 -11
- package/lib/Utils/process-message.js +630 -0
- package/{src → lib}/Utils/reporting-utils.js +12 -15
- package/lib/Utils/signal.js +201 -0
- package/{src → lib}/Utils/stanza-ack.js +12 -4
- package/lib/Utils/sticker.js +110 -0
- package/{src → lib}/Utils/sync-action-utils.js +14 -10
- package/{src → lib}/Utils/tc-token-utils.js +48 -43
- package/{src → lib}/Utils/use-multi-file-auth-state.js +35 -25
- package/lib/Utils/validate-connection.js +203 -0
- package/{src → lib}/WABinary/constants.js +9 -12
- package/{src → lib}/WABinary/decode.js +38 -118
- package/{src → lib}/WABinary/encode.js +6 -11
- package/lib/WABinary/generic-utils.js +204 -0
- package/lib/WABinary/index.js +6 -0
- package/lib/WABinary/jid-utils.js +98 -0
- package/lib/WABinary/types.js +2 -0
- package/{src → lib}/WAM/BinaryInfo.js +2 -5
- package/{src → lib}/WAM/constants.js +4 -16635
- package/{src → lib}/WAM/encode.js +18 -17
- package/lib/WAM/index.js +4 -0
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +53 -0
- package/lib/WAUSync/Protocols/USyncBusinessProtocol.js +43 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +54 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +57 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +30 -0
- package/lib/WAUSync/Protocols/USyncFeatureProtocol.js +58 -0
- package/lib/WAUSync/Protocols/USyncLIDProtocol.js +30 -0
- package/lib/WAUSync/Protocols/USyncPictureProtocol.js +32 -0
- package/lib/WAUSync/Protocols/USyncSidelistProtocol.js +28 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +39 -0
- package/lib/WAUSync/Protocols/USyncTextStatusProtocol.js +38 -0
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +27 -0
- package/lib/WAUSync/Protocols/index.js +12 -0
- package/lib/WAUSync/USyncQuery.js +151 -0
- package/lib/WAUSync/USyncUser.js +56 -0
- package/lib/WAUSync/index.js +3 -0
- package/{src → lib}/index.js +16 -51
- package/package.json +129 -99
- package/LICENSE +0 -21
- package/src/Defaults/index.js +0 -186
- package/src/Defaults/phonenumber-mcc.json +0 -223
- package/src/Signal/Group/group-session-builder.js +0 -86
- package/src/Signal/Group/index.js +0 -140
- package/src/Signal/Group/keyhelper.js +0 -77
- package/src/Signal/Group/sender-message-key.js +0 -29
- package/src/Socket/Client/index.js +0 -31
- package/src/Socket/Client/types.js +0 -13
- package/src/Socket/aigroups.js +0 -221
- package/src/Socket/graphql.js +0 -523
- package/src/Socket/groups.js +0 -516
- package/src/Socket/index.js +0 -31
- package/src/Socket/interactive-handler.js +0 -527
- package/src/Socket/interop.js +0 -339
- package/src/Socket/managed-account.js +0 -98
- package/src/Socket/messages-recv.js +0 -2685
- package/src/Socket/messages-send.js +0 -2047
- package/src/Socket/mex.js +0 -57
- package/src/Socket/newsletter.js +0 -455
- package/src/Socket/privacy.js +0 -125
- package/src/Socket/registration.js +0 -236
- package/src/Socket/text-router.js +0 -65
- package/src/Socket/username.js +0 -130
- package/src/Store/index.js +0 -33
- package/src/Store/make-cache-manager-store.js +0 -84
- package/src/Store/make-in-memory-store.js +0 -551
- package/src/Types/Auth.js +0 -31
- package/src/Types/Bussines.js +0 -2
- package/src/Types/Call.js +0 -2
- package/src/Types/Chat.js +0 -4
- package/src/Types/Contact.js +0 -2
- package/src/Types/Events.js +0 -2
- package/src/Types/GroupMetadata.js +0 -2
- package/src/Types/Label.js +0 -26
- package/src/Types/LabelAssociation.js +0 -8
- package/src/Types/Message.js +0 -93
- package/src/Types/Mex.js +0 -112
- package/src/Types/Newsletter.js +0 -109
- package/src/Types/Product.js +0 -2
- package/src/Types/Signal.js +0 -2
- package/src/Types/Socket.js +0 -2
- package/src/Types/State.js +0 -62
- package/src/Types/USync.js +0 -2
- package/src/Types/index.js +0 -56
- package/src/Utils/browser-utils.js +0 -112
- package/src/Utils/business.js +0 -240
- package/src/Utils/chat-utils.js +0 -1230
- package/src/Utils/command-loader.d.ts +0 -27
- package/src/Utils/command-loader.js +0 -89
- package/src/Utils/companion-reg-client-utils.js +0 -40
- package/src/Utils/consumer-application.js +0 -105
- package/src/Utils/crypto.js +0 -118
- package/src/Utils/curve25519-js.js +0 -242
- package/src/Utils/decode-wa-message.js +0 -529
- package/src/Utils/generics.js +0 -483
- package/src/Utils/group-history.js +0 -44
- package/src/Utils/history.js +0 -232
- package/src/Utils/index.js +0 -58
- package/src/Utils/jid-display-normalization.js +0 -195
- package/src/Utils/link-preview.js +0 -135
- package/src/Utils/logger.js +0 -8
- package/src/Utils/lt-hash.js +0 -25
- package/src/Utils/message-composer.js +0 -471
- package/src/Utils/messages-media.js +0 -843
- package/src/Utils/messages.js +0 -2817
- package/src/Utils/meta-ai-msmsg.js +0 -222
- package/src/Utils/native-bridge.js +0 -68
- package/src/Utils/noise-handler.js +0 -169
- package/src/Utils/process-message.js +0 -950
- package/src/Utils/session-pool.d.ts +0 -14
- package/src/Utils/session-pool.js +0 -70
- package/src/Utils/signal.js +0 -217
- package/src/Utils/sticker.d.ts +0 -13
- package/src/Utils/sticker.js +0 -123
- package/src/Utils/validate-connection.js +0 -209
- package/src/Utils/view-once-cache.d.ts +0 -12
- package/src/Utils/view-once-cache.js +0 -63
- package/src/Utils/voip-rekey.js +0 -22
- package/src/WABinary/generic-utils.js +0 -238
- package/src/WABinary/index.js +0 -34
- package/src/WABinary/jid-utils.js +0 -351
- package/src/WABinary/types.js +0 -2
- package/src/WAM/index.js +0 -32
- package/src/WAUSync/Protocols/USyncBotProfileProtocol.js +0 -53
- package/src/WAUSync/Protocols/USyncBusinessProtocol.js +0 -44
- package/src/WAUSync/Protocols/USyncContactProtocol.js +0 -55
- package/src/WAUSync/Protocols/USyncDeviceProtocol.js +0 -55
- package/src/WAUSync/Protocols/USyncDisappearingModeProtocol.js +0 -31
- package/src/WAUSync/Protocols/USyncFeatureProtocol.js +0 -54
- package/src/WAUSync/Protocols/USyncLIDProtocol.js +0 -32
- package/src/WAUSync/Protocols/USyncNewsletterProtocol.js +0 -473
- package/src/WAUSync/Protocols/USyncPictureProtocol.js +0 -34
- package/src/WAUSync/Protocols/USyncSidelistProtocol.js +0 -29
- package/src/WAUSync/Protocols/USyncStatusProtocol.js +0 -42
- package/src/WAUSync/Protocols/USyncTextStatusProtocol.js +0 -38
- package/src/WAUSync/Protocols/USyncUsernameProtocol.js +0 -28
- package/src/WAUSync/Protocols/index.js +0 -40
- package/src/WAUSync/USyncQuery.js +0 -126
- package/src/WAUSync/USyncUser.js +0 -50
- package/src/WAUSync/index.js +0 -32
- package/src/antiban.js +0 -4152
package/src/Types/Message.js
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
exports.WAMessageAddressingMode =
|
|
4
|
-
exports.WAMessageStatus =
|
|
5
|
-
exports.WAMessageStubType =
|
|
6
|
-
exports.WAProto =
|
|
7
|
-
exports.ScheduledCallType =
|
|
8
|
-
exports.ScheduledCallEditType =
|
|
9
|
-
exports.CallLogOutcome =
|
|
10
|
-
exports.CallLogType =
|
|
11
|
-
exports.SplitPaymentStatus =
|
|
12
|
-
exports.P2PPaymentReminderFrequency =
|
|
13
|
-
exports.P2PPaymentReminderState =
|
|
14
|
-
exports.ConditionalRevealType =
|
|
15
|
-
exports.EventResponseType =
|
|
16
|
-
exports.PrivateProcessingStatus =
|
|
17
|
-
exports.PaymentInfoStatus =
|
|
18
|
-
exports.PaymentInfoTxnStatus =
|
|
19
|
-
exports.VideoQuality =
|
|
20
|
-
exports.MediaVisibility =
|
|
21
|
-
exports.HistorySyncType =
|
|
22
|
-
void 0;
|
|
23
|
-
const index_js_1 = require('../../WAProto/index.js');
|
|
24
|
-
Object.defineProperty(exports, 'WAProto', {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return index_js_1.proto;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
exports.WAMessageStubType = index_js_1.proto.WebMessageInfo.StubType;
|
|
31
|
-
exports.WAMessageStatus = index_js_1.proto.WebMessageInfo.Status;
|
|
32
|
-
exports.ScheduledCallType = index_js_1.proto.Message.ScheduledCallCreationMessage.CallType;
|
|
33
|
-
exports.ScheduledCallEditType = index_js_1.proto.Message.ScheduledCallEditMessage.EditType;
|
|
34
|
-
exports.CallLogOutcome = index_js_1.proto.Message.CallLogMessage.CallOutcome;
|
|
35
|
-
exports.CallLogType = index_js_1.proto.Message.CallLogMessage.CallType;
|
|
36
|
-
exports.SplitPaymentStatus = index_js_1.proto.Message.SplitPaymentParticipant.SplitPaymentStatus;
|
|
37
|
-
exports.P2PPaymentReminderFrequency = index_js_1.proto.Message.P2PPaymentReminderNotification?.ReminderFrequency;
|
|
38
|
-
exports.P2PPaymentReminderState = index_js_1.proto.Message.P2PPaymentReminderNotification?.ReminderState;
|
|
39
|
-
exports.ConditionalRevealType = index_js_1.proto.Message.ConditionalRevealMessage.ConditionalRevealMessageType;
|
|
40
|
-
exports.EventResponseType = index_js_1.proto.Message.EventResponseMessage.EventResponseType;
|
|
41
|
-
exports.PrivateProcessingStatus =
|
|
42
|
-
index_js_1.proto.SyncActionValue.PrivateProcessingSettingAction.PrivateProcessingStatus;
|
|
43
|
-
exports.PaymentInfoStatus = index_js_1.proto.PaymentInfo.Status;
|
|
44
|
-
exports.PaymentInfoTxnStatus = index_js_1.proto.PaymentInfo.TxnStatus;
|
|
45
|
-
exports.VideoQuality = index_js_1.proto.ProcessedVideo.VideoQuality;
|
|
46
|
-
exports.MediaVisibility = index_js_1.proto.MediaVisibility;
|
|
47
|
-
exports.HistorySyncType = index_js_1.proto.HistorySync.HistorySyncType;
|
|
48
|
-
exports.KeepType = index_js_1.proto.KeepType;
|
|
49
|
-
exports.BotFeedbackKind = index_js_1.proto.BotFeedbackMessage.BotFeedbackKind;
|
|
50
|
-
exports.CloudAPIThreadControl = index_js_1.proto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControl;
|
|
51
|
-
exports.MessageAddOnType = index_js_1.proto.MessageAddOn.MessageAddOnType;
|
|
52
|
-
exports.ProtocolMessageType = index_js_1.proto.Message.ProtocolMessage.Type;
|
|
53
|
-
exports.BCallMediaType = index_js_1.proto.Message.BCallMessage.MediaType;
|
|
54
|
-
exports.SecretEncType = index_js_1.proto.Message.SecretEncryptedMessage.SecretEncType;
|
|
55
|
-
exports.MediaRetryResultType = index_js_1.proto.MediaRetryNotification.ResultType;
|
|
56
|
-
exports.StatusAttributionType = index_js_1.proto.StatusAttribution.Type;
|
|
57
|
-
exports.ForwardOrigin = index_js_1.proto.ContextInfo.ForwardOrigin;
|
|
58
|
-
exports.StatusAudienceType = index_js_1.proto.ContextInfo.StatusAudienceMetadata.AudienceType;
|
|
59
|
-
exports.VideoSourceType = index_js_1.proto.Message.VideoMessage.VideoSourceType;
|
|
60
|
-
exports.PollType = index_js_1.proto.Message.PollType;
|
|
61
|
-
exports.BotCapabilityType = index_js_1.proto.BotCapabilityMetadata.BotCapabilityType;
|
|
62
|
-
exports.AssociationType = index_js_1.proto.MessageAssociation.AssociationType;
|
|
63
|
-
exports.ThreadType = index_js_1.proto.ThreadID.ThreadType;
|
|
64
|
-
exports.CarouselCardType = index_js_1.proto.Message.InteractiveMessage.CarouselMessage.CarouselCardType;
|
|
65
|
-
exports.ImageSourceType = index_js_1.proto.Message.ImageMessage.ImageSourceType;
|
|
66
|
-
exports.BotSessionSource = index_js_1.proto.BotSessionSource;
|
|
67
|
-
exports.BotReminderAction = index_js_1.proto.BotReminderMetadata.ReminderAction;
|
|
68
|
-
exports.BotReminderFrequency = index_js_1.proto.BotReminderMetadata.ReminderFrequency;
|
|
69
|
-
exports.BotPluginType = index_js_1.proto.BotPluginMetadata.PluginType;
|
|
70
|
-
exports.BotPluginSearchProvider = index_js_1.proto.BotPluginMetadata.SearchProvider;
|
|
71
|
-
exports.BizInteractionPillType = index_js_1.proto.ContextInfo.BusinessInteractionPills.PillType;
|
|
72
|
-
exports.PeerDataOperationRequestType = index_js_1.proto.Message.PeerDataOperationRequestType;
|
|
73
|
-
exports.SocialMediaPostType = index_js_1.proto.Message.LinkPreviewMetadata.SocialMediaPostType;
|
|
74
|
-
exports.AIRichResponseMessageType = index_js_1.proto.AIRichResponseMessageType;
|
|
75
|
-
exports.AIRichResponseSubMessageType = index_js_1.proto.AIRichResponseSubMessageType;
|
|
76
|
-
exports.AISubscriptionRequestType = index_js_1.proto.AISubscriptionRequestType;
|
|
77
|
-
exports.BotMetricsEntryPoint = index_js_1.proto.BotMetricsEntryPoint;
|
|
78
|
-
exports.BotMetricsThreadEntryPoint = index_js_1.proto.BotMetricsThreadEntryPoint;
|
|
79
|
-
exports.MediaKeyDomain = index_js_1.proto.MediaKeyDomain;
|
|
80
|
-
exports.SessionTransparencyType = index_js_1.proto.SessionTransparencyType;
|
|
81
|
-
exports.ADVEncryptionType = index_js_1.proto.ADVEncryptionType;
|
|
82
|
-
exports.PlaceholderMessageType = index_js_1.proto.Message.PlaceholderMessage.PlaceholderType;
|
|
83
|
-
exports.SecretEncEncType = index_js_1.proto.Message.SecretEncryptedMessage.SecretEncType;
|
|
84
|
-
exports.ImageMessageSourceType = index_js_1.proto.Message.ImageMessage.ImageSourceType;
|
|
85
|
-
exports.VideoMessageSourceType = index_js_1.proto.Message.VideoMessage.VideoSourceType;
|
|
86
|
-
exports.NativeFlowActionType =
|
|
87
|
-
index_js_1.proto.Message.InteractiveResponseMessage?.NativeFlowResponseMessage?.NativeFlowActionType;
|
|
88
|
-
exports.InteractiveAnnotationType = index_js_1.proto.HydratedAnnotatedBotMessage?.HydratedAnnotatedMessageType;
|
|
89
|
-
var WAMessageAddressingMode;
|
|
90
|
-
(function (WAMessageAddressingMode) {
|
|
91
|
-
WAMessageAddressingMode['PN'] = 'pn';
|
|
92
|
-
WAMessageAddressingMode['LID'] = 'lid';
|
|
93
|
-
})(WAMessageAddressingMode || (exports.WAMessageAddressingMode = WAMessageAddressingMode = {}));
|
package/src/Types/Mex.js
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
exports.QueryIds = exports.XWAPaths = void 0;
|
|
4
|
-
var XWAPaths;
|
|
5
|
-
(function (XWAPaths) {
|
|
6
|
-
XWAPaths['xwa2_newsletter_create'] = 'xwa2_newsletter_create';
|
|
7
|
-
XWAPaths['xwa2_newsletter_subscribers'] = 'xwa2_newsletter_subscribers';
|
|
8
|
-
XWAPaths['xwa2_newsletter_view'] = 'xwa2_newsletter_view';
|
|
9
|
-
XWAPaths['xwa2_newsletter_metadata'] = 'xwa2_newsletter';
|
|
10
|
-
XWAPaths['xwa2_newsletter_admin_count'] = 'xwa2_newsletter_admin';
|
|
11
|
-
XWAPaths['xwa2_newsletter_mute_v2'] = 'xwa2_newsletter_mute_v2';
|
|
12
|
-
XWAPaths['xwa2_newsletter_unmute_v2'] = 'xwa2_newsletter_unmute_v2';
|
|
13
|
-
XWAPaths['xwa2_newsletter_follow'] = 'xwa2_newsletter_follow';
|
|
14
|
-
XWAPaths['xwa2_newsletter_unfollow'] = 'xwa2_newsletter_unfollow';
|
|
15
|
-
XWAPaths['xwa2_newsletter_join_v2'] = 'xwa2_newsletter_join_v2';
|
|
16
|
-
XWAPaths['xwa2_newsletter_leave_v2'] = 'xwa2_newsletter_leave_v2';
|
|
17
|
-
XWAPaths['xwa2_newsletter_change_owner'] = 'xwa2_newsletter_change_owner';
|
|
18
|
-
XWAPaths['xwa2_newsletter_demote'] = 'xwa2_newsletter_demote';
|
|
19
|
-
XWAPaths['xwa2_newsletter_delete_v2'] = 'xwa2_newsletter_delete_v2';
|
|
20
|
-
XWAPaths['xwa2_fetch_account_reachout_timelock'] = 'xwa2_fetch_account_reachout_timelock';
|
|
21
|
-
XWAPaths['xwa2_message_capping_info'] = 'xwa2_message_capping_info';
|
|
22
|
-
XWAPaths['xwa2_newsletter_subscribed'] = 'xwa2_newsletter_subscribed';
|
|
23
|
-
XWAPaths['xwa2_newsletter_update'] = 'xwa2_newsletter_update';
|
|
24
|
-
XWAPaths['xwa2_newsletter_admin'] = 'xwa2_newsletter_admin';
|
|
25
|
-
XWAPaths['xwa2_newsletter_admin_invite_create'] = 'xwa2_newsletter_admin_invite_create';
|
|
26
|
-
XWAPaths['xwa2_newsletter_admin_invite_revoke'] = 'xwa2_newsletter_admin_invite_revoke';
|
|
27
|
-
XWAPaths['xwa2_newsletter_admin_invite_accept'] = 'xwa2_newsletter_admin_invite_accept';
|
|
28
|
-
XWAPaths['xwa2_newsletter_admin_profile_update'] = 'xwa2_newsletter_admin_profile_update';
|
|
29
|
-
XWAPaths['xwa2_newsletter_admin_insights'] = 'xwa2_newsletter_admin_insights';
|
|
30
|
-
XWAPaths['xwa2_newsletter_following'] = 'xwa2_newsletter_following';
|
|
31
|
-
XWAPaths['xwa2_newsletter_create_verified'] = 'xwa2_newsletter_create_verified';
|
|
32
|
-
XWAPaths['xwa2_newsletter_enforcements'] = 'xwa2_newsletter_enforcements';
|
|
33
|
-
XWAPaths['xwa2_newsletter_user_reports'] = 'xwa2_newsletter_user_reports';
|
|
34
|
-
XWAPaths['xwa2_newsletter_create_report_appeal'] = 'xwa2_newsletter_create_report_appeal';
|
|
35
|
-
XWAPaths['xwa2_newsletter_link_preview_check'] = 'xwa2_newsletter_link_preview_check';
|
|
36
|
-
XWAPaths['xwa2_newsletter_update_verification'] = 'xwa2_newsletter_update_verification';
|
|
37
|
-
XWAPaths['xwa2_newsletter_label_paid_partnership'] = 'xwa2_newsletter_label_paid_partnership';
|
|
38
|
-
XWAPaths['xwa2_newsletter_log_exposures'] = 'xwa2_newsletter_log_exposures';
|
|
39
|
-
XWAPaths['xwa2_newsletter_update_user_setting'] = 'xwa2_newsletter_update_user_setting';
|
|
40
|
-
XWAPaths['xwa2_newsletter_ranking_features'] = 'xwa2_newsletter_ranking_features';
|
|
41
|
-
XWAPaths['xwa2_newsletter_block_user'] = 'xwa2_newsletter_block_user';
|
|
42
|
-
XWAPaths['xwa2_newsletters_directory_list'] = 'xwa2_newsletters_directory_list';
|
|
43
|
-
XWAPaths['xwa2_newsletters_directory_search'] = 'xwa2_newsletters_directory_search';
|
|
44
|
-
XWAPaths['xwa2_newsletters_directory_category_preview'] = 'xwa2_newsletters_directory_category_preview';
|
|
45
|
-
XWAPaths['xwa2_newsletters_search'] = 'xwa2_newsletters_search';
|
|
46
|
-
XWAPaths['xwa2_newsletters_recommended'] = 'xwa2_newsletters_recommended';
|
|
47
|
-
XWAPaths['xwa2_newsletters_similar'] = 'xwa2_newsletters_similar';
|
|
48
|
-
XWAPaths['xwa2_newsletters_poll_voter_list'] = 'xwa2_newsletters_poll_voter_list';
|
|
49
|
-
XWAPaths['xwa2_newsletters_reaction_sender_list'] = 'xwa2_newsletters_reaction_sender_list';
|
|
50
|
-
XWAPaths['xwa2_wamo_afs_age_collection'] = 'xwa2_wamo_afs_age_collection';
|
|
51
|
-
XWAPaths['xwa2_wamo_asset_collection'] = 'xwa2_wamo_asset_collection';
|
|
52
|
-
XWAPaths['xwa2_wamo_fetch_adhoc_notice_by_id'] = 'xwa2_wamo_fetch_adhoc_notice_by_id';
|
|
53
|
-
XWAPaths['xwa2_wamo_fetch_identity_token'] = 'xwa2_wamo_fetch_identity_token';
|
|
54
|
-
XWAPaths['xwa2_wamo_sub_get_compliance_info'] = 'xwa2_wamo_sub_get_compliance_info';
|
|
55
|
-
XWAPaths['xwa2_wamo_user_id_version'] = 'xwa2_wamo_user_id_version';
|
|
56
|
-
XWAPaths['xwa2_wamo_set_user_id_version'] = 'xwa2_wamo_set_user_id_version';
|
|
57
|
-
})((XWAPaths = exports.XWAPaths || (exports.XWAPaths = {})));
|
|
58
|
-
var QueryIds;
|
|
59
|
-
(function (QueryIds) {
|
|
60
|
-
QueryIds['CREATE'] = '8823471724422422';
|
|
61
|
-
QueryIds['METADATA'] = '26099060629688646';
|
|
62
|
-
QueryIds['UPDATE_METADATA'] = '25976052865358570';
|
|
63
|
-
QueryIds['SUBSCRIBERS'] = '9783111038412085';
|
|
64
|
-
QueryIds['FOLLOW'] = '24404358912487870';
|
|
65
|
-
QueryIds['UNFOLLOW'] = '9767147403369991';
|
|
66
|
-
QueryIds['MUTE'] = '29766401636284406';
|
|
67
|
-
QueryIds['UNMUTE'] = '9864994326891137';
|
|
68
|
-
QueryIds['ADMIN_COUNT'] = '7130823597031706';
|
|
69
|
-
QueryIds['CHANGE_OWNER'] = '7341777602580933';
|
|
70
|
-
QueryIds['DEMOTE'] = '6551828931592903';
|
|
71
|
-
QueryIds['DELETE'] = '30062808666639665';
|
|
72
|
-
QueryIds['REACHOUT_TIMELOCK'] = '23983697327930364';
|
|
73
|
-
QueryIds['MESSAGE_CAPPING_INFO'] = '24503548349331633';
|
|
74
|
-
QueryIds['FETCH_SUBSCRIBE'] = '6388546374527196';
|
|
75
|
-
QueryIds['LEAVE'] = '9784043202933196';
|
|
76
|
-
QueryIds['ADMIN_INVITE'] = '7148599488585196';
|
|
77
|
-
QueryIds['ADMIN_INVITE_REVOKE'] = '6345824195482235';
|
|
78
|
-
QueryIds['ADMIN_INVITE_ACCEPT'] = '6345824195482236';
|
|
79
|
-
QueryIds['ADMIN_METADATA'] = '6895563180530100';
|
|
80
|
-
QueryIds['ADMIN_PROFILE_UPDATE'] = '6895563180530101';
|
|
81
|
-
QueryIds['INSIGHTS'] = '6243647912368353';
|
|
82
|
-
QueryIds['FOLLOWING_LIST'] = '6388546374527197';
|
|
83
|
-
QueryIds['CREATE_VERIFIED'] = '8823471724422423';
|
|
84
|
-
QueryIds['ENFORCEMENTS'] = '7130823597031707';
|
|
85
|
-
QueryIds['USER_REPORTS'] = '9783111038412086';
|
|
86
|
-
QueryIds['CREATE_REPORT_APPEAL'] = '6551828931592904';
|
|
87
|
-
QueryIds['LINK_PREVIEW_CHECK'] = '24404358912487871';
|
|
88
|
-
QueryIds['UPDATE_VERIFICATION'] = '25976052865358571';
|
|
89
|
-
QueryIds['LABEL_PAID_PARTNERSHIP'] = '7341777602580934';
|
|
90
|
-
QueryIds['LOG_EXPOSURES'] = '9864994326891138';
|
|
91
|
-
QueryIds['UPDATE_USER_SETTING'] = '29766401636284407';
|
|
92
|
-
QueryIds['RANKING_FEATURES'] = '7130823597031708';
|
|
93
|
-
QueryIds['BLOCK_USER'] = '6345824195482237';
|
|
94
|
-
QueryIds['DIRECTORY_LIST'] = '6388546374527198';
|
|
95
|
-
QueryIds['DIRECTORY_SEARCH'] = '6388546374527199';
|
|
96
|
-
QueryIds['DIRECTORY_CATEGORY_PREVIEW'] = '6388546374527200';
|
|
97
|
-
QueryIds['SEARCH'] = '26099060629688647';
|
|
98
|
-
QueryIds['RECOMMENDED'] = '26099060629688648';
|
|
99
|
-
QueryIds['SIMILAR'] = '26099060629688649';
|
|
100
|
-
QueryIds['POLL_VOTER_LIST'] = '9783111038412087';
|
|
101
|
-
QueryIds['REACTION_SENDERS_LIST'] = '9783111038412088';
|
|
102
|
-
QueryIds['WAMO_ENABLE_SUB'] = '7148599488585197';
|
|
103
|
-
QueryIds['WAMO_DISABLE_SUB'] = '7148599488585198';
|
|
104
|
-
QueryIds['WAMO_CHANGE_SUB'] = '7148599488585199';
|
|
105
|
-
QueryIds['WAMO_AFS_AGE_COLLECTION'] = '6895563180530102';
|
|
106
|
-
QueryIds['WAMO_ASSET_COLLECTION'] = '6895563180530103';
|
|
107
|
-
QueryIds['WAMO_FETCH_ADHOC_NOTICE'] = '6895563180530104';
|
|
108
|
-
QueryIds['WAMO_FETCH_IDENTITY_TOKEN'] = '6895563180530105';
|
|
109
|
-
QueryIds['WAMO_SUB_COMPLIANCE_INFO'] = '6895563180530106';
|
|
110
|
-
QueryIds['WAMO_USER_ID_VERSION'] = '6895563180530107';
|
|
111
|
-
QueryIds['WAMO_SET_USER_ID_VERSION'] = '6895563180530108';
|
|
112
|
-
})((QueryIds = exports.QueryIds || (exports.QueryIds = {})));
|
package/src/Types/Newsletter.js
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
exports.QueryIds = exports.XWAPaths = void 0;
|
|
4
|
-
var XWAPaths;
|
|
5
|
-
(function (XWAPaths) {
|
|
6
|
-
XWAPaths['xwa2_newsletter_create'] = 'xwa2_newsletter_create';
|
|
7
|
-
XWAPaths['xwa2_newsletter_subscribers'] = 'xwa2_newsletter_subscribers';
|
|
8
|
-
XWAPaths['xwa2_newsletter_view'] = 'xwa2_newsletter_view';
|
|
9
|
-
XWAPaths['xwa2_newsletter_metadata'] = 'xwa2_newsletter';
|
|
10
|
-
XWAPaths['xwa2_newsletter_admin_count'] = 'xwa2_newsletter_admin';
|
|
11
|
-
XWAPaths['xwa2_newsletter_mute_v2'] = 'xwa2_newsletter_mute_v2';
|
|
12
|
-
XWAPaths['xwa2_newsletter_unmute_v2'] = 'xwa2_newsletter_unmute_v2';
|
|
13
|
-
XWAPaths['xwa2_newsletter_follow'] = 'xwa2_newsletter_follow';
|
|
14
|
-
XWAPaths['xwa2_newsletter_unfollow'] = 'xwa2_newsletter_unfollow';
|
|
15
|
-
XWAPaths['xwa2_newsletter_change_owner'] = 'xwa2_newsletter_change_owner';
|
|
16
|
-
XWAPaths['xwa2_newsletter_demote'] = 'xwa2_newsletter_demote';
|
|
17
|
-
XWAPaths['xwa2_newsletter_delete_v2'] = 'xwa2_newsletter_delete_v2';
|
|
18
|
-
XWAPaths['xwa2_newsletter_join_v2'] = 'xwa2_newsletter_join_v2';
|
|
19
|
-
XWAPaths['xwa2_newsletter_leave_v2'] = 'xwa2_newsletter_leave_v2';
|
|
20
|
-
XWAPaths['xwa2_fetch_account_reachout_timelock'] = 'xwa2_fetch_account_reachout_timelock';
|
|
21
|
-
XWAPaths['xwa2_message_capping_info'] = 'xwa2_message_capping_info';
|
|
22
|
-
XWAPaths['xwa2_newsletter_admin_invite_create'] = 'xwa2_newsletter_admin_invite_create';
|
|
23
|
-
XWAPaths['xwa2_newsletter_admin_invite_revoke'] = 'xwa2_newsletter_admin_invite_revoke';
|
|
24
|
-
XWAPaths['xwa2_newsletter_admin_invite_accept'] = 'xwa2_newsletter_admin_invite_accept';
|
|
25
|
-
XWAPaths['xwa2_newsletter_admin'] = 'xwa2_newsletter_admin';
|
|
26
|
-
XWAPaths['xwa2_newsletter_admin_profile_update'] = 'xwa2_newsletter_admin_profile_update';
|
|
27
|
-
XWAPaths['xwa2_newsletters_directory_list'] = 'xwa2_newsletters_directory_list';
|
|
28
|
-
XWAPaths['xwa2_newsletters_directory_search'] = 'xwa2_newsletters_directory_search';
|
|
29
|
-
XWAPaths['xwa2_newsletters_directory_category_preview'] = 'xwa2_newsletters_directory_category_preview';
|
|
30
|
-
XWAPaths['xwa2_newsletters_search'] = 'xwa2_newsletters_search';
|
|
31
|
-
XWAPaths['xwa2_newsletters_recommended'] = 'xwa2_newsletters_recommended';
|
|
32
|
-
XWAPaths['xwa2_newsletters_similar'] = 'xwa2_newsletters_similar';
|
|
33
|
-
XWAPaths['xwa2_newsletter_following'] = 'xwa2_newsletter_following';
|
|
34
|
-
XWAPaths['xwa2_newsletter_admin_insights'] = 'xwa2_newsletter_admin_insights';
|
|
35
|
-
XWAPaths['xwa2_newsletters_poll_voter_list'] = 'xwa2_newsletters_poll_voter_list';
|
|
36
|
-
XWAPaths['xwa2_newsletters_reaction_sender_list'] = 'xwa2_newsletters_reaction_sender_list';
|
|
37
|
-
XWAPaths['xwa2_newsletter_enforcements'] = 'xwa2_newsletter_enforcements';
|
|
38
|
-
XWAPaths['xwa2_newsletter_user_reports'] = 'xwa2_newsletter_user_reports';
|
|
39
|
-
XWAPaths['xwa2_newsletter_create_report_appeal'] = 'xwa2_newsletter_create_report_appeal';
|
|
40
|
-
XWAPaths['xwa2_newsletter_link_preview_check'] = 'xwa2_newsletter_link_preview_check';
|
|
41
|
-
XWAPaths['xwa2_newsletter_update_verification'] = 'xwa2_newsletter_update_verification';
|
|
42
|
-
XWAPaths['xwa2_newsletter_label_paid_partnership'] = 'xwa2_newsletter_label_paid_partnership';
|
|
43
|
-
XWAPaths['xwa2_newsletter_log_exposures'] = 'xwa2_newsletter_log_exposures';
|
|
44
|
-
XWAPaths['xwa2_newsletter_update_user_setting'] = 'xwa2_newsletter_update_user_setting';
|
|
45
|
-
XWAPaths['xwa2_newsletter_create_verified'] = 'xwa2_newsletter_create_verified';
|
|
46
|
-
XWAPaths['xwa2_newsletter_ranking_features'] = 'xwa2_newsletter_ranking_features';
|
|
47
|
-
XWAPaths['xwa2_wamo_afs_age_collection'] = 'xwa2_wamo_afs_age_collection';
|
|
48
|
-
XWAPaths['xwa2_wamo_asset_collection'] = 'xwa2_wamo_asset_collection';
|
|
49
|
-
XWAPaths['xwa2_wamo_fetch_adhoc_notice_by_id'] = 'xwa2_wamo_fetch_adhoc_notice_by_id';
|
|
50
|
-
XWAPaths['xwa2_wamo_fetch_identity_token'] = 'xwa2_wamo_fetch_identity_token';
|
|
51
|
-
XWAPaths['xwa2_wamo_sub_get_compliance_info'] = 'xwa2_wamo_sub_get_compliance_info';
|
|
52
|
-
XWAPaths['xwa2_wamo_user_id_version'] = 'xwa2_wamo_user_id_version';
|
|
53
|
-
XWAPaths['xwa2_wamo_set_user_id_version'] = 'xwa2_wamo_set_user_id_version';
|
|
54
|
-
})(XWAPaths || (exports.XWAPaths = XWAPaths = {}));
|
|
55
|
-
var QueryIds;
|
|
56
|
-
(function (QueryIds) {
|
|
57
|
-
QueryIds['CREATE'] = '26278417231751160';
|
|
58
|
-
QueryIds['CREATE_VERIFIED'] = '25691091733891788';
|
|
59
|
-
QueryIds['UPDATE_METADATA'] = '25976052865358570';
|
|
60
|
-
QueryIds['METADATA'] = '26099060629688650';
|
|
61
|
-
QueryIds['SUBSCRIBERS'] = '25646542368289350';
|
|
62
|
-
QueryIds['FOLLOW'] = '24658527423838740';
|
|
63
|
-
QueryIds['LEAVE'] = '25758579043742316';
|
|
64
|
-
QueryIds['UNFOLLOW'] = '25757497553878990';
|
|
65
|
-
QueryIds['MUTE'] = '25033614912931370';
|
|
66
|
-
QueryIds['UNMUTE'] = '24551592861177484';
|
|
67
|
-
QueryIds['ADMIN_COUNT'] = '27579307995002556';
|
|
68
|
-
QueryIds['CHANGE_OWNER'] = '24737692515842080';
|
|
69
|
-
QueryIds['DEMOTE'] = '25054538847517280';
|
|
70
|
-
QueryIds['DELETE'] = '31838460859131916';
|
|
71
|
-
QueryIds['REACHOUT_TIMELOCK'] = '25627902213558772';
|
|
72
|
-
QueryIds['MESSAGE_CAPPING_INFO'] = '25311901238461920';
|
|
73
|
-
QueryIds['UPDATE_USER_SETTING'] = '24935528202764690';
|
|
74
|
-
QueryIds['ADMIN_INVITE'] = '26278681041745440';
|
|
75
|
-
QueryIds['ADMIN_INVITE_REVOKE'] = '24369392486051948';
|
|
76
|
-
QueryIds['ADMIN_INVITE_ACCEPT'] = '24934958956134856';
|
|
77
|
-
QueryIds['ADMIN_METADATA'] = '26882701001369256';
|
|
78
|
-
QueryIds['ADMIN_PROFILE_UPDATE'] = '25959584293627630';
|
|
79
|
-
QueryIds['DIRECTORY_LIST'] = '35420207774244120';
|
|
80
|
-
QueryIds['DIRECTORY_SEARCH'] = '26545699395089024';
|
|
81
|
-
QueryIds['DIRECTORY_CATEGORY_PREVIEW'] = '25554326764266960';
|
|
82
|
-
QueryIds['SEARCH'] = '25909596625362196';
|
|
83
|
-
QueryIds['RECOMMENDED'] = '26234104032880280';
|
|
84
|
-
QueryIds['SIMILAR'] = '33639678252347084';
|
|
85
|
-
QueryIds['FOLLOWING_LIST'] = '25757497553878990';
|
|
86
|
-
QueryIds['INSIGHTS'] = '24672564052397920';
|
|
87
|
-
QueryIds['POLL_VOTER_LIST'] = '24803802869271956';
|
|
88
|
-
QueryIds['REACTION_SENDERS_LIST'] = '25219734117717030';
|
|
89
|
-
QueryIds['QUESTION_RESPONSE_STATE_UPDATE'] = '24896618076668076';
|
|
90
|
-
QueryIds['LOG_EXPOSURES'] = '24606408825709910';
|
|
91
|
-
QueryIds['RANKING_FEATURES'] = '24742757908756090';
|
|
92
|
-
QueryIds['BLOCK_USER'] = '25106066249006236';
|
|
93
|
-
QueryIds['USER_REPORTS'] = '26334442806191824';
|
|
94
|
-
QueryIds['CREATE_REPORT_APPEAL'] = '26787508127520150';
|
|
95
|
-
QueryIds['ENFORCEMENTS'] = '25956852020603264';
|
|
96
|
-
QueryIds['LINK_PREVIEW_CHECK'] = '24188786150796508';
|
|
97
|
-
QueryIds['UPDATE_VERIFICATION'] = '33965625006384290';
|
|
98
|
-
QueryIds['LABEL_PAID_PARTNERSHIP'] = '26221505494211176';
|
|
99
|
-
QueryIds['WAMO_CHANGE_SUB'] = '25201342542835864';
|
|
100
|
-
QueryIds['WAMO_ENABLE_SUB'] = '25122474967344830';
|
|
101
|
-
QueryIds['WAMO_DISABLE_SUB'] = '31916794074578680';
|
|
102
|
-
QueryIds['WAMO_AFS_AGE_COLLECTION'] = '25012618978387376';
|
|
103
|
-
QueryIds['WAMO_ASSET_COLLECTION'] = '24347085218298772';
|
|
104
|
-
QueryIds['WAMO_FETCH_ADHOC_NOTICE'] = '24758534413802424';
|
|
105
|
-
QueryIds['WAMO_FETCH_IDENTITY_TOKEN'] = '24677346488597664';
|
|
106
|
-
QueryIds['WAMO_SUB_COMPLIANCE_INFO'] = '25105596879072480';
|
|
107
|
-
QueryIds['WAMO_USER_ID_VERSION'] = '24958410737155268';
|
|
108
|
-
QueryIds['WAMO_SET_USER_ID_VERSION'] = '8148672891859281';
|
|
109
|
-
})(QueryIds || (exports.QueryIds = QueryIds = {}));
|
package/src/Types/Product.js
DELETED
package/src/Types/Signal.js
DELETED
package/src/Types/Socket.js
DELETED
package/src/Types/State.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
exports.NewChatMessageCappingOTEStatusType =
|
|
4
|
-
exports.NewChatMessageCappingMVStatusType =
|
|
5
|
-
exports.NewChatMessageCappingStatusType =
|
|
6
|
-
exports.ReachoutTimelockEnforcementType =
|
|
7
|
-
exports.SyncState =
|
|
8
|
-
void 0;
|
|
9
|
-
var SyncState;
|
|
10
|
-
(function (SyncState) {
|
|
11
|
-
SyncState[(SyncState['Connecting'] = 0)] = 'Connecting';
|
|
12
|
-
SyncState[(SyncState['AwaitingInitialSync'] = 1)] = 'AwaitingInitialSync';
|
|
13
|
-
SyncState[(SyncState['Syncing'] = 2)] = 'Syncing';
|
|
14
|
-
SyncState[(SyncState['Online'] = 3)] = 'Online';
|
|
15
|
-
})(SyncState || (exports.SyncState = SyncState = {}));
|
|
16
|
-
var ReachoutTimelockEnforcementType;
|
|
17
|
-
(function (ReachoutTimelockEnforcementType) {
|
|
18
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_ALCOHOL'] = 'BIZ_COMMERCE_VIOLATION_ALCOHOL';
|
|
19
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_ADULT'] = 'BIZ_COMMERCE_VIOLATION_ADULT';
|
|
20
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_ANIMALS'] = 'BIZ_COMMERCE_VIOLATION_ANIMALS';
|
|
21
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_BODY_PARTS_FLUIDS'] =
|
|
22
|
-
'BIZ_COMMERCE_VIOLATION_BODY_PARTS_FLUIDS';
|
|
23
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_DATING'] = 'BIZ_COMMERCE_VIOLATION_DATING';
|
|
24
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_DIGITAL_SERVICES_PRODUCTS'] =
|
|
25
|
-
'BIZ_COMMERCE_VIOLATION_DIGITAL_SERVICES_PRODUCTS';
|
|
26
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_DRUGS'] = 'BIZ_COMMERCE_VIOLATION_DRUGS';
|
|
27
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_DRUGS_ONLY_OTC'] = 'BIZ_COMMERCE_VIOLATION_DRUGS_ONLY_OTC';
|
|
28
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_GAMBLING'] = 'BIZ_COMMERCE_VIOLATION_GAMBLING';
|
|
29
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_HEALTHCARE'] = 'BIZ_COMMERCE_VIOLATION_HEALTHCARE';
|
|
30
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_REAL_FAKE_CURRENCY'] =
|
|
31
|
-
'BIZ_COMMERCE_VIOLATION_REAL_FAKE_CURRENCY';
|
|
32
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_SUPPLEMENTS'] = 'BIZ_COMMERCE_VIOLATION_SUPPLEMENTS';
|
|
33
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_TOBACCO'] = 'BIZ_COMMERCE_VIOLATION_TOBACCO';
|
|
34
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_VIOLENT_CONTENT'] = 'BIZ_COMMERCE_VIOLATION_VIOLENT_CONTENT';
|
|
35
|
-
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_WEAPONS'] = 'BIZ_COMMERCE_VIOLATION_WEAPONS';
|
|
36
|
-
ReachoutTimelockEnforcementType['BIZ_QUALITY'] = 'BIZ_QUALITY';
|
|
37
|
-
ReachoutTimelockEnforcementType['DEFAULT'] = 'DEFAULT';
|
|
38
|
-
ReachoutTimelockEnforcementType['WEB_COMPANION_ONLY'] = 'WEB_COMPANION_ONLY';
|
|
39
|
-
})(ReachoutTimelockEnforcementType || (exports.ReachoutTimelockEnforcementType = ReachoutTimelockEnforcementType = {}));
|
|
40
|
-
var NewChatMessageCappingStatusType;
|
|
41
|
-
(function (NewChatMessageCappingStatusType) {
|
|
42
|
-
NewChatMessageCappingStatusType['NONE'] = 'NONE';
|
|
43
|
-
NewChatMessageCappingStatusType['FIRST_WARNING'] = 'FIRST_WARNING';
|
|
44
|
-
NewChatMessageCappingStatusType['SECOND_WARNING'] = 'SECOND_WARNING';
|
|
45
|
-
NewChatMessageCappingStatusType['CAPPED'] = 'CAPPED';
|
|
46
|
-
})(NewChatMessageCappingStatusType || (exports.NewChatMessageCappingStatusType = NewChatMessageCappingStatusType = {}));
|
|
47
|
-
var NewChatMessageCappingMVStatusType;
|
|
48
|
-
(function (NewChatMessageCappingMVStatusType) {
|
|
49
|
-
NewChatMessageCappingMVStatusType['NOT_ELIGIBLE'] = 'NOT_ELIGIBLE';
|
|
50
|
-
NewChatMessageCappingMVStatusType['NOT_ACTIVE'] = 'NOT_ACTIVE';
|
|
51
|
-
NewChatMessageCappingMVStatusType['ACTIVE'] = 'ACTIVE';
|
|
52
|
-
NewChatMessageCappingMVStatusType['ACTIVE_UPGRADE_AVAILABLE'] = 'ACTIVE_UPGRADE_AVAILABLE';
|
|
53
|
-
})(NewChatMessageCappingMVStatusType ||
|
|
54
|
-
(exports.NewChatMessageCappingMVStatusType = NewChatMessageCappingMVStatusType = {}));
|
|
55
|
-
var NewChatMessageCappingOTEStatusType;
|
|
56
|
-
(function (NewChatMessageCappingOTEStatusType) {
|
|
57
|
-
NewChatMessageCappingOTEStatusType['NOT_ELIGIBLE'] = 'NOT_ELIGIBLE';
|
|
58
|
-
NewChatMessageCappingOTEStatusType['ELIGIBLE'] = 'ELIGIBLE';
|
|
59
|
-
NewChatMessageCappingOTEStatusType['ACTIVE_IN_CURRENT_CYCLE'] = 'ACTIVE_IN_CURRENT_CYCLE';
|
|
60
|
-
NewChatMessageCappingOTEStatusType['EXHAUSTED'] = 'EXHAUSTED';
|
|
61
|
-
})(NewChatMessageCappingOTEStatusType ||
|
|
62
|
-
(exports.NewChatMessageCappingOTEStatusType = NewChatMessageCappingOTEStatusType = {}));
|
package/src/Types/USync.js
DELETED
package/src/Types/index.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var __createBinding = (this && this.__createBinding) ||
|
|
3
|
-
(Object.create
|
|
4
|
-
? function (o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined)
|
|
6
|
-
k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () {
|
|
12
|
-
return m[k];
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
Object.defineProperty(o, k2, desc);
|
|
17
|
-
}
|
|
18
|
-
: function (o, m, k, k2) {
|
|
19
|
-
if (k2 === undefined)
|
|
20
|
-
k2 = k;
|
|
21
|
-
o[k2] = m[k];
|
|
22
|
-
});
|
|
23
|
-
var __exportStar = (this && this.__exportStar) ||
|
|
24
|
-
function (m, exports) {
|
|
25
|
-
for (var p in m)
|
|
26
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
27
|
-
__createBinding(exports, m, p);
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
30
|
-
exports.DisconnectReason = void 0;
|
|
31
|
-
__exportStar(require('./Auth'), exports);
|
|
32
|
-
__exportStar(require('./GroupMetadata'), exports);
|
|
33
|
-
__exportStar(require('./Chat'), exports);
|
|
34
|
-
__exportStar(require('./Contact'), exports);
|
|
35
|
-
__exportStar(require('./State'), exports);
|
|
36
|
-
__exportStar(require('./Message'), exports);
|
|
37
|
-
__exportStar(require('./Socket'), exports);
|
|
38
|
-
__exportStar(require('./Events'), exports);
|
|
39
|
-
__exportStar(require('./Product'), exports);
|
|
40
|
-
__exportStar(require('./Call'), exports);
|
|
41
|
-
__exportStar(require('./Signal'), exports);
|
|
42
|
-
__exportStar(require('./Newsletter'), exports);
|
|
43
|
-
__exportStar(require('./Mex'), exports);
|
|
44
|
-
var DisconnectReason;
|
|
45
|
-
(function (DisconnectReason) {
|
|
46
|
-
DisconnectReason[(DisconnectReason['connectionClosed'] = 428)] = 'connectionClosed';
|
|
47
|
-
DisconnectReason[(DisconnectReason['connectionLost'] = 408)] = 'connectionLost';
|
|
48
|
-
DisconnectReason[(DisconnectReason['connectionReplaced'] = 440)] = 'connectionReplaced';
|
|
49
|
-
DisconnectReason[(DisconnectReason['timedOut'] = 408)] = 'timedOut';
|
|
50
|
-
DisconnectReason[(DisconnectReason['loggedOut'] = 401)] = 'loggedOut';
|
|
51
|
-
DisconnectReason[(DisconnectReason['badSession'] = 500)] = 'badSession';
|
|
52
|
-
DisconnectReason[(DisconnectReason['restartRequired'] = 515)] = 'restartRequired';
|
|
53
|
-
DisconnectReason[(DisconnectReason['multideviceMismatch'] = 411)] = 'multideviceMismatch';
|
|
54
|
-
DisconnectReason[(DisconnectReason['forbidden'] = 403)] = 'forbidden';
|
|
55
|
-
DisconnectReason[(DisconnectReason['unavailableService'] = 503)] = 'unavailableService';
|
|
56
|
-
})(DisconnectReason || (exports.DisconnectReason = DisconnectReason = {}));
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
exports.getPlatformId = exports.Browsers = void 0;
|
|
4
|
-
const os_1 = require('os');
|
|
5
|
-
const index_js_1 = require('../../WAProto/index.js');
|
|
6
|
-
const COMPANION_PLATFORM_MAP = {
|
|
7
|
-
Chrome: '49',
|
|
8
|
-
Edge: '50',
|
|
9
|
-
Firefox: '51',
|
|
10
|
-
Opera: '53',
|
|
11
|
-
Safari: '54',
|
|
12
|
-
Brave: '1.79.112',
|
|
13
|
-
Vivaldi: '6.2.3105.58',
|
|
14
|
-
Tor: '12.5.3',
|
|
15
|
-
Yandex: '23.7.1',
|
|
16
|
-
Falkon: '22.08.3',
|
|
17
|
-
Epiphany: '44.2'
|
|
18
|
-
};
|
|
19
|
-
const PLATFORM_MAP = {
|
|
20
|
-
aix: 'AIX',
|
|
21
|
-
darwin: 'Mac OS',
|
|
22
|
-
win32: 'Windows',
|
|
23
|
-
android: 'Android',
|
|
24
|
-
freebsd: 'FreeBSD',
|
|
25
|
-
openbsd: 'OpenBSD',
|
|
26
|
-
sunos: 'Solaris',
|
|
27
|
-
linux: 'Linux',
|
|
28
|
-
ubuntu: 'Ubuntu',
|
|
29
|
-
ios: 'iOS',
|
|
30
|
-
baileys: 'Baileys',
|
|
31
|
-
chromeos: 'Chrome OS',
|
|
32
|
-
tizen: 'Tizen',
|
|
33
|
-
watchos: 'watchOS',
|
|
34
|
-
wearos: 'Wear OS',
|
|
35
|
-
harmonyos: 'HarmonyOS',
|
|
36
|
-
kaios: 'KaiOS',
|
|
37
|
-
smarttv: 'Smart TV',
|
|
38
|
-
raspberrypi: 'Raspberry Pi OS',
|
|
39
|
-
symbian: 'Symbian',
|
|
40
|
-
blackberry: 'Blackberry OS',
|
|
41
|
-
windowsphone: 'Windows Phone',
|
|
42
|
-
safari: 'Safari'
|
|
43
|
-
};
|
|
44
|
-
const PLATFORM_VERSIONS = {
|
|
45
|
-
ubuntu: '22.04.4',
|
|
46
|
-
darwin: '18.5',
|
|
47
|
-
win32: '10.0.22631',
|
|
48
|
-
android: '14.0.0',
|
|
49
|
-
freebsd: '13.2',
|
|
50
|
-
openbsd: '7.3',
|
|
51
|
-
sunos: '11',
|
|
52
|
-
linux: '6.5',
|
|
53
|
-
ios: '18.2',
|
|
54
|
-
baileys: '6.5.0',
|
|
55
|
-
chromeos: '117.0.5938.132',
|
|
56
|
-
tizen: '6.5',
|
|
57
|
-
watchos: '10.1',
|
|
58
|
-
wearos: '4.1',
|
|
59
|
-
harmonyos: '4.0.0',
|
|
60
|
-
kaios: '3.1',
|
|
61
|
-
smarttv: '23.3.1',
|
|
62
|
-
raspberrypi: '11 (Bullseye)',
|
|
63
|
-
symbian: '3',
|
|
64
|
-
blackberry: '10.3.3',
|
|
65
|
-
windowsphone: '8.1'
|
|
66
|
-
};
|
|
67
|
-
exports.Browsers = {
|
|
68
|
-
ubuntu: browser => {
|
|
69
|
-
return [PLATFORM_MAP['ubuntu'], browser, PLATFORM_VERSIONS['ubuntu']];
|
|
70
|
-
},
|
|
71
|
-
macOS: browser => {
|
|
72
|
-
return [PLATFORM_MAP['darwin'], browser, PLATFORM_VERSIONS['darwin']];
|
|
73
|
-
},
|
|
74
|
-
windows: browser => {
|
|
75
|
-
return [PLATFORM_MAP['win32'], browser, PLATFORM_VERSIONS['win32']];
|
|
76
|
-
},
|
|
77
|
-
linux: browser => {
|
|
78
|
-
return [PLATFORM_MAP['linux'], browser, PLATFORM_VERSIONS['linux']];
|
|
79
|
-
},
|
|
80
|
-
solaris: browser => {
|
|
81
|
-
return [PLATFORM_MAP['sunos'], browser, PLATFORM_VERSIONS['sunos']];
|
|
82
|
-
},
|
|
83
|
-
baileys: browser => {
|
|
84
|
-
return [PLATFORM_MAP['baileys'], browser, PLATFORM_VERSIONS['baileys']];
|
|
85
|
-
},
|
|
86
|
-
android: browser => {
|
|
87
|
-
return [PLATFORM_MAP['android'], browser, PLATFORM_VERSIONS['android']];
|
|
88
|
-
},
|
|
89
|
-
iOS: browser => {
|
|
90
|
-
return [PLATFORM_MAP['ios'], browser, PLATFORM_VERSIONS['ios']];
|
|
91
|
-
},
|
|
92
|
-
kaiOS: browser => {
|
|
93
|
-
return [PLATFORM_MAP['kaios'], browser, PLATFORM_VERSIONS['kaios']];
|
|
94
|
-
},
|
|
95
|
-
chromeOS: browser => {
|
|
96
|
-
return [PLATFORM_MAP['chromeos'], browser, PLATFORM_VERSIONS['chromeos']];
|
|
97
|
-
},
|
|
98
|
-
appropriate: browser => {
|
|
99
|
-
const platform = os_1.platform();
|
|
100
|
-
const platformName = PLATFORM_MAP[platform] || 'Unknown OS';
|
|
101
|
-
return [platformName, browser, PLATFORM_VERSIONS[platform] || 'latest'];
|
|
102
|
-
},
|
|
103
|
-
custom: (platform, browser, version) => {
|
|
104
|
-
const platformName = PLATFORM_MAP[platform.toLowerCase()] || platform;
|
|
105
|
-
return [platformName, browser, version || PLATFORM_VERSIONS[platform] || 'latest'];
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
const getPlatformId = browser => {
|
|
109
|
-
const platformType = index_js_1.proto.DeviceProps.PlatformType[browser.toUpperCase()];
|
|
110
|
-
return platformType ? platformType.toString() : '1';
|
|
111
|
-
};
|
|
112
|
-
exports.getPlatformId = getPlatformId;
|