UNPKG

@nodert-win10/windows.applicationmodel.contacts

Version:

Use the Windows.ApplicationModel.Contacts UWP API directly from Node.js

1,639 lines (1,319 loc) 50.8 kB
TextSegment = (function () { var cls = function TextSegment() { this.startPosition = new Number(); this.length = new Number(); }; return cls; }) (); exports.TextSegment = TextSegment; Rect = (function () { var cls = function Rect() { }; return cls; }) (); exports.Rect = Rect; _ContactFieldType = function () { this.email = 0; this.phoneNumber = 1; this.location = 2; this.instantMessage = 3; this.custom = 4; this.connectedServiceAccount = 5; this.importantDate = 6; this.address = 7; this.significantOther = 8; this.notes = 9; this.website = 10; this.jobInfo = 11; } exports.ContactFieldType = new _ContactFieldType(); _ContactSelectionMode = function () { this.contacts = 0; this.fields = 1; } exports.ContactSelectionMode = new _ContactSelectionMode(); _ContactEmailKind = function () { this.personal = 0; this.work = 1; this.other = 2; } exports.ContactEmailKind = new _ContactEmailKind(); _ContactPhoneKind = function () { this.home = 0; this.mobile = 1; this.work = 2; this.other = 3; this.pager = 4; this.businessFax = 5; this.homeFax = 6; this.company = 7; this.assistant = 8; this.radio = 9; } exports.ContactPhoneKind = new _ContactPhoneKind(); _ContactAddressKind = function () { this.home = 0; this.work = 1; this.other = 2; } exports.ContactAddressKind = new _ContactAddressKind(); _ContactDateKind = function () { this.birthday = 0; this.anniversary = 1; this.other = 2; } exports.ContactDateKind = new _ContactDateKind(); _ContactChangeType = function () { this.created = 0; this.modified = 1; this.deleted = 2; this.changeTrackingLost = 3; } exports.ContactChangeType = new _ContactChangeType(); _ContactRelationship = function () { this.other = 0; this.spouse = 1; this.partner = 2; this.sibling = 3; this.parent = 4; this.child = 5; } exports.ContactRelationship = new _ContactRelationship(); _ContactQueryDesiredFields = function () { this.none = 0; this.phoneNumber = 1; this.emailAddress = 2; this.postalAddress = 3; } exports.ContactQueryDesiredFields = new _ContactQueryDesiredFields(); _ContactQuerySearchFields = function () { this.none = 0; this.name = 1; this.email = 2; this.phone = 3; this.all = 4; } exports.ContactQuerySearchFields = new _ContactQuerySearchFields(); _ContactQuerySearchScope = function () { this.local = 0; this.server = 1; } exports.ContactQuerySearchScope = new _ContactQuerySearchScope(); _ContactStoreAccessType = function () { this.appContactsReadWrite = 0; this.allContactsReadOnly = 1; this.allContactsReadWrite = 2; } exports.ContactStoreAccessType = new _ContactStoreAccessType(); _ContactAnnotationStoreAccessType = function () { this.appAnnotationsReadWrite = 0; this.allAnnotationsReadWrite = 1; } exports.ContactAnnotationStoreAccessType = new _ContactAnnotationStoreAccessType(); _ContactListOtherAppReadAccess = function () { this.systemOnly = 0; this.limited = 1; this.full = 2; } exports.ContactListOtherAppReadAccess = new _ContactListOtherAppReadAccess(); _ContactListOtherAppWriteAccess = function () { this.none = 0; this.systemOnly = 1; } exports.ContactListOtherAppWriteAccess = new _ContactListOtherAppWriteAccess(); _ContactMatchReasonKind = function () { this.name = 0; this.emailAddress = 1; this.phoneNumber = 2; this.jobInfo = 3; this.yomiName = 4; this.other = 5; } exports.ContactMatchReasonKind = new _ContactMatchReasonKind(); _ContactBatchStatus = function () { this.success = 0; this.serverSearchSyncManagerError = 1; this.serverSearchUnknownError = 2; } exports.ContactBatchStatus = new _ContactBatchStatus(); _ContactAnnotationOperations = function () { this.none = 0; this.contactProfile = 1; this.message = 2; this.audioCall = 3; this.videoCall = 4; this.socialFeeds = 5; } exports.ContactAnnotationOperations = new _ContactAnnotationOperations(); _ContactNameOrder = function () { this.firstNameLastName = 0; this.lastNameFirstName = 1; } exports.ContactNameOrder = new _ContactNameOrder(); _ContactListSyncStatus = function () { this.idle = 0; this.syncing = 1; this.upToDate = 2; this.authenticationError = 3; this.policyError = 4; this.unknownError = 5; this.manualAccountRemovalRequired = 6; } exports.ContactListSyncStatus = new _ContactListSyncStatus(); _ContactCardHeaderKind = function () { this.default = 0; this.basic = 1; this.enterprise = 2; } exports.ContactCardHeaderKind = new _ContactCardHeaderKind(); _ContactCardTabKind = function () { this.default = 0; this.email = 1; this.messaging = 2; this.phone = 3; this.video = 4; } exports.ContactCardTabKind = new _ContactCardTabKind(); _ContactFieldCategory = function () { this.none = 0; this.home = 1; this.work = 2; this.mobile = 3; this.other = 4; } exports.ContactFieldCategory = new _ContactFieldCategory(); Contact = (function () { var cls = function Contact() { this.thumbnail = new Object(); this.name = new String(); this.fields = new Object(); this.id = new String(); this.notes = new String(); this.connectedServiceAccounts = new Object(); this.emails = new Object(); this.addresses = new Object(); this.importantDates = new Object(); this.jobInfo = new Object(); this.dataSuppliers = new Object(); this.phones = new Object(); this.providerProperties = new Object(); this.significantOthers = new Object(); this.websites = new Object(); this.sourceDisplayPicture = new Object(); this.textToneToken = new String(); this.displayNameOverride = new String(); this.displayPictureUserUpdateTime = new Date(); this.nickname = new String(); this.remoteId = new String(); this.ringToneToken = new String(); this.contactListId = new String(); this.largeDisplayPicture = new Object(); this.smallDisplayPicture = new Object(); this.sortName = new String(); this.aggregateId = new String(); this.fullName = new String(); this.isAggregate = new Boolean(); this.isDisplayPictureManuallySet = new Boolean(); this.isMe = new Boolean(); this.yomiGivenName = new String(); this.honorificNameSuffix = new String(); this.yomiFamilyName = new String(); this.middleName = new String(); this.lastName = new String(); this.honorificNamePrefix = new String(); this.firstName = new String(); this.displayName = new String(); this.yomiDisplayName = new String(); }; return cls; }) (); exports.Contact = Contact; ContactCardDelayedDataLoader = (function () { var cls = function ContactCardDelayedDataLoader() { }; cls.prototype.setData = function setData(contact) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// </signature> } cls.prototype.close = function close() { } return cls; }) (); exports.ContactCardDelayedDataLoader = ContactCardDelayedDataLoader; ContactStore = (function () { var cls = function ContactStore() { this.aggregateContactManager = new AggregateContactManager(); this.changeTracker = new ContactChangeTracker(); }; cls.prototype.findContactsAsync = function findContactsAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.findContactsAsync = function findContactsAsync(searchText, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="searchText" type="String">A param.</param> /// </signature> } cls.prototype.getContactAsync = function getContactAsync(contactId, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contactId" type="String">A param.</param> /// </signature> } cls.prototype.findContactListsAsync = function findContactListsAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.getContactListAsync = function getContactListAsync(contactListId, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contactListId" type="String">A param.</param> /// </signature> } cls.prototype.createContactListAsync = function createContactListAsync(displayName, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="displayName" type="String">A param.</param> /// </signature> } cls.prototype.createContactListAsync = function createContactListAsync(displayName, userDataAccountId, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="displayName" type="String">A param.</param> /// <param name="userDataAccountId" type="String">A param.</param> /// </signature> } cls.prototype.getMeContactAsync = function getMeContactAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.getContactReader = function getContactReader() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="ContactReader" /> /// </signature> return new ContactReader(); } cls.prototype.getContactReader = function getContactReader(options) { /// <signature> /// <summary>Function summary.</summary> /// <param name="options" type="ContactQueryOptions">A param.</param> /// <returns type="ContactReader" /> /// </signature> return new ContactReader(); } cls.prototype.addListener = function addListener(eventName, callback){} cls.prototype.removeListener = function removeListener(eventName, callback){} cls.prototype.on = function on(eventName, callback){} cls.prototype.off = function off(eventName, callback){} return cls; }) (); exports.ContactStore = ContactStore; ContactAnnotationStore = (function () { var cls = function ContactAnnotationStore() { }; cls.prototype.findContactIdsByEmailAsync = function findContactIdsByEmailAsync(emailAddress, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="emailAddress" type="String">A param.</param> /// </signature> } cls.prototype.findContactIdsByPhoneNumberAsync = function findContactIdsByPhoneNumberAsync(phoneNumber, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="phoneNumber" type="String">A param.</param> /// </signature> } cls.prototype.findAnnotationsForContactAsync = function findAnnotationsForContactAsync(contact, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// </signature> } cls.prototype.disableAnnotationAsync = function disableAnnotationAsync(annotation, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="annotation" type="ContactAnnotation">A param.</param> /// </signature> } cls.prototype.createAnnotationListAsync = function createAnnotationListAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.createAnnotationListAsync = function createAnnotationListAsync(userDataAccountId, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="userDataAccountId" type="String">A param.</param> /// </signature> } cls.prototype.getAnnotationListAsync = function getAnnotationListAsync(annotationListId, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="annotationListId" type="String">A param.</param> /// </signature> } cls.prototype.findAnnotationListsAsync = function findAnnotationListsAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } return cls; }) (); exports.ContactAnnotationStore = ContactAnnotationStore; ContactCardOptions = (function () { var cls = function ContactCardOptions() { this.initialTabKind = new ContactCardTabKind(); this.headerKind = new ContactCardHeaderKind(); this.serverSearchContactListIds = new Object(); }; return cls; }) (); exports.ContactCardOptions = ContactCardOptions; FullContactCardOptions = (function () { var cls = function FullContactCardOptions() { this.desiredRemainingView = new Number(); }; return cls; }) (); exports.FullContactCardOptions = FullContactCardOptions; ContactAnnotation = (function () { var cls = function ContactAnnotation() { this.supportedOperations = new ContactAnnotationOperations(); this.remoteId = new String(); this.contactId = new String(); this.annotationListId = new String(); this.id = new String(); this.isDisabled = new Boolean(); this.providerProperties = new Object(); }; return cls; }) (); exports.ContactAnnotation = ContactAnnotation; ContactAnnotationList = (function () { var cls = function ContactAnnotationList() { this.id = new String(); this.providerPackageFamilyName = new String(); this.userDataAccountId = new String(); }; cls.prototype.deleteAsync = function deleteAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.trySaveAnnotationAsync = function trySaveAnnotationAsync(annotation, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="annotation" type="ContactAnnotation">A param.</param> /// </signature> } cls.prototype.getAnnotationAsync = function getAnnotationAsync(annotationId, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="annotationId" type="String">A param.</param> /// </signature> } cls.prototype.findAnnotationsByRemoteIdAsync = function findAnnotationsByRemoteIdAsync(remoteId, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="remoteId" type="String">A param.</param> /// </signature> } cls.prototype.findAnnotationsAsync = function findAnnotationsAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.deleteAnnotationAsync = function deleteAnnotationAsync(annotation, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="annotation" type="ContactAnnotation">A param.</param> /// </signature> } return cls; }) (); exports.ContactAnnotationList = ContactAnnotationList; ContactChangeTracker = (function () { var cls = function ContactChangeTracker() { }; cls.prototype.enable = function enable() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.getChangeReader = function getChangeReader() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="ContactChangeReader" /> /// </signature> return new ContactChangeReader(); } cls.prototype.reset = function reset() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } return cls; }) (); exports.ContactChangeTracker = ContactChangeTracker; ContactChangedEventArgs = (function () { var cls = function ContactChangedEventArgs() { }; cls.prototype.getDeferral = function getDeferral() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="ContactChangedDeferral" /> /// </signature> return new ContactChangedDeferral(); } return cls; }) (); exports.ContactChangedEventArgs = ContactChangedEventArgs; AggregateContactManager = (function () { var cls = function AggregateContactManager() { }; cls.prototype.findRawContactsAsync = function findRawContactsAsync(contact, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// </signature> } cls.prototype.tryLinkContactsAsync = function tryLinkContactsAsync(primaryContact, secondaryContact, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="primaryContact" type="Contact">A param.</param> /// <param name="secondaryContact" type="Contact">A param.</param> /// </signature> } cls.prototype.unlinkRawContactAsync = function unlinkRawContactAsync(contact, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// </signature> } cls.prototype.trySetPreferredSourceForPictureAsync = function trySetPreferredSourceForPictureAsync(aggregateContact, rawContact, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="aggregateContact" type="Contact">A param.</param> /// <param name="rawContact" type="Contact">A param.</param> /// </signature> } return cls; }) (); exports.AggregateContactManager = AggregateContactManager; ContactList = (function () { var cls = function ContactList() { this.otherAppWriteAccess = new ContactListOtherAppWriteAccess(); this.otherAppReadAccess = new ContactListOtherAppReadAccess(); this.isHidden = new Boolean(); this.displayName = new String(); this.changeTracker = new ContactChangeTracker(); this.id = new String(); this.sourceDisplayName = new String(); this.supportsServerSearch = new Boolean(); this.syncManager = new ContactListSyncManager(); this.userDataAccountId = new String(); }; cls.prototype.saveAsync = function saveAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.deleteAsync = function deleteAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.getContactFromRemoteIdAsync = function getContactFromRemoteIdAsync(remoteId, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="remoteId" type="String">A param.</param> /// </signature> } cls.prototype.getMeContactAsync = function getMeContactAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.saveContactAsync = function saveContactAsync(contact, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// </signature> } cls.prototype.deleteContactAsync = function deleteContactAsync(contact, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// </signature> } cls.prototype.getContactAsync = function getContactAsync(contactId, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contactId" type="String">A param.</param> /// </signature> } cls.prototype.getContactReader = function getContactReader() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="ContactReader" /> /// </signature> return new ContactReader(); } cls.prototype.getContactReader = function getContactReader(options) { /// <signature> /// <summary>Function summary.</summary> /// <param name="options" type="ContactQueryOptions">A param.</param> /// <returns type="ContactReader" /> /// </signature> return new ContactReader(); } cls.prototype.addListener = function addListener(eventName, callback){} cls.prototype.removeListener = function removeListener(eventName, callback){} cls.prototype.on = function on(eventName, callback){} cls.prototype.off = function off(eventName, callback){} return cls; }) (); exports.ContactList = ContactList; ContactReader = (function () { var cls = function ContactReader() { }; cls.prototype.readBatchAsync = function readBatchAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.getMatchingPropertiesWithMatchReason = function getMatchingPropertiesWithMatchReason(contact) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } return cls; }) (); exports.ContactReader = ContactReader; ContactQueryOptions = (function () { var cls = function ContactQueryOptions() { this.includeContactsFromHiddenLists = new Boolean(); this.desiredOperations = new ContactAnnotationOperations(); this.desiredFields = new ContactQueryDesiredFields(); this.annotationListIds = new Object(); this.contactListIds = new Object(); this.textSearch = new ContactQueryTextSearch(); }; var cls = function ContactQueryOptions(text) { this.includeContactsFromHiddenLists = new Boolean(); this.desiredOperations = new ContactAnnotationOperations(); this.desiredFields = new ContactQueryDesiredFields(); this.annotationListIds = new Object(); this.contactListIds = new Object(); this.textSearch = new ContactQueryTextSearch(); }; var cls = function ContactQueryOptions(text, fields) { this.includeContactsFromHiddenLists = new Boolean(); this.desiredOperations = new ContactAnnotationOperations(); this.desiredFields = new ContactQueryDesiredFields(); this.annotationListIds = new Object(); this.contactListIds = new Object(); this.textSearch = new ContactQueryTextSearch(); }; return cls; }) (); exports.ContactQueryOptions = ContactQueryOptions; ContactListSyncManager = (function () { var cls = function ContactListSyncManager() { this.lastAttemptedSyncTime = new Date(); this.lastSuccessfulSyncTime = new Date(); this.status = new ContactListSyncStatus(); }; cls.prototype.syncAsync = function syncAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.addListener = function addListener(eventName, callback){} cls.prototype.removeListener = function removeListener(eventName, callback){} cls.prototype.on = function on(eventName, callback){} cls.prototype.off = function off(eventName, callback){} return cls; }) (); exports.ContactListSyncManager = ContactListSyncManager; IContactField = (function () { var cls = function IContactField() { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); }; return cls; }) (); exports.IContactField = IContactField; ContactPhone = (function () { var cls = function ContactPhone() { this.number = new String(); this.kind = new ContactPhoneKind(); this.description = new String(); }; return cls; }) (); exports.ContactPhone = ContactPhone; ContactEmail = (function () { var cls = function ContactEmail() { this.kind = new ContactEmailKind(); this.description = new String(); this.address = new String(); }; return cls; }) (); exports.ContactEmail = ContactEmail; ContactAddress = (function () { var cls = function ContactAddress() { this.streetAddress = new String(); this.region = new String(); this.postalCode = new String(); this.locality = new String(); this.kind = new ContactAddressKind(); this.description = new String(); this.country = new String(); }; return cls; }) (); exports.ContactAddress = ContactAddress; ContactConnectedServiceAccount = (function () { var cls = function ContactConnectedServiceAccount() { this.serviceName = new String(); this.id = new String(); }; return cls; }) (); exports.ContactConnectedServiceAccount = ContactConnectedServiceAccount; ContactDate = (function () { var cls = function ContactDate() { this.year = new Number(); this.month = new Number(); this.kind = new ContactDateKind(); this.description = new String(); this.day = new Number(); }; return cls; }) (); exports.ContactDate = ContactDate; ContactJobInfo = (function () { var cls = function ContactJobInfo() { this.title = new String(); this.office = new String(); this.manager = new String(); this.description = new String(); this.department = new String(); this.companyYomiName = new String(); this.companyName = new String(); this.companyAddress = new String(); }; return cls; }) (); exports.ContactJobInfo = ContactJobInfo; ContactSignificantOther = (function () { var cls = function ContactSignificantOther() { this.name = new String(); this.description = new String(); this.relationship = new ContactRelationship(); }; return cls; }) (); exports.ContactSignificantOther = ContactSignificantOther; ContactWebsite = (function () { var cls = function ContactWebsite() { this.uri = new Object(); this.description = new String(); this.rawValue = new String(); }; return cls; }) (); exports.ContactWebsite = ContactWebsite; ContactChangedDeferral = (function () { var cls = function ContactChangedDeferral() { }; cls.prototype.complete = function complete() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } return cls; }) (); exports.ContactChangedDeferral = ContactChangedDeferral; ContactChange = (function () { var cls = function ContactChange() { this.changeType = new ContactChangeType(); this.contact = new Contact(); }; return cls; }) (); exports.ContactChange = ContactChange; ContactChangeReader = (function () { var cls = function ContactChangeReader() { }; cls.prototype.readBatchAsync = function readBatchAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.acceptChanges = function acceptChanges() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.acceptChangesThrough = function acceptChangesThrough(lastChangeToAccept) { /// <signature> /// <summary>Function summary.</summary> /// <param name="lastChangeToAccept" type="ContactChange">A param.</param> /// </signature> } return cls; }) (); exports.ContactChangeReader = ContactChangeReader; ContactBatch = (function () { var cls = function ContactBatch() { this.contacts = new Object(); this.status = new ContactBatchStatus(); }; return cls; }) (); exports.ContactBatch = ContactBatch; ContactMatchReason = (function () { var cls = function ContactMatchReason() { this.field = new ContactMatchReasonKind(); this.segments = new Object(); this.text = new String(); }; return cls; }) (); exports.ContactMatchReason = ContactMatchReason; ContactQueryTextSearch = (function () { var cls = function ContactQueryTextSearch() { this.text = new String(); this.searchScope = new ContactQuerySearchScope(); this.fields = new ContactQuerySearchFields(); }; return cls; }) (); exports.ContactQueryTextSearch = ContactQueryTextSearch; ContactStoreNotificationTriggerDetails = (function () { var cls = function ContactStoreNotificationTriggerDetails() { }; return cls; }) (); exports.ContactStoreNotificationTriggerDetails = ContactStoreNotificationTriggerDetails; ContactManager = (function () { var cls = function ContactManager() { }; cls.convertContactToVCardAsync = function convertContactToVCardAsync(contact, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// </signature> } cls.convertContactToVCardAsync = function convertContactToVCardAsync(contact, maxBytes, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// <param name="maxBytes" type="Number">A param.</param> /// </signature> } cls.convertVCardToContactAsync = function convertVCardToContactAsync(vCard, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="vCard" type="Object">A param.</param> /// </signature> } cls.requestStoreAsync = function requestStoreAsync(accessType, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="accessType" type="ContactStoreAccessType">A param.</param> /// </signature> } cls.requestStoreAsync = function requestStoreAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.requestAnnotationStoreAsync = function requestAnnotationStoreAsync(accessType, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="accessType" type="ContactAnnotationStoreAccessType">A param.</param> /// </signature> } cls.isShowContactCardSupported = function isShowContactCardSupported() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="Boolean" /> /// </signature> return new Boolean(); } cls.showContactCard = function showContactCard(contact, selection, preferredPlacement, contactCardOptions) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// <param name="selection" type="Object">A param.</param> /// <param name="preferredPlacement" type="Number">A param.</param> /// <param name="contactCardOptions" type="ContactCardOptions">A param.</param> /// </signature> } cls.showContactCard = function showContactCard(contact, selection) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// <param name="selection" type="Object">A param.</param> /// </signature> } cls.showContactCard = function showContactCard(contact, selection, preferredPlacement) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// <param name="selection" type="Object">A param.</param> /// <param name="preferredPlacement" type="Number">A param.</param> /// </signature> } cls.isShowDelayLoadedContactCardSupported = function isShowDelayLoadedContactCardSupported() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="Boolean" /> /// </signature> return new Boolean(); } cls.showDelayLoadedContactCard = function showDelayLoadedContactCard(contact, selection, preferredPlacement, contactCardOptions) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// <param name="selection" type="Object">A param.</param> /// <param name="preferredPlacement" type="Number">A param.</param> /// <param name="contactCardOptions" type="ContactCardOptions">A param.</param> /// <returns type="ContactCardDelayedDataLoader" /> /// </signature> return new ContactCardDelayedDataLoader(); } cls.showDelayLoadedContactCard = function showDelayLoadedContactCard(contact, selection, preferredPlacement) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// <param name="selection" type="Object">A param.</param> /// <param name="preferredPlacement" type="Number">A param.</param> /// <returns type="ContactCardDelayedDataLoader" /> /// </signature> return new ContactCardDelayedDataLoader(); } cls.showFullContactCard = function showFullContactCard(contact, fullContactCardOptions) { /// <signature> /// <summary>Function summary.</summary> /// <param name="contact" type="Contact">A param.</param> /// <param name="fullContactCardOptions" type="FullContactCardOptions">A param.</param> /// </signature> } cls.systemSortOrder = new ContactNameOrder(); cls.systemDisplayNameOrder = new ContactNameOrder(); return cls; }) (); exports.ContactManager = ContactManager; ContactLaunchActionVerbs = (function () { var cls = function ContactLaunchActionVerbs() { }; cls.call = new String(); cls.map = new String(); cls.message = new String(); cls.post = new String(); cls.videoCall = new String(); return cls; }) (); exports.ContactLaunchActionVerbs = ContactLaunchActionVerbs; ContactField = (function () { var cls = function ContactField() { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); }; var cls = function ContactField(value, type) { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); }; var cls = function ContactField(value, type, category) { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); }; var cls = function ContactField(name, value, type, category) { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); }; return cls; }) (); exports.ContactField = ContactField; ContactLocationField = (function () { var cls = function ContactLocationField() { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); this.city = new String(); this.country = new String(); this.postalCode = new String(); this.region = new String(); this.street = new String(); this.unstructuredAddress = new String(); }; var cls = function ContactLocationField(unstructuredAddress) { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); this.city = new String(); this.country = new String(); this.postalCode = new String(); this.region = new String(); this.street = new String(); this.unstructuredAddress = new String(); }; var cls = function ContactLocationField(unstructuredAddress, category) { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); this.city = new String(); this.country = new String(); this.postalCode = new String(); this.region = new String(); this.street = new String(); this.unstructuredAddress = new String(); }; var cls = function ContactLocationField(unstructuredAddress, category, street, city, region, country, postalCode) { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); this.city = new String(); this.country = new String(); this.postalCode = new String(); this.region = new String(); this.street = new String(); this.unstructuredAddress = new String(); }; return cls; }) (); exports.ContactLocationField = ContactLocationField; ContactInstantMessageField = (function () { var cls = function ContactInstantMessageField() { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); this.displayText = new String(); this.launchUri = new Object(); this.service = new String(); this.userName = new String(); }; var cls = function ContactInstantMessageField(userName) { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); this.displayText = new String(); this.launchUri = new Object(); this.service = new String(); this.userName = new String(); }; var cls = function ContactInstantMessageField(userName, category) { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); this.displayText = new String(); this.launchUri = new Object(); this.service = new String(); this.userName = new String(); }; var cls = function ContactInstantMessageField(userName, category, service, displayText, verb) { this.category = new ContactFieldCategory(); this.name = new String(); this.type = new ContactFieldType(); this.value = new String(); this.displayText = new String(); this.launchUri = new Object(); this.service = new String(); this.userName = new String(); }; return cls; }) (); exports.ContactInstantMessageField = ContactInstantMessageField; KnownContactField = (function () { var cls = function KnownContactField() { }; cls.convertNameToType = function convertNameToType(name) { /// <signature> /// <summary>Function summary.</summary> /// <param name="name" type="String">A param.</param> /// <returns type="ContactFieldType" /> /// </signature> return new ContactFieldType(); } cls.convertTypeToName = function convertTypeToName(type) { /// <signature> /// <summary>Function summary.</summary> /// <param name="type" type="ContactFieldType">A param.</param> /// <returns type="String" /> /// </signature> return new String(); } cls.email = new String(); cls.instantMessage = new String(); cls.location = new String(); cls.phoneNumber = new String(); return cls; }) (); exports.KnownContactField = KnownContactField; ContactInformation = (function () { var cls = function ContactInformation() { this.customFields = new Object(); this.emails = new Object(); this.instantMessages = new Object(); this.locations = new Object(); this.name = new String(); this.phoneNumbers = new Object(); }; cls.prototype.getThumbnailAsync = function getThumbnailAsync(callback) { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.queryCustomFields = function queryCustomFields(customName) { /// <signature> /// <summary>Function summary.</summary> /// <param name="customName" type="String">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } return cls; }) (); exports.ContactInformation = ContactInformation; IContactFieldFactory = (function () { var cls = function IContactFieldFactory() { }; cls.prototype.createField = function createField(value, type) { /// <signature> /// <summary>Function summary.</summary> /// <param name="value" type="String">A param.</param> /// <param name="type" type="ContactFieldType">A param.</param> /// <returns type="ContactField" /> /// </signature> return new ContactField(); } cls.prototype.createField = function createField(value, type, category) { /// <signature> /// <summary>Function summary.</summary> /// <param name="value" type="String">A param.</param> /// <param name="type" type="ContactFieldType">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <returns type="ContactField" /> /// </signature> return new ContactField(); } cls.prototype.createField = function createField(name, value, type, category) { /// <signature> /// <summary>Function summary.</summary> /// <param name="name" type="String">A param.</param> /// <param name="value" type="String">A param.</param> /// <param name="type" type="ContactFieldType">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <returns type="ContactField" /> /// </signature> return new ContactField(); } return cls; }) (); exports.IContactFieldFactory = IContactFieldFactory; IContactLocationFieldFactory = (function () { var cls = function IContactLocationFieldFactory() { }; cls.prototype.createLocation = function createLocation(unstructuredAddress) { /// <signature> /// <summary>Function summary.</summary> /// <param name="unstructuredAddress" type="String">A param.</param> /// <returns type="ContactLocationField" /> /// </signature> return new ContactLocationField(); } cls.prototype.createLocation = function createLocation(unstructuredAddress, category) { /// <signature> /// <summary>Function summary.</summary> /// <param name="unstructuredAddress" type="String">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <returns type="ContactLocationField" /> /// </signature> return new ContactLocationField(); } cls.prototype.createLocation = function createLocation(unstructuredAddress, category, street, city, region, country, postalCode) { /// <signature> /// <summary>Function summary.</summary> /// <param name="unstructuredAddress" type="String">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <param name="street" type="String">A param.</param> /// <param name="city" type="String">A param.</param> /// <param name="region" type="String">A param.</param> /// <param name="country" type="String">A param.</param> /// <param name="postalCode" type="String">A param.</param> /// <returns type="ContactLocationField" /> /// </signature> return new ContactLocationField(); } return cls; }) (); exports.IContactLocationFieldFactory = IContactLocationFieldFactory; IContactInstantMessageFieldFactory = (function () { var cls = function IContactInstantMessageFieldFactory() { }; cls.prototype.createInstantMessage = function createInstantMessage(userName) { /// <signature> /// <summary>Function summary.</summary> /// <param name="userName" type="String">A param.</param> /// <returns type="ContactInstantMessageField" /> /// </signature> return new ContactInstantMessageField(); } cls.prototype.createInstantMessage = function createInstantMessage(userName, category) { /// <signature> /// <summary>Function summary.</summary> /// <param name="userName" type="String">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <returns type="ContactInstantMessageField" /> /// </signature> return new ContactInstantMessageField(); } cls.prototype.createInstantMessage = function createInstantMessage(userName, category, service, displayText, verb) { /// <signature> /// <summary>Function summary.</summary> /// <param name="userName" type="String">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <param name="service" type="String">A param.</param> /// <param name="displayText" type="String">A param.</param> /// <param name="verb" type="Object">A param.</param> /// <returns type="ContactInstantMessageField" /> /// </signature> return new ContactInstantMessageField(); } return cls; }) (); exports.IContactInstantMessageFieldFactory = IContactInstantMessageFieldFactory; ContactFieldFactory = (function () { var cls = function ContactFieldFactory() { }; cls.prototype.createField = function createField(value, type) { /// <signature> /// <summary>Function summary.</summary> /// <param name="value" type="String">A param.</param> /// <param name="type" type="ContactFieldType">A param.</param> /// <returns type="ContactField" /> /// </signature> return new ContactField(); } cls.prototype.createField = function createField(value, type, category) { /// <signature> /// <summary>Function summary.</summary> /// <param name="value" type="String">A param.</param> /// <param name="type" type="ContactFieldType">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <returns type="ContactField" /> /// </signature> return new ContactField(); } cls.prototype.createField = function createField(name, value, type, category) { /// <signature> /// <summary>Function summary.</summary> /// <param name="name" type="String">A param.</param> /// <param name="value" type="String">A param.</param> /// <param name="type" type="ContactFieldType">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <returns type="ContactField" /> /// </signature> return new ContactField(); } cls.prototype.createLocation = function createLocation(unstructuredAddress) { /// <signature> /// <summary>Function summary.</summary> /// <param name="unstructuredAddress" type="String">A param.</param> /// <returns type="ContactLocationField" /> /// </signature> return new ContactLocationField(); } cls.prototype.createLocation = function createLocation(unstructuredAddress, category) { /// <signature> /// <summary>Function summary.</summary> /// <param name="unstructuredAddress" type="String">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <returns type="ContactLocationField" /> /// </signature> return new ContactLocationField(); } cls.prototype.createLocation = function createLocation(unstructuredAddress, category, street, city, region, country, postalCode) { /// <signature> /// <summary>Function summary.</summary> /// <param name="unstructuredAddress" type="String">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <param name="street" type="String">A param.</param> /// <param name="city" type="String">A param.</param> /// <param name="region" type="String">A param.</param> /// <param name="country" type="String">A param.</param> /// <param name="postalCode" type="String">A param.</param> /// <returns type="ContactLocationField" /> /// </signature> return new ContactLocationField(); } cls.prototype.createInstantMessage = function createInstantMessage(userName) { /// <signature> /// <summary>Function summary.</summary> /// <param name="userName" type="String">A param.</param> /// <returns type="ContactInstantMessageField" /> /// </signature> return new ContactInstantMessageField(); } cls.prototype.createInstantMessage = function createInstantMessage(userName, category) { /// <signature> /// <summary>Function summary.</summary> /// <param name="userName" type="String">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <returns type="ContactInstantMessageField" /> /// </signature> return new ContactInstantMessageField(); } cls.prototype.createInstantMessage = function createInstantMessage(userName, category, service, displayText, verb) { /// <signature> /// <summary>Function summary.</summary> /// <param name="userName" type="String">A param.</param> /// <param name="category" type="ContactFieldCategory">A param.</param> /// <param name="service" type="String">A param.</param> /// <param name="displayText" type="String">A param.</param> /// <param name="verb" type="Object">A param.</param> /// <returns type="ContactInstantMessageField" /> /// </signature> return new ContactInstantMessageField(); } return cls; }) (); exports.ContactFieldFactory = ContactFieldFactory; ContactPicker = (function () { var cls = function ContactPicker() { this.selectionMode = new ContactSelectionMode(); this.commitButtonText = new String(); this.desiredFields = new Object(); this.de