@awesome-cordova-plugins/urbanairship
Advanced tools
Comparing version 5.43.0 to 5.44.0
@@ -27,2 +27,3 @@ import { AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; | ||
} | ||
export declare type ContactSubscriptionScope = 'app' | 'email' | 'push' | 'sms'; | ||
/** | ||
@@ -32,4 +33,4 @@ * Interface for UAirship ContactSubscriptionList Editor | ||
export interface ContactSubscriptionListEditor { | ||
subscribe(subscriptionListID: string, contactScope: 'APP' | 'EMAIL'): ContactSubscriptionListEditor; | ||
unsubscribe(subscriptionListID: string, contactScope: 'APP' | 'EMAIL'): ContactSubscriptionListEditor; | ||
subscribe(subscriptionListID: string, contactScope: ContactSubscriptionScope): ContactSubscriptionListEditor; | ||
unsubscribe(subscriptionListID: string, contactScope: ContactSubscriptionScope): ContactSubscriptionListEditor; | ||
apply(success: () => void, failure: (message: string) => void): ContactSubscriptionListEditor; | ||
@@ -439,3 +440,3 @@ } | ||
*/ | ||
getChannelSubscriptionLists(): Promise<any>; | ||
getChannelSubscriptionLists(): Promise<string[]>; | ||
/** | ||
@@ -449,3 +450,3 @@ * Returns the current set of subscription lists for the current contact, | ||
*/ | ||
getContactSubscriptionLists(): Promise<any>; | ||
getContactSubscriptionLists(): Promise<string[]>; | ||
/** | ||
@@ -460,3 +461,3 @@ * Sets an associated identifier for the Connect data stream. | ||
*/ | ||
setAssociatedIdentifier(key: string, identifier: string): Promise<any>; | ||
setAssociatedIdentifier(key: string, identifier: string): Promise<void>; | ||
/** | ||
@@ -463,0 +464,0 @@ * Enables or disables Urban Airship location services. |
@@ -78,4 +78,4 @@ 'use strict'; | ||
UrbanAirShip.prototype.editContactSubscriptionLists = function () { return core.cordova(this, "editContactSubscriptionLists", { "sync": true }, arguments); }; | ||
UrbanAirShip.prototype.getChannelSubscriptionLists = function () { return core.cordova(this, "getChannelSubscriptionLists", { "successIndex": 1, "errorIndex": 2 }, arguments); }; | ||
UrbanAirShip.prototype.getContactSubscriptionLists = function () { return core.cordova(this, "getContactSubscriptionLists", { "successIndex": 1, "errorIndex": 2 }, arguments); }; | ||
UrbanAirShip.prototype.getChannelSubscriptionLists = function () { return core.cordova(this, "getChannelSubscriptionLists", { "successIndex": 0, "errorIndex": 1 }, arguments); }; | ||
UrbanAirShip.prototype.getContactSubscriptionLists = function () { return core.cordova(this, "getContactSubscriptionLists", { "successIndex": 0, "errorIndex": 1 }, arguments); }; | ||
UrbanAirShip.prototype.setAssociatedIdentifier = function (key, identifier) { return core.cordova(this, "setAssociatedIdentifier", {}, arguments); }; | ||
@@ -82,0 +82,0 @@ UrbanAirShip.prototype.setLocationEnabled = function (enabled) { return core.cordova(this, "setLocationEnabled", {}, arguments); }; |
@@ -27,2 +27,3 @@ import { AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; | ||
} | ||
export declare type ContactSubscriptionScope = 'app' | 'email' | 'push' | 'sms'; | ||
/** | ||
@@ -32,4 +33,4 @@ * Interface for UAirship ContactSubscriptionList Editor | ||
export interface ContactSubscriptionListEditor { | ||
subscribe(subscriptionListID: string, contactScope: 'APP' | 'EMAIL'): ContactSubscriptionListEditor; | ||
unsubscribe(subscriptionListID: string, contactScope: 'APP' | 'EMAIL'): ContactSubscriptionListEditor; | ||
subscribe(subscriptionListID: string, contactScope: ContactSubscriptionScope): ContactSubscriptionListEditor; | ||
unsubscribe(subscriptionListID: string, contactScope: ContactSubscriptionScope): ContactSubscriptionListEditor; | ||
apply(success: () => void, failure: (message: string) => void): ContactSubscriptionListEditor; | ||
@@ -439,3 +440,3 @@ } | ||
*/ | ||
getChannelSubscriptionLists(): Promise<any>; | ||
getChannelSubscriptionLists(): Promise<string[]>; | ||
/** | ||
@@ -449,3 +450,3 @@ * Returns the current set of subscription lists for the current contact, | ||
*/ | ||
getContactSubscriptionLists(): Promise<any>; | ||
getContactSubscriptionLists(): Promise<string[]>; | ||
/** | ||
@@ -460,3 +461,3 @@ * Sets an associated identifier for the Connect data stream. | ||
*/ | ||
setAssociatedIdentifier(key: string, identifier: string): Promise<any>; | ||
setAssociatedIdentifier(key: string, identifier: string): Promise<void>; | ||
/** | ||
@@ -463,0 +464,0 @@ * Enables or disables Urban Airship location services. |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"TagGroupEditor":{"__symbolic":"interface"},"AttributesEditor":{"__symbolic":"interface"},"ChannelSubscriptionListEditor":{"__symbolic":"interface"},"ContactSubscriptionListEditor":{"__symbolic":"interface"},"NotificationType":{"none":0,"badge":1,"sound":2,"alert":4},"PresentationOptions":{"none":0,"badge":1,"sound":2,"alert":4},"UrbanAirShip":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@awesome-cordova-plugins/core","name":"AwesomeCordovaNativePlugin","line":95,"character":34},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":94,"character":1}}],"members":{"onDeepLink":[{"__symbolic":"method"}],"onRegistration":[{"__symbolic":"method"}],"onInboxUpdated":[{"__symbolic":"method"}],"onShowInbox":[{"__symbolic":"method"}],"onPushReceived":[{"__symbolic":"method"}],"onNotificationOpened":[{"__symbolic":"method"}],"onNotificationOptInStatus":[{"__symbolic":"method"}],"reattach":[{"__symbolic":"method"}],"takeOff":[{"__symbolic":"method"}],"setAndroidNotificationConfig":[{"__symbolic":"method"}],"setAutoLaunchDefaultMessageCenter":[{"__symbolic":"method"}],"setUserNotificationsEnabled":[{"__symbolic":"method"}],"isUserNotificationsEnabled":[{"__symbolic":"method"}],"isAppNotificationsEnabled":[{"__symbolic":"method"}],"getChannelID":[{"__symbolic":"method"}],"getLaunchNotification":[{"__symbolic":"method"}],"getDeepLink":[{"__symbolic":"method"}],"getTags":[{"__symbolic":"method"}],"setTags":[{"__symbolic":"method"}],"getAlias":[{"__symbolic":"method"}],"setAlias":[{"__symbolic":"method"}],"isQuietTimeEnabled":[{"__symbolic":"method"}],"setQuietTimeEnabled":[{"__symbolic":"method"}],"isInQuietTime":[{"__symbolic":"method"}],"getQuietTime":[{"__symbolic":"method"}],"setQuietTime":[{"__symbolic":"method"}],"setAnalyticsEnabled":[{"__symbolic":"method"}],"isAnalyticsEnabled":[{"__symbolic":"method"}],"getNamedUser":[{"__symbolic":"method"}],"setNamedUser":[{"__symbolic":"method"}],"runAction":[{"__symbolic":"method"}],"editNamedUserTagGroups":[{"__symbolic":"method"}],"editChannelTagGroups":[{"__symbolic":"method"}],"editChannelAttributes":[{"__symbolic":"method"}],"editNamedUserAttributes":[{"__symbolic":"method"}],"editChannelSubscriptionLists":[{"__symbolic":"method"}],"editContactSubscriptionLists":[{"__symbolic":"method"}],"getChannelSubscriptionLists":[{"__symbolic":"method"}],"getContactSubscriptionLists":[{"__symbolic":"method"}],"setAssociatedIdentifier":[{"__symbolic":"method"}],"setLocationEnabled":[{"__symbolic":"method"}],"isLocationEnabled":[{"__symbolic":"method"}],"setBackgroundLocationEnabled":[{"__symbolic":"method"}],"isBackgroundLocationEnabled":[{"__symbolic":"method"}],"displayMessageCenter":[{"__symbolic":"method"}],"dismissMessageCenter":[{"__symbolic":"method"}],"dismissInboxMessage":[{"__symbolic":"method"}],"dismissOverlayInboxMessage":[{"__symbolic":"method"}],"getInboxMessages":[{"__symbolic":"method"}],"markInboxMessageRead":[{"__symbolic":"method"}],"deleteInboxMessage":[{"__symbolic":"method"}],"displayInboxMessage":[{"__symbolic":"method"}],"refreshInbox":[{"__symbolic":"method"}],"overlayInboxMessage":[{"__symbolic":"method"}],"clearNotification":[{"__symbolic":"method"}],"clearNotifications":[{"__symbolic":"method"}],"getActiveNotifications":[{"__symbolic":"method"}],"setAutobadgeEnabled":[{"__symbolic":"method"}],"setBadgeNumber":[{"__symbolic":"method"}],"getBadgeNumber":[{"__symbolic":"method"}],"resetBadge":[{"__symbolic":"method"}],"setNotificationTypes":[{"__symbolic":"method"}],"setPresentationOptions":[{"__symbolic":"method"}],"isSoundEnabled":[{"__symbolic":"method"}],"setSoundEnabled":[{"__symbolic":"method"}],"isVibrateEnabled":[{"__symbolic":"method"}],"setVibrateEnabled":[{"__symbolic":"method"}],"addCustomEvent":[{"__symbolic":"method"}],"trackScreen":[{"__symbolic":"method"}],"enableFeature":[{"__symbolic":"method"}],"disableFeature":[{"__symbolic":"method"}],"setEnabledFeatures":[{"__symbolic":"method"}],"getEnabledFeatures":[{"__symbolic":"method"}],"isFeatureEnabled":[{"__symbolic":"method"}],"getPreferenceCenterConfig":[{"__symbolic":"method"}],"openPreferenceCenter":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"TagGroupEditor":{"__symbolic":"interface"},"AttributesEditor":{"__symbolic":"interface"},"ChannelSubscriptionListEditor":{"__symbolic":"interface"},"ContactSubscriptionScope":{"__symbolic":"interface"},"ContactSubscriptionListEditor":{"__symbolic":"interface"},"NotificationType":{"none":0,"badge":1,"sound":2,"alert":4},"PresentationOptions":{"none":0,"badge":1,"sound":2,"alert":4},"UrbanAirShip":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@awesome-cordova-plugins/core","name":"AwesomeCordovaNativePlugin","line":97,"character":34},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":96,"character":1}}],"members":{"onDeepLink":[{"__symbolic":"method"}],"onRegistration":[{"__symbolic":"method"}],"onInboxUpdated":[{"__symbolic":"method"}],"onShowInbox":[{"__symbolic":"method"}],"onPushReceived":[{"__symbolic":"method"}],"onNotificationOpened":[{"__symbolic":"method"}],"onNotificationOptInStatus":[{"__symbolic":"method"}],"reattach":[{"__symbolic":"method"}],"takeOff":[{"__symbolic":"method"}],"setAndroidNotificationConfig":[{"__symbolic":"method"}],"setAutoLaunchDefaultMessageCenter":[{"__symbolic":"method"}],"setUserNotificationsEnabled":[{"__symbolic":"method"}],"isUserNotificationsEnabled":[{"__symbolic":"method"}],"isAppNotificationsEnabled":[{"__symbolic":"method"}],"getChannelID":[{"__symbolic":"method"}],"getLaunchNotification":[{"__symbolic":"method"}],"getDeepLink":[{"__symbolic":"method"}],"getTags":[{"__symbolic":"method"}],"setTags":[{"__symbolic":"method"}],"getAlias":[{"__symbolic":"method"}],"setAlias":[{"__symbolic":"method"}],"isQuietTimeEnabled":[{"__symbolic":"method"}],"setQuietTimeEnabled":[{"__symbolic":"method"}],"isInQuietTime":[{"__symbolic":"method"}],"getQuietTime":[{"__symbolic":"method"}],"setQuietTime":[{"__symbolic":"method"}],"setAnalyticsEnabled":[{"__symbolic":"method"}],"isAnalyticsEnabled":[{"__symbolic":"method"}],"getNamedUser":[{"__symbolic":"method"}],"setNamedUser":[{"__symbolic":"method"}],"runAction":[{"__symbolic":"method"}],"editNamedUserTagGroups":[{"__symbolic":"method"}],"editChannelTagGroups":[{"__symbolic":"method"}],"editChannelAttributes":[{"__symbolic":"method"}],"editNamedUserAttributes":[{"__symbolic":"method"}],"editChannelSubscriptionLists":[{"__symbolic":"method"}],"editContactSubscriptionLists":[{"__symbolic":"method"}],"getChannelSubscriptionLists":[{"__symbolic":"method"}],"getContactSubscriptionLists":[{"__symbolic":"method"}],"setAssociatedIdentifier":[{"__symbolic":"method"}],"setLocationEnabled":[{"__symbolic":"method"}],"isLocationEnabled":[{"__symbolic":"method"}],"setBackgroundLocationEnabled":[{"__symbolic":"method"}],"isBackgroundLocationEnabled":[{"__symbolic":"method"}],"displayMessageCenter":[{"__symbolic":"method"}],"dismissMessageCenter":[{"__symbolic":"method"}],"dismissInboxMessage":[{"__symbolic":"method"}],"dismissOverlayInboxMessage":[{"__symbolic":"method"}],"getInboxMessages":[{"__symbolic":"method"}],"markInboxMessageRead":[{"__symbolic":"method"}],"deleteInboxMessage":[{"__symbolic":"method"}],"displayInboxMessage":[{"__symbolic":"method"}],"refreshInbox":[{"__symbolic":"method"}],"overlayInboxMessage":[{"__symbolic":"method"}],"clearNotification":[{"__symbolic":"method"}],"clearNotifications":[{"__symbolic":"method"}],"getActiveNotifications":[{"__symbolic":"method"}],"setAutobadgeEnabled":[{"__symbolic":"method"}],"setBadgeNumber":[{"__symbolic":"method"}],"getBadgeNumber":[{"__symbolic":"method"}],"resetBadge":[{"__symbolic":"method"}],"setNotificationTypes":[{"__symbolic":"method"}],"setPresentationOptions":[{"__symbolic":"method"}],"isSoundEnabled":[{"__symbolic":"method"}],"setSoundEnabled":[{"__symbolic":"method"}],"isVibrateEnabled":[{"__symbolic":"method"}],"setVibrateEnabled":[{"__symbolic":"method"}],"addCustomEvent":[{"__symbolic":"method"}],"trackScreen":[{"__symbolic":"method"}],"enableFeature":[{"__symbolic":"method"}],"disableFeature":[{"__symbolic":"method"}],"setEnabledFeatures":[{"__symbolic":"method"}],"getEnabledFeatures":[{"__symbolic":"method"}],"isFeatureEnabled":[{"__symbolic":"method"}],"getPreferenceCenterConfig":[{"__symbolic":"method"}],"openPreferenceCenter":[{"__symbolic":"method"}]}}}}] |
@@ -1,1 +0,1 @@ | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/urbanairship","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^5.1.0"},"version":"5.43.0"} | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/urbanairship","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^5.1.0"},"version":"5.44.0"} |
@@ -1,1 +0,1 @@ | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/urbanairship","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^5.1.0"},"version":"5.43.0"} | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/urbanairship","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^5.1.0"},"version":"5.44.0"} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
216793
2032