1
- // Generated by Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1 )
1
+ // Generated by Apple Swift version 5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3 )
2
2
#pragma clang diagnostic push
3
3
#pragma clang diagnostic ignored "-Wgcc-compat"
4
4
20
20
#endif
21
21
22
22
#pragma clang diagnostic ignored "-Wauto-import"
23
- #include < objc/NSObject .h>
23
+ #include < Foundation/Foundation .h>
24
24
#include < stdint.h>
25
25
#include < stddef.h>
26
26
#include < stdbool.h>
@@ -163,6 +163,10 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
163
163
# define SWIFT_DEPRECATED_OBJC (Msg ) SWIFT_DEPRECATED_MSG(Msg)
164
164
#endif
165
165
#if __has_feature(modules)
166
+ #if __has_warning("-Watimport-in-framework-header")
167
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
168
+ #endif
169
+ @import CoreData;
166
170
@import ObjectiveC;
167
171
@import UserNotifications;
168
172
#endif
@@ -213,11 +217,6 @@ typedef SWIFT_ENUM(NSInteger, BeaconHardwareType, closed) {
213
217
BeaconHardwareTypeUsb = 6 ,
214
218
};
215
219
216
- typedef SWIFT_ENUM (NSInteger , BeaconState, closed) {
217
- BeaconStateActive = 0 ,
218
- BeaconStateSleeping = 1 ,
219
- };
220
-
221
220
@protocol RuleProcessorDelegate;
222
221
@protocol NotificationDelegate;
223
222
@protocol WebhookDelegate;
@@ -263,7 +262,7 @@ SWIFT_CLASS("_TtC10Beaconstac10Beaconstac")
263
262
// / Invoke this method if you want the SDK to stop scanning in between the process.
264
263
- (void )stopScanningBeacons;
265
264
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
266
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
265
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
267
266
@end
268
267
269
268
@class MVisitor;
@@ -348,6 +347,11 @@ typedef SWIFT_ENUM(NSInteger, BeaconstacSDKError, closed) {
348
347
BeaconstacSDKErrorInvalidRequest = -1016 ,
349
348
};
350
349
350
+ typedef SWIFT_ENUM (NSInteger , HardwareState, closed) {
351
+ HardwareStateActive = 0 ,
352
+ HardwareStateSleeping = 1 ,
353
+ };
354
+
351
355
typedef SWIFT_ENUM (int64_t , LatchLatency, closed) {
352
356
LatchLatencyLOW = 3 ,
353
357
LatchLatencyMEDIUM = 5 ,
@@ -373,7 +377,7 @@ SWIFT_CLASS("_TtC10Beaconstac7MBeacon")
373
377
// / The campedOn status
374
378
@property (nonatomic, readonly) BOOL isCampedOn;
375
379
// / The state of the beacon
376
- @property (nonatomic, readonly) enum BeaconState state;
380
+ @property (nonatomic, readonly) enum HardwareState state;
377
381
// / The place id of the beacon
378
382
@property (nonatomic, readonly) int64_t place;
379
383
// / The place name of the beacon
@@ -388,7 +392,7 @@ SWIFT_CLASS("_TtC10Beaconstac7MBeacon")
388
392
@property (nonatomic, readonly, strong) MHardware * _Nonnull hardware;
389
393
@property (nonatomic) int64_t latestRSSI;
390
394
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
391
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
395
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
392
396
@end
393
397
394
398
@@ -402,7 +406,7 @@ SWIFT_CLASS("_TtC10Beaconstac10MEddystone")
402
406
// / The eddystone url parameter of the beacon hardware
403
407
@property (nonatomic, readonly, copy) NSString * _Nonnull url;
404
408
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
405
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
409
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
406
410
@end
407
411
408
412
@@ -434,7 +438,7 @@ SWIFT_CLASS("_TtC10Beaconstac9MHardware")
434
438
// / The eddystone object of the beacon hardware
435
439
@property (nonatomic, readonly, strong) MEddystone * _Nonnull eddystone;
436
440
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
437
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
441
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
438
442
@end
439
443
440
444
@@ -448,9 +452,43 @@ SWIFT_CLASS("_TtC10Beaconstac13MMarkdownCard")
448
452
// / The url of the markdown card
449
453
@property (nonatomic, readonly, copy) NSString * _Nonnull url;
450
454
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
451
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG(" -init is unavailable" );
455
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG(" -init is unavailable" );
456
+ @end
457
+
458
+ enum MNFCTagType : NSInteger ;
459
+
460
+ SWIFT_CLASS (" _TtC10Beaconstac7MNFCTag" )
461
+ @interface MNFCTag : NSObject
462
+ // / The id of the nfcTag
463
+ @property (nonatomic, readonly) int64_t id;
464
+ // / The name of the nfcTag
465
+ @property (nonatomic, readonly, copy) NSString * _Nonnull name;
466
+ // / The url of the nfcTag
467
+ @property (nonatomic, readonly, copy) NSString * _Nonnull url;
468
+ // / The url of the nfcTag
469
+ @property (nonatomic, readonly, copy) NSString * _Nonnull uid;
470
+ // / The counter of the nfcTag
471
+ @property (nonatomic, readonly) int64_t counter;
472
+ // / The state of the tag
473
+ @property (nonatomic, readonly) enum HardwareState state;
474
+ // / The place id of the tag
475
+ @property (nonatomic, readonly) int64_t place;
476
+ // / The place name of the tag
477
+ @property (nonatomic, readonly, copy) NSString * _Nonnull placeName;
478
+ // / The tags associated with the beacon
479
+ @property (nonatomic, readonly, copy) NSArray <NSString *> * _Nonnull tags;
480
+ // / The hardware type of the beacon
481
+ @property (nonatomic, readonly) enum MNFCTagType type;
482
+ - (nonnull instancetype )init SWIFT_UNAVAILABLE;
483
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG(" -init is unavailable" );
452
484
@end
453
485
486
+ typedef SWIFT_ENUM (NSInteger , MNFCTagType, closed) {
487
+ MNFCTagTypeUnknown = 0 ,
488
+ MNFCTagTypeSticker = 7 ,
489
+ MNFCTagTypeKeycard = 8 ,
490
+ };
491
+
454
492
455
493
// / The Notification class to handle the notification action.
456
494
SWIFT_CLASS (" _TtC10Beaconstac13MNotification" )
@@ -466,7 +504,7 @@ SWIFT_CLASS("_TtC10Beaconstac13MNotification")
466
504
// / The markdown card assocaited with the notification as set by the marketer on the dashboard.
467
505
@property (nonatomic, readonly, strong) MMarkdownCard * _Nullable markdownCard;
468
506
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
469
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
507
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
470
508
@end
471
509
472
510
@@ -500,7 +538,7 @@ SWIFT_CLASS("_TtC10Beaconstac5MRule")
500
538
// / Determines if the marketer has activated/paused the rule on the dashboard.
501
539
- (BOOL )isActive SWIFT_WARN_UNUSED_RESULT;
502
540
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
503
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
541
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
504
542
@end
505
543
506
544
@@ -530,7 +568,7 @@ SWIFT_CLASS("_TtC10Beaconstac8MVisitor")
530
568
// /
531
569
- (nonnull instancetype )init:(NSString * _Nonnull)firstName lastName:(NSString * _Nonnull)lastName email:(NSString * _Nullable)email age:(NSNumber * _Nullable)age gender:(NSString * _Nullable)gender OBJC_DESIGNATED_INITIALIZER;
532
570
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
533
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
571
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
534
572
@end
535
573
536
574
@@ -548,9 +586,21 @@ SWIFT_CLASS("_TtC10Beaconstac8MWebhook")
548
586
// / The parameters to be sent as part of the post body which is set by the marketer.
549
587
@property (nonatomic, readonly, copy) NSDictionary <NSString *, id > * _Nullable params;
550
588
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
551
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
589
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
552
590
@end
553
591
592
+ @class NSEntityDescription ;
593
+ @class NSManagedObjectContext ;
594
+
595
+ SWIFT_CLASS_NAMED (" NFCTagEntity" )
596
+ @interface NFCTagEntity : NSManagedObject
597
+ - (nonnull instancetype )initWithEntity:(NSEntityDescription * _Nonnull)entity insertIntoManagedObjectContext:(NSManagedObjectContext * _Nullable)context OBJC_DESIGNATED_INITIALIZER;
598
+ @end
599
+
600
+
601
+
602
+
603
+
554
604
555
605
// / The notification delegate
556
606
SWIFT_PROTOCOL (" _TtP10Beaconstac20NotificationDelegate_" )
0 commit comments