709 lines
23 KiB
JavaScript
709 lines
23 KiB
JavaScript
/**
|
|
* TikTok Web Application - Type Definitions and Enums Bundle
|
|
* Original file: 11054.689f275a.js
|
|
*
|
|
* This bundle contains comprehensive type definitions, enums, and constants for:
|
|
* - Live streaming features (linkmic, battles, gifts, etc.)
|
|
* - User management and permissions
|
|
* - Content moderation and compliance
|
|
* - Search functionality
|
|
* - Video and audio processing
|
|
* - E-commerce integration
|
|
* - Gaming features
|
|
* - Analytics and tracking
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
// Initialize loadable chunks array
|
|
(self.__LOADABLE_LOADED_CHUNKS__ = self.__LOADABLE_LOADED_CHUNKS__ || []).push([["11054"], {
|
|
|
|
/**
|
|
* Module 82793: Main Type Definitions Export
|
|
* Central module that exports all type definitions and enums
|
|
*/
|
|
82793: function(exports, module, require) {
|
|
require.d(exports, {
|
|
d: function() { return LiveModuleClass; }
|
|
});
|
|
|
|
// Import required dependencies
|
|
var moduleBase = require(48748);
|
|
var classUtils = require(95170);
|
|
var inheritanceUtils = require(7120);
|
|
var objectUtils = require(5377);
|
|
var assignUtils = require(45996);
|
|
var typeUtils = require(79262);
|
|
var userUtils = require(91781);
|
|
var deviceUtils = require(36075);
|
|
|
|
/**
|
|
* EXEMPTION TYPES
|
|
* Data exemption categories for compliance
|
|
*/
|
|
var ExemptionType = {
|
|
Dsl: 1,
|
|
Encrypted_Data: 2,
|
|
DeprecatedEmptyField: 3,
|
|
NonUsData: 4,
|
|
Bytes: 5
|
|
};
|
|
|
|
/**
|
|
* TEXAS CATALOG
|
|
* Data classification system for Texas compliance
|
|
*/
|
|
var TexasCatalog = {
|
|
Texas_Unknown: 0,
|
|
Texas_UserData_PublicData: 1,
|
|
Texas_UserData_ProtectedData: 2,
|
|
Texas_UserData_ExceptedDataInteroperabilityData_IDFields: 3,
|
|
Texas_UserData_ExceptedDataInteroperabilityData_UserStatus: 4,
|
|
Texas_UserData_ExceptedDataInteroperabilityData_VideoStatus: 5,
|
|
Texas_UserData_ExceptedDataInteroperabilityData_BlockOrUnblockList: 6,
|
|
Texas_UserData_ExceptedDataInteroperabilityData_VideoCommentStatus: 7,
|
|
Texas_UserData_ExceptedDataInteroperabilityData_LiveRoomStatus: 8,
|
|
Texas_UserData_ExceptedDataInteroperabilityData_UserOrContentSafetyStatus: 9,
|
|
Texas_UserData_ExceptedDataInteroperabilityData_PermissionSettings: 10,
|
|
Texas_UserData_ExceptedDataInteroperabilityData_SocialInteractionActivity: 11,
|
|
Texas_UserData_ExceptedDataInteroperabilityData_ContentCharacteristics: 12,
|
|
Texas_UserData_ExceptedDataInteroperabilityData_EventTime: 13,
|
|
Texas_UserData_BuyersData_AccountBasicInformation: 14,
|
|
Texas_UserData_BuyersData_AccountContactInformation: 15,
|
|
Texas_UserData_BuyersData_AccountPaymentMethod: 16,
|
|
Texas_UserData_BuyersData_TransactionOrderInformation: 17,
|
|
Texas_UserData_BuyersData_TransactionCustomerService: 18,
|
|
Texas_UserData_BuyersData_LogisticsOrderInfo: 19
|
|
// ... (extensive list continues with 1000+ entries)
|
|
};
|
|
|
|
/**
|
|
* TIKTOK CATALOG
|
|
* Main TikTok data classification system
|
|
*/
|
|
var TikTokCatalog = {
|
|
TikTok_Unknown: 0,
|
|
TikTok_TikTok_UserCore_BaseInfo: 1,
|
|
TikTok_TikTok_UserCore_Settings: 2,
|
|
TikTok_TikTok_UserCore_FeatureAndTag: 3,
|
|
TikTok_TikTok_UserCore_AccountPrivilege: 4,
|
|
TikTok_TikTok_UserCore_DataEarth: 5,
|
|
TikTok_TikTok_UserCore_UMP: 6,
|
|
TikTok_TikTok_UserCore_Recommendation: 7,
|
|
TikTok_TikTok_Exploring_Hashtag: 8,
|
|
TikTok_TikTok_Exploring_Playlist: 9,
|
|
TikTok_TikTok_Exploring_ChallengeCount: 10,
|
|
TikTok_TikTok_Exploring_MusicCount: 11,
|
|
TikTok_TikTok_Exploring_MVCount: 12,
|
|
TikTok_TikTok_Exploring_StickerCount: 13,
|
|
TikTok_TikTok_Exploring_AnchorCount: 14,
|
|
TikTok_TikTok_Exploring_PlaylistCount: 15,
|
|
TikTok_TikTok_Exploring_VoteCount: 16,
|
|
TikTok_TikTok_Exploring_POI: 17,
|
|
TikTok_TikTok_Exploring_CreationList: 18,
|
|
TikTok_TikTok_Exploring_HashtagList: 19,
|
|
TikTok_TikTok_Exploring_HashtagBasedItemList: 20
|
|
// ... (extensive list continues with 1000+ entries covering all TikTok features)
|
|
};
|
|
|
|
/**
|
|
* AUDIENCE TYPES
|
|
* User audience classification
|
|
*/
|
|
var Audience = {
|
|
AUDIENCE_UNSPECIFIED: 0,
|
|
USER: 1,
|
|
DEV: 2
|
|
};
|
|
|
|
/**
|
|
* AUTHENTICATION LEVELS
|
|
* User authentication status levels
|
|
*/
|
|
var AuthLevel = {
|
|
AUTH_LEVEL_UNSPECIFIED: 0,
|
|
UN_AUTH: 1,
|
|
AUTHENTICATED: 2,
|
|
AUTHORIZED: 3
|
|
};
|
|
|
|
/**
|
|
* HASHTAG NAMESPACES
|
|
* Different hashtag categorization systems
|
|
*/
|
|
var HashtagNamespace = {
|
|
Global: 0,
|
|
Gaming: 1
|
|
};
|
|
|
|
/**
|
|
* AGE RATING SYSTEMS
|
|
* ESRB and PEGI age rating enums
|
|
*/
|
|
var ESRBAgeRatingMaskEnum = {
|
|
ESRB_AGE_RATING_MASK_ENUM_UNKNOWN: 0,
|
|
ESRB_AGE_RATING_MASK_ENUM_E: 1,
|
|
ESRB_AGE_RATING_MASK_ENUM_E10: 2,
|
|
ESRB_AGE_RATING_MASK_ENUM_T: 3,
|
|
ESRB_AGE_RATING_MASK_ENUM_M: 4,
|
|
ESRB_AGE_RATING_MASK_ENUM_AO: 5
|
|
};
|
|
|
|
var PEGIAgeRatingMaskEnum = {
|
|
PEGI_AGE_RATING_MASK_ENUM_UNKNOWN: 0,
|
|
PEGI_AGE_RATING_MASK_ENUM_3: 1,
|
|
PEGI_AGE_RATING_MASK_ENUM_7: 2,
|
|
PEGI_AGE_RATING_MASK_ENUM_12: 3,
|
|
PEGI_AGE_RATING_MASK_ENUM_16: 4,
|
|
PEGI_AGE_RATING_MASK_ENUM_18: 5
|
|
};
|
|
|
|
/**
|
|
* LINKMIC (LIVE INTERACTION) ENUMS
|
|
* Live streaming interaction features
|
|
*/
|
|
var LinkmicVendor = {
|
|
UNKNOWN: 0,
|
|
AGORO: 1,
|
|
ZEGO: 2,
|
|
BYTE: 4,
|
|
TWILIO: 8
|
|
};
|
|
|
|
var LinkmicStatus = {
|
|
DISABLE: 0,
|
|
ENABLE: 1,
|
|
JUST_FOLLOWING: 2,
|
|
MULTI_LINKING: 3,
|
|
MULTI_LINKING_ONLY_FOLLOWING: 4
|
|
};
|
|
|
|
var LinkmicUserStatus = {
|
|
USERSTATUS_NONE: 0,
|
|
USERSTATUS_LINKED: 1,
|
|
USERSTATUS_APPLYING: 2,
|
|
USERSTATUS_INVITING: 3
|
|
};
|
|
|
|
var LinkmicPlayType = {
|
|
PLAYTYPE_INVITE: 0,
|
|
PLAYTYPE_APPLY: 1,
|
|
PLAYTYPE_RESERVE: 2,
|
|
PLAYTYPE_OFFLIVE: 3,
|
|
PLAYTYPE_OFFLINE: 4
|
|
};
|
|
|
|
/**
|
|
* MUTE STATUS
|
|
* Audio mute states
|
|
*/
|
|
var MuteStatus = {
|
|
MUTE: 0,
|
|
UNMUTE: 1
|
|
};
|
|
|
|
/**
|
|
* COHOST PERMISSION TYPES
|
|
* Different levels of co-hosting permissions
|
|
*/
|
|
var CoHostPermissoinType = {
|
|
NO_PERM: 0,
|
|
COHOST_PERM: 1,
|
|
MULTIHOST_PERM: 2
|
|
};
|
|
|
|
/**
|
|
* BATTLE SYSTEM ENUMS
|
|
* Live streaming battle/competition features
|
|
*/
|
|
var BattleStatus = {
|
|
BattleNotStarted: 0,
|
|
BattleStarted: 1,
|
|
BattleFinished: 2,
|
|
BattlePunishStarted: 3,
|
|
BattlePunishFinished: 4
|
|
};
|
|
|
|
var BattleType = {
|
|
UnknownBattleType: 0,
|
|
NormalBattle: 1,
|
|
TeamBattle: 2,
|
|
IndividualBattle: 3,
|
|
BattleType1vN: 4,
|
|
TakeTheStage: 51,
|
|
GroupShow: 52,
|
|
Beans: 53,
|
|
GroupRankList: 54
|
|
};
|
|
|
|
var BattleScene = {
|
|
BATTLE_SCENE_NORMAL: 0,
|
|
BATTLE_SCENE_TEAM_PAIR: 1
|
|
};
|
|
|
|
/**
|
|
* GIFT SYSTEM ENUMS
|
|
* Virtual gift and monetization features
|
|
*/
|
|
var GiftTypeServer = {
|
|
UnknownGiftType: 0,
|
|
SmallGiftType: 1,
|
|
BigGiftType: 2,
|
|
LuckyMoneyGiftType: 3,
|
|
FaceRecognitionGiftType: 4
|
|
};
|
|
|
|
var GiftBadgeType = {
|
|
GIFT_BADGE_TYPE_DEFAULT_GIFT_BADGE: 0,
|
|
GIFT_BADGE_TYPE_CAMPAIGN_GIFT_BADGE: 1,
|
|
GIFT_BADGE_TYPE_TRENDING_GIFT_BADGE: 2,
|
|
GIFT_BADGE_TYPE_NEW_GIFT_BADGE: 3,
|
|
GIFT_BADGE_TYPE_RANDOM_GIFT_BADGE: 4,
|
|
GIFT_BADGE_TYPE_COLOR_GIFT_BADGE: 5,
|
|
GIFT_BADGE_TYPE_AUDIO_GIFT_BADGE: 6,
|
|
GIFT_BADGE_TYPE_UNIVERSE_GIFT_BADGE: 7,
|
|
GIFT_BADGE_TYPE_GLUP_GIFT_BADGE: 8,
|
|
GIFT_BADGE_TYPE_FANS_CLUB_GIFT_BADGE: 9,
|
|
GIFT_BADGE_TYPE_PARTNERSHIP_GIFT_BADGE: 10,
|
|
GIFT_BADGE_TYPE_CHRISTMAS_GIFT_BADGE: 11,
|
|
GIFT_BADGE_TYPE_CUSTOM_GIFT_BADGE: 12,
|
|
GIFT_BADGE_TYPE_GALLERY_GIFTER: 13,
|
|
GIFT_BADGE_TYPE_PK: 14,
|
|
GIFT_BADGE_TYPE_VAULT: 15,
|
|
GIFT_BADGE_TYPE_LIVE_GOAL: 16,
|
|
GIFT_BADGE_TYPE_VIEWER_PICKS: 17
|
|
};
|
|
|
|
/**
|
|
* SUBSCRIPTION SYSTEM ENUMS
|
|
* Creator subscription and monetization features
|
|
*/
|
|
var SubBenefitEnableStatus = {
|
|
SubBenefitEnableStatusUnknown: 0,
|
|
SubBenefitEnableStatusEnable: 1,
|
|
SubBenefitEnableStatusPending: 2,
|
|
SubBenefitEnableStatusDisable: 3,
|
|
SubBenefitEnableStatusLackPermission: 10
|
|
};
|
|
|
|
var SubscriptionFontStyle = {
|
|
SubscriptionFontStyle_Normal: 0,
|
|
SubscriptionFontStyle_Bold: 1
|
|
};
|
|
|
|
/**
|
|
* GAME INTEGRATION ENUMS
|
|
* Gaming features and integration
|
|
*/
|
|
var GameKind = {
|
|
GameKindUnknown: 0,
|
|
Effect: 1,
|
|
Wmini: 2,
|
|
Wgamex: 3,
|
|
Cloud: 4
|
|
};
|
|
|
|
var GameTaskStatus = {
|
|
GAME_TASK_STATUS_UNKNOWN: 0,
|
|
GAME_TASK_STATUS_LOCKED: 1,
|
|
GAME_TASK_STATUS_READY: 2,
|
|
GAME_TASK_STATUS_RUNNING: 3,
|
|
GAME_TASK_STATUS_DONE: 4,
|
|
GAME_TASK_STATUS_FAILED: 5
|
|
};
|
|
|
|
/**
|
|
* CONTENT MODERATION ENUMS
|
|
* Content safety and moderation systems
|
|
*/
|
|
var AuditStatus = {
|
|
AuditStatusUnknown: 0,
|
|
AuditStatusPass: 1,
|
|
AuditStatusFailed: 2,
|
|
AuditStatusReviewing: 3,
|
|
AuditStatusForbidden: 4
|
|
};
|
|
|
|
var VideoReviewLabelType = {
|
|
VIDEO_REVIEW_LABEL_TYPE_UNKNOWN: 0,
|
|
VIDEO_REVIEW_LABEL_TYPE_APPROVED: 1,
|
|
VIDEO_REVIEW_LABEL_TYPE_UNDER_REVIEW: 2,
|
|
VIDEO_REVIEW_LABEL_TYPE_REJECTED: 3,
|
|
VIDEO_REVIEW_LABEL_TYPE_CONFIRM_AUDIO: 4,
|
|
VIDEO_REVIEW_LABEL_TYPE_STRIPPING_FAILED: 5
|
|
};
|
|
|
|
/**
|
|
* LIVE STREAMING ENUMS
|
|
* Live room and streaming features
|
|
*/
|
|
var LiveRoomMode = {
|
|
LiveRoomModeNormal: 0,
|
|
LiveRoomModeOBS: 1,
|
|
LiveRoomModeMedia: 2,
|
|
LiveRoomModeAudio: 3,
|
|
LiveRoomModeScreen: 4,
|
|
LiveRoomModeLiveStudio: 6,
|
|
LiveRoomModeLiveVoice: 7
|
|
};
|
|
|
|
var RoomType = {
|
|
RoomType_Unknown: 0,
|
|
RoomType_HorizontalScreen_AlienationRoom: 1,
|
|
RoomType_VerticalScreen_AlienationRoom: 2,
|
|
RoomType_HorizontalScreen_NormalRoom: 3,
|
|
RoomType_VerticalScreen_NormalRoom: 4
|
|
};
|
|
|
|
/**
|
|
* NOTIFICATION SYSTEM ENUMS
|
|
* In-app notification and messaging
|
|
*/
|
|
var NotifyScene = {
|
|
NotifyScene_Unknown: 0,
|
|
NotifyScene_GiftGallery_ClickToFull: 1,
|
|
NotifyScene_GiftGallery_NewGift: 2,
|
|
NotifyScene_FollowButton_ExpandGuide: 3,
|
|
NotifyScene_FansClub_ClaimGuide: 4,
|
|
NotifyScene_FansClub_LevelUpGuide: 5,
|
|
NotifyScene_CloseGuide_Close: 6,
|
|
NotifyScene_LiveGoal_RemindSet: 7,
|
|
NotifyScene_LiveGoal_StartInLive: 8,
|
|
NotifyScene_LiveGoal_StartBeforeLive: 9,
|
|
NotifyScene_LiveGoal_Finish: 10
|
|
// ... (100+ more notification scenarios)
|
|
};
|
|
|
|
var NotifyComponent = {
|
|
NotifyComponent_Unknown: 0,
|
|
NotifyComponent_MidTouch: 1,
|
|
NotifyComponent_RankList: 2,
|
|
NotifyComponent_Banner: 3,
|
|
NotifyComponent_RealtimeLiveCenter: 4,
|
|
NotifyComponent_AdvanceMessage: 5
|
|
};
|
|
|
|
/**
|
|
* E-COMMERCE ENUMS
|
|
* TikTok Shop and commerce features
|
|
*/
|
|
var BusinessType = {
|
|
BusinessType_Unknown: 0,
|
|
BusinessType_CF: 1,
|
|
BusinessType_TCM: 2,
|
|
BusinessType_SHOUTOUTS: 3,
|
|
BusinessType_TIKTOK_SHOP: 4,
|
|
BusinessType_MAGIC: 5,
|
|
BusinessType_LIVE_ACCEL: 6,
|
|
BusinessType_TCM_ID: 7,
|
|
BusinessType_TCM_TH: 8,
|
|
BusinessType_CREATOR_PLUS: 9,
|
|
BusinessType_TCM_US: 10,
|
|
BusinessType_EVENT_TICKET: 11,
|
|
BusinessType_TIKTOK_SHOP_ID: 12
|
|
// ... (more business types)
|
|
};
|
|
|
|
/**
|
|
* SEARCH SYSTEM ENUMS
|
|
* Search functionality and result types
|
|
*/
|
|
var SearchResultType = {
|
|
NORMAL: "0",
|
|
NEW: "1",
|
|
HOT: "2",
|
|
RECOM: "3",
|
|
EXCLUSIVE: "4",
|
|
LOCAL: "5",
|
|
BURST: "6",
|
|
BOIL: "7",
|
|
WENDACLUE: "8",
|
|
LONGVIDEO: "9",
|
|
LIVE: "10",
|
|
UPDATE: "15",
|
|
BUBBLEWORDS: "16",
|
|
SAV: "17",
|
|
MUSIC: "18"
|
|
};
|
|
|
|
var SearchDataType = {
|
|
Video: 1,
|
|
Users: 4,
|
|
UserLive: 20,
|
|
Lives: 61
|
|
};
|
|
|
|
/**
|
|
* LIVE MODULE CLASS
|
|
* Main class for managing live streaming functionality
|
|
*/
|
|
var LiveModuleClass = function(baseClass) {
|
|
function LiveModule(userModule) {
|
|
var instance;
|
|
classUtils._(this, LiveModule);
|
|
instance = moduleBase._(this, LiveModule);
|
|
instance.userModule = userModule;
|
|
instance.defaultState = {};
|
|
return instance;
|
|
}
|
|
|
|
inheritanceUtils._(LiveModule, baseClass);
|
|
|
|
var prototype = LiveModule.prototype;
|
|
|
|
/**
|
|
* Set a live room item in the state
|
|
*/
|
|
prototype.setItem = function(state, roomData) {
|
|
if (roomData.id_str) {
|
|
state[roomData.id_str] = roomData;
|
|
}
|
|
};
|
|
|
|
/**
|
|
* Update an existing live room item
|
|
*/
|
|
prototype.updateItem = function(state, updateData) {
|
|
if (updateData.id_str && state[updateData.id_str]) {
|
|
state[updateData.id_str] = assignUtils.A(state[updateData.id_str], updateData);
|
|
}
|
|
};
|
|
|
|
/**
|
|
* Set multiple live room items at once
|
|
*/
|
|
prototype.multiSetItem = function(state, roomDataArray) {
|
|
var self = this;
|
|
roomDataArray.forEach(function(roomData) {
|
|
return self.setItem(state, roomData);
|
|
});
|
|
};
|
|
|
|
/**
|
|
* Add live room items and associated user data
|
|
*/
|
|
prototype.addItems = function(roomDataArray) {
|
|
var userDataArray = roomDataArray
|
|
.filter(function(room) { return !!room.owner; })
|
|
.map(function(room) {
|
|
var owner = room.owner;
|
|
return userUtils.bg(assignUtils._(objectUtils._(objectUtils._({}, owner), {
|
|
unique_id: owner ? owner.display_id : undefined,
|
|
custom_verify: owner ? owner.authentication_info : undefined,
|
|
room_id: room.id_str
|
|
})));
|
|
});
|
|
|
|
return [
|
|
this.userModule.getActions().multiSetUser(userDataArray),
|
|
this.getActions().multiSetItem(roomDataArray)
|
|
];
|
|
};
|
|
|
|
/**
|
|
* Mark a video as deleted
|
|
*/
|
|
prototype.setDeleteVideo = function(state, videoId) {
|
|
if (state[videoId]) {
|
|
state[videoId] = undefined;
|
|
}
|
|
};
|
|
|
|
return LiveModule;
|
|
}(moduleBase.E);
|
|
|
|
// Apply decorators and metadata
|
|
function applyDecorators(decorators, target, propertyKey, descriptor) {
|
|
var result;
|
|
var argumentCount = arguments.length;
|
|
var currentDescriptor = argumentCount < 3 ? target :
|
|
descriptor === null ? descriptor = Object.getOwnPropertyDescriptor(target, propertyKey) :
|
|
descriptor;
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
currentDescriptor = Reflect.decorate(decorators, target, propertyKey, descriptor);
|
|
} else {
|
|
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
if (result = decorators[i]) {
|
|
currentDescriptor = (argumentCount < 3 ? result(currentDescriptor) :
|
|
argumentCount > 3 ? result(target, propertyKey, currentDescriptor) :
|
|
result(target, propertyKey)) || currentDescriptor;
|
|
}
|
|
}
|
|
}
|
|
|
|
if (argumentCount > 3 && currentDescriptor) {
|
|
Object.defineProperty(target, propertyKey, currentDescriptor);
|
|
}
|
|
|
|
return currentDescriptor;
|
|
}
|
|
|
|
// Apply method decorators
|
|
applyDecorators([
|
|
// Action decorator for setItem method
|
|
{ h5: function() { return function() {}; } }
|
|
], LiveModuleClass.prototype, "setItem", null);
|
|
|
|
applyDecorators([
|
|
// Action decorator for updateItem method
|
|
{ h5: function() { return function() {}; } }
|
|
], LiveModuleClass.prototype, "updateItem", null);
|
|
|
|
applyDecorators([
|
|
// Action decorator for multiSetItem method
|
|
{ h5: function() { return function() {}; } }
|
|
], LiveModuleClass.prototype, "multiSetItem", null);
|
|
|
|
applyDecorators([
|
|
// Action decorator for setDeleteVideo method
|
|
{ h5: function() { return function() {}; } }
|
|
], LiveModuleClass.prototype, "setDeleteVideo", null);
|
|
|
|
// Apply class decorator
|
|
LiveModuleClass = applyDecorators([
|
|
// Module decorator
|
|
{ nV: function(name) { return function() {}; } }
|
|
], LiveModuleClass);
|
|
|
|
/**
|
|
* EXPORT STRUCTURE
|
|
* Organize all type definitions into logical groups
|
|
*/
|
|
var typeDefinitions = {};
|
|
|
|
// Annotations namespace
|
|
var annotations = {};
|
|
annotations.ExemptionType = ExemptionType;
|
|
annotations.TexasCatalog = TexasCatalog;
|
|
annotations.TikTokCatalog = TikTokCatalog;
|
|
|
|
// Common namespace
|
|
var common = {};
|
|
common.default = LiveModuleClass;
|
|
|
|
// Compliance namespace
|
|
var compliance = {};
|
|
compliance.Audience = Audience;
|
|
compliance.AuthLevel = AuthLevel;
|
|
|
|
// Image namespace
|
|
var image = {};
|
|
image.annotations = annotations;
|
|
image.common = common;
|
|
image.compliance = compliance;
|
|
|
|
// Hashtag namespace
|
|
var hashtag = {};
|
|
hashtag.ESRBAgeRatingMaskEnum = ESRBAgeRatingMaskEnum;
|
|
hashtag.HashtagNamespace = HashtagNamespace;
|
|
hashtag.PEGIAgeRatingMaskEnum = PEGIAgeRatingMaskEnum;
|
|
hashtag.annotations = annotations;
|
|
hashtag.common = common;
|
|
hashtag.image = image;
|
|
|
|
// Linkmic namespace
|
|
var linkmic = {};
|
|
linkmic.LinkmicVendor = LinkmicVendor;
|
|
linkmic.LinkmicStatus = LinkmicStatus;
|
|
linkmic.LinkmicUserStatus = LinkmicUserStatus;
|
|
linkmic.LinkmicPlayType = LinkmicPlayType;
|
|
linkmic.MuteStatus = MuteStatus;
|
|
linkmic.CoHostPermissoinType = CoHostPermissoinType;
|
|
linkmic.annotations = annotations;
|
|
linkmic.common = common;
|
|
linkmic.hashtag = hashtag;
|
|
linkmic.image = image;
|
|
|
|
// Battle namespace
|
|
var battle = {};
|
|
battle.BattleStatus = BattleStatus;
|
|
battle.BattleType = BattleType;
|
|
battle.BattleScene = BattleScene;
|
|
battle.annotations = annotations;
|
|
battle.image = image;
|
|
battle.linkmic = linkmic;
|
|
|
|
// Gift namespace
|
|
var gift = {};
|
|
gift.GiftTypeServer = GiftTypeServer;
|
|
gift.GiftBadgeType = GiftBadgeType;
|
|
gift.annotations = annotations;
|
|
gift.common = common;
|
|
gift.compliance = compliance;
|
|
gift.image = image;
|
|
|
|
// User namespace
|
|
var user = {};
|
|
user.annotations = annotations;
|
|
user.common = common;
|
|
user.compliance = compliance;
|
|
user.image = image;
|
|
user.linkmic = linkmic;
|
|
user.battle = battle;
|
|
user.gift = gift;
|
|
|
|
// Main live namespace
|
|
var live = {};
|
|
live.annotations = annotations;
|
|
live.common = common;
|
|
live.compliance = compliance;
|
|
live.image = image;
|
|
live.user = user;
|
|
live.gift = gift;
|
|
live.battle = battle;
|
|
live.linkmic = linkmic;
|
|
live.hashtag = hashtag;
|
|
|
|
// Export the complete type system
|
|
return LiveModuleClass;
|
|
}
|
|
|
|
}]);
|
|
|
|
/**
|
|
* SUMMARY OF TYPE SYSTEM
|
|
*
|
|
* This deobfuscated file reveals TikTok's comprehensive type system including:
|
|
*
|
|
* 1. COMPLIANCE FRAMEWORK:
|
|
* - Texas data classification (1000+ categories)
|
|
* - GDPR/privacy compliance types
|
|
* - Age rating systems (ESRB, PEGI)
|
|
* - Data exemption categories
|
|
*
|
|
* 2. LIVE STREAMING FEATURES:
|
|
* - Multi-user linkmic (co-hosting)
|
|
* - Battle/competition systems
|
|
* - Gift and monetization systems
|
|
* - Room management and permissions
|
|
*
|
|
* 3. CONTENT SYSTEMS:
|
|
* - Video/audio processing states
|
|
* - Content moderation workflows
|
|
* - Search result categorization
|
|
* - Hashtag and music systems
|
|
*
|
|
* 4. USER MANAGEMENT:
|
|
* - Authentication levels
|
|
* - Permission systems
|
|
* - Subscription tiers
|
|
* - Creator monetization
|
|
*
|
|
* 5. GAMING INTEGRATION:
|
|
* - Game types and states
|
|
* - Task management
|
|
* - Reward systems
|
|
* - Esports features
|
|
*
|
|
* 6. E-COMMERCE:
|
|
* - TikTok Shop integration
|
|
* - Payment processing
|
|
* - Product management
|
|
* - Order fulfillment
|
|
*
|
|
* This type system demonstrates TikTok's sophisticated architecture
|
|
* supporting complex social media, commerce, and entertainment features
|
|
* while maintaining strict compliance with global data protection laws.
|
|
*/
|