-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00e6b34
commit 77a95a5
Showing
511 changed files
with
11,033 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'Intercom' | ||
s.version = '10.1.1' | ||
s.version = '10.1.2' | ||
s.summary = 'The Intercom iOS SDK, for integrating Intercom into your iOS application.' | ||
s.license = { :type => "Apache 2.0", :file => "LICENSE" } | ||
s.authors = {"Brian Boyle"=>"[email protected]", "Mike McNamara"=>"[email protected]", "Katherine Brennan"=>"[email protected]", "Himanshi Goyal"=>"[email protected]"} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>AvailableLibraries</key> | ||
<array> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64_armv7</string> | ||
<key>LibraryPath</key> | ||
<string>Intercom.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>armv7</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64_i386_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>Intercom.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>i386</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>simulator</string> | ||
</dict> | ||
</array> | ||
<key>CFBundlePackageType</key> | ||
<string>XFWK</string> | ||
<key>XCFrameworkFormatVersion</key> | ||
<string>1.0</string> | ||
</dict> | ||
</plist> |
87 changes: 87 additions & 0 deletions
87
Intercom.xcframework/ios-arm64_armv7/Intercom.framework/Headers/ICMCompany.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
// | ||
// ICMCompany.h | ||
// | ||
// Created by Intercom on 17/01/2017. | ||
// Copyright (c) 2017 Intercom. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
/** | ||
* The ICMCompany object is used for adding companies to users in Intercom. | ||
* All of the default attributes you can modify are available as properties on ICMCompany. | ||
* This is an example of how to create an ICMCompany object to update default attributes. | ||
* | ||
* ICMCompany *company = [ICMCompany new]; | ||
* company.companyId = @"12345"; | ||
* company.name = @"TestCorp"; | ||
* | ||
* You can also add custom attributes to your company. | ||
* | ||
* ICMCompany *company = [ICMCompany new]; | ||
* company.companyId = @"12345"; | ||
* company.name = @"TestCorp"; | ||
* company.customAttributes = @{@"employee_count" : @200}; | ||
* | ||
*/ | ||
@interface ICMCompany : NSObject | ||
|
||
/** | ||
The ID of the company. | ||
@note This property is required | ||
*/ | ||
@property (nonatomic, copy, nullable) NSString *companyId; | ||
|
||
/** | ||
The name of the company. | ||
*/ | ||
@property (nonatomic, copy, nullable) NSString *name; | ||
|
||
/** | ||
The created at date for this company. | ||
*/ | ||
@property (nonatomic, strong, nullable) NSDate *createdAt; | ||
|
||
/** | ||
The monthly spend of the company. | ||
*/ | ||
@property (nonatomic, strong, nullable) NSNumber *monthlySpend; | ||
|
||
/** | ||
The plan of the company. | ||
*/ | ||
@property (nonatomic, copy, nullable) NSString *plan; | ||
|
||
/** | ||
Custom attributes for this user. | ||
@note Each key must be an NSString and each value must be of type NSString, NSNumber or NSNull. | ||
*/ | ||
@property (nonatomic, strong, nullable) NSDictionary<NSString *, id> *customAttributes; | ||
|
||
/** | ||
Gives you a null value to apply to string attributes. | ||
@return the value to set on string attributes which you wish to be null | ||
*/ | ||
+ (nonnull NSString *)nullStringAttribute; | ||
|
||
/** | ||
Gives you a null value to apply to number attributes. | ||
@return the value to set on number attributes which you wish to be null | ||
*/ | ||
+ (nonnull NSNumber *)nullNumberAttribute; | ||
|
||
/** | ||
Gives you a null value to apply to date attributes. | ||
@return the value to set on date attributes which you wish to be null | ||
*/ | ||
+ (nonnull NSDate *)nullDateAttribute; | ||
|
||
/** | ||
A dictionary representation for the company. | ||
*/ | ||
- (nonnull NSDictionary<NSString *, id> *)attributes; | ||
|
||
@end |
34 changes: 34 additions & 0 deletions
34
Intercom.xcframework/ios-arm64_armv7/Intercom.framework/Headers/ICMHelpCenterArticle.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// | ||
// ICMHelpCenterArticle.h | ||
// IntercomSDK-Dynamic | ||
// | ||
// Created by Michael McNamara on 03/06/2021. | ||
// Copyright © 2021 Intercom. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
ICMHelpCenterArticle represents a Help Center article. | ||
*/ | ||
NS_SWIFT_NAME(HelpCenterArticle) | ||
@interface ICMHelpCenterArticle : NSObject | ||
|
||
/** | ||
The id of this article. | ||
*/ | ||
@property (nonatomic, copy) NSString *articleId; | ||
|
||
/** | ||
The title of this article. | ||
*/ | ||
@property (nonatomic, copy) NSString *title; | ||
|
||
- (instancetype)initWithArticleId:(NSString *)articleId | ||
title:(NSString *)title; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
46 changes: 46 additions & 0 deletions
46
...xcframework/ios-arm64_armv7/Intercom.framework/Headers/ICMHelpCenterArticleSearchResult.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// | ||
// ICMHelpCenterArticleSearchResult.h | ||
// IntercomSDK-Dynamic | ||
// | ||
// Created by Michael McNamara on 04/06/2021. | ||
// Copyright © 2021 Intercom. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
ICMHelpCenterArticleSearchResult represents the result of a Help Center search. | ||
*/ | ||
NS_SWIFT_NAME(HelpCenterArticleSearchResult) | ||
@interface ICMHelpCenterArticleSearchResult : NSObject | ||
|
||
/** | ||
The id of this article. | ||
*/ | ||
@property (nonatomic, copy) NSString *articleId; | ||
|
||
/** | ||
The title of this article. | ||
*/ | ||
@property (nonatomic, copy) NSString *title; | ||
|
||
/** | ||
The summary of this article. | ||
*/ | ||
@property (nonatomic, copy) NSString *summary; | ||
|
||
/** | ||
A snippet of this article that matches the search term. | ||
*/ | ||
@property (nonatomic, copy) NSString *matchingSnippet; | ||
|
||
- (instancetype)initWithArticleId:(NSString *)articleId | ||
title:(NSString *)title | ||
summary:(nullable NSString *)summary | ||
matchingSnippet:(nullable NSString *)matchingSnippet; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
40 changes: 40 additions & 0 deletions
40
Intercom.xcframework/ios-arm64_armv7/Intercom.framework/Headers/ICMHelpCenterCollection.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// ICMHelpCenterCollection.h | ||
// IntercomSDK-Dynamic | ||
// | ||
// Created by Michael McNamara on 26/05/2021. | ||
// Copyright © 2021 Intercom. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
ICMHelpCenterCollection represents a Help Center collection. | ||
*/ | ||
NS_SWIFT_NAME(HelpCenterCollection) | ||
@interface ICMHelpCenterCollection : NSObject | ||
|
||
/** | ||
The id of this collection. | ||
*/ | ||
@property (nonatomic, copy) NSString *collectionId; | ||
|
||
/** | ||
The title of this collection. | ||
*/ | ||
@property (nonatomic, copy) NSString *title; | ||
|
||
/** | ||
A summary of this collection. | ||
*/ | ||
@property (nonatomic, copy, nullable) NSString *summary; | ||
|
||
- (instancetype)initWithCollectionId:(NSString *)collectionId | ||
title:(NSString *)title | ||
summary:(nullable NSString *)summary; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
55 changes: 55 additions & 0 deletions
55
...m.xcframework/ios-arm64_armv7/Intercom.framework/Headers/ICMHelpCenterCollectionContent.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// | ||
// ICMHelpCenterCollectionContent.h | ||
// IntercomSDK-Dynamic | ||
// | ||
// Created by Michael McNamara on 03/06/2021. | ||
// Copyright © 2021 Intercom. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
@class ICMHelpCenterArticle; | ||
@class ICMHelpCenterSection; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
ICMHelpCenterCollection represents a Help Center collection and its contents. | ||
*/ | ||
NS_SWIFT_NAME(HelpCenterCollectionContent) | ||
@interface ICMHelpCenterCollectionContent : NSObject | ||
|
||
/** | ||
The id of this collection. | ||
*/ | ||
@property (nonatomic, copy) NSString *collectionId; | ||
|
||
/** | ||
The title of this collection. | ||
*/ | ||
@property (nonatomic, copy) NSString *title; | ||
|
||
/** | ||
A summary of this collection. | ||
*/ | ||
@property (nonatomic, copy, nullable) NSString *summary; | ||
|
||
/** | ||
The articles contained in this collection. | ||
*/ | ||
@property (nonatomic, strong) NSArray<ICMHelpCenterArticle *> *articles; | ||
|
||
/** | ||
The sections contained in this collection. | ||
*/ | ||
@property (nonatomic, strong) NSArray<ICMHelpCenterSection *> *sections; | ||
|
||
- (instancetype)initWithCollectionId:(NSString *)collectionId | ||
title:(NSString *)title | ||
summary:(nullable NSString *)summary | ||
articles:(NSArray<ICMHelpCenterArticle *> *)articles | ||
sections:(NSArray<ICMHelpCenterSection *> *)sections; | ||
|
||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
23 changes: 23 additions & 0 deletions
23
Intercom.xcframework/ios-arm64_armv7/Intercom.framework/Headers/ICMHelpCenterDataError.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// ICMHelpCenterDataError.h | ||
// IntercomSDK-Dynamic | ||
// | ||
// Created by Michael McNamara on 08/06/2021. | ||
// Copyright © 2021 Intercom. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
extern NSErrorDomain const ICMHelpCenterDataErrorDomain; | ||
|
||
typedef NS_ERROR_ENUM(ICMHelpCenterDataErrorDomain, ICMHelpCenterDataError) { | ||
contentNotAvailable = 1, | ||
networkError, | ||
somethingWentWrong, | ||
noUserRegistered, | ||
noAppRegistered | ||
}; | ||
|
||
NS_ASSUME_NONNULL_END |
35 changes: 35 additions & 0 deletions
35
Intercom.xcframework/ios-arm64_armv7/Intercom.framework/Headers/ICMHelpCenterSection.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// | ||
// ICMHelpCenterSection.h | ||
// IntercomSDK-Dynamic | ||
// | ||
// Created by Michael McNamara on 03/06/2021. | ||
// Copyright © 2021 Intercom. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
@class ICMHelpCenterArticle; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
ICMHelpCenterSection represents a Help Center section. | ||
*/ | ||
NS_SWIFT_NAME(HelpCenterSection) | ||
@interface ICMHelpCenterSection : NSObject | ||
|
||
/** | ||
The title of this section. | ||
*/ | ||
@property (nonatomic, copy) NSString *title; | ||
|
||
/** | ||
The articles contained in this section. | ||
*/ | ||
@property (nonatomic, strong) NSArray<ICMHelpCenterArticle *> *articles; | ||
|
||
- (instancetype)initWithTitle:(NSString *)title | ||
articles:(NSArray<ICMHelpCenterArticle *> *)articles; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.