@awesome-cordova-plugins/urbanairship 7.0.1 → 8.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ngx/bundle.js CHANGED
@@ -3,7 +3,7 @@
3
3
  var tslib = require('tslib');
4
4
  var i0 = require('@angular/core');
5
5
  var core = require('@awesome-cordova-plugins/core');
6
- var rxjs = require('rxjs');
6
+ require('rxjs');
7
7
 
8
8
  function _interopNamespaceDefault(e) {
9
9
  var n = Object.create(null);
@@ -24,9 +24,9 @@ function _interopNamespaceDefault(e) {
24
24
 
25
25
  var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
26
26
 
27
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54;
28
27
  /**
29
28
  * Enum for notification types.
29
+ *
30
30
  * @readonly
31
31
  * @enum {number}
32
32
  */
@@ -39,6 +39,7 @@ exports.NotificationType = void 0;
39
39
  })(exports.NotificationType || (exports.NotificationType = {}));
40
40
  /**
41
41
  * Enum for presentation options.
42
+ *
42
43
  * @readonly
43
44
  * @enum {number}
44
45
  */
@@ -49,1372 +50,113 @@ exports.PresentationOptions = void 0;
49
50
  PresentationOptions[PresentationOptions["sound"] = 2] = "sound";
50
51
  PresentationOptions[PresentationOptions["alert"] = 4] = "alert";
51
52
  })(exports.PresentationOptions || (exports.PresentationOptions = {}));
