sp-jsom-node
Version:
SharePoint JavaScript Object Model for Node.js
1,725 lines (1,694 loc) • 1.67 MB
JavaScript
{
if ("undefined" == typeof g_all_modules) {
g_all_modules = {};
}
g_all_modules["sp.js"] = {
"version": {
"rmj": 16,
"rmm": 0,
"rup": 10337,
"rpr": 12109
}
};
}
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', true);
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
};
SP.CustomerKeyVaultKeyType.registerEnum('SP.CustomerKeyVaultKeyType', false);
SP.CustomizedPageStatus = function() {
};
SP.CustomizedPageStatus.prototype = {
none: 0,
uncustomized: 1,
customized: 2
};
SP.CustomizedPageStatus.registerEnum('SP.CustomizedPageStatus', true);
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.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,
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.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,
maxItems: 33
};
SP.FieldType.registerEnum('SP.FieldType', false);
SP.FieldUserSelectionMode = function() {
};
SP.FieldUserSelectionMode.prototype = {
peopleOnly: 0,
peopleAndGroups: 1
};
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
};
SP.FlowSynchronizationStatus.registerEnum('SP.FlowSynchronizationStatus', 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
};
SP.ListTemplateType.registerEnum('SP.ListTemplateType', 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
};
SP.MoveOperations.registerEnum('SP.MoveOperations', true);
SP.OpenWebOptions = function() {
};
SP.OpenWebOptions.prototype = {
none: 0,
initNavigationCache: 1
};
SP.OpenWebOptions.registerEnum('SP.OpenWebOptions', true);
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
};
SP.RenderListDataOptions.registerEnum('SP.RenderListDataOptions', true);
SP.RenderListFormDataOptions = function() {
};
SP.RenderListFormDataOptions.prototype = {
none: 0,
excludeListSchema: 1,
includeAttachments: 2,
includeListViewData: 4,
includeAppendOnlyData: 8
};
SP.RenderListFormDataOptions.registerEnum('SP.RenderListFormDataOptions', true);
SP.RoleType = function() {
};
SP.RoleType.prototype = {
none: 0,
guest: 1,
reader: 2,
contributor: 3,
webDesigner: 4,
administrator: 5,
editor: 6,
reviewer: 7,
restrictedReader: 8,
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.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.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
};
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.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
};
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.SPVariantThemeType = function() {
};
SP.SPVariantThemeType.prototype = {
none: 0,
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
};
SP.UserSharingCapabilities.registerEnum('SP.UserSharingCapabilities', true);
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
};
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.$9u() : serverRelativeUrlOrFullUrl]);
this.set_formDigestHandlingEnabled(true);
};
SP.ClientContext.$9u = function SP_ClientContext$$9u$st() {
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$st() {
if (!SP.ClientContext.$2D) {
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.$2D = new SP.ClientContext($v_0);
SP.ClientContext.$2D.set_isPageUrl($v_2);
}
return SP.ClientContext.$2D;
};
SP.ClientContext.prototype = {
$Q_1: null,
get_web: function SP_ClientContext$get_web$in() {
if (!this.$Q_1) {
var $v_0 = SP.RequestContext.getCurrent(this);
this.$Q_1 = $v_0.get_web();
}
return this.$Q_1;
},
$f_1: null,
get_site: function SP_ClientContext$get_site$in() {
if (!this.$f_1) {
var $v_0 = SP.RequestContext.getCurrent(this);
this.$f_1 = $v_0.get_site();
}
return this.$f_1;
},
$1S_1: null,
get_requestResources: function SP_ClientContext$get_requestResources$in() {
if (!this.$1S_1) {
this.$1S_1 = new SP.RequestResources();
}
return this.$1S_1;
},
get_$AI_1: function SP_ClientContext$get_$AI_1$in() {
if (!this.$1S_1) {
return null;
}
return this.$1S_1.$AL_0();
},
get_serverVersion: function SP_ClientContext$get_serverVersion$in() {
return this.get_serverLibraryVersion();
},
executeClientRequestAsync: function SP_ClientContext$executeClientRequestAsync$in(request, succeededCallback, failedCallback) {
var $v_0 = this.get_$AI_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 = {
$9_0: null,
$7_0: null,
$75_0: false,
$7H_0: false,
$3Z_0: false,
$5l_0: false,
get_listId: function SP_RequestResources$get_listId$in() {
return this.$9_0;
},
set_listId: function SP_RequestResources$set_listId$in(value) {
this.$9_0 = value;
return value;
},
get_userInformationList: function SP_RequestResources$get_userInformationList$in() {
return this.$75_0;
},
set_userInformationList: function SP_RequestResources$set_userInformationList$in(value) {
this.$75_0 = value;
return value;
},
get_webProperties: function SP_RequestResources$get_webProperties$in() {
return this.$7H_0;
},
set_webProperties: function SP_RequestResources$set_webProperties$in(value) {
this.$7H_0 = value;
return value;
},
get_features: function SP_RequestResources$get_features$in() {
return this.$3Z_0;
},
set_features: function SP_RequestResources$set_features$in(value) {
this.$3Z_0 = value;
return value;
},
get_navigationStructure: function SP_RequestResources$get_navigationStructure$in() {
return this.$5l_0;
},
set_navigationStructure: function SP_RequestResources$set_navigationStructure$in(value) {
this.$5l_0 = value;
return value;
},
get_viewId: function SP_RequestResources$get_viewId$in() {
return this.$7_0;
},
set_viewId: function SP_RequestResources$set_viewId$in(value) {
this.$7_0 = value;
return value;
},
$AL_0: function SP_RequestResources$$AL_0$in() {
var $v_0 = new Sys.StringBuilder();
if (this.$75_0) {
$v_0.append('USERINFOLIST');
}
if (this.$7H_0) {
if (!$v_0.isEmpty()) {
$v_0.append(',');
}
$v_0.append('WEBPROPERTIES');
}
if (this.$3Z_0) {
if (!$v_0.isEmpty()) {
$v_0.append(',');
}
$v_0.append('FEATURES');
}
if (this.$5l_0) {
if (!$v_0.isEmpty()) {
$v_0.append(',');
}
$v_0.append('NAVIGATIONSTRUCTURE');
}
if (!SP.ScriptUtility.isNullOrUndefined(this.$9_0) && !this.$9_0.equals(SP.Guid.get_empty())) {
if (!$v_0.isEmpty()) {
$v_0.append(',');
}
$v_0.append('LIST');
$v_0.append('=');
$v_0.append(this.$9_0.toString());
}
if (!SP.ScriptUtility.isNullOrUndefined(this.$7_0) && !this.$7_0.equals(SP.Guid.get_empty())) {
if (!$v_0.isEmpty()) {
$v_0.append(',');
}
$v_0.append('VIEW');
$v_0.append('=');
$v_0.append(this.$7_0.toString());
}
return $v_0.toString();
}
};
SP.ULS = function SP_ULS() {
};
SP.ULS.$9T = function SP_ULS$$9T$st() {
if (SP.ULS.$9N) {
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.$9N = true;
}
if ($v_0) {
window.setTimeout(SP.ULS.$9v, 100);
}
window.top.s_sp_debugWindow = $v_0;
}
return $v_0;
};
SP.ULS.$9v = function SP_ULS$$9v$st() {
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.$9e);
$addHandler($v_3, 'click', SP.ULS.$AM);
$v_1.title = 'Debug Output';
}
catch ($$e_4) { }
};
SP.ULS.get_enabled = function SP_ULS$get_enabled$st() {
return SP.ULS.$1V;
};
SP.ULS.set_enabled = function SP_ULS$set_enabled$st(value) {
SP.ULS.$1V = value;
return value;
};
SP.ULS.log = function SP_ULS$log$st(debugMessage) {
if (!SP.ULS.$1V) {
return;
}
var $v_0 = (new Date()).format('hh:mm:ss.ffff');
var $v_1 = SP.ULS.$16 + debugMessage;
if (SP.ULS.$1w) {
for (var $v_3 = 0; $v_3 < SP.ULS.$1w.length; $v_3++) {
var $v_4 = SP.ULS.$1w[$v_3];
var $v_5 = SP.ULS.$9X($v_4['time'], $v_4['msg']);
if (!$v_5) {
return;
}
}
SP.ULS.$1w = null;
}
var $v_2 = SP.ULS.$9X($v_0, $v_1);
if (!$v_2) { }
};
SP.ULS.$9X = function SP_ULS$$9X$st($p0, $p1) {
var $v_0 = SP.ULS.$9T();
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.$7O) {
$v_1.style.backgroundColor = 'gray';
}
SP.ULS.$7O = !SP.ULS.$7O;
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.$9e = function SP_ULS$$9e$st($p0) {
var $v_0 = SP.ULS.$9T();
if ($v_0 && $v_0.document) {
($v_0.document.getElementById('UlsLogs')).innerHTML = '';
}
};
SP.ULS.$AM = function SP_ULS$$AM$st($p0) {
SP.ULS.$7P = $p0.target.checked;
};
SP.ULS.increaseIndent = function SP_ULS$increaseIndent$st() {
SP.ULS.$9O++;
SP.ULS.$16 = SP.ULS.$16 + String.fromCharCode(160);
};
SP.ULS.decreaseIndent = function SP_ULS$decreaseIndent$st() {
SP.ULS.$9O--;
if (SP.ULS.$16.length > 0) {
SP.ULS.$16 = SP.ULS.$16.substr(0, SP.ULS.$16.length - 1);
}
};
SP.ULS.traceApiEnter = function SP_ULS$traceApiEnter$st(functionName) {
if (!SP.ULS.$1V) {
return;
}
if (!SP.ULS.$7P) {
return;
}
SP.ULS.$9P.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.increaseIndent();
};
SP.ULS.traceApiLeave = function SP_ULS$traceApiLeave$st() {
if (!SP.ULS.$1V) {
return;
}
if (!SP.ULS.$7P) {
return;
}
SP.ULS.decreaseIndent();
var $v_0 = SP.ULS.$9P.pop();
var $v_1 = 'Leave ' + $v_0;
};
SP.AccessRequests = function SP_AccessRequests() {
};
SP.AccessRequests.changeRequestStatus = function SP_AccessRequests$changeRequestStatus$st(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$st(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$st(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$in() {
this.checkUninitializedProperty('AlertFrequency');
return ((this.get_objectData()).get_properties())['AlertFrequency'];
},
set_alertFrequency: function SP_Alert$set_alertFrequency$in(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$in() {
this.checkUninitializedProperty('AlertTemplateName');
return ((this.get_objectData()).get_properties())['AlertTemplateName'];
},
get_alertTime: function SP_Alert$get_alertTime$in() {
this.checkUninitializedProperty('AlertTime');
return ((this.get_objectData()).get_properties())['AlertTime'];
},
set_alertTime: function SP_Alert$set_alertTime$in(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$in() {
this.checkUninitializedProperty('AlertType');
return ((this.get_objectData()).get_properties())['AlertType'];
},
get_allProperties: function SP_Alert$get_allProperties$in() {
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$in() {
this.checkUninitializedProperty('AlwaysNotify');
return ((this.get_objectData()).get_properties())['AlwaysNotify'];
},
set_alwaysNotify: function SP_Alert$set_alwaysNotify$in(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$in() {
this.checkUninitializedProperty('DeliveryChannels');
return ((this.get_objectData()).get_properties())['DeliveryChannels'];
},
set_deliveryChannels: function SP_Alert$set_deliveryChannels$in(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$in() {
this.checkUninitializedProperty('EventType');
return ((this.get_objectData()).get_properties())['EventType'];
},
set_eventType: function SP_Alert$set_eventType$in(value) {
((this.get_objectData()).get_properties())['EventType'] = value;
if (this.get_context()) {
(this.get_context()).addQuery(new SP.ClientActionSetProperty(this, 'EventType', value));
}
return value;
},
get_filter: function SP_Alert$get_filter$in() {
this.checkUninitializedProperty('Filter');
return ((this.get_objectData()).get_properties())['Filter'];
},
set_filter: function SP_Alert$set_filter$in(value) {
((this.get_objectData()).get_properties())['Filter'] = value;
if (this.get_context()) {
(this.get_context()).addQuery(new SP.ClientActionSetProperty(this, 'Filter', value));
}
return value;
},
get_id: function SP_Alert$get_id$in() {
this.checkUninitializedProperty('ID');
return ((this.get_objectData()).get_properties())['ID'];
},
get_item: function SP_Alert$get_item$in() {
var $v_0 = ((this.get_objectData()).get_clientObjectProperties())['Item'];
if (SP.ScriptUtility.isUndefined($v_0)) {
$v_0 = new SP.ListItem(this.get_context(), new SP.ObjectPathProperty(this.get_context(), this.get_path(), 'Item'));
((this.get_objectData()).get_clientObjectProperties())['Item'] = $v_0;
}
return $v_0;
},
get_itemID: function SP_Alert$get_itemID$in() {
this.checkUninitializedProperty('ItemID');
return ((this.get_objectData()).get_properties())['ItemID'];
},
get_list: function SP_Alert$get_list$in() {
var $v_0 = ((this.get_objectData()).get_clientObjectProperties())['List'];
if (SP.ScriptUtility.isUndefined($v_0)) {
$v_0 = new SP.List(this.get_context(), new SP.ObjectPathProperty(this.get_context(), this.get_path(), 'List'));
((this.get_objectData()).get_clientObjectProperties())['List'] = $v_0;
}
return $v_0;
},
get_listID: function SP_Alert$get_listID$in() {
this.checkUninitializedProperty('ListID');
return ((this.get_objectData()).get_properties())['ListID'];
},
get_listUrl: function SP_Alert$get_listUrl$in() {
this.checkUninitializedProperty('ListUrl');
return ((this.get_objectData()).get_properties())['ListUrl'];
},
get_properties: function SP_Alert$get_properties$in() {
this.checkUninitializedProperty('Properties');
return ((this.get_objectData()).get_properties())['Properties'];
},
get_status: function SP_Alert$get_status$in() {
this.checkUninitializedProperty('Status');
return ((this.get_objectData()).get_properties())['Status'];
},
set_status: function SP_Alert$set_status$in(value) {
((this.get_objectData()).get_properties())['Status'] = value;
if (this.get_context()) {
(this.get_context()).addQuery(new SP.ClientActionSetProperty(this, 'Status', value));
}
return value;
},
get_title: function SP_Alert$get_title$in() {
this.checkUninitializedProperty('Title');
return ((this.get_objectData()).get_properties())['Title'];
},
set_title: function SP_Alert$set_title$in(value) {
((this.get_objectData()).get_properties())['Title'] = value;
if (this.get_context()) {
(this.get_context()).addQuery(new SP.ClientActionSetProperty(this, 'Title', value));
}
return value;
},
get_user: function SP_Alert$get_user$in() {
var $v_0 = ((this.get_objectData()).get_clientObjectProperties())['User'];
if (SP.ScriptUtility.isUndefined($v_0)) {
$v_0 = new SP.User(this.get_context(), new SP.ObjectPathProperty(this.get_context(), this.get_path(), 'User'));
((this.get_objectData()).get_clientObjectProperties())['User'] = $v_0;
}
return $v_0;
},
get_userId: function SP_Alert$get_userId$in() {
this.checkUninitializedProperty('UserId');
return ((this.get_objectData()).get_properties())['UserId'];
},
initPropertiesFromJson: function SP_Alert$initPropertiesFromJson$in(parentNode) {
SP.ClientObject.prototype.initPropertiesFromJson.call(this, parentNode);
var $v_0;
$v_0 = parentNode.AlertFrequency;
if (!SP.ScriptUtility.isUndefined($v_0)) {
((this.get_objectData()).get_properties())['AlertFrequency'] = SP.DataConvert.fixupType(this.get_context(), $v_0);
delete parentNode.AlertFrequency;
}
$v_0 = parentNode.AlertTemplateName;
if (!SP.ScriptUtility.isUndefined($v_0)) {
((this.get_objectData()).get_properties())['AlertTemplateName'] = $v_0;
delete parentNode.AlertTemplateName;
}
$v_0 = parentNode.AlertTime;
if (!SP.ScriptUtility.isUndefined($v_0)) {
((this.get_objectData()).get_properties())['AlertTime'] = $v_0;
delete parentNode.AlertTime;
}
$v_0 = parentNode.AlertType;
if (!SP.ScriptUtility.isUndefined($v_0)) {
((this.get_objectData()).get_properties())['AlertType'] = SP.DataConvert.fixupType(this.get_context(), $v_0);
delete parentNode.AlertType;
}
$v_0 = parentNode.AllProperties;
if (!SP.ScriptUtility.isUndefined($v_0)) {
this.updateClientObjectPropertyType('AllProperties', this.get_allProperties(), $v_0);
(this.get_allProperties()).fromJson($v_0);
delete parentNode.AllProperties;
}
$v_0 = parentNode.AlwaysNotify;
if (!SP.ScriptUtility.isUndefined($v_0)) {
((this.get_objectData()).get_properties())['AlwaysNotify'] = $v_0;
delete parentNode.AlwaysNotify;
}
$v_0 = parentNode.DeliveryChannels;
if (!SP.ScriptUtility.isUndefined($v_0)) {
((this.get_objectData()).get_properties())['DeliveryChannels'] = SP.DataConvert.fixupType(this.get_context(), $v_0);
delete parentNode.DeliveryChannels;
}
$v_0 = parentNode.EventType;
if (!SP.ScriptUtility.isUndefined($v_0)) {
((this.get_objectData()).get_properties())['EventType'] = SP.DataConvert.fixupType(this.get_context(), $v_0);
delete parentNode.EventType;
}
$v_0 = parentNode.Filter;
if (!SP.ScriptUtility.isUndefined($v_0)) {
((this.get_objectData()).get_properties())['Filter'] = $v_0;
delete parentNode.Filter;
}
$v_0 = parentNode.ID;
if (!SP.ScriptUtility.isUndefined($v_0)) {
((this.get_objectData()).get_properties())['ID'] = $v_0;
delete parentNode.ID;
}
$v_0 = parentNode.Item;
if (!SP.ScriptUtility.isUndefined($v_0)) {
this.updateClientObjectPropertyType('Item', this.get_item(), $v_0);
(this.get_item()).fromJson($v_0);
delete parentNod