UNPKG

pyze-nativescript

Version:

Pyze Analytics, Growth Intelligence Platform, Push Notification, In App Messages and more

905 lines 153 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var colorModule = require("color"); var pyzeInAppMessageType = { PyzeInAppTypeUnread: 0, PyzeInAppTypeRead: 1, PyzeInAppTypeAll: 2 }; var pyzeMessageType = { PyzeMessageTypeDefault: 0, PyzeMessageTypeSMS: 1, PyzeMessageTypeMMS: 2, PyzeMessageTypeText: 3, PyzeMessageTypeTextPlain: 4, PyzeMessageTypeTextWithEmoji: 5, PyzeMessageTypePicture: 6, PyzeMessageTypePictureFromCamera: 7, PyzeMessageTypePictureFromAlbum: 8, PyzeMessageTypePictureMostRecent: 9, PyzeMessageTypePictureMarkedup: 10, PyzeMessageTypePictureEdited: 11, PyzeMessageTypePictureWhiteboard: 12, PyzeMessageTypePictureAnimated: 13, PyzeMessageTypePictureWhiteboardCleaned: 14, PyzeMessageTypeClipart: 15, PyzeMessageTypeSticker: 16, PyzeMessageTypeAnimatedSticker: 17, PyzeMessageTypeVideo: 18, PyzeMessageTypeVideoFromCamera: 19, PyzeMessageTypeVideoFromAlbum: 20, PyzeMessageTypeVideoeMostRecent: 21, PyzeMessageTypeVideoEdited: 22, PyzeMessageTypeVoiceMemo: 23, PyzeMessageTypeVoiceCall: 24, PyzeMessageTypeVideoMemo: 25, PyzeMessageTypeScribble: 26, PyzeMessageTypeIntegrationOrBot: 27 }; var pyzeWeatherRequestType = { PyzeWeatherRequestByCityName: 0, PyzeWeatherRequestByCityCode: 1, PyzeWeatherRequestByGeoCodes: 2, PyzeWeatherRequestByZone: 3 }; var NSPyze = (function () { function NSPyze() { } NSPyze.initialize = function (pyzeAppKey) { Pyze.initializeWithLogThrottling(pyzeAppKey, PyzelogLevelMinimal); }; NSPyze.initializeWithLogLevel = function (pyzeAppKey, logLevel) { Pyze.initializeWithLogThrottling(pyzeAppKey, logLevel); }; NSPyze.getTimerReference = function () { return ((new Date().getTime() / 1000.0) - 475574000); }; NSPyze.showInAppNotification = function (callback) { Pyze.showUnreadInAppNotificationUIWithCompletionHandler(function (param) { callback(param); }); }; NSPyze.showInAppNotificatonWithCustomAttributes = function (messageType, navigationBarColor, callback) { var messageTypeEnum = pyzeInAppMessageType[messageType]; var nColor = new colorModule.Color(navigationBarColor); Pyze.showInAppNotificationUIForDisplayMessagesNavigationTextColorWithCompletionHandler(messageTypeEnum, nColor, function (param) { callback(param); }); }; NSPyze.closeInAppMessage = function () { Pyze.dismissInAppNotificationUI(true); }; NSPyze.countNewUnFetchedMessages = function (callback) { Pyze.countNewUnFetchedMessages(function (param) { callback(param); }); }; NSPyze.getMessageHeaderOfType = function (messageType, callback) { var messageTypeEnum = pyzeInAppMessageType[messageType]; Pyze.getMessageHeadersForTypeWithCompletionHandler(messageTypeEnum, function (param) { callback(param); }); }; NSPyze.getMessageWithContentID = function (cId, mId, callback) { Pyze.getMessageWithContentIDAndMessageIDWithCompletionHandler(cId, mId, function (param) { callback(param); }); }; NSPyze.setUserOptOut = function (isUserOptedOut) { Pyze.setUserOptOut(isUserOptedOut); }; NSPyze.deleteUser = function (shouldDeleteUser) { Pyze.deleteUser(shouldDeleteUser); }; return NSPyze; }()); exports.NSPyze = NSPyze; var NSPyzeEvents = (function () { function NSPyzeEvents() { } NSPyzeEvents.postCustomEvent = function (eventName) { PyzeCustomEvent.postWithEventName(eventName); }; NSPyzeEvents.postCustomEventWithAttributes = function (eventName, customAttributes) { PyzeCustomEvent.postWithEventNameWithAttributes(eventName, customAttributes); }; NSPyzeEvents.postTimedEventWithName = function (eventName, timerReferece) { PyzeCustomEvent.postTimedWithEventNameWithTimerReference(eventName, timerReferece); }; NSPyzeEvents.postTimedEventWithNameAndAttributes = function (eventName, timerReferece, customAttributes) { PyzeCustomEvent.postTimedWithEventNameWithTimerReferenceWithAttributes(eventName, timerReferece, customAttributes); }; return NSPyzeEvents; }()); exports.NSPyzeEvents = NSPyzeEvents; var NSPyzeAccount = (function () { function NSPyzeAccount() { } NSPyzeAccount.postLoginOffered = function (customAttributes) { PyzeAccount.postLoginOffered(customAttributes); }; NSPyzeAccount.postLoginStarted = function (customAttributes) { PyzeAccount.postLoginStarted(customAttributes); }; NSPyzeAccount.postSocialLoginOffered = function (type, customAttributes) { PyzeAccount.postSocialLoginOfferedWithAttributes(type, customAttributes); }; NSPyzeAccount.postSocialLoginStarted = function (type, customAttributes) { PyzeAccount.postSocialLoginStartedWithAttributes(type, customAttributes); }; NSPyzeAccount.postSocialLoginCompleted = function (type, customAttributes) { PyzeAccount.postSocialLoginCompletedWithAttributes(type, customAttributes); }; NSPyzeAccount.postRegistrationOffered = function (customAttributes) { PyzeAccount.postRegistrationStarted(customAttributes); }; NSPyzeAccount.postRegistrationStarted = function (customAttributes) { PyzeAccount.postRegistrationStarted(customAttributes); }; NSPyzeAccount.postRegistrationCompleted = function (customAttributes) { PyzeAccount.postRegistrationCompleted(customAttributes); }; NSPyzeAccount.postLoginCompleted = function (success, errCodeStr, customAttributes) { PyzeAccount.postLoginCompletedWithErrCodeWithAttributes(success, errCodeStr, customAttributes); }; NSPyzeAccount.postLogoutCompleted = function (customAttributes) { PyzeAccount.postLogoutCompletedWithAttributes(true, customAttributes); }; NSPyzeAccount.postPasswordResetRequest = function (customAttributes) { PyzeAccount.postPasswordResetRequested(customAttributes); }; NSPyzeAccount.postPasswordResetCompleted = function (customAttributes) { PyzeAccount.postPasswordResetCompleted(customAttributes); }; return NSPyzeAccount; }()); exports.NSPyzeAccount = NSPyzeAccount; var NSPyzeAd = (function () { function NSPyzeAd() { } NSPyzeAd.postAdRequested = function (adNetwork, appScreen, size, type, customAttributes) { PyzeAd.postAdRequestedFromAppScreenWithAdSizeAdTypeWithAttributes(adNetwork, appScreen, size, type, customAttributes); }; NSPyzeAd.postAdReceived = function (adNetwork, appScreen, resultCode, success, customAttributes) { PyzeAd.postAdReceivedFromAppScreenWithResultCodeIsSuccessWithAttributes; }; NSPyzeAd.postAdClicked = function (adNetwork, appScreen, adCode, success, errorCode, customAttributes) { PyzeAd.postAdClickedFromAppScreenAdCodeIsSuccessWithErrorCodeWithAttributes(adNetwork, appScreen, adCode, success, errorCode, customAttributes); }; return NSPyzeAd; }()); exports.NSPyzeAd = NSPyzeAd; var NSPyzeAdvocacy = (function () { function NSPyzeAdvocacy() { } NSPyzeAdvocacy.postRequestFeedback = function (customAttributes) { PyzeAdvocacy.postRequestForFeedback(customAttributes); }; NSPyzeAdvocacy.postFeedbackProvided = function (customAttributes) { PyzeAdvocacy.postFeedbackProvided(customAttributes); }; NSPyzeAdvocacy.postRequestRating = function (customAttributes) { PyzeAdvocacy.postRequestRating(customAttributes); }; return NSPyzeAdvocacy; }()); exports.NSPyzeAdvocacy = NSPyzeAdvocacy; var NSPyzeBitcoin = (function () { function NSPyzeBitcoin() { } NSPyzeBitcoin.postSentBitCoins = function (customAttributes) { PyzeBitcoin.postSentBitcoins(customAttributes); }; NSPyzeBitcoin.postRequestedBitCoins = function (customAttributes) { PyzeBitcoin.postRequestedBitcoins(customAttributes); }; NSPyzeBitcoin.postReceivedBitCoins = function (customAttributes) { PyzeBitcoin.postReceivedBitcoins(customAttributes); }; NSPyzeBitcoin.postViewedTransaction = function (customAttributes) { PyzeBitcoin.postViewedTransactions(customAttributes); }; NSPyzeBitcoin.postImportedPrivateKey = function (customAttributes) { PyzeBitcoin.postImportedPrivateKey(customAttributes); }; NSPyzeBitcoin.postScannedPrivateKey = function (customAttributes) { PyzeBitcoin.postScannedPrivateKey(customAttributes); }; return NSPyzeBitcoin; }()); exports.NSPyzeBitcoin = NSPyzeBitcoin; var NSPyzeCommerceBeacon = (function () { function NSPyzeCommerceBeacon() { } NSPyzeCommerceBeacon.postEnteredRegion = function (beaconUUID, beaconMajor, beaconMinor, uniqueRegionIdentifier, customAttributes) { PyzeCommerceBeacon.postEnteredRegionWithBeaconMajorWithBeaconMinorWithUniqueRegionIdentifierWithAttributes(beaconUUID, beaconMajor, beaconMinor, uniqueRegionIdentifier, customAttributes); }; NSPyzeCommerceBeacon.postExitedRegion = function (beaconUUID, beaconMajor, beaconMinor, uniqueRegionIdentifier, customAttributes) { PyzeCommerceBeacon.postExitedRegionWithBeaconMajorWithBeaconMinorWithUniqueRegionIdentifierWithAttributes(beaconUUID, beaconMajor, beaconMinor, uniqueRegionIdentifier, customAttributes); }; NSPyzeCommerceBeacon.postTransactedRegion = function (beaconUUID, beaconMajor, beaconMinor, uniqueRegionIdentifier, proximity, actionId, customAttributes) { PyzeCommerceBeacon.postTransactedInRegionWithBeaconMajorWithBeaconMinorWithUniqueRegionIdentifierWithProximityWithActionIdWithAttributes(beaconUUID, beaconMajor, beaconMinor, uniqueRegionIdentifier, proximity, actionId, customAttributes); }; return NSPyzeCommerceBeacon; }()); exports.NSPyzeCommerceBeacon = NSPyzeCommerceBeacon; var NSPyzeCommerceBilling = (function () { function NSPyzeCommerceBilling() { } NSPyzeCommerceBilling.postBillingStarted = function (customAttributes) { PyzeCommerceBilling.postBillingStarted(customAttributes); }; NSPyzeCommerceBilling.postBillingCompleted = function (customAttributes) { PyzeCommerceBilling.postBillingCompleted(customAttributes); }; NSPyzeCommerceBilling.postBillingAbandoned = function (customAttributes) { PyzeCommerceBilling.postBillingAbandoned(customAttributes); }; NSPyzeCommerceBilling.postBillingFailed = function (customAttributes) { PyzeCommerceBilling.postBillingFailed(customAttributes); }; return NSPyzeCommerceBilling; }()); exports.NSPyzeCommerceBilling = NSPyzeCommerceBilling; var NSPyzeCommerceCart = (function () { function NSPyzeCommerceCart() { } NSPyzeCommerceCart.postAddItem = function (cartId, itemCategory, itemId, customAttributes) { PyzeCommerceCart.postAddItemWithItemCategoryWithItemIdWithAttributes(cartId, itemCategory, itemId, customAttributes); }; NSPyzeCommerceCart.postAddItemFromDeals = function (cartId, itemCategory, itemId, uniqueDealId, customAttributes) { PyzeCommerceCart.postAddItemFromDealsWithItemCategoryWithItemIdWithUniqueDealIdWithAttributes(cartId, itemCategory, itemId, uniqueDealId, customAttributes); }; NSPyzeCommerceCart.postAddItemFromWishList = function (cartId, itemCategory, itemId, uniqueWishListId, customAttributes) { PyzeCommerceCart.postAddItemFromWishListWithItemCategoryWithItemIdWithUniqueWishListIdWithAttributes(cartId, itemCategory, itemId, uniqueWishListId, customAttributes); }; NSPyzeCommerceCart.postAddItemFromCuratedList = function (cartId, itemCategory, itemId, uniqueCuratedListID, customAttributes) { PyzeCommerceCart.postAddItemFromCuratedListWithItemCategoryWithItemIdWithUniqueCuratedListIdWithAttributes(cartId, itemCategory, itemId, uniqueCuratedListID, customAttributes); }; NSPyzeCommerceCart.postAddItemFromRecommendations = function (cartId, itemCategory, itemId, uniqueRecommendationId, customAttributes) { PyzeCommerceCart.postAddItemFromRecommendationsWithItemCategoryWithItemIdWithUniqueRecommendationIdWithAttributes(cartId, itemCategory, itemId, uniqueRecommendationId, customAttributes); }; NSPyzeCommerceCart.postAddItemFromPreviousOrders = function (cartId, itemCategory, itemId, previousOrderId, customAttributes) { PyzeCommerceCart.postAddItemFromPreviousOrdersWithItemCategoryWithItemIdWithPreviousOrderIdWithAttributes(cartId, itemCategory, itemId, previousOrderId, customAttributes); }; NSPyzeCommerceCart.postAddItemFromSearchResults = function (cartId, itemCategory, itemId, searchstring, customAttributes) { PyzeCommerceCart.postAddItemFromSearchResultsWithItemCategoryWithItemIdWithSearchStringWithAttributes(cartId, itemCategory, itemId, searchstring, customAttributes); }; NSPyzeCommerceCart.postAddItemFromSubscriptionList = function (cartId, itemCategory, itemId, uniqueSubscriptionId, customAttributes) { PyzeCommerceCart.postAddItemFromSubscriptionListWithItemCategoryWithItemIdWithUniqueDealIdWithAttributes(cartId, itemCategory, itemId, uniqueSubscriptionId, customAttributes); }; NSPyzeCommerceCart.postRemoveItemFromCart = function (cartId, itemCategory, itemId, customAttributes) { PyzeCommerceCart.postRemoveItemFromCartWithItemCategoryWithItemIdWithAttributes(cartId, itemCategory, itemId, customAttributes); }; NSPyzeCommerceCart.postShare = function (cartId, sharedWith, itemId, customAttributes) { PyzeCommerceCart.postShareWithItemSharedWithWithItemIdWithAttributes(cartId, sharedWith, itemId, customAttributes); }; NSPyzeCommerceCart.postView = function (cartId, customAttributes) { PyzeCommerceCart.postViewWithAttributes(cartId, customAttributes); }; return NSPyzeCommerceCart; }()); exports.NSPyzeCommerceCart = NSPyzeCommerceCart; var NSPyzeCommerceCheckout = (function () { function NSPyzeCommerceCheckout() { } NSPyzeCommerceCheckout.postCheckoutStarted = function (customAttributes) { PyzeCommerceCheckout.postCheckoutStarted(customAttributes); }; NSPyzeCommerceCheckout.postCheckoutCompleted = function (customAttributes) { PyzeCommerceCheckout.postCheckoutCompleted(customAttributes); }; NSPyzeCommerceCheckout.postCheckoutAbandoned = function (customAttributes) { PyzeCommerceCheckout.postCheckoutAbandoned(customAttributes); }; NSPyzeCommerceCheckout.postCheckoutFailed = function (customAttributes) { PyzeCommerceCheckout.postCheckoutFailed(customAttributes); }; return NSPyzeCommerceCheckout; }()); exports.NSPyzeCommerceCheckout = NSPyzeCommerceCheckout; var NSPyzeCommerceCuratedList = (function () { function NSPyzeCommerceCuratedList() { } NSPyzeCommerceCuratedList.postCreated = function (uniqueCuratedListID, curatedListType, customAttributes) { PyzeCommerceCuratedList.postCreatedWithTypeWithAttributes(uniqueCuratedListID, curatedListType, customAttributes); }; NSPyzeCommerceCuratedList.postBrowsed = function (curatedList, curatedListCreator, customAttributes) { PyzeCommerceCuratedList.postBrowsedWithCreatorWithAttributes(curatedList, curatedListCreator, customAttributes); }; NSPyzeCommerceCuratedList.postAddedItem = function (uniqueCuratedListID, itemCategory, itemId, customAttributes) { PyzeCommerceCuratedList.postAddedItemWithCategoryWithItemIdWithAttributes(uniqueCuratedListID, itemCategory, itemId, customAttributes); }; NSPyzeCommerceCuratedList.postRemovedItem = function (uniqueCuratedListID, curatedListType, itemId, customAttributes) { PyzeCommerceCuratedList.postRemovedItemWithListTypeWithItemIDWithAttributes(uniqueCuratedListID, curatedListType, itemId, customAttributes); }; NSPyzeCommerceCuratedList.postShared = function (curatedList, curatedListCreator, customAttributes) { PyzeCommerceCuratedList.postSharedWithCreatorWithAttributes(curatedList, curatedListCreator, customAttributes); }; NSPyzeCommerceCuratedList.postPublished = function (curatedList, curatedListCreator, customAttributes) { PyzeCommerceCuratedList.postPublishedWithCreatorWithAttributes(curatedList, curatedListCreator, customAttributes); }; return NSPyzeCommerceCuratedList; }()); exports.NSPyzeCommerceCuratedList = NSPyzeCommerceCuratedList; var NSPyzeCommerceDiscovery = (function () { function NSPyzeCommerceDiscovery() { } NSPyzeCommerceDiscovery.postSearched = function (searchstring, latency, customAttributes) { PyzeCommerceDiscovery.postSearchedWithLatencyWithAttributes(searchstring, latency, customAttributes); }; NSPyzeCommerceDiscovery.postBrowsedCategory = function (category, customAttributes) { PyzeCommerceDiscovery.postBrowsedCategoryWithAttributes(category, customAttributes); }; NSPyzeCommerceDiscovery.postBrowsedDeals = function (uniqueDealId, customAttributes) { PyzeCommerceDiscovery.postBrowsedDealsWithAttributes(uniqueDealId, customAttributes); }; NSPyzeCommerceDiscovery.postBrowsedRecommendations = function (uniqueRecommendationID, customAttributes) { PyzeCommerceDiscovery.postBrowsedRecommendationsWithAttributes(uniqueRecommendationID, customAttributes); }; NSPyzeCommerceDiscovery.postBrowsedPrevOrders = function (rangeStart, rangeEnd, customAttributes) { PyzeCommerceDiscovery.postBrowsedPrevOrdersWithEndWithAttributes(rangeStart, rangeEnd, customAttributes); }; return NSPyzeCommerceDiscovery; }()); exports.NSPyzeCommerceDiscovery = NSPyzeCommerceDiscovery; var NSPyzeCommerceItem = (function () { function NSPyzeCommerceItem() { } NSPyzeCommerceItem.postViewedItem = function (customAttributes) { PyzeCommerceItem.postViewedItem(customAttributes); }; NSPyzeCommerceItem.postScannedItem = function (customAttributes) { PyzeCommerceItem.postScannedItem(customAttributes); }; NSPyzeCommerceItem.postViewedReviews = function (customAttributes) { PyzeCommerceItem.postViewedReviews(customAttributes); }; NSPyzeCommerceItem.postViewedDetails = function (customAttributes) { PyzeCommerceItem.postViewedDetails(customAttributes); }; NSPyzeCommerceItem.postViewedPrice = function (customAttributes) { PyzeCommerceItem.postViewedPrice(customAttributes); }; NSPyzeCommerceItem.postItemShare = function (customAttributes) { PyzeCommerceItem.postItemShareItem(customAttributes); }; NSPyzeCommerceItem.postItemRateOn5Scale = function (itemSKU, rating, customAttributes) { PyzeCommerceItem.postItemRateOn5ScaleWithRatingWithAttributes(itemSKU, rating, customAttributes); }; return NSPyzeCommerceItem; }()); exports.NSPyzeCommerceItem = NSPyzeCommerceItem; var NSPyzeCommercePayment = (function () { function NSPyzeCommercePayment() { } NSPyzeCommercePayment.postPaymentStarted = function (customAttributes) { PyzeCommercePayment.postPaymentStarted(customAttributes); }; NSPyzeCommercePayment.postPaymentCompleted = function (customAttributes) { PyzeCommercePayment.postPaymentCompleted(customAttributes); }; NSPyzeCommercePayment.postPaymentAbandoned = function (customAttributes) { PyzeCommercePayment.postPaymentAbandoned(customAttributes); }; NSPyzeCommercePayment.postPaymentFailed = function (customAttributes) { PyzeCommercePayment.postPaymentFailed(customAttributes); }; return NSPyzeCommercePayment; }()); exports.NSPyzeCommercePayment = NSPyzeCommercePayment; var NSPyzeCommerceRevenue = (function () { function NSPyzeCommerceRevenue() { } NSPyzeCommerceRevenue.postRevenue = function (revenue, customAttributes) { PyzeCommerceRevenue.postRevenueWithAttributes(revenue, customAttributes); }; NSPyzeCommerceRevenue.postRevenueDetailed = function (revenue, paymentInstrument, customAttributes) { PyzeCommerceRevenue.postRevenueWithPaymentInstrumentWithAttributes(revenue, paymentInstrument, customAttributes); }; NSPyzeCommerceRevenue.postRevenueUsingApplePay = function (revenue, customAttributes) { PyzeCommerceRevenue.postRevenueUsingApplePayWithAttributes(revenue, customAttributes); }; NSPyzeCommerceRevenue.postRevenueUsingSamsungPay = function (revenue, customAttributes) { PyzeCommerceRevenue.postRevenueUsingSamsungPayWithAttributes(revenue, customAttributes); }; NSPyzeCommerceRevenue.postRevenueUsingGooglePay = function (revenue, customAttributes) { PyzeCommerceRevenue.postRevenueUsingGooglePayWithAttributes(revenue, customAttributes); }; return NSPyzeCommerceRevenue; }()); exports.NSPyzeCommerceRevenue = NSPyzeCommerceRevenue; var NSPyzeCommerceShipping = (function () { function NSPyzeCommerceShipping() { } NSPyzeCommerceShipping.postShippingStarted = function (customAttributes) { PyzeCommerceShipping.postShippingStarted(customAttributes); }; NSPyzeCommerceShipping.postShippingCompleted = function (customAttributes) { PyzeCommerceShipping.postShippingCompleted(customAttributes); }; NSPyzeCommerceShipping.postShippingAbandoned = function (customAttributes) { PyzeCommerceShipping.postShippingAbandoned(customAttributes); }; NSPyzeCommerceShipping.postShippingFailed = function (customAttributes) { PyzeCommerceShipping.postShippingFailed(customAttributes); }; return NSPyzeCommerceShipping; }()); exports.NSPyzeCommerceShipping = NSPyzeCommerceShipping; var NSPyzeCommerceSupport = (function () { function NSPyzeCommerceSupport() { } NSPyzeCommerceSupport.postLiveChatStartedWithTopic = function (topic, orderNumber, customAttributes) { PyzeCommerceSupport.postLiveChatStartedWithTopicWithOrderNumberWithAttributes(topic, orderNumber, customAttributes); }; NSPyzeCommerceSupport.postLiveChatEndedWithTopic = function (topic, orderNumber, customAttributes) { PyzeCommerceSupport.postLiveChatEndedWithTopicWithOrderNumberWithAttributes(topic, orderNumber, customAttributes); }; NSPyzeCommerceSupport.postTicketCreated = function (topic, itemID, orderNumber, customAttributes) { PyzeCommerceSupport.postTicketCreatedWithTopicWithOrderNumberWithAttributes(topic, itemID, orderNumber, customAttributes); }; NSPyzeCommerceSupport.postFeedbackReceived = function (feedback, orderNumber, customAttributes) { PyzeCommerceSupport.postFeedbackReceivedWithOrderNumberWithAttributes(feedback, orderNumber, customAttributes); }; NSPyzeCommerceSupport.postQualityOfServiceRated = function (comment, rating, orderNumber, customAttributes) { PyzeCommerceSupport.postQualityOfServiceRatedWithOrderNumberRateOn5ScaleWithAttributes(comment, rating, orderNumber, customAttributes); }; return NSPyzeCommerceSupport; }()); exports.NSPyzeCommerceSupport = NSPyzeCommerceSupport; var NSPyzeCommerceWishList = (function () { function NSPyzeCommerceWishList() { } NSPyzeCommerceWishList.postCreated = function (uniqueWishListId, wishListType, customAttributes) { PyzeCommerceWishList.postCreatedWithWishListTypeWithAttributes(uniqueWishListId, wishListType, customAttributes); }; NSPyzeCommerceWishList.postBrowsed = function (uniqueWishListId, customAttributes) { PyzeCommerceWishList.postBrowsedWithAttributes(uniqueWishListId, customAttributes); }; NSPyzeCommerceWishList.postAddedItem = function (uniqueWishListId, itemCategory, itemId, customAttributes) { PyzeCommerceWishList.postAddedItemWithItemCategoryWithItemIdWithAttributes(uniqueWishListId, itemCategory, itemId, customAttributes); }; NSPyzeCommerceWishList.postRemovedItem = function (uniqueWishListId, itemCategory, itemId, customAttributes) { PyzeCommerceWishList.postRemovedItemWithItemCategoryWithItemIdWithAttributes(uniqueWishListId, itemCategory, itemId, customAttributes); }; NSPyzeCommerceWishList.postShared = function (uniqueWishListId, customAttributes) { PyzeCommerceWishList.postSharedWithAttributes(uniqueWishListId, customAttributes); }; return NSPyzeCommerceWishList; }()); exports.NSPyzeCommerceWishList = NSPyzeCommerceWishList; var NSPyzeContent = (function () { function NSPyzeContent() { } NSPyzeContent.postViewed = function (contentName, categoryName, contentId, customAttributes) { PyzeContent.postViewedCategoryWithUniqueContentIdWithAttributes(contentName, categoryName, contentId, customAttributes); }; NSPyzeContent.postSearched = function (searchstring, customAttributes) { PyzeContent.postSearchedWithAttributes(searchstring, customAttributes); }; NSPyzeContent.postRatedOn5PointScale = function (contentName, categoryName, contentId, rating, customAttributes) { PyzeContent.postRatedOn5PointScaleCategoryWithUniqueContentIdContentRatingWithAttributes(contentName, categoryName, contentId, rating, customAttributes); }; NSPyzeContent.postRatedThumbsUp = function (contentName, categoryName, contentId, customAttributes) { PyzeContent.postRatedThumbsUpCategoryWithUniqueContentIdWithAttributes(contentName, categoryName, contentId, customAttributes); }; NSPyzeContent.postRatedThumbsDown = function (contentName, categoryName, contentId, customAttributes) { PyzeContent.postRatedThumbsDownCategoryWithUniqueContentIdWithAttributes(contentName, categoryName, contentId, customAttributes); }; return NSPyzeContent; }()); exports.NSPyzeContent = NSPyzeContent; var NSPyzeDrone = (function () { function NSPyzeDrone() { } NSPyzeDrone.postPreflightCheckCompleted = function (overallStatus, storageStatus, droneBatteryChargePercent, deviceBatteryChargePercent, calibrationStatus, gpsStatus, customAttributes) { PyzeDrone.postPreflightCheckCompletedWithStorageStatusWithDroneBatteryWithTransmitterBatteryWithCalibrationStatusWithGPSStatusWithAttributes(overallStatus, storageStatus, droneBatteryChargePercent, deviceBatteryChargePercent, calibrationStatus, gpsStatus, customAttributes); }; NSPyzeDrone.postInflightCheckCompleted = function (overallStatus, rollStatus, pitchStatus, yawStatus, throttleStatus, trimmingSettings, customAttributes) { PyzeDrone.postInflightCheckCompletedWithRollWithPitchWithYawWithThrottleWithTrimWithAttributes(overallStatus, rollStatus, pitchStatus, yawStatus, throttleStatus, trimmingSettings, customAttributes); }; NSPyzeDrone.postConnected = function (customAttributes) { PyzeDrone.postConnected(customAttributes); }; NSPyzeDrone.postDisconnected = function (code, customAttributes) { PyzeDrone.postDisconnectedWithAttributes(code, customAttributes); }; NSPyzeDrone.postAirborne = function (status, customAttributes) { PyzeDrone.postAirborneWithAttributes(status, customAttributes); }; NSPyzeDrone.postLanded = function (status, customAttributes) { PyzeDrone.postLandedWithAttributes(status, customAttributes); }; NSPyzeDrone.postFlightPathCreated = function (uniqueFlightPathId, customAttributes) { PyzeDrone.postFlightPathCreatedWithAttributes(uniqueFlightPathId, customAttributes); }; NSPyzeDrone.postFlightPathUploaded = function (uniqueFlightPathId, customAttributes) { PyzeDrone.postFlightPathUploadedWithAttributes(uniqueFlightPathId, customAttributes); }; NSPyzeDrone.postFlightPathEdited = function (uniqueFlightPathId, customAttributes) { PyzeDrone.postFlightPathEditedWithAttributes(uniqueFlightPathId, customAttributes); }; NSPyzeDrone.postFlightPathDeleted = function (uniqueFlightPathId, customAttributes) { PyzeDrone.postFlightPathDeletedWithAttributes(uniqueFlightPathId, customAttributes); }; NSPyzeDrone.postFlightPathCompleted = function (uniqueFlightPathId, customAttributes) { PyzeDrone.postFlightPathCompletedWithAttributes(uniqueFlightPathId, customAttributes); }; NSPyzeDrone.postFirstPersonViewEnabled = function (status, customAttributes) { PyzeDrone.postFirstPersonViewEnabledWithAttributes(status, customAttributes); }; NSPyzeDrone.postFirstPersonViewDisabled = function (status, customAttributes) { PyzeDrone.postFirstPersonViewDisabledWithAttributes(status, customAttributes); }; NSPyzeDrone.postStartedAerialVideo = function (status, customAttributes) { PyzeDrone.postStartedAerialVideoWithAttributes(status, customAttributes); }; NSPyzeDrone.postStartedAerialVideoDetailed = function (status, videoIdentifer, customAttributes) { PyzeDrone.postStartedAerialVideoVideoIdentiferWithAttributes; }; NSPyzeDrone.postStoppedAerialVideo = function (status, secondsLength, customAttributes) { PyzeDrone.postStoppedAerialVideoWithLengthWithAttributes(status, secondsLength, customAttributes); }; NSPyzeDrone.postTookAerialPicture = function (status, customAttributes) { PyzeDrone.postTookAerialPictureWithAttributes(status, customAttributes); }; NSPyzeDrone.postStartedAerialTimelapse = function (status, totalshots, secondsBetweenShots, customAttributes) { PyzeDrone.postStartedAerialTimelapseTotalShotsDelayBetweenShotsWithAttributes(status, totalshots, secondsBetweenShots, customAttributes); }; NSPyzeDrone.postStoppedAerialTimelapse = function (status, customAttributes) { PyzeDrone.postStoppedAerialTimelapseWithAttributes(status, customAttributes); }; NSPyzeDrone.postRequestedReturnToBase = function (customAttributes) { PyzeDrone.postRequestedReturnToBase(customAttributes); }; NSPyzeDrone.postSwitchedToHelicopterFlyingMode = function (customAttributes) { PyzeDrone.postSwitchedToHelicopterFlyingMode(customAttributes); }; NSPyzeDrone.postSwitchedToAltitudeFlyingMode = function (customAttributes) { PyzeDrone.postSwitchedToAttitudeFlyingMode(customAttributes); }; NSPyzeDrone.postSwitchedToGPSHoldFlyingMode = function (customAttributes) { PyzeDrone.postSwitchedToGPSHoldFlyingMode(customAttributes); }; NSPyzeDrone.postSwitchedToCustomFlyingMode = function (mode, customAttributes) { PyzeDrone.postSwitchedToCustomFlyingModeWithAttributes(mode, customAttributes); }; NSPyzeDrone.postSetMaxAltitude = function (altitudeInMeters, customAttributes) { PyzeDrone.postSetMaxAltitudeWithAttributes(altitudeInMeters, customAttributes); }; NSPyzeDrone.postSetAutoReturnInSeconds = function (seconds, customAttributes) { PyzeDrone.postSetAutoReturnInSecondsWithAttributes(seconds, customAttributes); }; NSPyzeDrone.postSetAutoReturnWhenLowMemory = function (memoryLeftInKilobytes, customAttributes) { PyzeDrone.postSetAutoReturnWhenLowMemoryWithAttributes(memoryLeftInKilobytes, customAttributes); }; NSPyzeDrone.postSetAutoReturnWhenLowBattery = function (batterylevelPercent, customAttributes) { PyzeDrone.postSetAutoReturnWhenLowBatteryWithAttributes(batterylevelPercent, customAttributes); }; return NSPyzeDrone; }()); exports.NSPyzeDrone = NSPyzeDrone; var NSPyzeExplicitActivation = (function () { function NSPyzeExplicitActivation() { } NSPyzeExplicitActivation.postWithAttributes = function (customAttributes) { PyzeExplicitActivation.postWithAttributes(customAttributes); }; NSPyzeExplicitActivation.post = function () { PyzeExplicitActivation.post(); }; return NSPyzeExplicitActivation; }()); exports.NSPyzeExplicitActivation = NSPyzeExplicitActivation; var NSPyzeGaming = (function () { function NSPyzeGaming() { } NSPyzeGaming.postLevelStarted = function (level, customAttributes) { PyzeGaming.postLevelStartedWithAttributes(level, customAttributes); }; NSPyzeGaming.postLevelEnded = function (level, score, success, customAttributes) { PyzeGaming.postLevelEndedWithScoreWithSuccessOrFailureWithAttributes(level, score, success, customAttributes); }; NSPyzeGaming.postPowerUpConsumed = function (level, type, value, customAttributes) { PyzeGaming.postPowerUpConsumedWithTypeWithValueWithAttributes(level, type, value, customAttributes); }; NSPyzeGaming.postInGameItemPurchased = function (uniqueItemId, itemType, value, customAttributes) { PyzeGaming.postInGameItemPurchasedWithItemTypeWithItemValueWithAttributes(uniqueItemId, itemType, value, customAttributes); }; NSPyzeGaming.postAchievementEarned = function (uniqueAchievementId, type, customAttributes) { PyzeGaming.postAchievementEarnedWithTypeWithAttributes(uniqueAchievementId, type, customAttributes); }; NSPyzeGaming.postSummaryViewed = function (level, type, customAttributes) { PyzeGaming.postSummaryViewedWithScoreWithAttributes(level, type, customAttributes); }; NSPyzeGaming.postLeaderBoardViewed = function (level, score, customAttributes) { PyzeGaming.postLeaderBoardViewedWithScoreWithAttributes(level, score, customAttributes); }; NSPyzeGaming.postScorecardViewed = function (level, score, customAttributes) { PyzeGaming.postScorecardViewedWithScoreWithAttributes(level, score, customAttributes); }; NSPyzeGaming.postHelpViewed = function (helpTopicId, customAttributes) { PyzeGaming.postHelpViewedWithAttributes(helpTopicId, customAttributes); }; NSPyzeGaming.postTutorialViewed = function (helpTopicId, customAttributes) { PyzeGaming.postTutorialViewedWithAttributes(helpTopicId, customAttributes); }; NSPyzeGaming.postFriendChallenged = function (customAttributes) { PyzeGaming.postFriendChallenged(customAttributes); }; NSPyzeGaming.postChallengeAccepted = function (customAttributes) { PyzeGaming.postChallengeAccepted(customAttributes); }; NSPyzeGaming.postChallengeDeclined = function (customAttributes) { PyzeGaming.postChallengeDeclined(customAttributes); }; NSPyzeGaming.postGameStarted = function (level, customAttributes) { PyzeGaming.postGameStartWithAttributes; }; NSPyzeGaming.postGameEnd = function (levelsPlayed, levelsWon, customAttributes) { PyzeGaming.postGameEndWithLevelsWonWithAttributes(levelsPlayed, levelsWon, customAttributes); }; return NSPyzeGaming; }()); exports.NSPyzeGaming = NSPyzeGaming; var NSPyzeHealthAndFitness = (function () { function NSPyzeHealthAndFitness() { } NSPyzeHealthAndFitness.postStarted = function (customAttributes) { PyzeHealthAndFitness.postStarted(customAttributes); }; NSPyzeHealthAndFitness.postEnded = function (customAttributes) { PyzeHealthAndFitness.postEnded(customAttributes); }; NSPyzeHealthAndFitness.postAchievementReceived = function (customAttributes) { PyzeHealthAndFitness.postAchievementReceived(customAttributes); }; NSPyzeHealthAndFitness.postStepGoalCompleted = function (customAttributes) { PyzeHealthAndFitness.postStepGoalCompleted(customAttributes); }; NSPyzeHealthAndFitness.postGoalCompleted = function (customAttributes) { PyzeHealthAndFitness.postGoalCompleted(customAttributes); }; NSPyzeHealthAndFitness.postChallengedFriend = function (customAttributes) { PyzeHealthAndFitness.postChallengedFriend(customAttributes); }; NSPyzeHealthAndFitness.postChallengeAccepted = function (customAttributes) { PyzeHealthAndFitness.postChallengeAccepted(customAttributes); }; return NSPyzeHealthAndFitness; }()); exports.NSPyzeHealthAndFitness = NSPyzeHealthAndFitness; var NSPyzeIdentity = (function () { function NSPyzeIdentity() { } NSPyzeIdentity.setUserIdentifier = function (userIdentifier) { PyzeIdentity.setUserIdentifer(userIdentifier); }; NSPyzeIdentity.resetUserIdentifier = function () { PyzeIdentity.resetUserIdentifier(); }; NSPyzeIdentity.postTraits = function (attributes) { PyzeIdentity.postTraits(attributes); }; return NSPyzeIdentity; }()); exports.NSPyzeIdentity = NSPyzeIdentity; var NSPyzeInAppPurchaseRevenue = (function () { function NSPyzeInAppPurchaseRevenue() { } NSPyzeInAppPurchaseRevenue.postPriceListViewed = function (appScreenRequestFromId, customAttributes) { PyzeInAppPurchaseRevenue.postPriceListViewViewedWithAttributes(appScreenRequestFromId, customAttributes); }; NSPyzeInAppPurchaseRevenue.postBuyItem = function (itemName, currency, price, itemType, itemSKU, quantity, appScreenRequestFromId, status, successOrErrorCode, customAttributes) { PyzeInAppPurchaseRevenue.postBuyItemPriceCurrencyItemTypeItemSKUQuantityRequestIdStatusSuccessCodeWithAttributes(itemName, price, currency, itemType, itemSKU, quantity, appScreenRequestFromId, status, successOrErrorCode, customAttributes); }; NSPyzeInAppPurchaseRevenue.postBuyItemShort = function (itemName, price, currencyISO4217Code, customAttributes) { PyzeInAppPurchaseRevenue.postBuyItemPriceCurrencyWithAttributes(itemName, price, currencyISO4217Code, customAttributes); }; NSPyzeInAppPurchaseRevenue.postBuyItemUSD = function (itemName, price, customAttributes) { PyzeInAppPurchaseRevenue.postBuyItemInUSDPriceWithAttributes(itemName, price, customAttributes); }; return NSPyzeInAppPurchaseRevenue; }()); exports.NSPyzeInAppPurchaseRevenue = NSPyzeInAppPurchaseRevenue; var NSPyzeMedia = (function () { function NSPyzeMedia() { } NSPyzeMedia.postPlayedMedia = function (contentName, type, categoryName, percent, contentId, customAttributes) { PyzeMedia.postPlayedMediaMediaTypeCategoryPercentPlayedWithUniqueContentIdWithAttributes(contentName, type, categoryName, percent, contentId, customAttributes); }; NSPyzeMedia.postSearched = function (searchString, customAttributes) { PyzeMedia.postSearchedWithAttributes(searchString, customAttributes); }; NSPyzeMedia.postRateOn5PointScale = function (contentName, categoryName, contentId, rating, customAttributes) { PyzeMedia.postRatedOn5PointScaleCategoryWithUniqueContentIdContentRatingWithAttributes(contentName, categoryName, contentId, rating, customAttributes); }; NSPyzeMedia.postRatedThumbsUp = function (contentName, categoryName, contentId, customAttributes) { PyzeMedia.postRatedThumbsUpCategoryWithUniqueContentIdWithAttributes(contentName, categoryName, contentId, customAttributes); }; NSPyzeMedia.postRatedThumbsDown = function (contentName, categoryName, contentId, customAttributes) { PyzeMedia.postRatedThumbsDownCategoryWithUniqueContentIdWithAttributes(contentName, categoryName, contentId, customAttributes); }; return NSPyzeMedia; }()); exports.NSPyzeMedia = NSPyzeMedia; var NSPyzeMessaging = (function () { function NSPyzeMessaging() { } NSPyzeMessaging.postMessageSent = function (uniqueId, customAttributes) { PyzeMessaging.postMessageSentWithAttributes(uniqueId, customAttributes); }; NSPyzeMessaging.postMessageSentOfType = function (messageType, uniqueId, customAttributes) { var messageTypeEnum = pyzeMessageType[messageType]; PyzeMessaging.postMessageSentOfTypeWithUniqueIdWithAttributes(messageTypeEnum, uniqueId, customAttributes); }; NSPyzeMessaging.postMessageReceived = function (uniqueId, customAttributes) { PyzeMessaging.postMessageReceivedWithAttributes(uniqueId, customAttributes); }; NSPyzeMessaging.postMessageNewConversation = function (uniqueId, customAttributes) { PyzeMessaging.postMessageNewConversationWithAttributes(uniqueId, customAttributes); }; NSPyzeMessaging.postMessageVoiceCall = function (uniqueId, customAttributes) { PyzeMessaging.postMessageVoiceCallWithAttributes(uniqueId, customAttributes); }; return NSPyzeMessaging; }()); exports.NSPyzeMessaging = NSPyzeMessaging; var NSPyzePersonalizationIntelligence = (function () { function NSPyzePersonalizationIntelligence() { } NSPyzePersonalizationIntelligence.getTags = function (callback) { PyzePersonalizationIntelligence.getTags(function (param) { callback(param); }); }; NSPyzePersonalizationIntelligence.isTagSet = function (tag) { return PyzePersonalizationIntelligence.isTagSet(tag); }; NSPyzePersonalizationIntelligence.areAnyTagSet = function (tags) { return PyzePersonalizationIntelligence.areAnyTagsSet(tags); }; NSPyzePersonalizationIntelligence.areAllTagSet = function (tags) { return PyzePersonalizationIntelligence.areAllTagsSet(tags); }; return NSPyzePersonalizationIntelligence; }()); exports.NSPyzePersonalizationIntelligence = NSPyzePersonalizationIntelligence; var NSPyzeSceneFlow = (function () { function NSPyzeSceneFlow() { } NSPyzeSceneFlow.postSecondsOnScene = function (sceneName, seconds) { PyzeSceneFlow.postSecondsOnSceneForSeconds(sceneName, seconds); }; return NSPyzeSceneFlow; }()); exports.NSPyzeSceneFlow = NSPyzeSceneFlow; var NSPyzeSocial = (function () { function NSPyzeSocial() { } NSPyzeSocial.postSocialContentShareForNetworkName = function (socialNetworkName, contentReference, category, customAttributes) { PyzeSocial.postSocialContentShareForNetworkNameForContentReferenceCategoryWithAttributes(socialNetworkName, contentReference, category, customAttributes); }; NSPyzeSocial.postLiked = function (socialNetworkName, contentReference, category, customAttributes) { PyzeSocial.postLikedForContentReferenceCategoryWithAttributes(socialNetworkName, contentReference, category, customAttributes); }; NSPyzeSocial.postFollowed = function (socialNetworkName, contentReference, category, customAttributes) { PyzeSocial.postFollowedForContentReferenceCategoryWithAttributes(socialNetworkName, contentReference, category, customAttributes); }; NSPyzeSocial.postSubscribed = function (socialNetworkName, contentReference, category, customAttributes) { PyzeSocial.postSubscribedForContentReferenceCategoryWithAttributes(socialNetworkName, contentReference, category, customAttributes); }; NSPyzeSocial.postInvitedFriends = function (socialNetworkName, customAttributes) { PyzeSocial.postInvitedFriendWithAttributes(socialNetworkName, customAttributes); }; NSPyzeSocial.postFoundFriends = function (source, customAttributes) { PyzeSocial.postFoundFriendsWithAtrributes(source, customAttributes); }; return NSPyzeSocial; }()); exports.NSPyzeSocial = NSPyzeSocial; var NSPyzeSupport = (function () { function NSPyzeSupport() { } NSPyzeSupport.postRequestedPhoneCallback = function (customAttributes) { PyzeSupport.postRequestedPhoneCallback(customAttributes); }; NSPyzeSupport.postLiveChatStartedWithTopic = function (topic, customAttributes) { PyzeSupport.postLiveChatStartedWithTopicWithAttributes(topic, customAttributes); }; NSPyzeSupport.postLiveChatEndedWithTopic = function (topic, customAttributes) { PyzeSupport.postLiveChatEndedWithTopicWithAttributes(topic, customAttributes); }; NSPyzeSupport.postTicketCreated = function (itemID, topic, customAttributes) { PyzeSupport.postTicketCreatedWithTopicWithAttributes(itemID, topic, customAttributes); }; NSPyzeSupport.postFeedbackReceived = function (feedback, customAttributes) { PyzeSupport.postFeedbackReceivedWithAttributes(feedback, customAttributes); }; NSPyzeSupport.postQualityOfServiceRated = function (comment, rating, customAttributes) { PyzeSupport.postQualityOfServiceRatedRateOn5ScaleWithAttributes(comment, rating, customAttributes); }; return NSPyzeSupport; }()); exports.NSPyzeSupport = NSPyzeSupport; var NSPyzeTasks = (function () { function NSPyzeTasks() { } NSPyzeTasks.postAddToCalendarWithAttributes = function (customAttributes) { PyzeTasks.addToCalendarwithAttributes(customAttributes); }; return NSPyzeTasks; }()); exports.NSPyzeTasks = NSPyzeTasks; var NSPyzeWeatherAndForecast = (function () { function NSPyzeWeatherAndForecast() { } NSPyzeWeatherAndForecast.postWeatherRequestedForType = function (type, howManyDays, customAttributes) { var weatherTypeEnum = pyzeWeatherRequestType[type]; PyzeWeatherAndForecast.postWeatherRequestedForTypeForDaysWithAttributes(weatherTypeEnum, howManyDays, customAttributes); }; NSPyzeWeatherAndForecast.postWeatherHistoricalRequest = function (startInterval, endInterval, customAttributes) { PyzeWeatherAndForecast.postWeatherHistoricalRequestWithEndDateWithAttributes(startInterval, endInterval, customAttributes); }; NSPyzeWeatherAndForecast.postWeatherStationsRequestWithClusterData = function (clusterData, point, customAttributes) { var mPoint = new PyzeGeoPoint(); mPoint.GeoPointLat = point["latitude"]; mPoint.GeoPointLon = point["longitude"]; PyzeWeatherAndForecast.postWeatherStationsRequestWithClusterDataAtGeoPointWithAttributes(clusterData, mPoint, customAttributes); }; NSPyzeWeatherAndForecast.postWeatherMapLayersRequested = function (layerName, customAttributes) { PyzeWeatherAndForecast.postWeatherMapLayersRequestedWithAttributes(layerName, customAttributes); }; NSPyzeWeatherAndForecast.postWeatherRequestForUVIndexAtPoint = function (point, customAttributes) { var mPoint = new PyzeGeoPoint(); mPoint.GeoPointLat = point["latitude"]; mPoint.GeoPointLon = point["longitude"]; PyzeWeatherAndForecast.postWeatherRequestForUVIndexAtPointWithAttributes(mPoint, customAttributes); }; NSPyzeWeatherAndForecast.postWeatherResponseForType = function (type, customAttributes) { PyzeWeatherAndForecast.postWeatherResponseForTypeWithAttributes(type, customAttributes); }; NSPyzeWeatherAndForecast.postWeatherResponseForHistoricalData = function (customAttributes) { PyzeWeatherAndForecast.postWeatherResponseForHistoricalData(customAttributes); }; NSPyzeWeatherAndForecast.postWeatherStationResponseData = function (customAttributes) { PyzeWeatherAndForecast.postWeatherStationResponseData(customAttributes); }; NSPyzeWeatherAndForecast.postWeatherMapLayersResponse = function (customAttributes) { PyzeWeatherAndForecast.postWeatherMapLayersResponse(customAttributes); }; NSPyzeWeatherAndForecast.postWeatherResponseForUVIndex = function (customAttributes) { PyzeWeatherAndForecast.postWeatherResponseForUVIndex(customAttributes); }; NSPyzeWeatherAndForecast.postForecastRequestForKeywords = function (commaSeperateKeywords, customAttributes) { PyzeWeatherAndForecast.postForecastRequestForKeywordsWithAttributes(commaSeperateKeywords, customAttributes); }; NSPyzeWeatherAndForecast.postForecastResponseForKeywordsShort = function (customAttributes) { PyzeWeatherAndForecast.postForecastResponseForKeywords(customAttributes); }; NSPyzeWeatherAndForecast.postForecastFetch = function (nDays, customAttributes) { PyzeWeatherAndForecast.postForecastFetchWithAttributes(nDays, customAttributes); }; NSPyzeWeatherAndForecast.postForecastFetchResponse = function (customAttributes) { PyzeWeatherAndForecast.postForecastFetchResponse(customAttributes); }; return NSPyzeWeatherAndForecast; }()); exports.NSPyzeWeatherAndForecast = NSPyzeWeatherAndForecast; var NSPyzeSMS = (function () { function NSPyzeSMS() { } NSPyzeSMS.registerDevice = function (phoneNumber, countryCode, customAttributes) { PyzeSMS.postRegisteredDeviceWithCountryCodeWithAttributes(phoneNumber, countryCode, customAttributes); }; NSPyzeSMS.sendVerification = function (phoneNumber, countryCode, verificationCode, customAttributes) { PyzeSMS.postVerificationWithVerificationCodeWithCountryCodeWithAttributes(phoneNumber, verificationCode, countryCode, customAttributes); }; NSPyzeSMS.unsubscribeDevice = function (phoneNumber, countryCode, customAttributes) { PyzeSMS.postUnsubscribeDeviceWithCountryCodeWithAttributes(phoneNumber, countryCode, customAttributes); }; return NSPyzeSMS; }()); exports.NSPyzeSMS = NSPyzeSMS; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHl6ZS1ucy1pb3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJweXplLW5zLWlvcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQXlDQSxJQUFJLFdBQVcsR0FBRyxPQUFPLENBQUMsT0FBTyxDQUFDLENBQUM7QUFJbkMsSUFBTSxvQkFBb0IsR0FBRztJQUkzQixtQkFBbUIsRUFBRyxDQUFDO0lBSXZCLGlCQUFpQixFQUFHLENBQUM7SUFJckIsZ0JBQWdCLEVBQUcsQ0FBQztDQUNyQixDQUFBO0FBT0QsSUFBTSxlQUFlLEdBQUc7SUFJaEIsc0JBQXNCLEVBQUcsQ0FBQztJQUsxQixrQkFBa0IsRUFBRyxDQUFDO0lBS3RCLGtCQUFrQixFQUFHLENBQUM7SUFLdEIsbUJBQW1CLEVBQUcsQ0FBQztJQUt2Qix3QkFBd0IsRUFBRyxDQUFDO0lBTTVCLDRCQUE0QixFQUFHLENBQUM7SUFLaEMsc0JBQXNCLEVBQUcsQ0FBQztJQUkxQixnQ0FBZ0MsRUFBRyxDQUFDO0lBS3BDLCtCQUErQixFQUFHLENBQUM7SUFJbkMsZ0NBQWdDLEVBQUcsQ0FBQztJQUtwQyw4QkFBOEIsRUFBRyxFQUFFO0lBS25DLDRCQUE0QixFQUFHLEVBQUU7SUFJakMsZ0NBQWdDLEVBQUcsRUFBRTtJQUtyQyw4QkFBOEIsRUFBRyxFQUFFO0lBS25DLHVDQUF1QyxFQUFHLEVBQUU7SUFLNUMsc0JBQXNCLEVBQUcsRUFBRTtJQUszQixzQkFBc0IsRUFBRyxFQUFFO0lBSzNCLDhCQUE4QixFQUFHLEVBQUU7SUFLbkMsb0JBQW9CLEVBQUcsRUFBRTtJQUt6Qiw4QkFBOEIsRUFBRyxFQUFFO0lBS25DLDZCQUE2QixFQUFHLEVBQUU7SUFLbEMsK0JBQStCLEVBQUcsRUFBRTtJQUtwQywwQkFBMEIsRUFBRyxFQUFFO0lBSS9CLHdCQUF3QixFQUFHLEVBQUU7SUFLN0Isd0JBQXdCLEVBQUcsRUFBRTtJQUs3Qix3QkFBd0IsRUFBRyxFQUFFO0lBSzdCLHVCQUF1QixFQUFHLEVBQUU7SUFRNUIsK0JBQStCLEVBQUcsRUFBRTtDQUMzQyxDQUFDO0FBS0YsSUFBTSxzQkFBc0IsR