sp-jsom-node
Version:
SharePoint JavaScript Object Model for Node.js
1,778 lines (1,749 loc) • 2.09 MB
JavaScript
{
if ("undefined" == typeof g_all_modules) {
g_all_modules = {};
}
g_all_modules["sp.js"] = {
"version": {
"rmj": 16,
"rmm": 0,
"rup": 21319,
"rpr": 12007
}
};
}
if (typeof spWriteProfilerMark == 'function')
spWriteProfilerMark("perfMarkBegin_" + "sp.js");
Type.registerNamespace('SP');
SP.ULSTraceLevel = function() {
};
SP.ULSTraceLevel.prototype = {
verbose: 100
};
SP.ULSTraceLevel.registerEnum('SP.ULSTraceLevel', false);
SP.AddFieldOptions = function() {
};
SP.AddFieldOptions.prototype = {
defaultValue: 0,
addToDefaultContentType: 1,
addToNoContentType: 2,
addToAllContentTypes: 4,
addFieldInternalNameHint: 8,
addFieldToDefaultView: 16,
addFieldCheckDisplayName: 32
};
SP.AddFieldOptions.registerEnum('SP.AddFieldOptions', false);
SP.AlertDeliveryChannel = function() {
};
SP.AlertDeliveryChannel.prototype = {
email: 1,
sms: 2
};
SP.AlertDeliveryChannel.registerEnum('SP.AlertDeliveryChannel', false);
SP.AlertEventType = function() {
};
SP.AlertEventType.prototype = {
addObject: 1,
modifyObject: 2,
deleteObject: 4,
discussion: 4080,
all: -1
};
SP.AlertEventType.registerEnum('SP.AlertEventType', false);
SP.AlertFrequency = function() {
};
SP.AlertFrequency.prototype = {
immediate: 0,
daily: 1,
weekly: 2
};
SP.AlertFrequency.registerEnum('SP.AlertFrequency', false);
SP.AlertStatus = function() {
};
SP.AlertStatus.prototype = {
on: 0,
off: 1,
error: 2
};
SP.AlertStatus.registerEnum('SP.AlertStatus', false);
SP.AlertType = function() {
};
SP.AlertType.prototype = {
list: 0,
item: 1,
custom: 2
};
SP.AlertType.registerEnum('SP.AlertType', false);
SP.AnonymousLinkType = function() {
};
SP.AnonymousLinkType.prototype = {
none: 0,
view: 1,
edit: 2
};
SP.AnonymousLinkType.registerEnum('SP.AnonymousLinkType', false);
SP.AppInstanceErrorSource = function() {
};
SP.AppInstanceErrorSource.prototype = {
common: 0,
appWeb: 1,
parentWeb: 2,
remoteWebSite: 3,
database: 4,
officeExtension: 5,
eventCallouts: 6,
finalization: 7
};
SP.AppInstanceErrorSource.registerEnum('SP.AppInstanceErrorSource', false);
SP.AppInstanceErrorType = function() {
};
SP.AppInstanceErrorType.prototype = {
transient: 0,
configuration: 1,
app: 2
};
SP.AppInstanceErrorType.registerEnum('SP.AppInstanceErrorType', false);
SP.AppInstanceStatus = function() {
};
SP.AppInstanceStatus.prototype = {
invalidStatus: 0,
installing: 1,
canceling: 7,
uninstalling: 4,
installed: 5,
upgrading: 8,
initialized: 9,
upgradeCanceling: 10,
disabling: 11,
disabled: 12,
secretRolling: 13,
recycling: 14,
recycled: 15,
restoring: 16,
restoreCanceling: 17
};
SP.AppInstanceStatus.registerEnum('SP.AppInstanceStatus', false);
SP.AppLicenseType = function() {
};
SP.AppLicenseType.prototype = {
perpetualMultiUser: 0,
perpetualAllUsers: 1,
trialMultiUser: 2,
trialAllUsers: 3
};
SP.AppLicenseType.registerEnum('SP.AppLicenseType', false);
SP.AppStatus = function() {
};
SP.AppStatus.prototype = {
invalidStatus: 0,
installing: 1,
canceling: 2,
uninstalling: 3,
installed: 4,
upgrading: 5,
initialized: 6,
upgradeCanceling: 7,
disabling: 8,
disabled: 9,
secretRolling: 10,
recycling: 11,
recycled: 12,
restoring: 13,
restoreCanceling: 14
};
SP.AppStatus.registerEnum('SP.AppStatus', false);
SP.AppType = function() {
};
SP.AppType.prototype = {
doclib: 0,
list: 1,
tenant: 2,
instance: 3,
feature: 4,
commonList: 5
};
SP.AppType.registerEnum('SP.AppType', false);
SP.AuditMaskType = function() {
};
SP.AuditMaskType.prototype = {
none: 0,
checkOut: 1,
checkIn: 2,
view: 4,
objectDelete: 8,
update: 16,
profileChange: 32,
childDelete: 64,
schemaChange: 128,
securityChange: 256,
undelete: 512,
workflow: 1024,
copy: 2048,
move: 4096,
search: 8192,
all: -1
};
SP.AuditMaskType.registerEnum('SP.AuditMaskType', false);
SP.BaseType = function() {
};
SP.BaseType.prototype = {
none: -1,
genericList: 0,
documentLibrary: 1,
unused: 2,
discussionBoard: 3,
survey: 4,
issue: 5
};
SP.BaseType.registerEnum('SP.BaseType', false);
SP.BrowserFileHandling = function() {
};
SP.BrowserFileHandling.prototype = {
permissive: 0,
strict: 1
};
SP.BrowserFileHandling.registerEnum('SP.BrowserFileHandling', false);
SP.CalendarType = function() {
};
SP.CalendarType.prototype = {
none: 0,
gregorian: 1,
japan: 3,
taiwan: 4,
korea: 5,
hijri: 6,
thai: 7,
hebrew: 8,
gregorianMEFrench: 9,
gregorianArabic: 10,
gregorianXLITEnglish: 11,
gregorianXLITFrench: 12,
koreaJapanLunar: 14,
chineseLunar: 15,
sakaEra: 16,
umAlQura: 23
};
SP.CalendarType.registerEnum('SP.CalendarType', false);
SP.ChangeType = function() {
};
SP.ChangeType.prototype = {
noChange: 0,
add: 1,
update: 2,
deleteObject: 3,
rename: 4,
moveAway: 5,
moveInto: 6,
restore: 7,
roleAdd: 8,
roleDelete: 9,
roleUpdate: 10,
assignmentAdd: 11,
assignmentDelete: 12,
memberAdd: 13,
memberDelete: 14,
systemUpdate: 15,
navigation: 16,
scopeAdd: 17,
scopeDelete: 18,
listContentTypeAdd: 19,
listContentTypeDelete: 20,
dirty: 21,
activity: 22
};
SP.ChangeType.registerEnum('SP.ChangeType', false);
SP.CheckinType = function() {
};
SP.CheckinType.prototype = {
minorCheckIn: 0,
majorCheckIn: 1,
overwriteCheckIn: 2
};
SP.CheckinType.registerEnum('SP.CheckinType', false);
SP.CheckOutType = function() {
};
SP.CheckOutType.prototype = {
online: 0,
offline: 1,
none: 2
};
SP.CheckOutType.registerEnum('SP.CheckOutType', false);
SP.ChoiceFormatType = function() {
};
SP.ChoiceFormatType.prototype = {
dropdown: 0,
radioButtons: 1
};
SP.ChoiceFormatType.registerEnum('SP.ChoiceFormatType', false);
SP.CustomerKeyStatus = function() {
};
SP.CustomerKeyStatus.prototype = {
unregistered: 0,
registering: 1,
registered: 2,
rolling: 3,
recovering: 4
};
SP.CustomerKeyStatus.registerEnum('SP.CustomerKeyStatus', false);
SP.CustomerKeyVaultKeyType = function() {
};
SP.CustomerKeyVaultKeyType.prototype = {
primary: 0,
secondary: 1,
recovery: 2
};
SP.CustomerKeyVaultKeyType.registerEnum('SP.CustomerKeyVaultKeyType', false);
SP.CustomerRecoveryKeyMode = function() {
};
SP.CustomerRecoveryKeyMode.prototype = {
standard: 0,
noRecoveryKey: 1,
customerControlled: 2
};
SP.CustomerRecoveryKeyMode.registerEnum('SP.CustomerRecoveryKeyMode', false);
SP.CustomizedPageStatus = function() {
};
SP.CustomizedPageStatus.prototype = {
none: 0,
uncustomized: 1,
customized: 2
};
SP.CustomizedPageStatus.registerEnum('SP.CustomizedPageStatus', false);
SP.DateTimeFieldFormatType = function() {
};
SP.DateTimeFieldFormatType.prototype = {
dateOnly: 0,
dateTime: 1
};
SP.DateTimeFieldFormatType.registerEnum('SP.DateTimeFieldFormatType', false);
SP.DateTimeFieldFriendlyFormatType = function() {
};
SP.DateTimeFieldFriendlyFormatType.prototype = {
unspecified: 0,
disabled: 1,
relative: 2
};
SP.DateTimeFieldFriendlyFormatType.registerEnum('SP.DateTimeFieldFriendlyFormatType', false);
SP.DocumentTemplateType = function() {
};
SP.DocumentTemplateType.prototype = {
invalid: 0,
word: 1,
excel: 2,
powerPoint: 3,
oneNote: 4,
excelForm: 5,
visio: 8,
max: 9
};
SP.DocumentTemplateType.registerEnum('SP.DocumentTemplateType', false);
SP.DraftVisibilityType = function() {
};
SP.DraftVisibilityType.prototype = {
reader: 0,
author: 1,
approver: 2
};
SP.DraftVisibilityType.registerEnum('SP.DraftVisibilityType', false);
SP.EnqueueJobStatus = function() {
};
SP.EnqueueJobStatus.prototype = {
failed: 0,
success: 1
};
SP.EnqueueJobStatus.registerEnum('SP.EnqueueJobStatus', false);
SP.EventReceiverSynchronization = function() {
};
SP.EventReceiverSynchronization.prototype = {
defaultSynchronization: 0,
synchronous: 1,
asynchronous: 2
};
SP.EventReceiverSynchronization.registerEnum('SP.EventReceiverSynchronization', false);
SP.EventReceiverType = function() {
};
SP.EventReceiverType.prototype = {
invalidReceiver: -1,
itemAdding: 1,
itemUpdating: 2,
itemDeleting: 3,
itemCheckingIn: 4,
itemCheckingOut: 5,
itemUncheckingOut: 6,
itemAttachmentAdding: 7,
itemAttachmentDeleting: 8,
itemFileMoving: 9,
itemVersionDeleting: 11,
fieldAdding: 101,
fieldUpdating: 102,
fieldDeleting: 103,
listAdding: 104,
listDeleting: 105,
siteDeleting: 201,
webDeleting: 202,
webMoving: 203,
webAdding: 204,
siteMovingFromGeoLocation: 206,
groupAdding: 301,
groupUpdating: 302,
groupDeleting: 303,
groupUserAdding: 304,
groupUserDeleting: 305,
roleDefinitionAdding: 306,
roleDefinitionUpdating: 307,
roleDefinitionDeleting: 308,
roleAssignmentAdding: 309,
roleAssignmentDeleting: 310,
inheritanceBreaking: 311,
inheritanceResetting: 312,
workflowStarting: 501,
itemAdded: 10001,
itemUpdated: 10002,
itemDeleted: 10003,
itemCheckedIn: 10004,
itemCheckedOut: 10005,
itemUncheckedOut: 10006,
itemAttachmentAdded: 10007,
itemAttachmentDeleted: 10008,
itemFileMoved: 10009,
itemFileConverted: 10010,
itemVersionDeleted: 10011,
fieldAdded: 10101,
fieldUpdated: 10102,
fieldDeleted: 10103,
listAdded: 10104,
listDeleted: 10105,
listRestored: 10106,
siteDeleted: 10201,
webDeleted: 10202,
webRestored: 10205,
webMoved: 10203,
webProvisioned: 10204,
groupAdded: 10301,
groupUpdated: 10302,
groupDeleted: 10303,
groupUserAdded: 10304,
groupUserDeleted: 10305,
roleDefinitionAdded: 10306,
roleDefinitionUpdated: 10307,
roleDefinitionDeleted: 10308,
roleAssignmentAdded: 10309,
roleAssignmentDeleted: 10310,
inheritanceBroken: 10311,
inheritanceReset: 10312,
workflowStarted: 10501,
workflowPostponed: 10502,
workflowCompleted: 10503,
entityInstanceAdded: 10601,
entityInstanceUpdated: 10602,
entityInstanceDeleted: 10603,
appInstalled: 10701,
appUpgraded: 10702,
appUninstalling: 10703,
emailReceived: 20000,
contextEvent: 32766
};
SP.EventReceiverType.registerEnum('SP.EventReceiverType', false);
SP.FeatureDefinitionScope = function() {
};
SP.FeatureDefinitionScope.prototype = {
none: 0,
farm: 1,
site: 2,
web: 3
};
SP.FeatureDefinitionScope.registerEnum('SP.FeatureDefinitionScope', false);
SP.FieldIndexStatus = function() {
};
SP.FieldIndexStatus.prototype = {
none: 0,
indexed: 1,
enabling: 2,
disabling: 3
};
SP.FieldIndexStatus.registerEnum('SP.FieldIndexStatus', false);
SP.FieldType = function() {
};
SP.FieldType.prototype = {
invalid: 0,
integer: 1,
text: 2,
note: 3,
dateTime: 4,
counter: 5,
choice: 6,
lookup: 7,
boolean: 8,
number: 9,
currency: 10,
URL: 11,
computed: 12,
threading: 13,
guid: 14,
multiChoice: 15,
gridChoice: 16,
calculated: 17,
file: 18,
attachments: 19,
user: 20,
recurrence: 21,
crossProjectLink: 22,
modStat: 23,
error: 24,
contentTypeId: 25,
pageSeparator: 26,
threadIndex: 27,
workflowStatus: 28,
allDayEvent: 29,
workflowEventType: 30,
geolocation: 31,
outcomeChoice: 32,
location: 33,
thumbnail: 34,
maxItems: 35
};
SP.FieldType.registerEnum('SP.FieldType', false);
SP.FieldUserSelectionMode = function() {
};
SP.FieldUserSelectionMode.prototype = {
peopleOnly: 0,
peopleAndGroups: 1,
groupsOnly: 2
};
SP.FieldUserSelectionMode.registerEnum('SP.FieldUserSelectionMode', false);
SP.FileLevel = function() {
};
SP.FileLevel.prototype = {
published: 1,
draft: 2,
checkout: 255
};
SP.FileLevel.registerEnum('SP.FileLevel', false);
SP.FileSystemObjectType = function() {
};
SP.FileSystemObjectType.prototype = {
invalid: -1,
file: 0,
folder: 1,
web: 2
};
SP.FileSystemObjectType.registerEnum('SP.FileSystemObjectType', false);
SP.FileVersionEventType = function() {
};
SP.FileVersionEventType.prototype = {
share: 1,
rename: 2,
restore: 3,
maxServerType: 28671,
fromClient: 28672
};
SP.FileVersionEventType.registerEnum('SP.FileVersionEventType', false);
SP.FlowSynchronizationStatus = function() {
};
SP.FlowSynchronizationStatus.prototype = {
success: 0,
notFound: 1,
forbidden: 2,
timeOut: 3,
unexpectedError: 4,
badRequest: 5,
suspended: 6,
running: 7
};
SP.FlowSynchronizationStatus.registerEnum('SP.FlowSynchronizationStatus', false);
SP.FooterLayoutType = function() {
};
SP.FooterLayoutType.prototype = {
simple: 0,
extended: 1,
stacked: 2
};
SP.FooterLayoutType.registerEnum('SP.FooterLayoutType', false);
SP.FooterVariantThemeType = function() {
};
SP.FooterVariantThemeType.prototype = {
strong: 0,
neutral: 1,
soft: 2,
none: 3
};
SP.FooterVariantThemeType.registerEnum('SP.FooterVariantThemeType', false);
SP.HeaderLayoutType = function() {
};
SP.HeaderLayoutType.prototype = {
none: 0,
standard: 1,
compact: 2,
minimal: 3,
extended: 4
};
SP.HeaderLayoutType.registerEnum('SP.HeaderLayoutType', false);
SP.ListDataValidationFailureReason = function() {
};
SP.ListDataValidationFailureReason.prototype = {
dataFailure: 0,
formulaError: 1
};
SP.ListDataValidationFailureReason.registerEnum('SP.ListDataValidationFailureReason', false);
SP.ListDataValidationType = function() {
};
SP.ListDataValidationType.prototype = {
userFormulaField: 0,
userFormulaItem: 1,
requiredField: 2,
choiceField: 3,
minMaxField: 4,
textField: 5
};
SP.ListDataValidationType.registerEnum('SP.ListDataValidationType', false);
SP.ListExperience = function() {
};
SP.ListExperience.prototype = {
auto: 0,
newExperience: 1,
classicExperience: 2
};
SP.ListExperience.registerEnum('SP.ListExperience', false);
SP.ListPageRenderType = function() {
};
SP.ListPageRenderType.prototype = {
undefined: 0,
multipeWePart: 1,
jsLinkCustomization: 2,
xslLinkCustomization: 3,
noSPList: 4,
hasBusinessDataField: 5,
hasTaskOutcomeField: 6,
hasPublishingfield: 7,
hasGeolocationField: 8,
hasCustomActionWithCode: 9,
hasMetadataNavFeature: 10,
specialViewType: 11,
listTypeNoSupportForModernMode: 12,
anonymousUser: 13,
listSettingOff: 14,
siteSettingOff: 15,
webSettingOff: 16,
tenantSettingOff: 17,
customizedForm: 18,
docLibNewForm: 19,
unsupportedFieldTypeInForm: 20,
invalidFieldTypeInForm: 21,
invalidControModeInForm: 22,
customizedPage: 23,
listTemplateNotSupported: 24,
wikiPage: 25,
dropOffLibrary: 26,
isUnghosted: 27,
modern: 100
};
SP.ListPageRenderType.registerEnum('SP.ListPageRenderType', false);
SP.ListTemplateType = function() {
};
SP.ListTemplateType.prototype = {
invalidType: -1,
noListTemplate: 0,
genericList: 100,
documentLibrary: 101,
survey: 102,
links: 103,
announcements: 104,
contacts: 105,
events: 106,
tasks: 107,
discussionBoard: 108,
pictureLibrary: 109,
dataSources: 110,
webTemplateCatalog: 111,
userInformation: 112,
webPartCatalog: 113,
listTemplateCatalog: 114,
xmlForm: 115,
masterPageCatalog: 116,
noCodeWorkflows: 117,
workflowProcess: 118,
webPageLibrary: 119,
customGrid: 120,
solutionCatalog: 121,
noCodePublic: 122,
themeCatalog: 123,
designCatalog: 124,
appDataCatalog: 125,
appFilesCatalog: 126,
dataConnectionLibrary: 130,
workflowHistory: 140,
ganttTasks: 150,
helpLibrary: 151,
accessRequest: 160,
promotedLinks: 170,
tasksWithTimelineAndHierarchy: 171,
maintenanceLogs: 175,
meetings: 200,
agenda: 201,
meetingUser: 202,
decision: 204,
meetingObjective: 207,
textBox: 210,
thingsToBring: 211,
homePageLibrary: 212,
posts: 301,
comments: 302,
categories: 303,
facility: 402,
whereabouts: 403,
callTrack: 404,
circulation: 405,
timecard: 420,
holidays: 421,
imeDic: 499,
externalList: 600,
mySiteDocumentLibrary: 700,
issueTracking: 1100,
adminTasks: 1200,
healthRules: 1220,
healthReports: 1221,
developerSiteDraftApps: 1230,
accessApp: 3100,
alchemyMobileForm: 3101,
alchemyApprovalWorkflow: 3102,
sharingLinks: 3300,
hashtagStore: 3400,
recipesTable: 3410,
formulasTable: 3411,
webTemplateExtensionsList: 3415,
itemReferenceCollection: 3500,
itemReferenceReference: 3501,
itemReferenceReferenceCollection: 3502,
contentCenterPrimeLibrary: 1329,
contentCenterSampleLibrary: 1330,
contentCenterModelLibrary: 1328
};
SP.ListTemplateType.registerEnum('SP.ListTemplateType', false);
SP.LogoAlignment = function() {
};
SP.LogoAlignment.prototype = {
left: 0,
middle: 1,
right: 2
};
SP.LogoAlignment.registerEnum('SP.LogoAlignment', false);
SP.MigrationJobState = function() {
};
SP.MigrationJobState.prototype = {
none: 0,
queued: 2,
processing: 4
};
SP.MigrationJobState.registerEnum('SP.MigrationJobState', false);
SP.MigrationNameConflictBehavior = function() {
};
SP.MigrationNameConflictBehavior.prototype = {
fail: 0,
replace: 1,
rename: 2
};
SP.MigrationNameConflictBehavior.registerEnum('SP.MigrationNameConflictBehavior', false);
SP.MoveOperations = function() {
};
SP.MoveOperations.prototype = {
none: 0,
overwrite: 1,
allowBrokenThickets: 8,
bypassApprovePermission: 64,
bypassSharedLock: 256,
retainEditorAndModifiedOnMove: 2048
};
SP.MoveOperations.registerEnum('SP.MoveOperations', false);
SP.OpenWebOptions = function() {
};
SP.OpenWebOptions.prototype = {
none: 0,
initNavigationCache: 1,
initExtendedWebProperties: 2
};
SP.OpenWebOptions.registerEnum('SP.OpenWebOptions', false);
SP.PageType = function() {
};
SP.PageType.prototype = {
invalid: -1,
defaultView: 0,
normalView: 1,
dialogView: 2,
view: 3,
displayForm: 4,
displayFormDialog: 5,
editForm: 6,
editFormDialog: 7,
newForm: 8,
newFormDialog: 9,
solutionForm: 10,
pagE_MAXITEMS: 11
};
SP.PageType.registerEnum('SP.PageType', false);
SP.PolicyTipUserAction = function() {
};
SP.PolicyTipUserAction.prototype = {
override: 0,
reportFalsePositive: 1
};
SP.PolicyTipUserAction.registerEnum('SP.PolicyTipUserAction', false);
SP.PolicyTipUserActionResult = function() {
};
SP.PolicyTipUserActionResult.prototype = {
none: 0,
falsePositiveReported: 1,
overridden: 2,
falsePositiveReportedAndOverridden: 3
};
SP.PolicyTipUserActionResult.registerEnum('SP.PolicyTipUserActionResult', false);
SP.QuickLaunchOptions = function() {
};
SP.QuickLaunchOptions.prototype = {
off: 0,
on: 1,
defaultValue: 2
};
SP.QuickLaunchOptions.registerEnum('SP.QuickLaunchOptions', false);
SP.RecycleBinItemState = function() {
};
SP.RecycleBinItemState.prototype = {
none: 0,
firstStageRecycleBin: 1,
secondStageRecycleBin: 2
};
SP.RecycleBinItemState.registerEnum('SP.RecycleBinItemState', false);
SP.RecycleBinItemType = function() {
};
SP.RecycleBinItemType.prototype = {
none: 0,
file: 1,
fileVersion: 2,
listItem: 3,
list: 4,
folder: 5,
folderWithLists: 6,
attachment: 7,
listItemVersion: 8,
cascadeParent: 9,
web: 10,
app: 11
};
SP.RecycleBinItemType.registerEnum('SP.RecycleBinItemType', false);
SP.RecycleBinOrderBy = function() {
};
SP.RecycleBinOrderBy.prototype = {
min: 0,
defaultOrderBy: 0,
title: 0,
dirName: 1,
author: 2,
deletedDate: 3,
size: 4,
deletedBy: 5,
none: 6,
max: 6
};
SP.RecycleBinOrderBy.registerEnum('SP.RecycleBinOrderBy', false);
SP.RelationshipDeleteBehaviorType = function() {
};
SP.RelationshipDeleteBehaviorType.prototype = {
none: 0,
cascade: 1,
restrict: 2
};
SP.RelationshipDeleteBehaviorType.registerEnum('SP.RelationshipDeleteBehaviorType', false);
SP.RenderListDataOptions = function() {
};
SP.RenderListDataOptions.prototype = {
none: 0,
contextInfo: 1,
listData: 2,
listSchema: 4,
menuView: 8,
listContentType: 16,
fileSystemItemId: 32,
clientFormSchema: 64,
quickLaunch: 128,
spotlight: 256,
visualization: 512,
viewMetadata: 1024,
disableAutoHyperlink: 2048,
enableMediaTAUrls: 4096,
parentInfo: 8192,
pageContextInfo: 16384,
clientSideComponentManifest: 32768,
listAvailableContentTypes: 65536,
folderContentTypeOrder: 131072,
gridInitInfo: 262144,
siteUrlAsMediaTASPItemHost: 524288,
addToOneDrive: 1048576,
spfxCustomActions: 2097152,
customActions: 4194304
};
SP.RenderListDataOptions.registerEnum('SP.RenderListDataOptions', false);
SP.RenderListFormDataOptions = function() {
};
SP.RenderListFormDataOptions.prototype = {
none: 0,
excludeListSchema: 1,
includeAttachments: 2,
includeListViewData: 4,
includeAppendOnlyData: 8,
listSchemaGroupedByContentType: 16,
includeSiteAssetsThumbnailMetadata: 32
};
SP.RenderListFormDataOptions.registerEnum('SP.RenderListFormDataOptions', false);
SP.RoleType = function() {
};
SP.RoleType.prototype = {
none: 0,
guest: 1,
reader: 2,
contributor: 3,
webDesigner: 4,
administrator: 5,
editor: 6,
reviewer: 7,
restrictedReader: 8,
restrictedGuest: 9,
system: 255
};
SP.RoleType.registerEnum('SP.RoleType', false);
SP.RuleOverrideOptions = function() {
};
SP.RuleOverrideOptions.prototype = {
none: 0,
allow: 1,
allowWithJustification: 2
};
SP.RuleOverrideOptions.registerEnum('SP.RuleOverrideOptions', false);
SP.SandboxedCodeActivationCapabilities = function() {
};
SP.SandboxedCodeActivationCapabilities.prototype = {
check: 1,
disabled: 2,
enabled: 3
};
SP.SandboxedCodeActivationCapabilities.registerEnum('SP.SandboxedCodeActivationCapabilities', false);
SP.ScriptSafeExternalEmbedding = function() {
};
SP.ScriptSafeExternalEmbedding.prototype = {
none: 0,
allowedDomains: 1,
all: 2
};
SP.ScriptSafeExternalEmbedding.registerEnum('SP.ScriptSafeExternalEmbedding', false);
SP.SearchBoxInNavBarType = function() {
};
SP.SearchBoxInNavBarType.prototype = {
inherit: 0,
allPages: 1,
modernOnly: 2,
hidden: 3
};
SP.SearchBoxInNavBarType.registerEnum('SP.SearchBoxInNavBarType', false);
SP.SearchScopeType = function() {
};
SP.SearchScopeType.prototype = {
defaultScope: 0,
tenant: 1,
hub: 2,
site: 3
};
SP.SearchScopeType.registerEnum('SP.SearchScopeType', false);
SP.SensitivityLabelWorkItemType = function() {
};
SP.SensitivityLabelWorkItemType.prototype = {
interactiveAutolabel: 1,
nonInteractiveAutolabel: 2
};
SP.SensitivityLabelWorkItemType.registerEnum('SP.SensitivityLabelWorkItemType', false);
SP.SharingLinkKind = function() {
};
SP.SharingLinkKind.prototype = {
uninitialized: 0,
direct: 1,
organizationView: 2,
organizationEdit: 3,
anonymousView: 4,
anonymousEdit: 5,
flexible: 6
};
SP.SharingLinkKind.registerEnum('SP.SharingLinkKind', false);
SP.SharingLinkStatus = function() {
};
SP.SharingLinkStatus.prototype = {
uninitialized: 0,
created: 1,
updated: 2
};
SP.SharingLinkStatus.registerEnum('SP.SharingLinkStatus', false);
SP.SharingOperationStatusCode = function() {
};
SP.SharingOperationStatusCode.prototype = {
completedSuccessfully: 0,
accessRequestsQueued: 1,
noResolvedUsers: -1,
accessDenied: -2,
crossSiteRequestNotSupported: -3,
unknowError: -4,
emailBodyTooLong: -5,
listUniqueScopesExceeded: -6,
capabilityDisabled: -7,
objectNotSupported: -8,
nestedGroupsNotSupported: -9,
quotaExceeded: -10,
invalidValue: -11,
userDoesNotExist: -12,
tooManyChildItemsWithUniqueScopes: -13,
operationCancelled: -14,
sharingBufferExceeded: -15,
invalidObjectStatus: -16,
mountPointSharingNotAllowed: -17,
requestThrottled: -18,
fileNotFound: -19
};
SP.SharingOperationStatusCode.registerEnum('SP.SharingOperationStatusCode', false);
SP.SharingPermissionKind = function() {
};
SP.SharingPermissionKind.prototype = {
group: 0,
role: 1
};
SP.SharingPermissionKind.registerEnum('SP.SharingPermissionKind', false);
SP.SharingState = function() {
};
SP.SharingState.prototype = {
unspecified: 0,
on: 1,
off: 2
};
SP.SharingState.registerEnum('SP.SharingState', false);
SP.ShowInFiltersPaneStatus = function() {
};
SP.ShowInFiltersPaneStatus.prototype = {
auto: 0,
pinned: 1,
removed: 2
};
SP.ShowInFiltersPaneStatus.registerEnum('SP.ShowInFiltersPaneStatus', false);
SP.SPAIPLabelExtractionStatus = function() {
};
SP.SPAIPLabelExtractionStatus.prototype = {
none: 0,
extracted: 1,
notExtracted: 2,
error: 3
};
SP.SPAIPLabelExtractionStatus.registerEnum('SP.SPAIPLabelExtractionStatus', false);
SP.SPChangeActivityType = function() {
};
SP.SPChangeActivityType.prototype = {
noActivity: 0,
hashtag: 1,
spotlight: 2,
comment: 3
};
SP.SPChangeActivityType.registerEnum('SP.SPChangeActivityType', false);
SP.SpecialFolderType = function() {
};
SP.SpecialFolderType.prototype = {
attachment: 0,
photos: 1,
cameraRoll: 2,
music: 3,
apps: 4,
appRoot: 5,
desktop: 6,
documents: 7,
screenShots: 8,
templates: 9,
officeScripts: 10,
recordings: 11,
meetings: 12
};
SP.SpecialFolderType.registerEnum('SP.SpecialFolderType', false);
SP.SPEffectiveInformationRightsManagementSettingsSource = function() {
};
SP.SPEffectiveInformationRightsManagementSettingsSource.prototype = {
none: 0,
file: 1,
list: 2,
rule: 3
};
SP.SPEffectiveInformationRightsManagementSettingsSource.registerEnum('SP.SPEffectiveInformationRightsManagementSettingsSource', false);
SP.SPNavigationFlags = function() {
};
SP.SPNavigationFlags.prototype = {
none: 0,
openInNewWindow: 1,
isOpenInNewWindowSet: 2
};
SP.SPNavigationFlags.registerEnum('SP.SPNavigationFlags', false);
SP.SPOpenBinaryOptions = function() {
};
SP.SPOpenBinaryOptions.prototype = {
none: 0,
unprotected: 2,
skipVirusScan: 4,
minimizeProcessing: 1,
getAsZipWithAltStreamsIfAvailable: 1048576
};
SP.SPOpenBinaryOptions.registerEnum('SP.SPOpenBinaryOptions', false);
SP.SPResourceLCIDSource = function() {
};
SP.SPResourceLCIDSource.prototype = {
invalid: 0,
web: 1,
user: 2
};
SP.SPResourceLCIDSource.registerEnum('SP.SPResourceLCIDSource', false);
SP.SPSensivityLabelAssignmentMethod = function() {
};
SP.SPSensivityLabelAssignmentMethod.prototype = {
none: 0,
standard: 1,
privileged: 2,
auto: 3
};
SP.SPSensivityLabelAssignmentMethod.registerEnum('SP.SPSensivityLabelAssignmentMethod', false);
SP.SPTeamsChannelType = function() {
};
SP.SPTeamsChannelType.prototype = {
none: 0,
privateChannel: 1,
sharedChannel: 2,
standardChannel: 3
};
SP.SPTeamsChannelType.registerEnum('SP.SPTeamsChannelType', false);
SP.SPVariantThemeType = function() {
};
SP.SPVariantThemeType.prototype = {
none: 0,
neutral: 1,
soft: 2,
strong: 3
};
SP.SPVariantThemeType.registerEnum('SP.SPVariantThemeType', false);
SP.SPVirusCheckStatus = function() {
};
SP.SPVirusCheckStatus.prototype = {
clean: 0,
infected: 1,
infectedCleanable: 2,
cleaned: 3,
cleanFailed: 4,
deleted: 5,
timeout: 6
};
SP.SPVirusCheckStatus.registerEnum('SP.SPVirusCheckStatus', false);
SP.TemplateFileType = function() {
};
SP.TemplateFileType.prototype = {
invalid: -1,
standardPage: 0,
wikiPage: 1,
formPage: 2,
clientSidePage: 3
};
SP.TemplateFileType.registerEnum('SP.TemplateFileType', false);
SP.UpgradeStatus = function() {
};
SP.UpgradeStatus.prototype = {
none: 0,
inProgress: 1,
failed: 2,
completed: 3
};
SP.UpgradeStatus.registerEnum('SP.UpgradeStatus', false);
SP.UpgradeType = function() {
};
SP.UpgradeType.prototype = {
buildUpgrade: 0,
versionUpgrade: 1
};
SP.UpgradeType.registerEnum('SP.UpgradeType', false);
SP.UrlFieldFormatType = function() {
};
SP.UrlFieldFormatType.prototype = {
hyperlink: 0,
image: 1
};
SP.UrlFieldFormatType.registerEnum('SP.UrlFieldFormatType', false);
SP.UrlZone = function() {
};
SP.UrlZone.prototype = {
defaultZone: 0,
intranet: 1,
internet: 2,
custom: 3,
extranet: 4
};
SP.UrlZone.registerEnum('SP.UrlZone', false);
SP.UserCustomActionRegistrationType = function() {
};
SP.UserCustomActionRegistrationType.prototype = {
none: 0,
list: 1,
contentType: 2,
progId: 3,
fileType: 4
};
SP.UserCustomActionRegistrationType.registerEnum('SP.UserCustomActionRegistrationType', false);
SP.UserCustomActionScope = function() {
};
SP.UserCustomActionScope.prototype = {
unknown: 0,
site: 2,
web: 3,
list: 4
};
SP.UserCustomActionScope.registerEnum('SP.UserCustomActionScope', false);
SP.UserResourceScope = function() {
};
SP.UserResourceScope.prototype = {
web: 0,
list: 1
};
SP.UserResourceScope.registerEnum('SP.UserResourceScope', false);
SP.UserResourceType = function() {
};
SP.UserResourceType.prototype = {
singleLine: 0,
multiLine: 1
};
SP.UserResourceType.registerEnum('SP.UserResourceType', false);
SP.UserSharingCapabilities = function() {
};
SP.UserSharingCapabilities.prototype = {
none: 0,
canShareInternally: 1,
canShareExternally: 2,
canUseReadonlyLink: 4,
canManageReadonlyLink: 8,
canUseReadWriteLink: 16,
canManageReadWriteLink: 32,
canUseOrganizationReadonlyLink: 64,
canManageOrganizationReadonlyLink: 128,
canUseOrganizationReadWriteLink: 256,
canManageOrganizationReadWriteLink: 512,
canUsePeopleSharingReadonlyLink: 1024,
canManagePeopleSharingReadonlyLink: 2048,
canUsePeopleSharingReadWriteLink: 4096,
canManagePeopleSharingReadWriteLink: 8192,
canUseManageListLink: 16384,
canManageManageListLink: 32768,
canUseOrganizationManageListLink: 65536,
canManageOrganizationManageListLink: 131072,
canUsePeopleSharingManageListLink: 262144,
canManagePeopleSharingManageListLink: 524288
};
SP.UserSharingCapabilities.registerEnum('SP.UserSharingCapabilities', false);
SP.ViewScope = function() {
};
SP.ViewScope.prototype = {
defaultValue: 0,
recursive: 1,
recursiveAll: 2,
filesOnly: 3
};
SP.ViewScope.registerEnum('SP.ViewScope', false);
SP.ViewType = function() {
};
SP.ViewType.prototype = {
none: 0,
html: 1,
grid: 2048,
calendar: 524288,
recurrence: 8193,
chart: 131072,
gantt: 67108864
};
SP.ViewType.registerEnum('SP.ViewType', false);
SP.VisualizationAppSynchronizationStatus = function() {
};
SP.VisualizationAppSynchronizationStatus.prototype = {
success: 0,
notFound: 1,
forbidden: 2,
timeOut: 3,
unexpectedError: 4,
badRequest: 5,
suspended: 6,
jobFinish: 7
};
SP.VisualizationAppSynchronizationStatus.registerEnum('SP.VisualizationAppSynchronizationStatus', false);
SP.VisualizationAppTarget = function() {
};
SP.VisualizationAppTarget.prototype = {
richClient: 0,
browser: 1
};
SP.VisualizationAppTarget.registerEnum('SP.VisualizationAppTarget', false);
SP.VisualizationType = function() {
};
SP.VisualizationType.prototype = {
standard: 0,
custom: 1,
visualizationApp: 2
};
SP.VisualizationType.registerEnum('SP.VisualizationType', false);
SP.ClientContext = function SP_ClientContext(serverRelativeUrlOrFullUrl) {
SP.ClientContext.initializeBase(this, [SP.ScriptUtility.isNullOrUndefined(serverRelativeUrlOrFullUrl) ? SP.ClientContext.$D6() : serverRelativeUrlOrFullUrl]);
this.set_formDigestHandlingEnabled(true);
};
SP.ClientContext.$D6 = function SP_ClientContext$$D6() {
var $v_0 = window._spPageContextInfo;
if ($v_0) {
return $v_0.webServerRelativeUrl;
}
throw Error.invalidOperation(SP.ResResources.getString('CannotFindContextWebServerRelativeUrl'));
};
SP.ClientContext.get_current = function SP_ClientContext$get_current() {
if (!SP.ClientContext.$2g) {
var $v_0 = null;
var $v_1 = window._spPageContextInfo;
var $v_2 = false;
if ($v_1) {
$v_0 = $v_1.webServerRelativeUrl;
}
if (SP.ScriptUtility.isNullOrEmptyString($v_0)) {
$v_0 = window.location.href;
var $v_3 = $v_0.indexOf('?');
if ($v_3 > 0) {
$v_0 = $v_0.substr(0, $v_3);
}
$v_3 = $v_0.indexOf('#');
if ($v_3 > 0) {
$v_0 = $v_0.substr(0, $v_3);
}
var $v_4 = false;
var $v_5 = $v_0.toLowerCase();
var $v_6 = ['/_layouts', '/_vti_bin'];
for (var $v_7 = 0; $v_7 < $v_6.length; $v_7++) {
$v_3 = $v_5.indexOf($v_6[$v_7]);
if ($v_3 > 0) {
$v_0 = $v_0.substr(0, $v_3);
$v_4 = true;
break;
}
}
if (!$v_4) {
$v_3 = $v_0.lastIndexOf('.');
if ($v_3 > 0) {
$v_0 = $v_0.substr(0, $v_3);
}
}
$v_2 = true;
}
SP.ClientContext.$2g = new SP.ClientContext($v_0);
SP.ClientContext.$2g.set_isPageUrl($v_2);
}
return SP.ClientContext.$2g;
};
SP.ClientContext.prototype = {
$Y_1: null,
get_web: function SP_ClientContext$get_web() {
if (!this.$Y_1) {
var $v_0 = SP.RequestContext.getCurrent(this);
this.$Y_1 = $v_0.get_web();
}
return this.$Y_1;
},
$Q_1: null,
get_site: function SP_ClientContext$get_site() {
if (!this.$Q_1) {
var $v_0 = SP.RequestContext.getCurrent(this);
this.$Q_1 = $v_0.get_site();
}
return this.$Q_1;
},
$1w_1: null,
get_requestResources: function SP_ClientContext$get_requestResources() {
if (!this.$1w_1) {
this.$1w_1 = new SP.RequestResources();
}
return this.$1w_1;
},
get_$DU_1: function SP_ClientContext$get_$DU_1() {
if (!this.$1w_1) {
return null;
}
return this.$1w_1.$DX_0();
},
get_serverVersion: function SP_ClientContext$get_serverVersion() {
return this.get_serverLibraryVersion();
},
executeClientRequestAsync: function SP_ClientContext$executeClientRequestAsync(request, succeededCallback, failedCallback) {
var $v_0 = this.get_$DU_1();
if (!SP.ScriptUtility.isNullOrEmptyString($v_0)) {
((request.get_webRequest()).get_headers())['X-SP-REQUESTRESOURCES'] = $v_0;
}
SP.ClientRuntimeContext.prototype.executeClientRequestAsync.call(this, request, succeededCallback, failedCallback);
}
};
SP.RequestResources = function SP_RequestResources() {
};
SP.RequestResources.prototype = {
$4_0: null,
$E_0: null,
$9j_0: false,
$A0_0: false,
$4l_0: false,
$7e_0: false,
get_listId: function SP_RequestResources$get_listId() {
return this.$4_0;
},
set_listId: function SP_RequestResources$set_listId(value) {
this.$4_0 = value;
return value;
},
get_userInformationList: function SP_RequestResources$get_userInformationList() {
return this.$9j_0;
},
set_userInformationList: function SP_RequestResources$set_userInformationList(value) {
this.$9j_0 = value;
return value;
},
get_webProperties: function SP_RequestResources$get_webProperties() {
return this.$A0_0;
},
set_webProperties: function SP_RequestResources$set_webProperties(value) {
this.$A0_0 = value;
return value;
},
get_features: function SP_RequestResources$get_features() {
return this.$4l_0;
},
set_features: function SP_RequestResources$set_features(value) {
this.$4l_0 = value;
return value;
},
get_navigationStructure: function SP_RequestResources$get_navigationStructure() {
return this.$7e_0;
},
set_navigationStructure: function SP_RequestResources$set_navigationStructure(value) {
this.$7e_0 = value;
return value;
},
get_viewId: function SP_RequestResources$get_viewId() {
return this.$E_0;
},
set_viewId: function SP_RequestResources$set_viewId(value) {
this.$E_0 = value;
return value;
},
$DX_0: function SP_RequestResources$$DX_0() {
var $v_0 = new Sys.StringBuilder();
if (this.$9j_0) {
$v_0.append('USERINFOLIST');
}
if (this.$A0_0) {
if (!$v_0.isEmpty()) {
$v_0.append(',');
}
$v_0.append('WEBPROPERTIES');
}
if (this.$4l_0) {
if (!$v_0.isEmpty()) {
$v_0.append(',');
}
$v_0.append('FEATURES');
}
if (this.$7e_0) {
if (!$v_0.isEmpty()) {
$v_0.append(',');
}
$v_0.append('NAVIGATIONSTRUCTURE');
}
if (!SP.ScriptUtility.isNullOrUndefined(this.$4_0) && !this.$4_0.equals(SP.Guid.get_empty())) {
if (!$v_0.isEmpty()) {
$v_0.append(',');
}
$v_0.append('LIST');
$v_0.append('=');
$v_0.append(this.$4_0.toString());
}
if (!SP.ScriptUtility.isNullOrUndefined(this.$E_0) && !this.$E_0.equals(SP.Guid.get_empty())) {
if (!$v_0.isEmpty()) {
$v_0.append(',');
}
$v_0.append('VIEW');
$v_0.append('=');
$v_0.append(this.$E_0.toString());
}
return $v_0.toString();
}
};
SP.ULS = function SP_ULS() {
};
SP.ULS.$Cf = function SP_ULS$$Cf() {
if (SP.ULS.$CZ) {
return null;
}
var $v_0 = window.top.s_sp_debugWindow;
if (SP.ScriptUtility.isNullOrUndefined($v_0) || $v_0.closed) {
try {
$v_0 = window.open('/_layouts/' + 15 + '/blank.htm', null, 'width=400,height=200,scrollbars=yes,resizable=yes,status=no,location=no,menubar=no,toolbar=no');
}
catch ($$e_1) {
SP.ULS.$CZ = true;
}
if ($v_0) {
window.setTimeout(SP.ULS.$D7, 100);
}
window.top.s_sp_debugWindow = $v_0;
}
return $v_0;
};
SP.ULS.$D7 = function SP_ULS$$D7() {
var $v_0 = window.top.s_sp_debugWindow;
if (!$v_0) {
return;
}
try {
var $v_1 = $v_0.document;
var $v_2;
$v_2 = $v_1.createElement('DIV');
$v_1.body.appendChild($v_2);
var $v_3 = $v_1.createElement('INPUT');
$v_3.setAttribute('type', 'checkbox');
$v_3.id = 'UlsConfigTraceApi';
$v_2.appendChild($v_3);
$v_2.appendChild($v_1.createTextNode('Trace API'));
$v_2 = $v_1.createElement('DIV');
$v_2.id = 'UlsLogs';
$v_1.body.appendChild($v_2);
$v_2 = $v_1.getElementById('UlsLogs');
$v_2.appendChild($v_1.createTextNode('Use double-click to clear the entries.'));
$addHandler($v_1.body, 'dblclick', SP.ULS.$Cr);
$addHandler($v_3, 'click', SP.ULS.$DY);
$v_1.title = 'Debug Output';
}
catch ($$e_4) { }
};
SP.ULS.get_enabled = function SP_ULS$get_enabled() {
return SP.ULS.$1z;
};
SP.ULS.set_enabled = function SP_ULS$set_enabled(value) {
SP.ULS.$1z = value;
return value;
};
SP.ULS.log = function SP_ULS$log(debugMessage) {
if (!SP.ULS.$1z) {
return;
}
var $v_0 = (new Date()).format('hh:mm:ss.ffff');
var $v_1 = SP.ULS.$1R + debugMessage;
if (SP.ULS.$o) {
for (var $v_3 = 0; $v_3 < SP.ULS.$o.length; $v_3++) {
var $v_4 = SP.ULS.$o[$v_3];
var $v_5 = SP.ULS.$Cj($v_4['time'], $v_4['msg']);
if (!$v_5) {
SP.ULS.$Cn($v_0, $v_1);
return;
}
}
SP.ULS.$o = null;
}
var $v_2 = SP.ULS.$Cj($v_0, $v_1);
if (!$v_2) {
SP.ULS.$Cn($v_0, $v_1);
}
};
SP.ULS.$Cn = function SP_ULS$$Cn($p0, $p1) {
if (!SP.ULS.$o) {
SP.ULS.$o = new Array(0);
}
var $v_0 = {};
$v_0['time'] = $p0;
$v_0['msg'] = $p1;
SP.ULS.$o[SP.ULS.$o.length] = $v_0;
};
SP.ULS.$Cj = function SP_ULS$$Cj($p0, $p1) {
var $v_0 = SP.ULS.$Cf();
if ($v_0) {
try {
var $v_1 = $v_0.document.createElement('DIV');
$v_1.style.fontSize = '8pt';
$v_1.style.fontFamily = 'Consolas, Courier, Sans-Serif';
if (SP.ULS.$AB) {
$v_1.style.backgroundColor = 'gray';
}
SP.ULS.$AB = !SP.ULS.$AB;
var $v_2 = $v_0.document.createElement('SPAN');
$v_2.style.fontWeight = 'bold';
var $v_3 = $v_0.document.createElement('SPAN');
$v_1.appendChild($v_2);
$v_1.appendChild($v_3);
var $v_4 = $v_0.document.getElementById('UlsLogs');
if ($v_4) {
$v_4.appendChild($v_1);
SP.UI.UIUtility.setInnerText($v_2, $p0);
SP.UI.UIUtility.setInnerText($v_3, $p1);
return true;
}
}
catch ($$e_7) { }
}
return false;
};
SP.ULS.$Cr = function SP_ULS$$Cr($p0) {
var $v_0 = SP.ULS.$Cf();
if ($v_0 && $v_0.document) {
($v_0.document.getElementById('UlsLogs')).innerHTML = '';
}
};
SP.ULS.$DY = function SP_ULS$$DY($p0) {
SP.ULS.$AC = $p0.target.checked;
};
SP.ULS.increaseIndent = function SP_ULS$increaseIndent() {
SP.ULS.$Ca++;
SP.ULS.$1R = SP.ULS.$1R + String.fromCharCode(160);
};
SP.ULS.decreaseIndent = function SP_ULS$decreaseIndent() {
SP.ULS.$Ca--;
if (SP.ULS.$1R.length > 0) {
SP.ULS.$1R = SP.ULS.$1R.substr(0, SP.ULS.$1R.length - 1);
}
};
SP.ULS.traceApiEnter = function SP_ULS$traceApiEnter(functionName) {
if (!SP.ULS.$1z) {
return;
}
if (!SP.ULS.$AC) {
return;
}
SP.ULS.$Cb.push(functionName);
var $v_0 = 'Enter ' + functionName + '(';
for (var $v_1 = 1; $v_1 < arguments.length; $v_1++) {
var $v_2 = arguments[$v_1];
if ($v_1 !== 1) {
$v_0 = $v_0 + ', ';
}
switch (typeof $v_2) {
case 'number':
$v_0 = $v_0 + $v_2.toString();
break;
case 'string':
$v_0 = $v_0 + $v_2;
break;
case 'boolean':
$v_0 = $v_0 + $v_2.toString();
break;
case 'object':
$v_0 = $v_0 + '[object]';
break;
default:
$v_0 = $v_0 + '[unknownobj]';
break;
}
}
$v_0 += ')';
SP.ULS.log($v_0);
SP.ULS.increaseIndent();
};
SP.ULS.traceApiLeave = function SP_ULS$traceApiLeave() {
if (!SP.ULS.$1z) {
return;
}
if (!SP.ULS.$AC) {
return;
}
SP.ULS.decreaseIndent();
var $v_0 = SP.ULS.$Cb.pop();
var $v_1 = 'Leave ' + $v_0;
SP.ULS.log($v_1);
};
SP.AccessRequests = function SP_AccessRequests() {
};
SP.AccessRequests.changeRequestStatus = function SP_AccessRequests$changeRequestStatus(context, itemId, newStatus, convStr, permType, permissionLevel) {
if (!context) {
throw Error.argumentNull('context');
}
var $v_0 = new SP.ClientActionInvokeStaticMethod(context, '{e7dae9f6-8aa5-4b86-92c8-61941d774c44}', 'ChangeRequestStatus', [itemId, newStatus, convStr, permType, permissionLevel]);
context.addQuery($v_0);
};
SP.AccessRequests.changeRequestStatusBulk = function SP_AccessRequests$changeRequestStatusBulk(context, requestIds, newStatus) {
if (!context) {
throw Error.argumentNull('context');
}
var $v_0 = new SP.ClientActionInvokeStaticMethod(context, '{e7dae9f6-8aa5-4b86-92c8-61941d774c44}', 'ChangeRequestStatusBulk', [requestIds, newStatus]);
context.addQuery($v_0);
};
SP.AccessRequests.updateConversation = function SP_AccessRequests$updateConversation(context, itemId, convStr, web) {
if (!context) {
throw Error.argumentNull('context');
}
var $v_0 = new SP.ClientActionInvokeStaticMethod(context, '{e7dae9f6-8aa5-4b86-92c8-61941d774c44}', 'UpdateConversation', [itemId, convStr, web]);
context.addQuery($v_0);
};
SP.Alert = function SP_Alert(context, objectPath) {
SP.Alert.initializeBase(this, [context, objectPath]);
};
SP.Alert.prototype = {
get_alertFrequency: function SP_Alert$get_alertFrequency() {
this.checkUninitializedProperty('AlertFrequency');
return ((this.get_objectData()).get_properties())['AlertFrequency'];
},
set_alertFrequency: function SP_Alert$set_alertFrequency(value) {
((this.get_objectData()).get_properties())['AlertFrequency'] = value;
if (this.get_context()) {
(this.get_context()).addQuery(new SP.ClientActionSetProperty(this, 'AlertFrequency', value));
}
return value;
},
get_alertTemplateName: function SP_Alert$get_alertTemplateName() {
this.checkUninitializedProperty('AlertTemplateName');
return ((this.get_objectData()).get_properties())['AlertTemplateName'];
},
get_alertTime: function SP_Alert$get_alertTime() {
this.checkUninitializedProperty('AlertTime');
return ((this.get_objectData()).get_properties())['AlertTime'];
},
set_alertTime: function SP_Alert$set_alertTime(value) {
((this.get_objectData()).get_properties())['AlertTime'] = value;
if (this.get_context()) {
(this.get_context()).addQuery(new SP.ClientActionSetProperty(this, 'AlertTime', value));
}
return value;
},
get_alertType: function SP_Alert$get_alertType() {
this.checkUninitializedProperty('AlertType');
return ((this.get_objectData()).get_properties())['AlertType'];
},
get_allProperties: function SP_Alert$get_allProperties() {
var $v_0 = ((this.get_objectData()).get_clientObjectProperties())['AllProperties'];
if (SP.ScriptUtility.isUndefined($v_0)) {
$v_0 = new SP.PropertyValues(this.get_context(), new SP.ObjectPathProperty(this.get_context(), this.get_path(), 'AllProperties'));
((this.get_objectData()).get_clientObjectProperties())['AllProperties'] = $v_0;
}
return $v_0;
},
get_alwaysNotify: function SP_Alert$get_alwaysNotify() {
this.checkUninitializedProperty('AlwaysNotify');
return ((this.get_objectData()).get_properties())['AlwaysNotify'];
},
set_alwaysNotify: function SP_Alert$set_alwaysNotify(value) {
((this.get_objectData()).get_properties())['AlwaysNotify'] = value;
if (this.get_context()) {
(this.get_context()).addQuery(new SP.ClientActionSetProperty(this, 'AlwaysNotify', value));
}
return value;
},
get_deliveryChannels: function SP_Alert$get_deliveryChannels() {
this.checkUninitializedProperty('DeliveryChannels');
return ((this.get_objectData()).get_properties())['DeliveryChannels'];
},
set_deliveryChannels: function SP_Alert$set_deliveryChannels(value) {
((this.get_objectData()).get_properties())['DeliveryChannels'] = value;
if (this.get_context()) {
(this.get_context()).addQuery(new SP.ClientActionSetProperty(this, 'DeliveryChannels', value));
}
return value;
},
get_eventType: function SP_Alert$get_eventType() {
this.checkUninitializedProperty('EventType');
return ((this.get_objectData()).get_properties())['EventType'];
},
set_eventType: function SP_Alert$set_eventType(value) {
((this.get_objectData()).g