Skip to content

Commit

Permalink
Add missing frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 committed May 24, 2022
1 parent ea98c1b commit e1ce88c
Show file tree
Hide file tree
Showing 230 changed files with 14,142 additions and 372 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

#import <Foundation/Foundation.h>

#import <FBAEMKit/FBAEMAdvertiserRuleMatching.h>
#import <FBAEMKit/FBAEMAdvertiserRuleProviding.h>

NS_ASSUME_NONNULL_BEGIN

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
NS_SWIFT_NAME(_AEMAdvertiserRuleFactory)
@interface FBAEMAdvertiserRuleFactory : NSObject <FBAEMAdvertiserRuleProviding>

@end

NS_ASSUME_NONNULL_END

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
NS_SWIFT_NAME(_AEMAdvertiserRuleMatching)
@protocol FBAEMAdvertiserRuleMatching <NSObject>

- (BOOL)isMatchedEventParameters:(nullable NSDictionary<NSString *, id> *)eventParams;

@end

NS_ASSUME_NONNULL_END

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
typedef NS_CLOSED_ENUM (NSInteger, FBAEMAdvertiserRuleOperator)
{
FBAEMAdvertiserRuleOperatorUnknown = 0,
// Multi Entry Rule Operator
FBAEMAdvertiserRuleOperatorAnd,
FBAEMAdvertiserRuleOperatorOr,
FBAEMAdvertiserRuleOperatorNot,
// Single Entry Rule Operator
FBAEMAdvertiserRuleOperatorContains,
FBAEMAdvertiserRuleOperatorNotContains,
FBAEMAdvertiserRuleOperatorStartsWith,
FBAEMAdvertiserRuleOperatorCaseInsensitiveContains,
FBAEMAdvertiserRuleOperatorCaseInsensitiveNotContains,
FBAEMAdvertiserRuleOperatorCaseInsensitiveStartsWith,
FBAEMAdvertiserRuleOperatorRegexMatch,
FBAEMAdvertiserRuleOperatorEqual,
FBAEMAdvertiserRuleOperatorNotEqual,
FBAEMAdvertiserRuleOperatorLessThan,
FBAEMAdvertiserRuleOperatorLessThanOrEqual,
FBAEMAdvertiserRuleOperatorGreaterThan,
FBAEMAdvertiserRuleOperatorGreaterThanOrEqual,
FBAEMAdvertiserRuleOperatorCaseInsensitiveIsAny,
FBAEMAdvertiserRuleOperatorCaseInsensitiveIsNotAny,
FBAEMAdvertiserRuleOperatorIsAny,
FBAEMAdvertiserRuleOperatorIsNotAny
} NS_SWIFT_NAME(_AEMAdvertiserRuleOperator);

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

NS_ASSUME_NONNULL_BEGIN

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
/// Describes anything that can provide instances of `AEMAdvertiserRuleMatching`
NS_SWIFT_NAME(_AEMAdvertiserRuleProviding)
@protocol FBAEMAdvertiserRuleProviding

- (nullable id<FBAEMAdvertiserRuleMatching>)createRuleWithJson:(nullable NSString *)json;

- (nullable id<FBAEMAdvertiserRuleMatching>)createRuleWithDict:(NSDictionary<NSString *, id> *)dict;

@end

NS_ASSUME_NONNULL_END

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

#import <Foundation/Foundation.h>

#import <FBAEMKit/FBAEMAdvertiserRuleMatching.h>
#import <FBAEMKit/FBAEMAdvertiserRuleOperator.h>

NS_ASSUME_NONNULL_BEGIN

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
NS_SWIFT_NAME(_AEMAdvertiserSingleEntryRule)
@interface FBAEMAdvertiserSingleEntryRule : NSObject <FBAEMAdvertiserRuleMatching, NSCopying, NSSecureCoding>

@property (nonatomic, readonly, assign)FBAEMAdvertiserRuleOperator operator;
@property (nonatomic, readonly) NSString *paramKey;
@property (nullable, nonatomic, readonly) NSString *linguisticCondition;
@property (nullable, nonatomic, readonly) NSNumber *numericalCondition;
@property (nullable, nonatomic, readonly) NSArray<NSString *> *arrayCondition;

- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;

- (instancetype)initWithOperator:(FBAEMAdvertiserRuleOperator)op
paramKey:(NSString *)paramKey
linguisticCondition:(nullable NSString *)linguisticCondition
numericalCondition:(nullable NSNumber *)numericalCondition
arrayCondition:(nullable NSArray<NSString *> *)arrayCondition;

@end

NS_ASSUME_NONNULL_END

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

#import <Foundation/Foundation.h>

@class FBAEMConfiguration;

NS_ASSUME_NONNULL_BEGIN

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
NS_SWIFT_NAME(_AEMInvocation)
@interface FBAEMInvocation : NSObject <NSCopying, NSSecureCoding>

@property (nonatomic, readonly, copy) NSString *campaignID;

@property (nonatomic, readonly, copy) NSString *ACSToken;

@property (nullable, nonatomic, readonly, copy) NSString *ACSSharedSecret;

@property (nullable, nonatomic, readonly, copy) NSString *ACSConfigID;

@property (nullable, nonatomic, readonly, copy) NSString *businessID;

@property (nullable, nonatomic, readonly, copy) NSString *catalogID;

@property (nonatomic, readonly, assign) BOOL isTestMode;

@property (nonatomic, readonly, assign) BOOL hasSKAN;

@property (nonatomic, readonly, assign) BOOL isConversionFilteringEligible;

@property (nonatomic, readonly, copy) NSDate *timestamp;

@property (nonatomic, readonly, copy) NSString *configMode;

/// The unique identifier of the config, it's the same as config's validFrom
@property (nonatomic, readonly, assign) NSInteger configID;

@property (nonatomic, readonly) NSMutableSet<NSString *> *recordedEvents;

@property (nonatomic, readonly) NSMutableDictionary<NSString *, NSMutableDictionary<NSString *, id> *> *recordedValues;

@property (nonatomic, readonly, assign) NSInteger conversionValue;

@property (nonatomic, readonly, assign) NSInteger priority;

@property (nullable, nonatomic, readonly) NSDate *conversionTimestamp;

@property (nonatomic, assign) BOOL isAggregated;

+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;

+ (nullable instancetype)invocationWithAppLinkData:(nullable NSDictionary<id, id> *)applinkData;

- (BOOL)attributeEvent:(NSString *)event
currency:(nullable NSString *)currency
value:(nullable NSNumber *)value
parameters:(nullable NSDictionary<NSString *, id> *)parameters
configs:(nullable NSDictionary<NSString *, NSArray<FBAEMConfiguration *> *> *)configs
shouldUpdateCache:(BOOL)shouldUpdateCache;

- (BOOL)updateConversionValueWithConfigs:(nullable NSDictionary<NSString *, NSArray<FBAEMConfiguration *> *> *)configs
event:(NSString *)event
shouldBoostPriority:(BOOL)shouldBoostPriority;

- (BOOL)isOptimizedEvent:(NSString *)event
configs:(nullable NSDictionary<NSString *, NSArray<FBAEMConfiguration *> *> *)configs;

- (BOOL)isOutOfWindowWithConfigs:(nullable NSDictionary<NSString *, NSArray<FBAEMConfiguration *> *> *)configs;

- (nullable NSString *)getHMAC:(NSInteger)delay;

@end

NS_ASSUME_NONNULL_END

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>
Loading

0 comments on commit e1ce88c

Please sign in to comment.