@bellaxchuu/flowred 0.8.6
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/LICENSE +21 -0
- package/README.md +214 -0
- package/WAProto/GenerateStatics.sh +3 -0
- package/WAProto/WAProto.proto +6902 -0
- package/WAProto/fix-imports.js +85 -0
- package/WAProto/index.js +242946 -0
- package/engine-requirements.js +10 -0
- package/lib/Defaults/index.js +190 -0
- package/lib/Defaults/phonenumber-mcc.json +223 -0
- package/lib/Signal/Group/ciphertext-message.js +15 -0
- package/lib/Signal/Group/group-session-builder.js +92 -0
- package/lib/Signal/Group/group_cipher.js +89 -0
- package/lib/Signal/Group/index.js +136 -0
- package/lib/Signal/Group/keyhelper.js +73 -0
- package/lib/Signal/Group/sender-chain-key.js +32 -0
- package/lib/Signal/Group/sender-key-distribution-message.js +66 -0
- package/lib/Signal/Group/sender-key-message.js +69 -0
- package/lib/Signal/Group/sender-key-name.js +50 -0
- package/lib/Signal/Group/sender-key-record.js +44 -0
- package/lib/Signal/Group/sender-key-state.js +97 -0
- package/lib/Signal/Group/sender-message-key.js +30 -0
- package/lib/Signal/libsignal.js +490 -0
- package/lib/Signal/lid-mapping.js +262 -0
- package/lib/Socket/Client/index.js +30 -0
- package/lib/Socket/Client/types.js +13 -0
- package/lib/Socket/Client/websocket.js +62 -0
- package/lib/Socket/aigroups.js +240 -0
- package/lib/Socket/business.js +422 -0
- package/lib/Socket/chats.js +1816 -0
- package/lib/Socket/communities.js +549 -0
- package/lib/Socket/graphql.js +656 -0
- package/lib/Socket/groups.js +764 -0
- package/lib/Socket/index.js +39 -0
- package/lib/Socket/interactive-handler.js +522 -0
- package/lib/Socket/interop.js +549 -0
- package/lib/Socket/luxu.js +387 -0
- package/lib/Socket/managed-account.js +183 -0
- package/lib/Socket/messages-recv.js +2440 -0
- package/lib/Socket/messages-send.js +1853 -0
- package/lib/Socket/mex.js +60 -0
- package/lib/Socket/newsletter.js +820 -0
- package/lib/Socket/privacy.js +449 -0
- package/lib/Socket/registration.js +427 -0
- package/lib/Socket/socket.js +1092 -0
- package/lib/Socket/text-router.js +83 -0
- package/lib/Socket/username.js +243 -0
- package/lib/Store/index.js +36 -0
- package/lib/Store/keyed-db.js +108 -0
- package/lib/Store/make-cache-manager-store.js +90 -0
- package/lib/Store/make-in-memory-store.js +604 -0
- package/lib/Store/make-ordered-dictionary.js +81 -0
- package/lib/Store/object-repository.js +29 -0
- package/lib/Types/Auth.js +38 -0
- package/lib/Types/Bussines.js +2 -0
- package/lib/Types/Call.js +2 -0
- package/lib/Types/Chat.js +4 -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 +27 -0
- package/lib/Types/LabelAssociation.js +9 -0
- package/lib/Types/Message.js +95 -0
- package/lib/Types/Mex.js +112 -0
- package/lib/Types/Newsletter.js +121 -0
- package/lib/Types/Product.js +2 -0
- package/lib/Types/Signal.js +2 -0
- package/lib/Types/Socket.js +2 -0
- package/lib/Types/State.js +70 -0
- package/lib/Types/USync.js +2 -0
- package/lib/Types/index.js +55 -0
- package/lib/Utils/auth-utils.js +306 -0
- package/lib/Utils/browser-utils.js +114 -0
- package/lib/Utils/business.js +247 -0
- package/lib/Utils/chat-utils.js +1208 -0
- package/lib/Utils/command-loader.js +100 -0
- package/lib/Utils/companion-reg-client-utils.js +42 -0
- package/lib/Utils/consumer-application.js +107 -0
- package/lib/Utils/crypto.js +155 -0
- package/lib/Utils/curve25519-js.js +275 -0
- package/lib/Utils/decode-wa-message.js +560 -0
- package/lib/Utils/event-buffer.js +607 -0
- package/lib/Utils/generics.js +563 -0
- package/lib/Utils/group-history.js +60 -0
- package/lib/Utils/history.js +244 -0
- package/lib/Utils/identity-change-handler.js +52 -0
- package/lib/Utils/index.js +57 -0
- package/lib/Utils/jid-display-normalization.js +218 -0
- package/lib/Utils/link-preview.js +143 -0
- package/lib/Utils/logger.js +9 -0
- package/lib/Utils/lt-hash.js +39 -0
- package/lib/Utils/make-mutex.js +36 -0
- package/lib/Utils/message-composer.js +479 -0
- package/lib/Utils/message-retry-manager.js +270 -0
- package/lib/Utils/messages-media.js +896 -0
- package/lib/Utils/messages.js +2904 -0
- package/lib/Utils/meta-ai-msmsg.js +262 -0
- package/lib/Utils/native-bridge.js +82 -0
- package/lib/Utils/noise-handler.js +196 -0
- package/lib/Utils/offline-node-processor.js +42 -0
- package/lib/Utils/pre-key-manager.js +107 -0
- package/lib/Utils/process-message.js +1048 -0
- package/lib/Utils/reporting-utils.js +262 -0
- package/lib/Utils/session-pool.js +94 -0
- package/lib/Utils/signal.js +224 -0
- package/lib/Utils/stanza-ack.js +40 -0
- package/lib/Utils/sticker.js +145 -0
- package/lib/Utils/sync-action-utils.js +54 -0
- package/lib/Utils/tc-token-utils.js +161 -0
- package/lib/Utils/use-multi-file-auth-state.js +121 -0
- package/lib/Utils/validate-connection.js +219 -0
- package/lib/Utils/view-once-cache.js +79 -0
- package/lib/Utils/voip-rekey.js +22 -0
- package/lib/WABinary/constants.js +1304 -0
- package/lib/WABinary/decode.js +343 -0
- package/lib/WABinary/encode.js +228 -0
- package/lib/WABinary/generic-utils.js +240 -0
- package/lib/WABinary/index.js +33 -0
- package/lib/WABinary/jid-utils.js +361 -0
- package/lib/WABinary/types.js +2 -0
- package/lib/WAM/BinaryInfo.js +13 -0
- package/lib/WAM/constants.js +39486 -0
- package/lib/WAM/encode.js +142 -0
- package/lib/WAM/index.js +31 -0
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +55 -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 +59 -0
- package/lib/WAUSync/Protocols/USyncLIDProtocol.js +31 -0
- package/lib/WAUSync/Protocols/USyncPictureProtocol.js +32 -0
- package/lib/WAUSync/Protocols/USyncSidelistProtocol.js +29 -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 +39 -0
- package/lib/WAUSync/USyncQuery.js +133 -0
- package/lib/WAUSync/USyncUser.js +50 -0
- package/lib/WAUSync/index.js +31 -0
- package/lib/antiban.js +4637 -0
- package/lib/index.js +45 -0
- package/package.json +107 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
3
|
+
|
|
4
|
+
// Factory functions for creating auth-related objects
|
|
5
|
+
function createKeyPair(publicKey, privateKey) {
|
|
6
|
+
return {
|
|
7
|
+
public: publicKey,
|
|
8
|
+
private: privateKey
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
function createSignedKeyPair(keyPair, signature, keyId, timestampS) {
|
|
13
|
+
return {
|
|
14
|
+
keyPair,
|
|
15
|
+
signature,
|
|
16
|
+
keyId,
|
|
17
|
+
timestampS
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Export type definitions (for documentation purposes)
|
|
22
|
+
exports.SignalDataTypeMap = {
|
|
23
|
+
'pre-key': 'KeyPair',
|
|
24
|
+
session: 'Uint8Array',
|
|
25
|
+
'sender-key': 'Uint8Array',
|
|
26
|
+
'sender-key-memory': 'object',
|
|
27
|
+
'app-state-sync-key': 'proto.Message.IAppStateSyncKeyData',
|
|
28
|
+
'app-state-sync-version': 'LTHashState',
|
|
29
|
+
'lid-mapping': 'string',
|
|
30
|
+
'device-list': 'Array',
|
|
31
|
+
tctoken: 'object'
|
|
32
|
+
}
|
|
33
|
+
exports.SignalDataSet = undefined
|
|
34
|
+
exports.Awaitable = undefined
|
|
35
|
+
|
|
36
|
+
// Export the factory functions
|
|
37
|
+
exports.createKeyPair = createKeyPair
|
|
38
|
+
exports.createSignedKeyPair = createSignedKeyPair
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
3
|
+
exports.LabelColor = void 0
|
|
4
|
+
/** WhatsApp has 20 predefined colors */
|
|
5
|
+
var LabelColor
|
|
6
|
+
;(function (LabelColor) {
|
|
7
|
+
LabelColor[(LabelColor['Color1'] = 0)] = 'Color1'
|
|
8
|
+
LabelColor[(LabelColor['Color2'] = 1)] = 'Color2'
|
|
9
|
+
LabelColor[(LabelColor['Color3'] = 2)] = 'Color3'
|
|
10
|
+
LabelColor[(LabelColor['Color4'] = 3)] = 'Color4'
|
|
11
|
+
LabelColor[(LabelColor['Color5'] = 4)] = 'Color5'
|
|
12
|
+
LabelColor[(LabelColor['Color6'] = 5)] = 'Color6'
|
|
13
|
+
LabelColor[(LabelColor['Color7'] = 6)] = 'Color7'
|
|
14
|
+
LabelColor[(LabelColor['Color8'] = 7)] = 'Color8'
|
|
15
|
+
LabelColor[(LabelColor['Color9'] = 8)] = 'Color9'
|
|
16
|
+
LabelColor[(LabelColor['Color10'] = 9)] = 'Color10'
|
|
17
|
+
LabelColor[(LabelColor['Color11'] = 10)] = 'Color11'
|
|
18
|
+
LabelColor[(LabelColor['Color12'] = 11)] = 'Color12'
|
|
19
|
+
LabelColor[(LabelColor['Color13'] = 12)] = 'Color13'
|
|
20
|
+
LabelColor[(LabelColor['Color14'] = 13)] = 'Color14'
|
|
21
|
+
LabelColor[(LabelColor['Color15'] = 14)] = 'Color15'
|
|
22
|
+
LabelColor[(LabelColor['Color16'] = 15)] = 'Color16'
|
|
23
|
+
LabelColor[(LabelColor['Color17'] = 16)] = 'Color17'
|
|
24
|
+
LabelColor[(LabelColor['Color18'] = 17)] = 'Color18'
|
|
25
|
+
LabelColor[(LabelColor['Color19'] = 18)] = 'Color19'
|
|
26
|
+
LabelColor[(LabelColor['Color20'] = 19)] = 'Color20'
|
|
27
|
+
})(LabelColor || (exports.LabelColor = LabelColor = {}))
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
3
|
+
exports.LabelAssociationType = void 0
|
|
4
|
+
/** Association type */
|
|
5
|
+
var LabelAssociationType
|
|
6
|
+
;(function (LabelAssociationType) {
|
|
7
|
+
LabelAssociationType['Chat'] = 'label_jid'
|
|
8
|
+
LabelAssociationType['Message'] = 'label_message'
|
|
9
|
+
})(LabelAssociationType || (exports.LabelAssociationType = LabelAssociationType = {}))
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
|
|
33
|
+
exports.ScheduledCallType = index_js_1.proto.Message.ScheduledCallCreationMessage.CallType
|
|
34
|
+
exports.ScheduledCallEditType = index_js_1.proto.Message.ScheduledCallEditMessage.EditType
|
|
35
|
+
exports.CallLogOutcome = index_js_1.proto.Message.CallLogMessage.CallOutcome
|
|
36
|
+
exports.CallLogType = index_js_1.proto.Message.CallLogMessage.CallType
|
|
37
|
+
exports.SplitPaymentStatus = index_js_1.proto.Message.SplitPaymentParticipant.SplitPaymentStatus
|
|
38
|
+
exports.P2PPaymentReminderFrequency = index_js_1.proto.Message.P2PPaymentReminderNotification?.ReminderFrequency
|
|
39
|
+
exports.P2PPaymentReminderState = index_js_1.proto.Message.P2PPaymentReminderNotification?.ReminderState
|
|
40
|
+
exports.ConditionalRevealType = index_js_1.proto.Message.ConditionalRevealMessage.ConditionalRevealMessageType
|
|
41
|
+
exports.EventResponseType = index_js_1.proto.Message.EventResponseMessage.EventResponseType
|
|
42
|
+
exports.PrivateProcessingStatus =
|
|
43
|
+
index_js_1.proto.SyncActionValue.PrivateProcessingSettingAction.PrivateProcessingStatus
|
|
44
|
+
exports.PaymentInfoStatus = index_js_1.proto.PaymentInfo.Status
|
|
45
|
+
exports.PaymentInfoTxnStatus = index_js_1.proto.PaymentInfo.TxnStatus
|
|
46
|
+
exports.VideoQuality = index_js_1.proto.ProcessedVideo.VideoQuality
|
|
47
|
+
exports.MediaVisibility = index_js_1.proto.MediaVisibility
|
|
48
|
+
exports.HistorySyncType = index_js_1.proto.HistorySync.HistorySyncType
|
|
49
|
+
exports.KeepType = index_js_1.proto.KeepType
|
|
50
|
+
exports.BotFeedbackKind = index_js_1.proto.BotFeedbackMessage.BotFeedbackKind
|
|
51
|
+
exports.CloudAPIThreadControl = index_js_1.proto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControl
|
|
52
|
+
exports.MessageAddOnType = index_js_1.proto.MessageAddOn.MessageAddOnType
|
|
53
|
+
exports.ProtocolMessageType = index_js_1.proto.Message.ProtocolMessage.Type
|
|
54
|
+
exports.BCallMediaType = index_js_1.proto.Message.BCallMessage.MediaType
|
|
55
|
+
exports.SecretEncType = index_js_1.proto.Message.SecretEncryptedMessage.SecretEncType
|
|
56
|
+
exports.MediaRetryResultType = index_js_1.proto.MediaRetryNotification.ResultType
|
|
57
|
+
exports.StatusAttributionType = index_js_1.proto.StatusAttribution.Type
|
|
58
|
+
exports.ForwardOrigin = index_js_1.proto.ContextInfo.ForwardOrigin
|
|
59
|
+
exports.StatusAudienceType = index_js_1.proto.ContextInfo.StatusAudienceMetadata.AudienceType
|
|
60
|
+
exports.VideoSourceType = index_js_1.proto.Message.VideoMessage.VideoSourceType
|
|
61
|
+
exports.PollType = index_js_1.proto.Message.PollType
|
|
62
|
+
exports.BotCapabilityType = index_js_1.proto.BotCapabilityMetadata.BotCapabilityType
|
|
63
|
+
exports.AssociationType = index_js_1.proto.MessageAssociation.AssociationType
|
|
64
|
+
exports.ThreadType = index_js_1.proto.ThreadID.ThreadType
|
|
65
|
+
exports.CarouselCardType = index_js_1.proto.Message.InteractiveMessage.CarouselMessage.CarouselCardType
|
|
66
|
+
exports.ImageSourceType = index_js_1.proto.Message.ImageMessage.ImageSourceType
|
|
67
|
+
exports.BotSessionSource = index_js_1.proto.BotSessionSource
|
|
68
|
+
exports.BotReminderAction = index_js_1.proto.BotReminderMetadata.ReminderAction
|
|
69
|
+
exports.BotReminderFrequency = index_js_1.proto.BotReminderMetadata.ReminderFrequency
|
|
70
|
+
exports.BotPluginType = index_js_1.proto.BotPluginMetadata.PluginType
|
|
71
|
+
exports.BotPluginSearchProvider = index_js_1.proto.BotPluginMetadata.SearchProvider
|
|
72
|
+
exports.BizInteractionPillType = index_js_1.proto.ContextInfo.BusinessInteractionPills.PillType
|
|
73
|
+
exports.PeerDataOperationRequestType = index_js_1.proto.Message.PeerDataOperationRequestType
|
|
74
|
+
exports.SocialMediaPostType = index_js_1.proto.Message.LinkPreviewMetadata.SocialMediaPostType
|
|
75
|
+
exports.AIRichResponseMessageType = index_js_1.proto.AIRichResponseMessageType
|
|
76
|
+
exports.AIRichResponseSubMessageType = index_js_1.proto.AIRichResponseSubMessageType
|
|
77
|
+
exports.AISubscriptionRequestType = index_js_1.proto.AISubscriptionRequestType
|
|
78
|
+
exports.BotMetricsEntryPoint = index_js_1.proto.BotMetricsEntryPoint
|
|
79
|
+
exports.BotMetricsThreadEntryPoint = index_js_1.proto.BotMetricsThreadEntryPoint
|
|
80
|
+
exports.MediaKeyDomain = index_js_1.proto.MediaKeyDomain
|
|
81
|
+
exports.SessionTransparencyType = index_js_1.proto.SessionTransparencyType
|
|
82
|
+
exports.ADVEncryptionType = index_js_1.proto.ADVEncryptionType
|
|
83
|
+
exports.PlaceholderMessageType = index_js_1.proto.Message.PlaceholderMessage.PlaceholderType
|
|
84
|
+
exports.SecretEncEncType = index_js_1.proto.Message.SecretEncryptedMessage.SecretEncType
|
|
85
|
+
exports.ImageMessageSourceType = index_js_1.proto.Message.ImageMessage.ImageSourceType
|
|
86
|
+
exports.VideoMessageSourceType = index_js_1.proto.Message.VideoMessage.VideoSourceType
|
|
87
|
+
exports.NativeFlowActionType =
|
|
88
|
+
index_js_1.proto.Message.InteractiveResponseMessage?.NativeFlowResponseMessage?.NativeFlowActionType
|
|
89
|
+
exports.InteractiveAnnotationType = index_js_1.proto.HydratedAnnotatedBotMessage?.HydratedAnnotatedMessageType
|
|
90
|
+
|
|
91
|
+
var WAMessageAddressingMode
|
|
92
|
+
;(function (WAMessageAddressingMode) {
|
|
93
|
+
WAMessageAddressingMode['PN'] = 'pn'
|
|
94
|
+
WAMessageAddressingMode['LID'] = 'lid'
|
|
95
|
+
})(WAMessageAddressingMode || (exports.WAMessageAddressingMode = WAMessageAddressingMode = {}))
|
package/lib/Types/Mex.js
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
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 = {})))
|
|
@@ -0,0 +1,121 @@
|
|
|
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
|
+
// Newsletter admin/invite paths
|
|
23
|
+
XWAPaths['xwa2_newsletter_admin_invite_create'] = 'xwa2_newsletter_admin_invite_create'
|
|
24
|
+
XWAPaths['xwa2_newsletter_admin_invite_revoke'] = 'xwa2_newsletter_admin_invite_revoke'
|
|
25
|
+
XWAPaths['xwa2_newsletter_admin_invite_accept'] = 'xwa2_newsletter_admin_invite_accept'
|
|
26
|
+
XWAPaths['xwa2_newsletter_admin'] = 'xwa2_newsletter_admin'
|
|
27
|
+
XWAPaths['xwa2_newsletter_admin_profile_update'] = 'xwa2_newsletter_admin_profile_update'
|
|
28
|
+
// Newsletter directory/search paths
|
|
29
|
+
XWAPaths['xwa2_newsletters_directory_list'] = 'xwa2_newsletters_directory_list'
|
|
30
|
+
XWAPaths['xwa2_newsletters_directory_search'] = 'xwa2_newsletters_directory_search'
|
|
31
|
+
XWAPaths['xwa2_newsletters_directory_category_preview'] = 'xwa2_newsletters_directory_category_preview'
|
|
32
|
+
XWAPaths['xwa2_newsletters_search'] = 'xwa2_newsletters_search'
|
|
33
|
+
XWAPaths['xwa2_newsletters_recommended'] = 'xwa2_newsletters_recommended'
|
|
34
|
+
XWAPaths['xwa2_newsletters_similar'] = 'xwa2_newsletters_similar'
|
|
35
|
+
XWAPaths['xwa2_newsletter_following'] = 'xwa2_newsletter_following'
|
|
36
|
+
// Newsletter engagement paths
|
|
37
|
+
XWAPaths['xwa2_newsletter_admin_insights'] = 'xwa2_newsletter_admin_insights'
|
|
38
|
+
XWAPaths['xwa2_newsletters_poll_voter_list'] = 'xwa2_newsletters_poll_voter_list'
|
|
39
|
+
XWAPaths['xwa2_newsletters_reaction_sender_list'] = 'xwa2_newsletters_reaction_sender_list'
|
|
40
|
+
// Newsletter moderation
|
|
41
|
+
XWAPaths['xwa2_newsletter_enforcements'] = 'xwa2_newsletter_enforcements'
|
|
42
|
+
XWAPaths['xwa2_newsletter_user_reports'] = 'xwa2_newsletter_user_reports'
|
|
43
|
+
XWAPaths['xwa2_newsletter_create_report_appeal'] = 'xwa2_newsletter_create_report_appeal'
|
|
44
|
+
XWAPaths['xwa2_newsletter_link_preview_check'] = 'xwa2_newsletter_link_preview_check'
|
|
45
|
+
XWAPaths['xwa2_newsletter_update_verification'] = 'xwa2_newsletter_update_verification'
|
|
46
|
+
XWAPaths['xwa2_newsletter_label_paid_partnership'] = 'xwa2_newsletter_label_paid_partnership'
|
|
47
|
+
// Newsletter log/user
|
|
48
|
+
XWAPaths['xwa2_newsletter_log_exposures'] = 'xwa2_newsletter_log_exposures'
|
|
49
|
+
XWAPaths['xwa2_newsletter_update_user_setting'] = 'xwa2_newsletter_update_user_setting'
|
|
50
|
+
XWAPaths['xwa2_newsletter_create_verified'] = 'xwa2_newsletter_create_verified'
|
|
51
|
+
XWAPaths['xwa2_newsletter_ranking_features'] = 'xwa2_newsletter_ranking_features'
|
|
52
|
+
// Wamo paths
|
|
53
|
+
XWAPaths['xwa2_wamo_afs_age_collection'] = 'xwa2_wamo_afs_age_collection'
|
|
54
|
+
XWAPaths['xwa2_wamo_asset_collection'] = 'xwa2_wamo_asset_collection'
|
|
55
|
+
XWAPaths['xwa2_wamo_fetch_adhoc_notice_by_id'] = 'xwa2_wamo_fetch_adhoc_notice_by_id'
|
|
56
|
+
XWAPaths['xwa2_wamo_fetch_identity_token'] = 'xwa2_wamo_fetch_identity_token'
|
|
57
|
+
XWAPaths['xwa2_wamo_sub_get_compliance_info'] = 'xwa2_wamo_sub_get_compliance_info'
|
|
58
|
+
XWAPaths['xwa2_wamo_user_id_version'] = 'xwa2_wamo_user_id_version'
|
|
59
|
+
XWAPaths['xwa2_wamo_set_user_id_version'] = 'xwa2_wamo_set_user_id_version'
|
|
60
|
+
})(XWAPaths || (exports.XWAPaths = XWAPaths = {}))
|
|
61
|
+
var QueryIds
|
|
62
|
+
;(function (QueryIds) {
|
|
63
|
+
// Newsletter core
|
|
64
|
+
QueryIds['CREATE'] = '26278417231751160' // NewsletterCreate
|
|
65
|
+
QueryIds['CREATE_VERIFIED'] = '25691091733891788' // NewsletterCreateVerified
|
|
66
|
+
QueryIds['UPDATE_METADATA'] = '25976052865358570' // NewsletterMetadataUpdate
|
|
67
|
+
QueryIds['METADATA'] = '26099060629688650' // NewsletterMetadata
|
|
68
|
+
QueryIds['SUBSCRIBERS'] = '25646542368289350' // NewsletterFollowers
|
|
69
|
+
QueryIds['FOLLOW'] = '24658527423838740' // NewsletterJoin
|
|
70
|
+
QueryIds['LEAVE'] = '25758579043742316' // NewsletterLeave
|
|
71
|
+
QueryIds['UNFOLLOW'] = '25757497553878990' // NewsletterFollowing (used for unfollow path)
|
|
72
|
+
QueryIds['MUTE'] = '25033614912931370' // NewsletterHide
|
|
73
|
+
QueryIds['UNMUTE'] = '24551592861177484' // NewsletterUnhide
|
|
74
|
+
QueryIds['ADMIN_COUNT'] = '27579307995002556' // NewslettersAdminCapabilitiesQuery
|
|
75
|
+
QueryIds['CHANGE_OWNER'] = '24737692515842080' // NewsletterChangeOwner
|
|
76
|
+
QueryIds['DEMOTE'] = '25054538847517280' // NewsletterAdminDemote
|
|
77
|
+
QueryIds['DELETE'] = '31838460859131916' // NewsletterDelete
|
|
78
|
+
QueryIds['REACHOUT_TIMELOCK'] = '25627902213558772' // FetchReachoutTimelockQuery
|
|
79
|
+
QueryIds['MESSAGE_CAPPING_INFO'] = '25311901238461920' // XWA2MessageCappingInfoQuery
|
|
80
|
+
QueryIds['UPDATE_USER_SETTING'] = '24935528202764690' // NewsletterUpdateUserSetting
|
|
81
|
+
// Newsletter admin/invite
|
|
82
|
+
QueryIds['ADMIN_INVITE'] = '26278681041745440' // NewsletterAdminInvite
|
|
83
|
+
QueryIds['ADMIN_INVITE_REVOKE'] = '24369392486051948' // NewsletterAdminInviteRevoke
|
|
84
|
+
QueryIds['ADMIN_INVITE_ACCEPT'] = '24934958956134856' // NewsletterAcceptAdminInvite
|
|
85
|
+
QueryIds['ADMIN_METADATA'] = '26882701001369256' // NewsletterAdminMetadataQuery
|
|
86
|
+
QueryIds['ADMIN_PROFILE_UPDATE'] = '25959584293627630' // NewsletterAdminProfileUpdate
|
|
87
|
+
// Newsletter directory/search
|
|
88
|
+
QueryIds['DIRECTORY_LIST'] = '35420207774244120' // NewsletterDirectoryList
|
|
89
|
+
QueryIds['DIRECTORY_SEARCH'] = '26545699395089024' // NewsletterDirectorySearch
|
|
90
|
+
QueryIds['DIRECTORY_CATEGORY_PREVIEW'] = '25554326764266960' // NewsletterDirectoryCategoryPreview
|
|
91
|
+
QueryIds['SEARCH'] = '25909596625362196' // NewsletterSearch
|
|
92
|
+
QueryIds['RECOMMENDED'] = '26234104032880280' // NewsletterRecommended
|
|
93
|
+
QueryIds['SIMILAR'] = '33639678252347084' // NewsletterSimilar
|
|
94
|
+
QueryIds['FOLLOWING_LIST'] = '25757497553878990' // NewsletterFollowing
|
|
95
|
+
// Newsletter engagement
|
|
96
|
+
QueryIds['INSIGHTS'] = '24672564052397920' // NewsletterInsights
|
|
97
|
+
QueryIds['POLL_VOTER_LIST'] = '24803802869271956' // NewsletterPollVoterList
|
|
98
|
+
QueryIds['REACTION_SENDERS_LIST'] = '25219734117717030' // NewsletterReactionSendersList
|
|
99
|
+
QueryIds['QUESTION_RESPONSE_STATE_UPDATE'] = '24896618076668076' // NewsletterQuestionResponseStateUpdate
|
|
100
|
+
QueryIds['LOG_EXPOSURES'] = '24606408825709910' // NewsletterLogExposures
|
|
101
|
+
QueryIds['RANKING_FEATURES'] = '24742757908756090' // FetchNewsletterRankingFeatures
|
|
102
|
+
// Newsletter moderation
|
|
103
|
+
QueryIds['BLOCK_USER'] = '25106066249006236' // NewsletterBlockUser
|
|
104
|
+
QueryIds['USER_REPORTS'] = '26334442806191824' // NewsletterUserReports
|
|
105
|
+
QueryIds['CREATE_REPORT_APPEAL'] = '26787508127520150' // NewsletterCreateReportAppeal
|
|
106
|
+
QueryIds['ENFORCEMENTS'] = '25956852020603264' // NewsletterEnforcements
|
|
107
|
+
QueryIds['LINK_PREVIEW_CHECK'] = '24188786150796508' // NewsletterLinkPreviewCheck
|
|
108
|
+
QueryIds['UPDATE_VERIFICATION'] = '33965625006384290' // NewsletterUpdateVerification
|
|
109
|
+
QueryIds['LABEL_PAID_PARTNERSHIP'] = '26221505494211176' // NewsletterLabelPaidPartnership
|
|
110
|
+
// Newsletter Wamo (paid subscription)
|
|
111
|
+
QueryIds['WAMO_CHANGE_SUB'] = '25201342542835864' // NewsletterChangeWamoSub
|
|
112
|
+
QueryIds['WAMO_ENABLE_SUB'] = '25122474967344830' // NewsletterEnableWamoSub
|
|
113
|
+
QueryIds['WAMO_DISABLE_SUB'] = '31916794074578680' // NewsletterDisableWamoSub
|
|
114
|
+
QueryIds['WAMO_AFS_AGE_COLLECTION'] = '25012618978387376' // WamoAfsAgeCollection
|
|
115
|
+
QueryIds['WAMO_ASSET_COLLECTION'] = '24347085218298772' // WamoAssetCollection
|
|
116
|
+
QueryIds['WAMO_FETCH_ADHOC_NOTICE'] = '24758534413802424' // WamoFetchAdhocNoticeById
|
|
117
|
+
QueryIds['WAMO_FETCH_IDENTITY_TOKEN'] = '24677346488597664' // WamoFetchIdentityToken
|
|
118
|
+
QueryIds['WAMO_SUB_COMPLIANCE_INFO'] = '25105596879072480' // WamoSubGetComplianceInfo
|
|
119
|
+
QueryIds['WAMO_USER_ID_VERSION'] = '24958410737155268' // WamoUserIdVersion
|
|
120
|
+
QueryIds['WAMO_SET_USER_ID_VERSION'] = '8148672891859281' // SetWamoUserIdVersion
|
|
121
|
+
})(QueryIds || (exports.QueryIds = QueryIds = {}))
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
/** The socket is connecting, but we haven't received pending notifications yet. */
|
|
12
|
+
SyncState[(SyncState['Connecting'] = 0)] = 'Connecting'
|
|
13
|
+
/** Pending notifications received. Buffering events until we decide whether to sync or not. */
|
|
14
|
+
SyncState[(SyncState['AwaitingInitialSync'] = 1)] = 'AwaitingInitialSync'
|
|
15
|
+
/** The initial app state sync (history, etc.) is in progress. Buffering continues. */
|
|
16
|
+
SyncState[(SyncState['Syncing'] = 2)] = 'Syncing'
|
|
17
|
+
/** Initial sync is complete, or was skipped. The socket is fully operational and events are processed in real-time. */
|
|
18
|
+
SyncState[(SyncState['Online'] = 3)] = 'Online'
|
|
19
|
+
})(SyncState || (exports.SyncState = SyncState = {}))
|
|
20
|
+
var ReachoutTimelockEnforcementType
|
|
21
|
+
;(function (ReachoutTimelockEnforcementType) {
|
|
22
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_ALCOHOL'] = 'BIZ_COMMERCE_VIOLATION_ALCOHOL'
|
|
23
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_ADULT'] = 'BIZ_COMMERCE_VIOLATION_ADULT'
|
|
24
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_ANIMALS'] = 'BIZ_COMMERCE_VIOLATION_ANIMALS'
|
|
25
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_BODY_PARTS_FLUIDS'] =
|
|
26
|
+
'BIZ_COMMERCE_VIOLATION_BODY_PARTS_FLUIDS'
|
|
27
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_DATING'] = 'BIZ_COMMERCE_VIOLATION_DATING'
|
|
28
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_DIGITAL_SERVICES_PRODUCTS'] =
|
|
29
|
+
'BIZ_COMMERCE_VIOLATION_DIGITAL_SERVICES_PRODUCTS'
|
|
30
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_DRUGS'] = 'BIZ_COMMERCE_VIOLATION_DRUGS'
|
|
31
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_DRUGS_ONLY_OTC'] = 'BIZ_COMMERCE_VIOLATION_DRUGS_ONLY_OTC'
|
|
32
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_GAMBLING'] = 'BIZ_COMMERCE_VIOLATION_GAMBLING'
|
|
33
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_HEALTHCARE'] = 'BIZ_COMMERCE_VIOLATION_HEALTHCARE'
|
|
34
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_REAL_FAKE_CURRENCY'] =
|
|
35
|
+
'BIZ_COMMERCE_VIOLATION_REAL_FAKE_CURRENCY'
|
|
36
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_SUPPLEMENTS'] = 'BIZ_COMMERCE_VIOLATION_SUPPLEMENTS'
|
|
37
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_TOBACCO'] = 'BIZ_COMMERCE_VIOLATION_TOBACCO'
|
|
38
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_VIOLENT_CONTENT'] = 'BIZ_COMMERCE_VIOLATION_VIOLENT_CONTENT'
|
|
39
|
+
ReachoutTimelockEnforcementType['BIZ_COMMERCE_VIOLATION_WEAPONS'] = 'BIZ_COMMERCE_VIOLATION_WEAPONS'
|
|
40
|
+
ReachoutTimelockEnforcementType['BIZ_QUALITY'] = 'BIZ_QUALITY'
|
|
41
|
+
ReachoutTimelockEnforcementType['DEFAULT'] = 'DEFAULT'
|
|
42
|
+
ReachoutTimelockEnforcementType['WEB_COMPANION_ONLY'] = 'WEB_COMPANION_ONLY'
|
|
43
|
+
})(ReachoutTimelockEnforcementType || (exports.ReachoutTimelockEnforcementType = ReachoutTimelockEnforcementType = {}))
|
|
44
|
+
var NewChatMessageCappingStatusType
|
|
45
|
+
;(function (NewChatMessageCappingStatusType) {
|
|
46
|
+
NewChatMessageCappingStatusType['NONE'] = 'NONE'
|
|
47
|
+
NewChatMessageCappingStatusType['FIRST_WARNING'] = 'FIRST_WARNING'
|
|
48
|
+
NewChatMessageCappingStatusType['SECOND_WARNING'] = 'SECOND_WARNING'
|
|
49
|
+
NewChatMessageCappingStatusType['CAPPED'] = 'CAPPED'
|
|
50
|
+
})(NewChatMessageCappingStatusType || (exports.NewChatMessageCappingStatusType = NewChatMessageCappingStatusType = {}))
|
|
51
|
+
var NewChatMessageCappingMVStatusType
|
|
52
|
+
;(function (NewChatMessageCappingMVStatusType) {
|
|
53
|
+
NewChatMessageCappingMVStatusType['NOT_ELIGIBLE'] = 'NOT_ELIGIBLE'
|
|
54
|
+
NewChatMessageCappingMVStatusType['NOT_ACTIVE'] = 'NOT_ACTIVE'
|
|
55
|
+
NewChatMessageCappingMVStatusType['ACTIVE'] = 'ACTIVE'
|
|
56
|
+
NewChatMessageCappingMVStatusType['ACTIVE_UPGRADE_AVAILABLE'] = 'ACTIVE_UPGRADE_AVAILABLE'
|
|
57
|
+
})(
|
|
58
|
+
NewChatMessageCappingMVStatusType ||
|
|
59
|
+
(exports.NewChatMessageCappingMVStatusType = NewChatMessageCappingMVStatusType = {})
|
|
60
|
+
)
|
|
61
|
+
var NewChatMessageCappingOTEStatusType
|
|
62
|
+
;(function (NewChatMessageCappingOTEStatusType) {
|
|
63
|
+
NewChatMessageCappingOTEStatusType['NOT_ELIGIBLE'] = 'NOT_ELIGIBLE'
|
|
64
|
+
NewChatMessageCappingOTEStatusType['ELIGIBLE'] = 'ELIGIBLE'
|
|
65
|
+
NewChatMessageCappingOTEStatusType['ACTIVE_IN_CURRENT_CYCLE'] = 'ACTIVE_IN_CURRENT_CYCLE'
|
|
66
|
+
NewChatMessageCappingOTEStatusType['EXHAUSTED'] = 'EXHAUSTED'
|
|
67
|
+
})(
|
|
68
|
+
NewChatMessageCappingOTEStatusType ||
|
|
69
|
+
(exports.NewChatMessageCappingOTEStatusType = NewChatMessageCappingOTEStatusType = {})
|
|
70
|
+
)
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
var __createBinding =
|
|
3
|
+
(this && this.__createBinding) ||
|
|
4
|
+
(Object.create
|
|
5
|
+
? function (o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) 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) k2 = k
|
|
20
|
+
o[k2] = m[k]
|
|
21
|
+
})
|
|
22
|
+
var __exportStar =
|
|
23
|
+
(this && this.__exportStar) ||
|
|
24
|
+
function (m, exports) {
|
|
25
|
+
for (var p in m)
|
|
26
|
+
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p)
|
|
27
|
+
}
|
|
28
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
29
|
+
exports.DisconnectReason = void 0
|
|
30
|
+
__exportStar(require('./Auth'), exports)
|
|
31
|
+
__exportStar(require('./GroupMetadata'), exports)
|
|
32
|
+
__exportStar(require('./Chat'), exports)
|
|
33
|
+
__exportStar(require('./Contact'), exports)
|
|
34
|
+
__exportStar(require('./State'), exports)
|
|
35
|
+
__exportStar(require('./Message'), exports)
|
|
36
|
+
__exportStar(require('./Socket'), exports)
|
|
37
|
+
__exportStar(require('./Events'), exports)
|
|
38
|
+
__exportStar(require('./Product'), exports)
|
|
39
|
+
__exportStar(require('./Call'), exports)
|
|
40
|
+
__exportStar(require('./Signal'), exports)
|
|
41
|
+
__exportStar(require('./Newsletter'), exports)
|
|
42
|
+
__exportStar(require('./Mex'), exports)
|
|
43
|
+
var DisconnectReason
|
|
44
|
+
;(function (DisconnectReason) {
|
|
45
|
+
DisconnectReason[(DisconnectReason['connectionClosed'] = 428)] = 'connectionClosed'
|
|
46
|
+
DisconnectReason[(DisconnectReason['connectionLost'] = 408)] = 'connectionLost'
|
|
47
|
+
DisconnectReason[(DisconnectReason['connectionReplaced'] = 440)] = 'connectionReplaced'
|
|
48
|
+
DisconnectReason[(DisconnectReason['timedOut'] = 408)] = 'timedOut'
|
|
49
|
+
DisconnectReason[(DisconnectReason['loggedOut'] = 401)] = 'loggedOut'
|
|
50
|
+
DisconnectReason[(DisconnectReason['badSession'] = 500)] = 'badSession'
|
|
51
|
+
DisconnectReason[(DisconnectReason['restartRequired'] = 515)] = 'restartRequired'
|
|
52
|
+
DisconnectReason[(DisconnectReason['multideviceMismatch'] = 411)] = 'multideviceMismatch'
|
|
53
|
+
DisconnectReason[(DisconnectReason['forbidden'] = 403)] = 'forbidden'
|
|
54
|
+
DisconnectReason[(DisconnectReason['unavailableService'] = 503)] = 'unavailableService'
|
|
55
|
+
})(DisconnectReason || (exports.DisconnectReason = DisconnectReason = {}))
|