52
- class UrbanAirShip extends core.AwesomeCordovaNativePlugin {
53
- /**
54
- * Event fired when a new deep link is received.
55
- * @event deep_link
56
- * @type {object}
57
- * @param {string} [deepLink] The deep link.
58
- */
59
- onDeepLink() {
60
- return;
61
- }
62
- /**
63
- * Event fired when a channel registration occurs.
64
- * @event registration
65
- * @type {object}
66
- * @param {string} [channelID] The channel ID.
67
- * @param {string} [registrationToken] The deviceToken on iOS, and the FCM/ADM token on Android.
68
- * @param {string} [error] Error message if an error occurred.
69
- */
70
- onRegistration() {
71
- return;
72
- }
73
- /**
74
- * Event fired when the inbox is updated.
75
- * @event inbox_updated
76
- */
77
- onInboxUpdated() {
78
- return;
79
- }
80
- /**
81
- * Event fired when the inbox needs to be displayed. This event is only emitted if auto
82
- * launch message center is disabled.
83
- * @event show_inbox
84
- * @type {object}
85
- * @param {string} [messageId] The optional message ID.
86
- */
87
- onShowInbox() {
88
- return;
89
- }
90
- /**
91
- * Event fired when a push is received.
92
- * @event push
93
- * @type {object}
94
- * @param {string} message The push alert message.
95
- * @param {string} title The push title.
96
- * @param {string} subtitle The push subtitle.
97
- * @param {object} extras Any push extras.
98
- * @param {object} aps The raw aps dictionary (iOS only)
99
- * @param {number} [notification_id] The Android notification ID. Deprecated in favor of notificationId.
100
- * @param {string} [notificationId] The notification ID.
101
- */
102
- onPushReceived() {
103
- return;
104
- }
105
- /**
106
- * Event fired when notification opened.
107
- * @event notification_opened
108
- * @type {object}
109
- * @param {string} message The push alert message.
110
- * @param {object} extras Any push extras.
111
- * @param {number} [notification_id] The Android notification ID. Deprecated in favor of notificationId.
112
- * @param {string} [notificationId] The notification ID.
113
- * @param {string} [actionID] The ID of the notification action button if available.
114
- * @param {boolean} isForeground Will always be true if the user taps the main notification. Otherwise its defined by the notification action button.
115
- */
116
- onNotificationOpened() {
117
- return;
118
- }
119
- /**
120
- * Event fired when the user notification opt-in status changes.
121
- * @event notification_opt_in_status
122
- * @type {object}
123
- * @param {boolean} optIn If the user is opted in or not to user notifications.
124
- * @param {object} [authorizedNotificationSettings] iOS only. A map of authorized settings.
125
- * @param {boolean} authorizedNotificationSettings.alert If alerts are authorized.
126
- * @param {boolean} authorizedNotificationSettings.sound If sounds are authorized.
127
- * @param {boolean} authorizedNotificationSettings.badge If badges are authorized.
128
- * @param {boolean} authorizedNotificationSettings.carPlay If car play is authorized.
129
- * @param {boolean} authorizedNotificationSettings.lockScreen If the lock screen is authorized.
130
- * @param {boolean} authorizedNotificationSettings.notificationCenter If the notification center is authorized.
131
- */
132
- onNotificationOptInStatus() {
133
- return;
134
- }
135
- /**
136
- * Re-attaches document event listeners in this webview
137
- */
138
- reattach() {
139
- return;
140
- }
141
- /**
142
- * Initailizes Urban Airship.
143
- *
144
- * The plugin will automatically call takeOff during the next app init in
145
- * order to properly handle incoming push. If takeOff is called multiple times
146
- * in a session, or if the config is different than the previous sesssion, the
147
- * new config will not be used until the next app start.
148
- * @param {object} config The Urban Airship config.
149
- * @param {string} config.site Sets the cloud site, must be either EU or US.
150
- * @param {object} config.development The Urban Airship development config.
151
- * @param {string} config.development.appKey The development appKey.
152
- * @param {string} config.development.appSecret The development appSecret.
153
- * @param {object} config.production The Urban Airship production config.
154
- * @param {string} config.production.appKey The production appKey.
155
- * @param {string} config.production.appSecret The production appSecret.
156
- */
157
- takeOff(config) {
158
- return;
159
- }
160
- /**
161
- * Sets the Android notification config. Values not set will fallback to any values set in the config.xml.
162
- * @param {object} config The notification config.
163
- * @param {string} [config.icon] The name of the drawable resource to use as the notification icon.
164
- * @param {string} [config.largeIcon] The name of the drawable resource to use as the notification large icon.
165
- * @param {string} [config.accentColor] The notification accent color. Format is #AARRGGBB.
166
- */
167
- setAndroidNotificationConfig(config) {
168
- return;
169
- }
170
- /**
171
- * Sets the default behavior when the message center is launched from a push
172
- * notification. If set to false the message center must be manually launched.
173
- * @param {boolean} enabled true to automatically launch the default message center, false to disable.
174
- * @param {Function} [success] Success callback.
175
- * @param {function(message)} [failure] Failure callback.
176
- * @param {string} failure.message The error message.
177
- */
178
- setAutoLaunchDefaultMessageCenter(enabled) {
179
- return;
180
- }
181
- /**
182
- * Enables or disables user notifications.
183
- * @param {boolean} enabled true to enable notifications, false to disable.
184
- * @param {Function} [success] Success callback.
185
- * @param {function(message)} [failure] Failure callback.
186
- * @param {string} failure.message The error message.
187
- */
188
- setUserNotificationsEnabled(enabled) {
189
- return;
190
- }
191
- /**
192
- * Checks if user notifications are enabled or not.
193
- * @param {function(enabled)} success Success callback.
194
- * @param {boolean} success.enabled Flag indicating if user notifications is enabled or not.
195
- * @param {function(message)} [failure] Failure callback.
196
- * @param {string} failure.message The error message.
197
- */
198
- isUserNotificationsEnabled() {
199
- return;
200
- }
201
- /**
202
- * Checks if app notifications are enabled or not. Its possible to have `userNotificationsEnabled`
203
- * but app notifications being disabled if the user opted out of notifications.
204
- * @param {function(enabled)} success Success callback.
205
- * @param {boolean} success.enabled Flag indicating if app notifications is enabled or not.
206
- * @param {function(message)} [failure] Failure callback.
207
- * @param {string} failure.message The error message.
208
- */
209
- isAppNotificationsEnabled() {
210
- return;
211
- }
212
- /**
213
- * Returns the channel ID.
214
- * @param {function(ID)} success The function to call on success.
215
- * @param {string} success.ID The channel ID string
216
- * @param {failureCallback} [failure] The function to call on failure.
217
- * @param {string} failure.message The error message.
218
- */
219
- getChannelID() {
220
- return;
221
- }
222
- /**
223
- * Returns the last notification that launched the application.
224
- * @param {boolean} clear true to clear the notification.
225
- * @param {function(push)} success The function to call on success.
226
- * @param {object} success.push The push message object containing data associated with a push notification.
227
- * @param {string} success.push.message The push alert message.
228
- * @param {object} success.push.extras Any push extras.
229
- * @param {number} [success.push.notification_id] The Android notification ID.
230
- * @param {failureCallback} [failure] The function to call on failure.
231
- * @param {string} failure.message The error message.
232
- */
233
- getLaunchNotification(clear) {
234
- return;
235
- }
236
- /**
237
- * Returns the last received deep link.
238
- * @param {boolean} clear true to clear the deep link.
239
- * @param {function(push)} success The function to call on success.
240
- * @param {string} success.deepLink The deep link.
241
- * @param {failureCallback} [failure] The function to call on failure.
242
- * @param {string} failure.message The error message.
243
- */
244
- getDeepLink(clear) {
245
- return;
246
- }
247
- /**
248
- * Returns the tags as an array.
249
- * @param {function(tags)} success The function to call on success.
250
- * @param {Array} success.tags The tags as an array.
251
- * @param {failureCallback} [failure] The function to call on failure.
252
- * @param {string} failure.message The error message.
253
- */
254
- getTags() {
255
- return;
256
- }
257
- /**
258
- * Sets the tags.
259
- * @param {Array} tags an array of strings.
260
- * @param {Function} [success] Success callback.
261
- * @param {function(message)} [failure] Failure callback.
262
- * @param {string} failure.message The error message.
263
- */
264
- setTags(tags) {
265
- return;
266
- }
267
- /**
268
- * Returns the alias.
269
- * @deprecated Deprecated since 6.7.0 - to be removed in a future version of the plugin - please use getNamedUser
270
- * @param {function(currentAlias)} success The function to call on success.
271
- * @param {string} success.currentAlias The alias as a string.
272
- * @param {function(message)} [failure] Failure callback.
273
- * @param {string} failure.message The error message.
274
- */
275
- getAlias() {
276
- return;
277
- }
278
- /**
279
- * Sets the alias.
280
- * @deprecated Deprecated since 6.7.0 - to be removed in a future version of the plugin - please use setNamedUser
281
- * @param {string} alias string
282
- * @param {Function} [success] Success callback.
283
- * @param {function(message)} [failure] Failure callback.
284
- * @param {string} failure.message The error message.
285
- */
286
- setAlias(alias) {
287
- return;
288
- }
289
- /**
290
- * Checks if quiet time is enabled or not.
291
- * @param {function(enabled)} success Success callback.
292
- * @param {boolean} success.enabled Flag indicating if quiet time is enabled or not.
293
- * @param {function(message)} [failure] Failure callback.
294
- * @param {string} failure.message The error message.
295
- */
296
- isQuietTimeEnabled() {
297
- return;
298
- }
299
- /**
300
- * Enables or disables quiet time.
301
- * @param {boolean} enabled true to enable quiet time, false to disable.
302
- * @param {Function} [success] Success callback.
303
- * @param {function(message)} [failure] Failure callback.
304
- * @param {string} failure.message The error message.
305
- */
306
- setQuietTimeEnabled(enabled) {
307
- return;
308
- }
309
- /**
310
- * Checks if the device is currently in quiet time.
311
- * @param {function(inQuietTime)} success Success callback.
312
- * @param {boolean} success.inQuietTime Flag indicating if quiet time is currently in effect.
313
- * @param {function(message)} [failure] Failure callback.
314
- * @param {string} failure.message The error message.
315
- */
316
- isInQuietTime() {
317
- return;
318
- }
319
- /**
320
- * Returns the quiet time as an object with the following:
321
- * "startHour": Number,
322
- * "startMinute": Number,
323
- * "endHour": Number,
324
- * "endMinute": Number
325
- * @param {function(quietTime)} success The function to call on success.
326
- * @param {object} success.quietTime The quietTime object represents a timespan during
327
- * which notifications should be silenced.
328
- * @param {function(message)} [failure] Failure callback.
329
- * @param {string} failure.message The error message.
330
- */
331
- getQuietTime() {
332
- return;
333
- }
334
- /**
335
- * Sets the quiet time.
336
- * @param {number} startHour for quiet time.
337
- * @param {number} startMinute for quiet time.
338
- * @param {number} endHour for quiet time.
339
- * @param {number} endMinute for quiet time.
340
- * @param {Function} [success] Success callback.
341
- * @param {function(message)} [failure] Failure callback.
342
- * @param {string} failure.message The error message.
343
- */
344
- setQuietTime(startHour, startMinute, endHour, endMinute) {
345
- return;
346
- }
347
- /**
348
- * Enables or disables analytics.
349
- *
350
- * Disabling analytics will delete any locally stored events
351
- * and prevent any events from uploading. Features that depend on analytics being
352
- * enabled may not work properly if it's disabled (reports, region triggers,
353
- * location segmentation, push to local time).
354
- * @param {boolean} enabled true to enable analytics, false to disable.
355
- * @param {Function} [success] Success callback.
356
- * @param {function(message)} [failure] Failure callback.
357
- * @param {string} failure.message The error message.
358
- */
359
- setAnalyticsEnabled(enabled) {
360
- return;
361
- }
362
- /**
363
- * Checks if analytics is enabled or not.
364
- * @param {function(enabled)} success Success callback.
365
- * @param {boolean} success.enabled Flag indicating if analytics is enabled or not.
366
- * @param {function(message)} [failure] Failure callback.
367
- * @param {string} failure.message The error message.
368
- */
369
- isAnalyticsEnabled() {
370
- return;
371
- }
372
- /**
373
- * Returns the named user ID.
374
- * @param {function(namedUser)} success The function to call on success.
375
- * @param {string} success.namedUser The named user ID as a string.
376
- * @param {function(message)} [failure] Failure callback.
377
- * @param {string} failure.message The error message.
378
- */
379
- getNamedUser() {
380
- return;
381
- }
382
- /**
383
- * Sets the named user ID.
384
- * @param {string} namedUser identifier string.
385
- * @param {Function} [success] Success callback.
386
- * @param {function(message)} [failure] Failure callback.
387
- * @param {string} failure.message The error message.
388
- */
389
- setNamedUser(namedUser) {
390
- return;
391
- }
392
- /**
393
- * Runs an Urban Airship action.
394
- * @param {string} actionName action as a string.
395
- * @param {*} actionValue
396
- * @param {function(result)} [success] The function to call on success.
397
- * @param {object} success.result The result's value.
398
- * @param {function(message)} [failure] Failure callback.
399
- * @param {string} failure.message The error message.
400
- */
401
- runAction(actionName, actionValue) {
402
- return;
403
- }
404
- /**
405
- * Creates an editor to modify the named user tag groups.
406
- */
407
- editNamedUserTagGroups() {
408
- return;
409
- }
410
- /**
411
- * Creates an editor to modify the channel tag groups.
412
- */
413
- editChannelTagGroups() {
414
- return;
415
- }
416
- /**
417
- * Creates an editor to modify the channel attributes.
418
- */
419
- editChannelAttributes() {
420
- return;
421
- }
422
- /**
423
- * Creates an editor to modify the named user attributes.
424
- */
425
- editNamedUserAttributes() {
426
- return;
427
- }
428
- /**
429
- * Creates an editor to modify the channel subscription lists.
430
- * @returns {ChannelSubscriptionListEditor} A subscription list editor instance.
431
- * @since 13.3.0
432
- */
433
- editChannelSubscriptionLists() {
434
- return;
435
- }
436
- /**
437
- * Creates an editor to modify the contact subscription lists.
438
- * @returns {ContactSubscriptionListEditor} A subscription list editor instance.
439
- * @since 13.3.0
440
- */
441
- editContactSubscriptionLists() {
442
- return;
443
- }
444
- /**
445
- * Returns the current set of subscription lists for the current channel,
446
- * optionally applying pending subscription list changes that will be applied during the next channel update.
447
- * An empty set indicates that this contact is not subscribed to any lists.
448
- * @param {Function} [success] Success callback.
449
- * @param {string} failure.message The error message.
450
- */
451
- getChannelSubscriptionLists() {
452
- return;
453
- }
454
- /**
455
- * Returns the current set of subscription lists for the current contact,
456
- * optionally applying pending subscription list changes that will be applied during the next contact update.
457
- * An empty set indicates that this contact is not subscribed to any lists.
458
- * @param {Function} [success] Success callback.
459
- * @param {string} failure.message The error message.
460
- */
461
- getContactSubscriptionLists() {
462
- return;
463
- }
464
- /**
465
- * Sets an associated identifier for the Connect data stream.
466
- * @param key Custom key for identifier.
467
- * @param identifier The identifier value.
468
- * @param {Function} [success] Success callback.
469
- * @param {function(message)} [failure] Failure callback.
470
- * @param {string} failure.message The error message.
471
- */
472
- setAssociatedIdentifier(key, identifier) {
473
- return;
474
- }
475
- // Location
476
- /**
477
- * Enables or disables Urban Airship location services.
478
- * @param {boolean} enabled true to enable location, false to disable.
479
- * @param {Function} [success] Success callback.
480
- * @param {function(message)} [failure] Failure callback.
481
- * @param {string} failure.message The error message.
482
- */
483
- setLocationEnabled(enabled) {
484
- return;
485
- }
486
- /**
487
- * Checks if location is enabled or not.
488
- * @param {function(enabled)} success Success callback.
489
- * @param {boolean} success.enabled Flag indicating if location is enabled or not.
490
- * @param {function(message)} [failure] Failure callback.
491
- * @param {string} failure.message The error message.
492
- * @deprecated removed in version 8.0
493
- */
494
- isLocationEnabled() {
495
- return;
496
- }
497
- /**
498
- * Enables or disables background location.
499
- * @param {boolean} enabled true to enable background location, false to disable.
500
- * @param {Function} [success] Success callback.
501
- * @param {function(message)} [failure] Failure callback.
502
- * @param {string} failure.message The error message.
503
- * @deprecated removed in version 8.0
504
- */
505
- setBackgroundLocationEnabled(enabled) {
506
- return;
507
- }
508
- /**
509
- * Checks if background location is enabled or not.
510
- * @param {function(enabled)} success Success callback.
511
- * @param {boolean} success.enabled Flag indicating if background location updates are enabled or not.
512
- * @param {function(message)} [failure] Failure callback.
513
- * @param {string} failure.message The error message.
514
- * @deprecated removed in version 8.0
515
- */
516
- isBackgroundLocationEnabled() {
517
- return;
518
- }
519
- /**
520
- * Displays the message center.
521
- * @param {Function} [success] Success callback.
522
- * @param {function(message)} [failure] Failure callback.
523
- * @param {string} failure.message The error message.
524
- */
525
- displayMessageCenter() {
526
- return;
527
- }
528
- /**
529
- * Dismiss the message center.
530
- * @param {Function} [success] Success callback.
531
- * @param {function(message)} [failure] Failure callback.
532
- * @param {string} failure.message The error message.
533
- */
534
- dismissMessageCenter() {
535
- return;
536
- }
537
- /**
538
- * Dismiss the inbox message.
539
- * @param {Function} [success] Success callback.
540
- * @param {function(message)} [failure] Failure callback.
541
- * @param {string} failure.message The error message.
542
- */
543
- dismissInboxMessage() {
544
- return;
545
- }
546
- /**
547
- * Dismiss the inbox message in the overlay.
548
- * @param {Function} [success] Success callback.
549
- * @param {function(message)} [failure] Failure callback.
550
- * @param {string} failure.message The error message.
551
- * @deprecated removed in version 10.0
552
- */
553
- dismissOverlayInboxMessage() {
554
- return;
555
- }
556
- /**
557
- * Gets the array of inbox messages. Each message will have the following properties:
558
- * "id": string - The messages ID. Needed to display, mark as read, or delete the message.
559
- * "title": string - The message title.
560
- * "sentDate": number - The message sent date in milliseconds.
561
- * "listIconUrl": string, optional - The icon url for the message.
562
- * "isRead": boolean - The unread/read status of the message.
563
- * "extras": object - String to String map of any message extras.
564
- * @param {function(messages)} success The function to call on success.
565
- * @param {Array} success.messages The array of inbox messages.
566
- * @param {function(message)} [failure] Failure callback.
567
- * @param {string} failure.message The error message.
568
- */
569
- getInboxMessages() {
570
- return;
571
- }
572
- /**
573
- * Marks an inbox message read.
574
- * @param {string} messageId The ID of the message to mark as read.
575
- * @param {Function} [success] Success callback.
576
- * @param {function(message)} [failure] Failure callback.
577
- * @param {string} failure.message The error message.
578
- */
579
- markInboxMessageRead(messageId) {
580
- return;
581
- }
582
- /**
583
- * Deletes an inbox message.
584
- * @param {string} messageId The ID of the message to delete.
585
- * @param {Function} [success] Success callback.
586
- * @param {function(message)} [failure] Failure callback.
587
- * @param {string} failure.message The error message.
588
- */
589
- deleteInboxMessage(messageId) {
590
- return;
591
- }
592
- /**
593
- * Displays the inbox message using a full screen view.
594
- * @param {string} messageId The ID of the message to display.
595
- * @param {Function} [success] Success callback.
596
- * @param {function(message)} [failure] Failure callback.
597
- * @param {string} failure.message The error message.
598
- */
599
- displayInboxMessage(messageId) {
600
- return;
601
- }
602
- /**
603
- * Forces the inbox to refresh. This is normally not needed as the inbox
604
- * will automatically refresh on foreground or when a push arrives thats
605
- * associated with a message, but it can be useful when providing a refresh
606
- * button for the message listing.
607
- * @param {Function} [success] Success callback.
608
- * @param {function(message)} [failure] Failure callback.
609
- * @param {string} failure.message The error message.
610
- */
611
- refreshInbox() {
612
- return;
613
- }
614
- /**
615
- * Displays the inbox message using an overlay display.
616
- * @param {string} messageId The ID of the message to display.
617
- * @param {Function} [success] Success callback.
618
- * @param {function(message)} [failure] Failure callback.
619
- * @param {string} failure.message The error message.
620
- * @deprecated removed in version 10.0
621
- */
622
- overlayInboxMessage(messageId) {
623
- return;
624
- }
625
- /**
626
- * Clears a notification by identifier.
627
- * @param {string} identifier The notification identifier.
628
- * @param {Function} [success] Success callback.
629
- * @param {function(message)} [failure] Failure callback.
630
- */
631
- clearNotification(identifier) {
632
- return;
633
- }
634
- /**
635
- * Clears all notifications posted by the application.
636
- * @param {Function} [success] Success callback.
637
- * @param {function(message)} [failure] Failure callback.
638
- * @param {string} failure.message The error message.
639
- */
640
- clearNotifications() {
641
- return;
642
- }
643
- /**
644
- * Gets currently active notifications.
645
- *
646
- * Note: On Android this functionality is only supported on Android M or higher.
647
- * @param {function(messages)} [success] Success callback.
648
- * @param {function(message)} [failure] Failure callback.
649
- */
650
- getActiveNotifications() {
651
- return;
652
- }
653
- // iOS only
654
- /**
655
- * Enables or disables auto badge. Defaults to `NO`.
656
- * @param {boolean} enabled true to enable auto badge, false to disable.
657
- * @param {Function} [success] Success callback.
658
- * @param {function(message)} [failure] Failure callback.
659
- * @param {string} failure.message The error message.
660
- */
661
- setAutobadgeEnabled(enabled) {
662
- return;
663
- }
664
- /**
665
- * Sets the badge number.
666
- * @param count number specified badge to set.
667
- * @param {Function} [success] Success callback.
668
- * @param {function(message)} [failure] Failure callback.
669
- * @param {string} failure.message The error message.
670
- */
671
- setBadgeNumber(count) {
672
- return;
673
- }
674
- /**
675
- * Returns the current badge number.
676
- * @param {function(badgeNumber)} success The function to call on success.
677
- * @param {int} success.badgeNumber The current application badge number.
678
- * @param {function(message)} [failure] Failure callback.
679
- * @param {string} failure.message The error message.
680
- */
681
- getBadgeNumber() {
682
- return;
683
- }
684
- /**
685
- * Clears the badge.
686
- * @param {Function} [success] Success callback.
687
- * @param {function(message)} [failure] Failure callback.
688
- * @param {string} failure.message The error message.
689
- */
690
- resetBadge() {
691
- return;
692
- }
693
- /**
694
- * Sets the iOS notification types. Specify the combination of
695
- * badges, sound and alerts that are desired.
696
- * @param types specified notification types.
697
- * @param {Function} [success] Success callback.
698
- * @param {function(message)} [failure] Failure callback.
699
- * @param {string} failure.message The error message.
700
- */
701
- setNotificationTypes(types) {
702
- return;
703
- }
704
- /**
705
- * Sets the iOS presentation options. Specify the combination of
706
- * badges, sound and alerts that are desired.
707
- * @param options types specified presentation options.
708
- * @param {Function} [success] Success callback.
709
- * @param {function(message)} [failure] Failure callback.
710
- * @param {string} failure.message The error message.
711
- */
712
- setPresentationOptions(options) {
713
- return;
714
- }
715
- // Android only
716
- /**
717
- * Checks if notification sound is enabled or not.
718
- * @param {function(enabled)} success Success callback.
719
- * @param {boolean} success.enabled Flag indicating if sound is enabled or not.
720
- * @param {function(message)} [failure] Failure callback.
721
- * @param {string} failure.message The error message.
722
- */
723
- isSoundEnabled() {
724
- return;
725
- }
726
- /**
727
- * Enables or disables notification sound.
728
- * @param {boolean} enabled true to enable sound, false to disable.
729
- * @param {Function} [success] Success callback.
730
- * @param {function(message)} [failure] Failure callback.
731
- * @param {string} failure.message The error message.
732
- */
733
- setSoundEnabled(enabled) {
734
- return;
735
- }
736
- /**
737
- * Checks if notification vibration is enabled or not.
738
- * @param {function(enabled)} success Success callback.
739
- * @param {boolean} success.enabled Flag indicating if vibration is enabled or not.
740
- * @param {function(message)} [failure] Failure callback.
741
- * @param {string} failure.message The error message.
742
- */
743
- isVibrateEnabled() {
744
- return;
745
- }
746
- /**
747
- * Enables or disables notification vibration.
748
- * @param {boolean} enabled true to enable vibration, false to disable.
749
- * @param {Function} [success] Success callback.
750
- * @param {function(message)} [failure] Failure callback.
751
- * @param {string} failure.message The error message.
752
- */
753
- setVibrateEnabled(enabled) {
754
- return;
755
- }
756
- /**
757
- * Adds a custom event.
758
- * @param {object} event The custom event object.
759
- * @param {string} event.name The event's name.
760
- * @param {number} [event.value] The event's value.
761
- * @param {string} [event.transactionId] The event's transaction ID.
762
- * @param {object} [event.properties] The event's properties. Only numbers, booleans, strings, and array of strings are supported.
763
- * @param {Function} [success] Success callback.
764
- * @param {function(message)} [failure] Failure callback.
765
- * @param {string} failure.message The error message.
766
- */
767
- addCustomEvent(event) {
768
- return;
769
- }
770
- /**
771
- * Initiates screen tracking for a specific app screen, must be called once per tracked screen.
772
- * @param {string} screen The screen's string identifier.
773
- * @param {Function} [success] Success callback.
774
- * @param {function(message)} [failure] Failure callback.
775
- * @param {string} failure.message The error message.
776
- * @since 11.0.0
777
- */
778
- trackScreen(screen) {
779
- return;
780
- }
781
- /**
782
- * Enables features, adding them to the set of currently enabled features.
783
- * @param {Array<string>} features The features to enable.
784
- * @param {Function} [success] Success callback.
785
- * @param {function(message)} [failure] Failure callback.
786
- * @param {string} failure.message The error message.
787
- * @since 13.0.0
788
- */
789
- enableFeature(features) {
790
- return;
791
- }
792
- /**
793
- * Disables features, removing them from the set of currently enabled features.
794
- * @param {Array<string>} features The features to disable.
795
- * @param {Function} [success] Success callback.
796
- * @param {function(message)} [failure] Failure callback.
797
- * @param {string} failure.message The error message.
798
- * @since 13.0.0
799
- */
800
- disableFeature(features) {
801
- return;
802
- }
53
+ var UrbanAirShip = /** @class */ (function (_super) {
54
+ tslib.__extends(UrbanAirShip, _super);
55
+ function UrbanAirShip() {
56
+ return _super !== null && _super.apply(this, arguments) || this;
57
+ }
58
+ UrbanAirShip.prototype.onDeepLink = function () { return core.cordova(this, "onDeepLink", { "eventObservable": true, "event": "urbanairship.deep_link", "element": "document" }, arguments); };
59
+ UrbanAirShip.prototype.onRegistration = function () { return core.cordova(this, "onRegistration", { "eventObservable": true, "event": "urbanairship.registration", "element": "document" }, arguments); };
60
+ UrbanAirShip.prototype.onInboxUpdated = function () { return core.cordova(this, "onInboxUpdated", { "eventObservable": true, "event": "urbanairship.inbox_updated", "element": "document" }, arguments); };
61
+ UrbanAirShip.prototype.onShowInbox = function () { return core.cordova(this, "onShowInbox", { "eventObservable": true, "event": "urbanairship.show_inbox", "element": "document" }, arguments); };
62
+ UrbanAirShip.prototype.onPushReceived = function () { return core.cordova(this, "onPushReceived", { "eventObservable": true, "event": "urbanairship.push", "element": "document" }, arguments); };
63
+ UrbanAirShip.prototype.onNotificationOpened = function () { return core.cordova(this, "onNotificationOpened", { "eventObservable": true, "event": "urbanairship.notification_opened", "element": "document" }, arguments); };
64
+ UrbanAirShip.prototype.onNotificationOptInStatus = function () { return core.cordova(this, "onNotificationOptInStatus", { "eventObservable": true, "event": "urbanairship.notification_opt_in_status", "element": "document" }, arguments); };
65
+ UrbanAirShip.prototype.reattach = function () { return core.cordova(this, "reattach", { "sync": true }, arguments); };
66
+ UrbanAirShip.prototype.takeOff = function (config) { return core.cordova(this, "takeOff", {}, arguments); };
67
+ UrbanAirShip.prototype.setAndroidNotificationConfig = function (config) { return core.cordova(this, "setAndroidNotificationConfig", {}, arguments); };
68
+ UrbanAirShip.prototype.setAutoLaunchDefaultMessageCenter = function (enabled) { return core.cordova(this, "setAutoLaunchDefaultMessageCenter", {}, arguments); };
69
+ UrbanAirShip.prototype.setUserNotificationsEnabled = function (enabled) { return core.cordova(this, "setUserNotificationsEnabled", {}, arguments); };
70
+ UrbanAirShip.prototype.isUserNotificationsEnabled = function () { return core.cordova(this, "isUserNotificationsEnabled", {}, arguments); };
71
+ UrbanAirShip.prototype.isAppNotificationsEnabled = function () { return core.cordova(this, "isAppNotificationsEnabled", {}, arguments); };
72
+ UrbanAirShip.prototype.getChannelID = function () { return core.cordova(this, "getChannelID", {}, arguments); };
73
+ UrbanAirShip.prototype.getLaunchNotification = function (clear) { return core.cordova(this, "getLaunchNotification", {}, arguments); };
74
+ UrbanAirShip.prototype.getDeepLink = function (clear) { return core.cordova(this, "getDeepLink", {}, arguments); };
75
+ UrbanAirShip.prototype.getTags = function () { return core.cordova(this, "getTags", {}, arguments); };
76
+ UrbanAirShip.prototype.setTags = function (tags) { return core.cordova(this, "setTags", {}, arguments); };
77
+ UrbanAirShip.prototype.getAlias = function () { return core.cordova(this, "getAlias", {}, arguments); };
78
+ UrbanAirShip.prototype.setAlias = function (alias) { return core.cordova(this, "setAlias", {}, arguments); };
79
+ UrbanAirShip.prototype.isQuietTimeEnabled = function () { return core.cordova(this, "isQuietTimeEnabled", {}, arguments); };
80
+ UrbanAirShip.prototype.setQuietTimeEnabled = function (enabled) { return core.cordova(this, "setQuietTimeEnabled", {}, arguments); };
81
+ UrbanAirShip.prototype.isInQuietTime = function () { return core.cordova(this, "isInQuietTime", {}, arguments); };
82
+ UrbanAirShip.prototype.getQuietTime = function () { return core.cordova(this, "getQuietTime", {}, arguments); };
83
+ UrbanAirShip.prototype.setQuietTime = function (startHour, startMinute, endHour, endMinute) { return core.cordova(this, "setQuietTime", {}, arguments); };
84
+ UrbanAirShip.prototype.setAnalyticsEnabled = function (enabled) { return core.cordova(this, "setAnalyticsEnabled", {}, arguments); };
85
+ UrbanAirShip.prototype.isAnalyticsEnabled = function () { return core.cordova(this, "isAnalyticsEnabled", {}, arguments); };
86
+ UrbanAirShip.prototype.getNamedUser = function () { return core.cordova(this, "getNamedUser", {}, arguments); };
87
+ UrbanAirShip.prototype.setNamedUser = function (namedUser) { return core.cordova(this, "setNamedUser", {}, arguments); };
88
+ UrbanAirShip.prototype.runAction = function (actionName, actionValue) { return core.cordova(this, "runAction", {}, arguments); };
89
+ UrbanAirShip.prototype.editNamedUserTagGroups = function () { return core.cordova(this, "editNamedUserTagGroups", { "sync": true }, arguments); };
90
+ UrbanAirShip.prototype.editChannelTagGroups = function () { return core.cordova(this, "editChannelTagGroups", { "sync": true }, arguments); };
91
+ UrbanAirShip.prototype.editChannelAttributes = function () { return core.cordova(this, "editChannelAttributes", { "sync": true }, arguments); };
92
+ UrbanAirShip.prototype.editNamedUserAttributes = function () { return core.cordova(this, "editNamedUserAttributes", { "sync": true }, arguments); };
93
+ UrbanAirShip.prototype.editChannelSubscriptionLists = function () { return core.cordova(this, "editChannelSubscriptionLists", { "sync": true }, arguments); };
94
+ UrbanAirShip.prototype.editContactSubscriptionLists = function () { return core.cordova(this, "editContactSubscriptionLists", { "sync": true }, arguments); };
95
+ UrbanAirShip.prototype.getChannelSubscriptionLists = function () { return core.cordova(this, "getChannelSubscriptionLists", { "successIndex": 0, "errorIndex": 1 }, arguments); };
96
+ UrbanAirShip.prototype.getContactSubscriptionLists = function () { return core.cordova(this, "getContactSubscriptionLists", { "successIndex": 0, "errorIndex": 1 }, arguments); };
97
+ UrbanAirShip.prototype.setAssociatedIdentifier = function (key, identifier) { return core.cordova(this, "setAssociatedIdentifier", {}, arguments); };
98
+ UrbanAirShip.prototype.setLocationEnabled = function (enabled) { return core.cordova(this, "setLocationEnabled", {}, arguments); };
99
+ UrbanAirShip.prototype.isLocationEnabled = function () { return core.cordova(this, "isLocationEnabled", {}, arguments); };
100
+ UrbanAirShip.prototype.setBackgroundLocationEnabled = function (enabled) { return core.cordova(this, "setBackgroundLocationEnabled", {}, arguments); };
101
+ UrbanAirShip.prototype.isBackgroundLocationEnabled = function () { return core.cordova(this, "isBackgroundLocationEnabled", {}, arguments); };
102
+ UrbanAirShip.prototype.displayMessageCenter = function () { return core.cordova(this, "displayMessageCenter", {}, arguments); };
103
+ UrbanAirShip.prototype.dismissMessageCenter = function () { return core.cordova(this, "dismissMessageCenter", {}, arguments); };
104
+ UrbanAirShip.prototype.dismissInboxMessage = function () { return core.cordova(this, "dismissInboxMessage", {}, arguments); };
105
+ UrbanAirShip.prototype.dismissOverlayInboxMessage = function () { return core.cordova(this, "dismissOverlayInboxMessage", {}, arguments); };
106
+ UrbanAirShip.prototype.getInboxMessages = function () { return core.cordova(this, "getInboxMessages", {}, arguments); };
107
+ UrbanAirShip.prototype.markInboxMessageRead = function (messageId) { return core.cordova(this, "markInboxMessageRead", {}, arguments); };
108
+ UrbanAirShip.prototype.deleteInboxMessage = function (messageId) { return core.cordova(this, "deleteInboxMessage", {}, arguments); };
109
+ UrbanAirShip.prototype.displayInboxMessage = function (messageId) { return core.cordova(this, "displayInboxMessage", {}, arguments); };
110
+ UrbanAirShip.prototype.refreshInbox = function () { return core.cordova(this, "refreshInbox", {}, arguments); };
111
+ UrbanAirShip.prototype.overlayInboxMessage = function (messageId) { return core.cordova(this, "overlayInboxMessage", {}, arguments); };
112
+ UrbanAirShip.prototype.clearNotification = function (identifier) { return core.cordova(this, "clearNotification", {}, arguments); };
113
+ UrbanAirShip.prototype.clearNotifications = function () { return core.cordova(this, "clearNotifications", {}, arguments); };
114
+ UrbanAirShip.prototype.getActiveNotifications = function () { return core.cordova(this, "getActiveNotifications", {}, arguments); };
115
+ UrbanAirShip.prototype.setAutobadgeEnabled = function (enabled) { return core.cordova(this, "setAutobadgeEnabled", {}, arguments); };
116
+ UrbanAirShip.prototype.setBadgeNumber = function (count) { return core.cordova(this, "setBadgeNumber", {}, arguments); };
117
+ UrbanAirShip.prototype.getBadgeNumber = function () { return core.cordova(this, "getBadgeNumber", {}, arguments); };
118
+ UrbanAirShip.prototype.resetBadge = function () { return core.cordova(this, "resetBadge", {}, arguments); };
119
+ UrbanAirShip.prototype.setNotificationTypes = function (types) { return core.cordova(this, "setNotificationTypes", {}, arguments); };
120
+ UrbanAirShip.prototype.setPresentationOptions = function (options) { return core.cordova(this, "setPresentationOptions", {}, arguments); };
121
+ UrbanAirShip.prototype.isSoundEnabled = function () { return core.cordova(this, "isSoundEnabled", {}, arguments); };
122
+ UrbanAirShip.prototype.setSoundEnabled = function (enabled) { return core.cordova(this, "setSoundEnabled", {}, arguments); };
123
+ UrbanAirShip.prototype.isVibrateEnabled = function () { return core.cordova(this, "isVibrateEnabled", {}, arguments); };
124
+ UrbanAirShip.prototype.setVibrateEnabled = function (enabled) { return core.cordova(this, "setVibrateEnabled", {}, arguments); };
125
+ UrbanAirShip.prototype.addCustomEvent = function (event) { return core.cordova(this, "addCustomEvent", {}, arguments); };
126
+ UrbanAirShip.prototype.trackScreen = function (screen) { return core.cordova(this, "trackScreen", { "successIndex": 1, "errorIndex": 2 }, arguments); };
127
+ UrbanAirShip.prototype.enableFeature = function (features) { return core.cordova(this, "enableFeature", { "successIndex": 1, "errorIndex": 2 }, arguments); };
128
+ UrbanAirShip.prototype.disableFeature = function (features) { return core.cordova(this, "disableFeature", { "successIndex": 1, "errorIndex": 2 }, arguments); };
803
129
  /**
804
130
  * Sets the current enabled features, replacing any currently enabled features with the given set.
131
+ *
805
132
  * @param {Array<string>} features The features to set as enabled.
806
133
  * @param {Function} [success] Success callback.
807
134
  * @param {function(message)} [failure] Failure callback.
808
135
  * @param {string} failure.message The error message.
809
136
  * @since 13.0.0
810
137
  */
811
- setEnabledFeatures(features) {
812
- return;
813
- }
814
- /**
815
- * Gets the current enabled features.
816
- * @param {Function} [success] Success callback.
817
- * @param {function(message)} [failure] Failure callback.
818
- * @param {string} failure.message The error message.
819
- * @since 13.0.0
820
- */
821
- getEnabledFeatures() {
822
- return;
823
- }
824
- /**
825
- * Checks if all of the given features are enabled.
826
- * @param {Array<string>} features The features to check.
827
- * @param {Function} [success] Success callback.
828
- * @param {function(message)} [failure] Failure callback.
829
- * @param {string} failure.message The error message.
830
- * @since 13.0.0
831
- */
832
- isFeatureEnabled(features) {
833
- return;
834
- }
835
- /**
836
- * Returns the configuration of the Preference Center with the given ID trough a callback method.
837
- * @param {string} preferenceCenterId The preference center ID.
838
- * @param {Function} [success] Success callback.
839
- * @param {function(message)} [failure] Failure callback.
840
- * @param {string} failure.message The error message.
841
- * @since 13.3.0
842
- */
843
- getPreferenceCenterConfig(preferenceCenterId) {
844
- return;
845
- }
846
- /**
847
- * Opens the Preference Center with the given preferenceCenterId.
848
- * @param {string} prenferenceCenterId The preference center ID.
849
- * @param {Function} [success] Success callback.
850
- * @param {function(message)} [failure] Failure callback.
851
- * @param {string} failure.message The error message.
852
- * @since 13.0.0
853
- */
854
- openPreferenceCenter(prenferenceCenterId) {
855
- return;
856
- }
857
- /**
858
- * Overrides the locale setting.
859
- * @param {string} locale language and optional country code.
860
- * @param {function} [success] Success callback.
861
- * @param {function(message)} [failure] Failure callback.
862
- * @param {string} failure.message The error message.
863
- * @since 14.3.0
864
- */
865
- setCurrentLocale(locale) {
866
- return;
867
- }
868
- /**
869
- * Returns the currently set locale.
870
- * @param {function(locale)} [success] Success callback.
871
- * @param {string} success.locale The locale as a string.
872
- * @param {function(message)} [failure] Failure callback.
873
- * @param {string} failure.message The error message.
874
- * @since 14.3.0
875
- */
876
- getCurrentLocale() {
877
- return;
878
- }
879
- /**
880
- * Resets the current locale.
881
- * @param {function} [success] Success callback.
882
- * @param {function(message)} [failure] Failure callback.
883
- * @param {string} failure.message The error message.
884
- * @since 14.3.0
885
- */
886
- clearLocale() {
887
- return;
888
- }
889
- }
890
- UrbanAirShip.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0__namespace, type: UrbanAirShip, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
891
- UrbanAirShip.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0__namespace, type: UrbanAirShip });
892
- tslib.__decorate([
893
- Cordova({
894
- eventObservable: true,
895
- event: 'urbanairship.deep_link',
896
- element: 'document',
897
- }),
898
- tslib.__metadata("design:type", Function),
899
- tslib.__metadata("design:paramtypes", []),
900
- tslib.__metadata("design:returntype", typeof (_a = typeof rxjs.Observable !== "undefined" && rxjs.Observable) === "function" ? _a : Object)
901
- ], UrbanAirShip.prototype, "onDeepLink", null);
902
- tslib.__decorate([
903
- Cordova({
904
- eventObservable: true,
905
- event: 'urbanairship.registration',
906
- element: 'document',
907
- }),
908
- tslib.__metadata("design:type", Function),
909
- tslib.__metadata("design:paramtypes", []),
910
- tslib.__metadata("design:returntype", typeof (_b = typeof rxjs.Observable !== "undefined" && rxjs.Observable) === "function" ? _b : Object)
911
- ], UrbanAirShip.prototype, "onRegistration", null);
912
- tslib.__decorate([
913
- Cordova({
914
- eventObservable: true,
915
- event: 'urbanairship.inbox_updated',
916
- element: 'document',
917
- }),
918
- tslib.__metadata("design:type", Function),
919
- tslib.__metadata("design:paramtypes", []),
920
- tslib.__metadata("design:returntype", typeof (_c = typeof rxjs.Observable !== "undefined" && rxjs.Observable) === "function" ? _c : Object)
921
- ], UrbanAirShip.prototype, "onInboxUpdated", null);
922
- tslib.__decorate([
923
- Cordova({
924
- eventObservable: true,
925
- event: 'urbanairship.show_inbox',
926
- element: 'document',
927
- }),
928
- tslib.__metadata("design:type", Function),
929
- tslib.__metadata("design:paramtypes", []),
930
- tslib.__metadata("design:returntype", typeof (_d = typeof rxjs.Observable !== "undefined" && rxjs.Observable) === "function" ? _d : Object)
931
- ], UrbanAirShip.prototype, "onShowInbox", null);
932
- tslib.__decorate([
933
- Cordova({
934
- eventObservable: true,
935
- event: 'urbanairship.push',
936
- element: 'document',
937
- }),
938
- tslib.__metadata("design:type", Function),
939
- tslib.__metadata("design:paramtypes", []),
940
- tslib.__metadata("design:returntype", typeof (_e = typeof rxjs.Observable !== "undefined" && rxjs.Observable) === "function" ? _e : Object)
941
- ], UrbanAirShip.prototype, "onPushReceived", null);
942
- tslib.__decorate([
943
- Cordova({
944
- eventObservable: true,
945
- event: 'urbanairship.notification_opened',
946
- element: 'document',
947
- }),
948
- tslib.__metadata("design:type", Function),
949
- tslib.__metadata("design:paramtypes", []),
950
- tslib.__metadata("design:returntype", typeof (_f = typeof rxjs.Observable !== "undefined" && rxjs.Observable) === "function" ? _f : Object)
951
- ], UrbanAirShip.prototype, "onNotificationOpened", null);
952
- tslib.__decorate([
953
- Cordova({
954
- eventObservable: true,
955
- event: 'urbanairship.notification_opt_in_status',
956
- element: 'document',
957
- }),
958
- tslib.__metadata("design:type", Function),
959
- tslib.__metadata("design:paramtypes", []),
960
- tslib.__metadata("design:returntype", typeof (_g = typeof rxjs.Observable !== "undefined" && rxjs.Observable) === "function" ? _g : Object)
961
- ], UrbanAirShip.prototype, "onNotificationOptInStatus", null);
962
- tslib.__decorate([
963
- Cordova({
964
- sync: true,
965
- }),
966
- tslib.__metadata("design:type", Function),
967
- tslib.__metadata("design:paramtypes", []),
968
- tslib.__metadata("design:returntype", void 0)
969
- ], UrbanAirShip.prototype, "reattach", null);
970
- tslib.__decorate([
971
- Cordova(),
972
- tslib.__metadata("design:type", Function),
973
- tslib.__metadata("design:paramtypes", [Object]),
974
- tslib.__metadata("design:returntype", typeof (_h = typeof Promise !== "undefined" && Promise) === "function" ? _h : Object)
975
- ], UrbanAirShip.prototype, "takeOff", null);
976
- tslib.__decorate([
977
- Cordova(),
978
- tslib.__metadata("design:type", Function),
979
- tslib.__metadata("design:paramtypes", [Object]),
980
- tslib.__metadata("design:returntype", typeof (_j = typeof Promise !== "undefined" && Promise) === "function" ? _j : Object)
981
- ], UrbanAirShip.prototype, "setAndroidNotificationConfig", null);
982
- tslib.__decorate([
983
- Cordova(),
984
- tslib.__metadata("design:type", Function),
985
- tslib.__metadata("design:paramtypes", [Boolean]),
986
- tslib.__metadata("design:returntype", typeof (_k = typeof Promise !== "undefined" && Promise) === "function" ? _k : Object)
987
- ], UrbanAirShip.prototype, "setAutoLaunchDefaultMessageCenter", null);
988
- tslib.__decorate([
989
- Cordova(),
990
- tslib.__metadata("design:type", Function),
991
- tslib.__metadata("design:paramtypes", [Boolean]),
992
- tslib.__metadata("design:returntype", typeof (_l = typeof Promise !== "undefined" && Promise) === "function" ? _l : Object)
993
- ], UrbanAirShip.prototype, "setUserNotificationsEnabled", null);
994
- tslib.__decorate([
995
- Cordova(),
996
- tslib.__metadata("design:type", Function),
997
- tslib.__metadata("design:paramtypes", []),
998
- tslib.__metadata("design:returntype", typeof (_m = typeof Promise !== "undefined" && Promise) === "function" ? _m : Object)
999
- ], UrbanAirShip.prototype, "isUserNotificationsEnabled", null);
1000
- tslib.__decorate([
1001
- Cordova(),
1002
- tslib.__metadata("design:type", Function),
1003
- tslib.__metadata("design:paramtypes", []),
1004
- tslib.__metadata("design:returntype", typeof (_o = typeof Promise !== "undefined" && Promise) === "function" ? _o : Object)
1005
- ], UrbanAirShip.prototype, "isAppNotificationsEnabled", null);
1006
- tslib.__decorate([
1007
- Cordova(),
1008
- tslib.__metadata("design:type", Function),
1009
- tslib.__metadata("design:paramtypes", []),
1010
- tslib.__metadata("design:returntype", typeof (_p = typeof Promise !== "undefined" && Promise) === "function" ? _p : Object)
1011
- ], UrbanAirShip.prototype, "getChannelID", null);
1012
- tslib.__decorate([
1013
- Cordova(),
1014
- tslib.__metadata("design:type", Function),
1015
- tslib.__metadata("design:paramtypes", [Boolean]),
1016
- tslib.__metadata("design:returntype", typeof (_q = typeof Promise !== "undefined" && Promise) === "function" ? _q : Object)
1017
- ], UrbanAirShip.prototype, "getLaunchNotification", null);
1018
- tslib.__decorate([
1019
- Cordova(),
1020
- tslib.__metadata("design:type", Function),
1021
- tslib.__metadata("design:paramtypes", [Boolean]),
1022
- tslib.__metadata("design:returntype", typeof (_r = typeof Promise !== "undefined" && Promise) === "function" ? _r : Object)
1023
- ], UrbanAirShip.prototype, "getDeepLink", null);
1024
- tslib.__decorate([
1025
- Cordova(),
1026
- tslib.__metadata("design:type", Function),
1027
- tslib.__metadata("design:paramtypes", []),
1028
- tslib.__metadata("design:returntype", typeof (_s = typeof Promise !== "undefined" && Promise) === "function" ? _s : Object)
1029
- ], UrbanAirShip.prototype, "getTags", null);
1030
- tslib.__decorate([
1031
- Cordova(),
1032
- tslib.__metadata("design:type", Function),
1033
- tslib.__metadata("design:paramtypes", [Array]),
1034
- tslib.__metadata("design:returntype", typeof (_t = typeof Promise !== "undefined" && Promise) === "function" ? _t : Object)
1035
- ], UrbanAirShip.prototype, "setTags", null);
1036
- tslib.__decorate([
1037
- Cordova(),
1038
- tslib.__metadata("design:type", Function),
1039
- tslib.__metadata("design:paramtypes", []),
1040
- tslib.__metadata("design:returntype", typeof (_u = typeof Promise !== "undefined" && Promise) === "function" ? _u : Object)
1041
- ], UrbanAirShip.prototype, "getAlias", null);
1042
- tslib.__decorate([
1043
- Cordova(),
1044
- tslib.__metadata("design:type", Function),
1045
- tslib.__metadata("design:paramtypes", [String]),
1046
- tslib.__metadata("design:returntype", typeof (_v = typeof Promise !== "undefined" && Promise) === "function" ? _v : Object)
1047
- ], UrbanAirShip.prototype, "setAlias", null);
1048
- tslib.__decorate([
1049
- Cordova(),
1050
- tslib.__metadata("design:type", Function),
1051
- tslib.__metadata("design:paramtypes", []),
1052
- tslib.__metadata("design:returntype", typeof (_w = typeof Promise !== "undefined" && Promise) === "function" ? _w : Object)
1053
- ], UrbanAirShip.prototype, "isQuietTimeEnabled", null);
1054
- tslib.__decorate([
1055
- Cordova(),
1056
- tslib.__metadata("design:type", Function),
1057
- tslib.__metadata("design:paramtypes", [Boolean]),
1058
- tslib.__metadata("design:returntype", typeof (_x = typeof Promise !== "undefined" && Promise) === "function" ? _x : Object)
1059
- ], UrbanAirShip.prototype, "setQuietTimeEnabled", null);
1060
- tslib.__decorate([
1061
- Cordova(),
1062
- tslib.__metadata("design:type", Function),
1063
- tslib.__metadata("design:paramtypes", []),
1064
- tslib.__metadata("design:returntype", typeof (_y = typeof Promise !== "undefined" && Promise) === "function" ? _y : Object)
1065
- ], UrbanAirShip.prototype, "isInQuietTime", null);
1066
- tslib.__decorate([
1067
- Cordova(),
1068
- tslib.__metadata("design:type", Function),
1069
- tslib.__metadata("design:paramtypes", []),
1070
- tslib.__metadata("design:returntype", typeof (_z = typeof Promise !== "undefined" && Promise) === "function" ? _z : Object)
1071
- ], UrbanAirShip.prototype, "getQuietTime", null);
1072
- tslib.__decorate([
1073
- Cordova(),
1074
- tslib.__metadata("design:type", Function),
1075
- tslib.__metadata("design:paramtypes", [Number, Number, Number, Number]),
1076
- tslib.__metadata("design:returntype", typeof (_0 = typeof Promise !== "undefined" && Promise) === "function" ? _0 : Object)
1077
- ], UrbanAirShip.prototype, "setQuietTime", null);
1078
- tslib.__decorate([
1079
- Cordova(),
1080
- tslib.__metadata("design:type", Function),
1081
- tslib.__metadata("design:paramtypes", [Boolean]),
1082
- tslib.__metadata("design:returntype", typeof (_1 = typeof Promise !== "undefined" && Promise) === "function" ? _1 : Object)
1083
- ], UrbanAirShip.prototype, "setAnalyticsEnabled", null);
1084
- tslib.__decorate([
1085
- Cordova(),
1086
- tslib.__metadata("design:type", Function),
1087
- tslib.__metadata("design:paramtypes", []),
1088
- tslib.__metadata("design:returntype", typeof (_2 = typeof Promise !== "undefined" && Promise) === "function" ? _2 : Object)
1089
- ], UrbanAirShip.prototype, "isAnalyticsEnabled", null);
1090
- tslib.__decorate([
1091
- Cordova(),
1092
- tslib.__metadata("design:type", Function),
1093
- tslib.__metadata("design:paramtypes", []),
1094
- tslib.__metadata("design:returntype", typeof (_3 = typeof Promise !== "undefined" && Promise) === "function" ? _3 : Object)
1095
- ], UrbanAirShip.prototype, "getNamedUser", null);
1096
- tslib.__decorate([
1097
- Cordova(),
1098
- tslib.__metadata("design:type", Function),
1099
- tslib.__metadata("design:paramtypes", [String]),
1100
- tslib.__metadata("design:returntype", typeof (_4 = typeof Promise !== "undefined" && Promise) === "function" ? _4 : Object)
1101
- ], UrbanAirShip.prototype, "setNamedUser", null);
1102
- tslib.__decorate([
1103
- Cordova(),
1104
- tslib.__metadata("design:type", Function),
1105
- tslib.__metadata("design:paramtypes", [String, Object]),
1106
- tslib.__metadata("design:returntype", typeof (_5 = typeof Promise !== "undefined" && Promise) === "function" ? _5 : Object)
1107
- ], UrbanAirShip.prototype, "runAction", null);
1108
- tslib.__decorate([
1109
- Cordova({ sync: true }),
1110
- tslib.__metadata("design:type", Function),
1111
- tslib.__metadata("design:paramtypes", []),
1112
- tslib.__metadata("design:returntype", typeof (_6 = typeof TagGroupEditor !== "undefined" && TagGroupEditor) === "function" ? _6 : Object)
1113
- ], UrbanAirShip.prototype, "editNamedUserTagGroups", null);
1114
- tslib.__decorate([
1115
- Cordova({ sync: true }),
1116
- tslib.__metadata("design:type", Function),
1117
- tslib.__metadata("design:paramtypes", []),
1118
- tslib.__metadata("design:returntype", typeof (_7 = typeof TagGroupEditor !== "undefined" && TagGroupEditor) === "function" ? _7 : Object)
1119
- ], UrbanAirShip.prototype, "editChannelTagGroups", null);
1120
- tslib.__decorate([
1121
- Cordova({ sync: true }),
1122
- tslib.__metadata("design:type", Function),
1123
- tslib.__metadata("design:paramtypes", []),
1124
- tslib.__metadata("design:returntype", typeof (_8 = typeof AttributesEditor !== "undefined" && AttributesEditor) === "function" ? _8 : Object)
1125
- ], UrbanAirShip.prototype, "editChannelAttributes", null);
1126
- tslib.__decorate([
1127
- Cordova({ sync: true }),
1128
- tslib.__metadata("design:type", Function),
1129
- tslib.__metadata("design:paramtypes", []),
1130
- tslib.__metadata("design:returntype", typeof (_9 = typeof AttributesEditor !== "undefined" && AttributesEditor) === "function" ? _9 : Object)
1131
- ], UrbanAirShip.prototype, "editNamedUserAttributes", null);
1132
- tslib.__decorate([
1133
- Cordova({ sync: true }),
1134
- tslib.__metadata("design:type", Function),
1135
- tslib.__metadata("design:paramtypes", []),
1136
- tslib.__metadata("design:returntype", typeof (_10 = typeof ChannelSubscriptionListEditor !== "undefined" && ChannelSubscriptionListEditor) === "function" ? _10 : Object)
1137
- ], UrbanAirShip.prototype, "editChannelSubscriptionLists", null);
1138
- tslib.__decorate([
1139
- Cordova({ sync: true }),
1140
- tslib.__metadata("design:type", Function),
1141
- tslib.__metadata("design:paramtypes", []),
1142
- tslib.__metadata("design:returntype", typeof (_11 = typeof ContactSubscriptionListEditor !== "undefined" && ContactSubscriptionListEditor) === "function" ? _11 : Object)
1143
- ], UrbanAirShip.prototype, "editContactSubscriptionLists", null);
1144
- tslib.__decorate([
1145
- Cordova({
1146
- successIndex: 0,
1147
- errorIndex: 1,
1148
- }),
1149
- tslib.__metadata("design:type", Function),
1150
- tslib.__metadata("design:paramtypes", []),
1151
- tslib.__metadata("design:returntype", typeof (_12 = typeof Promise !== "undefined" && Promise) === "function" ? _12 : Object)
1152
- ], UrbanAirShip.prototype, "getChannelSubscriptionLists", null);
1153
- tslib.__decorate([
1154
- Cordova({
1155
- successIndex: 0,
1156
- errorIndex: 1,
1157
- }),
1158
- tslib.__metadata("design:type", Function),
1159
- tslib.__metadata("design:paramtypes", []),
1160
- tslib.__metadata("design:returntype", typeof (_13 = typeof Promise !== "undefined" && Promise) === "function" ? _13 : Object)
1161
- ], UrbanAirShip.prototype, "getContactSubscriptionLists", null);
1162
- tslib.__decorate([
1163
- Cordova(),
1164
- tslib.__metadata("design:type", Function),
1165
- tslib.__metadata("design:paramtypes", [String, String]),
1166
- tslib.__metadata("design:returntype", typeof (_14 = typeof Promise !== "undefined" && Promise) === "function" ? _14 : Object)
1167
- ], UrbanAirShip.prototype, "setAssociatedIdentifier", null);
1168
- tslib.__decorate([
1169
- Cordova(),
1170
- tslib.__metadata("design:type", Function),
1171
- tslib.__metadata("design:paramtypes", [Boolean]),
1172
- tslib.__metadata("design:returntype", typeof (_15 = typeof Promise !== "undefined" && Promise) === "function" ? _15 : Object)
1173
- ], UrbanAirShip.prototype, "setLocationEnabled", null);
1174
- tslib.__decorate([
1175
- Cordova(),
1176
- tslib.__metadata("design:type", Function),
1177
- tslib.__metadata("design:paramtypes", []),
1178
- tslib.__metadata("design:returntype", typeof (_16 = typeof Promise !== "undefined" && Promise) === "function" ? _16 : Object)
1179
- ], UrbanAirShip.prototype, "isLocationEnabled", null);
1180
- tslib.__decorate([
1181
- Cordova(),
1182
- tslib.__metadata("design:type", Function),
1183
- tslib.__metadata("design:paramtypes", [Boolean]),
1184
- tslib.__metadata("design:returntype", typeof (_17 = typeof Promise !== "undefined" && Promise) === "function" ? _17 : Object)
1185
- ], UrbanAirShip.prototype, "setBackgroundLocationEnabled", null);
1186
- tslib.__decorate([
1187
- Cordova(),
1188
- tslib.__metadata("design:type", Function),
1189
- tslib.__metadata("design:paramtypes", []),
1190
- tslib.__metadata("design:returntype", typeof (_18 = typeof Promise !== "undefined" && Promise) === "function" ? _18 : Object)
1191
- ], UrbanAirShip.prototype, "isBackgroundLocationEnabled", null);
1192
- tslib.__decorate([
1193
- Cordova(),
1194
- tslib.__metadata("design:type", Function),
1195
- tslib.__metadata("design:paramtypes", []),
1196
- tslib.__metadata("design:returntype", typeof (_19 = typeof Promise !== "undefined" && Promise) === "function" ? _19 : Object)
1197
- ], UrbanAirShip.prototype, "displayMessageCenter", null);
1198
- tslib.__decorate([
1199
- Cordova(),
1200
- tslib.__metadata("design:type", Function),
1201
- tslib.__metadata("design:paramtypes", []),
1202
- tslib.__metadata("design:returntype", typeof (_20 = typeof Promise !== "undefined" && Promise) === "function" ? _20 : Object)
1203
- ], UrbanAirShip.prototype, "dismissMessageCenter", null);
1204
- tslib.__decorate([
1205
- Cordova(),
1206
- tslib.__metadata("design:type", Function),
1207
- tslib.__metadata("design:paramtypes", []),
1208
- tslib.__metadata("design:returntype", typeof (_21 = typeof Promise !== "undefined" && Promise) === "function" ? _21 : Object)
1209
- ], UrbanAirShip.prototype, "dismissInboxMessage", null);
1210
- tslib.__decorate([
1211
- Cordova(),
1212
- tslib.__metadata("design:type", Function),
1213
- tslib.__metadata("design:paramtypes", []),
1214
- tslib.__metadata("design:returntype", typeof (_22 = typeof Promise !== "undefined" && Promise) === "function" ? _22 : Object)
1215
- ], UrbanAirShip.prototype, "dismissOverlayInboxMessage", null);
1216
- tslib.__decorate([
1217
- Cordova(),
1218
- tslib.__metadata("design:type", Function),
1219
- tslib.__metadata("design:paramtypes", []),
1220
- tslib.__metadata("design:returntype", typeof (_23 = typeof Promise !== "undefined" && Promise) === "function" ? _23 : Object)
1221
- ], UrbanAirShip.prototype, "getInboxMessages", null);
1222
- tslib.__decorate([
1223
- Cordova(),
1224
- tslib.__metadata("design:type", Function),
1225
- tslib.__metadata("design:paramtypes", [String]),
1226
- tslib.__metadata("design:returntype", typeof (_24 = typeof Promise !== "undefined" && Promise) === "function" ? _24 : Object)
1227
- ], UrbanAirShip.prototype, "markInboxMessageRead", null);
1228
- tslib.__decorate([
1229
- Cordova(),
1230
- tslib.__metadata("design:type", Function),
1231
- tslib.__metadata("design:paramtypes", [String]),
1232
- tslib.__metadata("design:returntype", typeof (_25 = typeof Promise !== "undefined" && Promise) === "function" ? _25 : Object)
1233
- ], UrbanAirShip.prototype, "deleteInboxMessage", null);
1234
- tslib.__decorate([
1235
- Cordova(),
1236
- tslib.__metadata("design:type", Function),
1237
- tslib.__metadata("design:paramtypes", [String]),
1238
- tslib.__metadata("design:returntype", typeof (_26 = typeof Promise !== "undefined" && Promise) === "function" ? _26 : Object)
1239
- ], UrbanAirShip.prototype, "displayInboxMessage", null);
1240
- tslib.__decorate([
1241
- Cordova(),
1242
- tslib.__metadata("design:type", Function),
1243
- tslib.__metadata("design:paramtypes", []),
1244
- tslib.__metadata("design:returntype", typeof (_27 = typeof Promise !== "undefined" && Promise) === "function" ? _27 : Object)
1245
- ], UrbanAirShip.prototype, "refreshInbox", null);
1246
- tslib.__decorate([
1247
- Cordova(),
1248
- tslib.__metadata("design:type", Function),
1249
- tslib.__metadata("design:paramtypes", [String]),
1250
- tslib.__metadata("design:returntype", typeof (_28 = typeof Promise !== "undefined" && Promise) === "function" ? _28 : Object)
1251
- ], UrbanAirShip.prototype, "overlayInboxMessage", null);
1252
- tslib.__decorate([
1253
- Cordova(),
1254
- tslib.__metadata("design:type", Function),
1255
- tslib.__metadata("design:paramtypes", [String]),
1256
- tslib.__metadata("design:returntype", typeof (_29 = typeof Promise !== "undefined" && Promise) === "function" ? _29 : Object)
1257
- ], UrbanAirShip.prototype, "clearNotification", null);
1258
- tslib.__decorate([
1259
- Cordova(),
1260
- tslib.__metadata("design:type", Function),
1261
- tslib.__metadata("design:paramtypes", []),
1262
- tslib.__metadata("design:returntype", typeof (_30 = typeof Promise !== "undefined" && Promise) === "function" ? _30 : Object)
1263
- ], UrbanAirShip.prototype, "clearNotifications", null);
1264
- tslib.__decorate([
1265
- Cordova(),
1266
- tslib.__metadata("design:type", Function),
1267
- tslib.__metadata("design:paramtypes", []),
1268
- tslib.__metadata("design:returntype", typeof (_31 = typeof Promise !== "undefined" && Promise) === "function" ? _31 : Object)
1269
- ], UrbanAirShip.prototype, "getActiveNotifications", null);
1270
- tslib.__decorate([
1271
- Cordova(),
1272
- tslib.__metadata("design:type", Function),
1273
- tslib.__metadata("design:paramtypes", [Boolean]),
1274
- tslib.__metadata("design:returntype", typeof (_32 = typeof Promise !== "undefined" && Promise) === "function" ? _32 : Object)
1275
- ], UrbanAirShip.prototype, "setAutobadgeEnabled", null);
1276
- tslib.__decorate([
1277
- Cordova(),
1278
- tslib.__metadata("design:type", Function),
1279
- tslib.__metadata("design:paramtypes", [Number]),
1280
- tslib.__metadata("design:returntype", typeof (_33 = typeof Promise !== "undefined" && Promise) === "function" ? _33 : Object)
1281
- ], UrbanAirShip.prototype, "setBadgeNumber", null);
1282
- tslib.__decorate([
1283
- Cordova(),
1284
- tslib.__metadata("design:type", Function),
1285
- tslib.__metadata("design:paramtypes", []),
1286
- tslib.__metadata("design:returntype", typeof (_34 = typeof Promise !== "undefined" && Promise) === "function" ? _34 : Object)
1287
- ], UrbanAirShip.prototype, "getBadgeNumber", null);
1288
- tslib.__decorate([
1289
- Cordova(),
1290
- tslib.__metadata("design:type", Function),
1291
- tslib.__metadata("design:paramtypes", []),
1292
- tslib.__metadata("design:returntype", typeof (_35 = typeof Promise !== "undefined" && Promise) === "function" ? _35 : Object)
1293
- ], UrbanAirShip.prototype, "resetBadge", null);
1294
- tslib.__decorate([
1295
- Cordova(),
1296
- tslib.__metadata("design:type", Function),
1297
- tslib.__metadata("design:paramtypes", [typeof (_36 = typeof exports.NotificationType !== "undefined" && exports.NotificationType) === "function" ? _36 : Object]),
1298
- tslib.__metadata("design:returntype", typeof (_37 = typeof Promise !== "undefined" && Promise) === "function" ? _37 : Object)
1299
- ], UrbanAirShip.prototype, "setNotificationTypes", null);
1300
- tslib.__decorate([
1301
- Cordova(),
1302
- tslib.__metadata("design:type", Function),
1303
- tslib.__metadata("design:paramtypes", [typeof (_38 = typeof exports.PresentationOptions !== "undefined" && exports.PresentationOptions) === "function" ? _38 : Object]),
1304
- tslib.__metadata("design:returntype", typeof (_39 = typeof Promise !== "undefined" && Promise) === "function" ? _39 : Object)
1305
- ], UrbanAirShip.prototype, "setPresentationOptions", null);
1306
- tslib.__decorate([
1307
- Cordova(),
1308
- tslib.__metadata("design:type", Function),
1309
- tslib.__metadata("design:paramtypes", []),
1310
- tslib.__metadata("design:returntype", typeof (_40 = typeof Promise !== "undefined" && Promise) === "function" ? _40 : Object)
1311
- ], UrbanAirShip.prototype, "isSoundEnabled", null);
1312
- tslib.__decorate([
1313
- Cordova(),
1314
- tslib.__metadata("design:type", Function),
1315
- tslib.__metadata("design:paramtypes", [Boolean]),
1316
- tslib.__metadata("design:returntype", typeof (_41 = typeof Promise !== "undefined" && Promise) === "function" ? _41 : Object)
1317
- ], UrbanAirShip.prototype, "setSoundEnabled", null);
1318
- tslib.__decorate([
1319
- Cordova(),
1320
- tslib.__metadata("design:type", Function),
1321
- tslib.__metadata("design:paramtypes", []),
1322
- tslib.__metadata("design:returntype", typeof (_42 = typeof Promise !== "undefined" && Promise) === "function" ? _42 : Object)
1323
- ], UrbanAirShip.prototype, "isVibrateEnabled", null);
1324
- tslib.__decorate([
1325
- Cordova(),
1326
- tslib.__metadata("design:type", Function),
1327
- tslib.__metadata("design:paramtypes", [Boolean]),
1328
- tslib.__metadata("design:returntype", typeof (_43 = typeof Promise !== "undefined" && Promise) === "function" ? _43 : Object)
1329
- ], UrbanAirShip.prototype, "setVibrateEnabled", null);
1330
- tslib.__decorate([
1331
- Cordova(),
1332
- tslib.__metadata("design:type", Function),
1333
- tslib.__metadata("design:paramtypes", [Object]),
1334
- tslib.__metadata("design:returntype", typeof (_44 = typeof Promise !== "undefined" && Promise) === "function" ? _44 : Object)
1335
- ], UrbanAirShip.prototype, "addCustomEvent", null);
1336
- tslib.__decorate([
1337
- Cordova({
1338
- successIndex: 1,
1339
- errorIndex: 2,
1340
- }),
1341
- tslib.__metadata("design:type", Function),
1342
- tslib.__metadata("design:paramtypes", [String]),
1343
- tslib.__metadata("design:returntype", typeof (_45 = typeof Promise !== "undefined" && Promise) === "function" ? _45 : Object)
1344
- ], UrbanAirShip.prototype, "trackScreen", null);
1345
- tslib.__decorate([
1346
- Cordova({
1347
- successIndex: 1,
1348
- errorIndex: 2,
1349
- }),
1350
- tslib.__metadata("design:type", Function),
1351
- tslib.__metadata("design:paramtypes", [Array]),
1352
- tslib.__metadata("design:returntype", typeof (_46 = typeof Promise !== "undefined" && Promise) === "function" ? _46 : Object)
1353
- ], UrbanAirShip.prototype, "enableFeature", null);
1354
- tslib.__decorate([
1355
- Cordova({
1356
- successIndex: 1,
1357
- errorIndex: 2,
1358
- }),
1359
- tslib.__metadata("design:type", Function),
1360
- tslib.__metadata("design:paramtypes", [Array]),
1361
- tslib.__metadata("design:returntype", typeof (_47 = typeof Promise !== "undefined" && Promise) === "function" ? _47 : Object)
1362
- ], UrbanAirShip.prototype, "disableFeature", null);
1363
- tslib.__decorate([
1364
- Cordova({
1365
- successIndex: 0,
1366
- errorIndex: 1,
1367
- }),
1368
- tslib.__metadata("design:type", Function),
1369
- tslib.__metadata("design:paramtypes", []),
1370
- tslib.__metadata("design:returntype", typeof (_48 = typeof Promise !== "undefined" && Promise) === "function" ? _48 : Object)
1371
- ], UrbanAirShip.prototype, "getEnabledFeatures", null);
1372
- tslib.__decorate([
1373
- Cordova({
1374
- successIndex: 1,
1375
- errorIndex: 2,
1376
- }),
1377
- tslib.__metadata("design:type", Function),
1378
- tslib.__metadata("design:paramtypes", [Array]),
1379
- tslib.__metadata("design:returntype", typeof (_49 = typeof Promise !== "undefined" && Promise) === "function" ? _49 : Object)
1380
- ], UrbanAirShip.prototype, "isFeatureEnabled", null);
1381
- tslib.__decorate([
1382
- Cordova({
1383
- successIndex: 1,
1384
- errorIndex: 2,
1385
- }),
1386
- tslib.__metadata("design:type", Function),
1387
- tslib.__metadata("design:paramtypes", [String]),
1388
- tslib.__metadata("design:returntype", typeof (_50 = typeof Promise !== "undefined" && Promise) === "function" ? _50 : Object)
1389
- ], UrbanAirShip.prototype, "getPreferenceCenterConfig", null);
1390
- tslib.__decorate([
1391
- Cordova({
1392
- successIndex: 1,
1393
- errorIndex: 2,
1394
- }),
1395
- tslib.__metadata("design:type", Function),
1396
- tslib.__metadata("design:paramtypes", [String]),
1397
- tslib.__metadata("design:returntype", typeof (_51 = typeof Promise !== "undefined" && Promise) === "function" ? _51 : Object)
1398
- ], UrbanAirShip.prototype, "openPreferenceCenter", null);
1399
- tslib.__decorate([
1400
- Cordova(),
1401
- tslib.__metadata("design:type", Function),
1402
- tslib.__metadata("design:paramtypes", [String]),
1403
- tslib.__metadata("design:returntype", typeof (_52 = typeof Promise !== "undefined" && Promise) === "function" ? _52 : Object)
1404
- ], UrbanAirShip.prototype, "setCurrentLocale", null);
1405
- tslib.__decorate([
1406
- Cordova(),
1407
- tslib.__metadata("design:type", Function),
1408
- tslib.__metadata("design:paramtypes", []),
1409
- tslib.__metadata("design:returntype", typeof (_53 = typeof Promise !== "undefined" && Promise) === "function" ? _53 : Object)
1410
- ], UrbanAirShip.prototype, "getCurrentLocale", null);
1411
- tslib.__decorate([
1412
- Cordova(),
1413
- tslib.__metadata("design:type", Function),
1414
- tslib.__metadata("design:paramtypes", []),
1415
- tslib.__metadata("design:returntype", typeof (_54 = typeof Promise !== "undefined" && Promise) === "function" ? _54 : Object)
1416
- ], UrbanAirShip.prototype, "clearLocale", null);
1417
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0__namespace, type: UrbanAirShip, decorators: [{
138
+ UrbanAirShip.prototype.setEnabledFeatures = function (features) {
139
+ return;
140
+ };
141
+ UrbanAirShip.prototype.getEnabledFeatures = function () { return core.cordova(this, "getEnabledFeatures", { "successIndex": 0, "errorIndex": 1 }, arguments); };
142
+ UrbanAirShip.prototype.isFeatureEnabled = function (features) { return core.cordova(this, "isFeatureEnabled", { "successIndex": 1, "errorIndex": 2 }, arguments); };
143
+ UrbanAirShip.prototype.getPreferenceCenterConfig = function (preferenceCenterId) { return core.cordova(this, "getPreferenceCenterConfig", { "successIndex": 1, "errorIndex": 2 }, arguments); };
144
+ UrbanAirShip.prototype.openPreferenceCenter = function (prenferenceCenterId) { return core.cordova(this, "openPreferenceCenter", { "successIndex": 1, "errorIndex": 2 }, arguments); };
145
+ UrbanAirShip.prototype.setCurrentLocale = function (locale) { return core.cordova(this, "setCurrentLocale", {}, arguments); };
146
+ UrbanAirShip.prototype.getCurrentLocale = function () { return core.cordova(this, "getCurrentLocale", {}, arguments); };
147
+ UrbanAirShip.prototype.clearLocale = function () { return core.cordova(this, "clearLocale", {}, arguments); };
148
+ UrbanAirShip.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: UrbanAirShip, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
149
+ UrbanAirShip.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: UrbanAirShip });
150
+ UrbanAirShip.pluginName = "UrbanAirShip";
151
+ UrbanAirShip.plugin = "urbanairship-cordova";
152
+ UrbanAirShip.pluginRef = "window.UAirship";
153
+ UrbanAirShip.repo = "https://www.npmjs.com/package/urbanairship-cordova";
154
+ UrbanAirShip.install = "ionic cordova plugin add urbanairship-cordova";
155
+ UrbanAirShip.platforms = ["Android", "iOS"];
156
+ UrbanAirShip = tslib.__decorate([], UrbanAirShip);
157
+ return UrbanAirShip;
158
+ }(core.AwesomeCordovaNativePlugin));
159
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: UrbanAirShip, decorators: [{
1418
160
  type: i0.Injectable
1419
161
  }], propDecorators: { onDeepLink: [], onRegistration: [], onInboxUpdated: [], onShowInbox: [], onPushReceived: [], onNotificationOpened: [], onNotificationOptInStatus: [], reattach: [], takeOff: [], setAndroidNotificationConfig: [], setAutoLaunchDefaultMessageCenter: [], setUserNotificationsEnabled: [], isUserNotificationsEnabled: [], isAppNotificationsEnabled: [], getChannelID: [], getLaunchNotification: [], getDeepLink: [], getTags: [], setTags: [], getAlias: [], setAlias: [], isQuietTimeEnabled: [], setQuietTimeEnabled: [], isInQuietTime: [], getQuietTime: [], setQuietTime: [], setAnalyticsEnabled: [], isAnalyticsEnabled: [], getNamedUser: [], setNamedUser: [], runAction: [], editNamedUserTagGroups: [], editChannelTagGroups: [], editChannelAttributes: [], editNamedUserAttributes: [], editChannelSubscriptionLists: [], editContactSubscriptionLists: [], getChannelSubscriptionLists: [], getContactSubscriptionLists: [], setAssociatedIdentifier: [], setLocationEnabled: [], isLocationEnabled: [], setBackgroundLocationEnabled: [], isBackgroundLocationEnabled: [], displayMessageCenter: [], dismissMessageCenter: [], dismissInboxMessage: [], dismissOverlayInboxMessage: [], getInboxMessages: [], markInboxMessageRead: [], deleteInboxMessage: [], displayInboxMessage: [], refreshInbox: [], overlayInboxMessage: [], clearNotification: [], clearNotifications: [], getActiveNotifications: [], setAutobadgeEnabled: [], setBadgeNumber: [], getBadgeNumber: [], resetBadge: [], setNotificationTypes: [], setPresentationOptions: [], isSoundEnabled: [], setSoundEnabled: [], isVibrateEnabled: [], setVibrateEnabled: [], addCustomEvent: [], trackScreen: [], enableFeature: [], disableFeature: [], getEnabledFeatures: [], isFeatureEnabled: [], getPreferenceCenterConfig: [], openPreferenceCenter: [], setCurrentLocale: [], getCurrentLocale: [], clearLocale: [] } });
1420
162