<commit_before>@import Foundation;
@import UIKit;

#import <VENCore/VENCore.h>

#import "VENErrors.h"
#import "VENPermissionConstants.h"
#import "VENSession.h"
#import "VENTransaction+VenmoSDK.h"

typedef NS_ENUM(NSUInteger, VENTransactionMethod) {
    // Indicates that the SDK should send transactions by switching to the Venmo app.
    VENTransactionMethodAppSwitch,
    // Indicates that the SDK should send transactions via the Venmo API.
    // If there is no open session, the SDK will fall back to sending transactions via app switch.
    VENTransactionMethodAPI
};

@class VENUserSDK, VENSession;

typedef void (^VENTransactionCompletionHandler)(VENTransaction *transaction, BOOL success, NSError *error);
typedef void (^VENRefreshTokenCompletionHandler)(NSString *accessToken, BOOL success, NSError *error);
typedef void (^VENGenericRequestCompletionHandler)(id object, BOOL success, NSError *error);
typedef void (^VENOAuthCompletionHandler)(BOOL success, NSError *error);

#define VEN_CURRENT_SDK_VERSION @"1.0.0"

@interface Venmo : NSObject

@property (copy, nonatomic, readonly) NSString *appId;
@property (copy, nonatomic, readonly) NSString *appSecret;
@property (copy, nonatomic, readonly) NSString *appName;
@property (strong, nonatomic) VENSession *session;
@property (copy, nonatomic, readonly) VENTransactionCompletionHandler transactionCompletionHandler;
@property (copy, nonatomic, readonly) VENOAuthCompletionHandler OAuthCompletionHandler;
<commit_msg>[Venmo.h] Update SDK version to 1.2.0<commit_after>@import Foundation;
@import UIKit;

#import <VENCore/VENCore.h>

#import "VENErrors.h"
#import "VENPermissionConstants.h"
#import "VENSession.h"
#import "VENTransaction+VenmoSDK.h"

typedef NS_ENUM(NSUInteger, VENTransactionMethod) {
    // Indicates that the SDK should send transactions by switching to the Venmo app.
    VENTransactionMethodAppSwitch,
    // Indicates that the SDK should send transactions via the Venmo API.
    // If there is no open session, the SDK will fall back to sending transactions via app switch.
    VENTransactionMethodAPI
};

@class VENUserSDK, VENSession;

typedef void (^VENTransactionCompletionHandler)(VENTransaction *transaction, BOOL success, NSError *error);
typedef void (^VENRefreshTokenCompletionHandler)(NSString *accessToken, BOOL success, NSError *error);
typedef void (^VENGenericRequestCompletionHandler)(id object, BOOL success, NSError *error);
typedef void (^VENOAuthCompletionHandler)(BOOL success, NSError *error);

#define VEN_CURRENT_SDK_VERSION @"1.2.0"

@interface Venmo : NSObject

@property (copy, nonatomic, readonly) NSString *appId;
@property (copy, nonatomic, readonly) NSString *appSecret;
@property (copy, nonatomic, readonly) NSString *appName;
@property (strong, nonatomic) VENSession *session;
@property (copy, nonatomic, readonly) VENTransactionCompletionHandler transactionCompletionHandler;
@property (copy, nonatomic, readonly) VENOAuthCompletionHandler OAuthCompletionHandler;

{'fraction_non_alphanumeric': 0.09093959731543624, 'fraction_numerical': 0.0030201342281879194, 'mean_word_length': 6.8654353562005275, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5728611', 'n_tokens_mistral': 906, 'n_tokens_neox': 823, 'n_words': 273}