diff --git a/Articles/Adding-metadata-to-tickets-created-by-the-Mobile-SDK.md b/Articles/Adding-metadata-to-tickets-created-by-the-Mobile-SDK.md deleted file mode 100644 index bb09dd27..00000000 --- a/Articles/Adding-metadata-to-tickets-created-by-the-Mobile-SDK.md +++ /dev/null @@ -1,124 +0,0 @@ -Zendesk provides a number of ways to add additional information to tickets. This helps provide context for agents or can even be used to trigger business logic. The iOS and Android mobile SDKs provide four ways to append additional information to created tickets. This information is stored globally so it can be set at any time before a ticket is created and will be added to every ticket submitted over the lifetime of the app. Below is a brief summary followed by examples of how to use each type in the mobile SDKs. All of the examples below add metadata to tickets created by the Zendesk Mobile SDK. They have no effect on the UI provided with the SDK. - - -* **Ticket Fields:** Ticket fields contain data about a ticket, such as subject, requester, status, and description. For more information please see [About Ticket Fields](https://support.zendesk.com/hc/en-us/articles/203661506-About-ticket-fields). -* **Tags:** Tags are strings you can use to add more context to tickets. For more information please see [Using Tags](https://support.zendesk.com/hc/en-us/articles/203662096-Using-tags). -* **Additional Text:** The iOS and Android mobile SDKs allow you to appended additional text directly to each ticket created. -* **Ticket Forms (Enterprise only):** A ticket form is a set of predefined ticket fields for a specific support request. For more information please see [Creating Ticket Forms](https://support.zendesk.com/hc/en-us/articles/203661616-Creating-ticket-forms-to-support-multiple-request-types-Enterprise-). - - -### Ticket Fields -One important prerequisite before adding ticket fields to requests created in the mobile SDKs is to make said ticket fields editable by end-users, as all of the Mobile SDKs interactions with Zendesk are done so from the perspective of an end user. If you do not do this the values set in the requests will be discarded. This can be done in Admin -> Ticket Fields (Under the Manage subheading) and clicking edit beside the relevant ticket field. From here you can make the field editable by end-users. - -![Ticket fields admin pages](images/ticket_fields_admin.png) - -#### iOS -Ticket fields are set globally in the iOS SDK so they will apply to all the tickets a user submits using the iOS mobile SDK. To do so you need to set ```ZDKCustomField``` objects in the customTicketFields property of ```ZDKConfig```. - -A ```ZDKCustomField``` object consists of a field ID and a value. The field ID can be found in your Zendesk. Simply edit the custom field and the ID will be shown at the top of the page, as shown below. - -![Ticket fields admin page](images/ticket_fields_admin_2.png) - -Once you have the ID it is simply a matter of providing whatever information you wish to show and adding it to ```ZDKConfig```. In the case of drop down fields it is important the value you set is the exact string used in the field options of the ticket field. A complete example is below: - -```objective-c - - //Device free space - NSString *deviceFreeSpace = [NSString stringWithFormat:@"%f GB", [ZDKDeviceInfo freeDiskspace]]; - ZDKCustomField *customFieldDeviceFreeSpace = [[ZDKCustomField alloc] initWithFieldId:@(00000000) andValue:deviceFreeSpace]; - - //Device battery level - NSString *deviceBatteryLevel = [NSString stringWithFormat:@"%f", [ZDKDeviceInfo batteryLevel]]; - ZDKCustomField *customFieldDeviceBatteryLevel = [[ZDKCustomField alloc] initWithFieldId:@(00000001) andValue:deviceBatteryLevel]; - - [ZDKConfig instance].customTicketFields = @[customFieldDeviceFreeSpace, customFieldDeviceBatteryLevel]; - -``` -#### Android -```java - - String appVersion = String.format(Locale.US, "Version %s", BuildConfig.VERSION_NAME); - CustomField customFieldAppVersion = new CustomField(0l, appVersion); - - String osVersion = String.format(Locale.US, "Android %s, Version %s", VERSION.RELEASE, VERSION.SDK_INT); - CustomField customFieldOsVersion = new CustomField(1l, osVersion); - - ZendeskConfig.INSTANCE.setCustomFields(Arrays.asList(customFieldAppVersion, customFieldOsVersion)); - -``` - -### Tags -Tags are a very simple way to give context to and organize tickets. -#### iOS -Tags are set by calling ```ZDKRequests configure:``` and setting the ```tags``` property of the RequestCreationConfig argument: - -```objective-c - [ZDKRequests configure:^(ZDKAccount *account, ZDKRequestCreationConfig *requestCreationConfig) { - requestCreationConfig.tags = @[@"Example","iOS","paid_user"]; - } -``` - -#### Android -```java - ZendeskConfig.INSTANCE.setContactConfiguration(new ZendeskFeedbackConfiguration() { - @Override - public List getTags() { - return Arrays.asList("Example", "Android", "paid_user"); - } - }); - -``` - -### Additional Request Information - -Additional request information allows you to append text to the body of every ticket a user submits using the SDK. Please note that this information will be visible by the end user when they view their ticket after submission. - -### iOS - -Again this is set by calling ```ZDKRequests configure:``` and setting the ```additionalRequestInfo``` property of the RequestCreationConfig argument: - -```objective-c - [ZDKRequests configure:^(ZDKAccount *account, ZDKRequestCreationConfig *requestCreationConfig) { - requestCreationConfig.additionalRequestInfo = @"This will be at the bottom of every ticket"; - } -``` - -#### Android -```java - - ZendeskConfig.INSTANCE.setContactConfiguration(new ZendeskFeedbackConfiguration() { - @Override - public String getAdditionalInfo() { - return "This will be at the bottom of every ticket"; - } - - @Override - public String getRequestSubject() { - return "Request Subject "; - } - }); - -``` - -### Ticket Forms - -If your Zendesk instance supports custom forms you can specify the form that will be shown along with the ticket in the agent interface. The ticket form ID can be found in your Zendesk under Admin -> Ticket Forms (Under the Manage subheading). Simply click on the relevant form and copy the ID from the URL. - -![Ticket forms admin page](images/ticket_forms_admin.png) - -#### iOS -On iOS you simply need to set the ticketFormID property in the ZDKConfig class. - -```objective-c - [ZDKConfig instance].ticketFormId = @(62609); -``` - -All fields set in the SDK will be have to be under the specified form are they will be ignored. - -#### Android -```java - ZendeskConfig.INSTANCE.setTicketFormId(62609l); -``` - - - diff --git a/Articles/Home.md b/Articles/Home.md deleted file mode 100644 index 204e5bca..00000000 --- a/Articles/Home.md +++ /dev/null @@ -1,3 +0,0 @@ -![Zendesk logo](https://d16cvnquvjw7pr.cloudfront.net/www/img/p-brand/downloads/Logo/Zendesk_logo_RGB.png) - -Welcome to the zendesk_sdk_ios wiki! diff --git a/Articles/images/ticket_fields_admin.png b/Articles/images/ticket_fields_admin.png deleted file mode 100644 index ef8e5676..00000000 Binary files a/Articles/images/ticket_fields_admin.png and /dev/null differ diff --git a/Articles/images/ticket_fields_admin_2.png b/Articles/images/ticket_fields_admin_2.png deleted file mode 100644 index 5647ccf4..00000000 Binary files a/Articles/images/ticket_fields_admin_2.png and /dev/null differ diff --git a/Articles/images/ticket_forms_admin.png b/Articles/images/ticket_forms_admin.png deleted file mode 100644 index 83d90a47..00000000 Binary files a/Articles/images/ticket_forms_admin.png and /dev/null differ diff --git a/README.md b/README.md index f4aaa072..9180f134 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,12 @@ :warning: *Use of this software is subject to important terms and conditions as set forth in the License file* :warning: -# Zendesk Mobile SDK for iOS 1.11.2.1 +# Zendesk Mobile SDK for iOS 2.0.0 Zendesk SDK for mobile is a quick, convenient way to get customer support into your mobile apps. With just a few lines of code, you can provide your end users with an easy way to get in touch from any mobile app. -## Contents: +## Demo Applications - * SampleApp - sample project for core request management - * ZendeskSDK.bundle - the SDK resource bundle - * ZendeskSDK.framework - UI components for SDK - * ZendeskProviderSDK.framework - Provider only framework, no UI components - * ZendeskSDKStrings.bundle - the SDK localization strings bundle - -You can also reference this repository as a cocoapod: - - -```` -source 'https://github.com/CocoaPods/Specs.git' - -pod 'ZendeskSDK' -```` - -To choose a specific version: - -``` -source 'https://github.com/CocoaPods/Specs.git' - -pod 'ZendeskSDK', '~> RELEASE_VERSION_TAG' -``` +There are a number of simple demo applicaitons [here](https://github.com/zendesk/ios_sdk_demo_apps). ## Documentation @@ -39,7 +18,7 @@ All enhancement, improvement, and feature request suggestions are welcomed. Plea ## Copyright and license -Copyright 2017 Zendesk +Copyright 2018 Zendesk By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License diff --git a/SampleApp/SampleApp.xcodeproj/project.pbxproj b/SampleApp/SampleApp.xcodeproj/project.pbxproj deleted file mode 100644 index fd9c0cec..00000000 --- a/SampleApp/SampleApp.xcodeproj/project.pbxproj +++ /dev/null @@ -1,426 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 486D39281DD4CE3900401073 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 837AB70E1A8E511700B86214 /* MobileCoreServices.framework */; }; - 486D39291DD4CE4600401073 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F160B6D31949E2D600AEF42D /* CoreGraphics.framework */; }; - 486D392A1DD4CE5300401073 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C333A54119E29EC40046B858 /* SystemConfiguration.framework */; }; - 83C044251BC2CD7E00B04303 /* ZendeskProviderSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 83C044241BC2CD7E00B04303 /* ZendeskProviderSDK.framework */; }; - 83D3E9A01AA9EF36006DB98C /* ZDSampleAppScanViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 83D3E99F1AA9EF36006DB98C /* ZDSampleAppScanViewController.m */; }; - C38311B61A1A352B00F7979A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C38311B31A1A352B00F7979A /* main.m */; }; - C38311C31A1A358500F7979A /* ZDAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C38311BE1A1A358500F7979A /* ZDAppDelegate.m */; }; - C38311C41A1A358500F7979A /* ZDSampleAppConfigurationViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C38311C01A1A358500F7979A /* ZDSampleAppConfigurationViewController.m */; }; - C38311C51A1A358500F7979A /* ZDSampleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C38311C21A1A358500F7979A /* ZDSampleViewController.m */; }; - C3A2C8A11ABAD575006EA3E7 /* NSData+ZDKSampleApp.m in Sources */ = {isa = PBXBuildFile; fileRef = C3A2C8A01ABAD575006EA3E7 /* NSData+ZDKSampleApp.m */; }; - C3EF3EFB1A1A1B3700168A69 /* ZendeskSDK.bundle in Resources */ = {isa = PBXBuildFile; fileRef = C3EF3EF91A1A1B3700168A69 /* ZendeskSDK.bundle */; }; - C3EF3EFC1A1A1B3700168A69 /* ZendeskSDKStrings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = C3EF3EFA1A1A1B3700168A69 /* ZendeskSDKStrings.bundle */; }; - C3EF3EFE1A1A1B5400168A69 /* ZendeskSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C3EF3EFD1A1A1B5400168A69 /* ZendeskSDK.framework */; }; - C3EF3F011A1A1B7C00168A69 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C3EF3F001A1A1B7C00168A69 /* Images.xcassets */; }; - D777FEDF1EDD8AB50053358C /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = D777FEDE1EDD8AB50053358C /* LaunchScreen.xib */; }; - F160B6D21949E2D600AEF42D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F160B6D11949E2D600AEF42D /* Foundation.framework */; }; - F160B6D61949E2D600AEF42D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F160B6D51949E2D600AEF42D /* UIKit.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 837AB70E1A8E511700B86214 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; - 83C044241BC2CD7E00B04303 /* ZendeskProviderSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ZendeskProviderSDK.framework; path = SampleApp/Frameworks/ZendeskProviderSDK.framework; sourceTree = ""; }; - 83D3E99E1AA9EF36006DB98C /* ZDSampleAppScanViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ZDSampleAppScanViewController.h; path = SampleApp/ZDSampleAppScanViewController.h; sourceTree = ""; }; - 83D3E99F1AA9EF36006DB98C /* ZDSampleAppScanViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ZDSampleAppScanViewController.m; path = SampleApp/ZDSampleAppScanViewController.m; sourceTree = ""; }; - C333A54119E29EC40046B858 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; - C38311B31A1A352B00F7979A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = SampleApp/main.m; sourceTree = ""; }; - C38311B41A1A352B00F7979A /* SampleApp-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "SampleApp-Info.plist"; path = "SampleApp/SampleApp-Info.plist"; sourceTree = ""; }; - C38311B51A1A352B00F7979A /* SampleApp-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "SampleApp-Prefix.pch"; path = "SampleApp/SampleApp-Prefix.pch"; sourceTree = ""; }; - C38311BD1A1A358500F7979A /* ZDAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ZDAppDelegate.h; path = SampleApp/ZDAppDelegate.h; sourceTree = ""; }; - C38311BE1A1A358500F7979A /* ZDAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.objc; name = ZDAppDelegate.m; path = SampleApp/ZDAppDelegate.m; sourceTree = ""; tabWidth = 4; }; - C38311BF1A1A358500F7979A /* ZDSampleAppConfigurationViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ZDSampleAppConfigurationViewController.h; path = SampleApp/ZDSampleAppConfigurationViewController.h; sourceTree = ""; }; - C38311C01A1A358500F7979A /* ZDSampleAppConfigurationViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ZDSampleAppConfigurationViewController.m; path = SampleApp/ZDSampleAppConfigurationViewController.m; sourceTree = ""; }; - C38311C11A1A358500F7979A /* ZDSampleViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ZDSampleViewController.h; path = SampleApp/ZDSampleViewController.h; sourceTree = ""; }; - C38311C21A1A358500F7979A /* ZDSampleViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ZDSampleViewController.m; path = SampleApp/ZDSampleViewController.m; sourceTree = ""; }; - C3A2C89F1ABAD575006EA3E7 /* NSData+ZDKSampleApp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSData+ZDKSampleApp.h"; path = "SampleApp/NSData+ZDKSampleApp.h"; sourceTree = ""; }; - C3A2C8A01ABAD575006EA3E7 /* NSData+ZDKSampleApp.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "NSData+ZDKSampleApp.m"; path = "SampleApp/NSData+ZDKSampleApp.m"; sourceTree = ""; }; - C3EF3EF91A1A1B3700168A69 /* ZendeskSDK.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = ZendeskSDK.bundle; sourceTree = ""; }; - C3EF3EFA1A1A1B3700168A69 /* ZendeskSDKStrings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = ZendeskSDKStrings.bundle; sourceTree = ""; }; - C3EF3EFD1A1A1B5400168A69 /* ZendeskSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ZendeskSDK.framework; path = SampleApp/Frameworks/ZendeskSDK.framework; sourceTree = ""; }; - C3EF3F001A1A1B7C00168A69 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - D777FEDE1EDD8AB50053358C /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; - F160B6CE1949E2D600AEF42D /* SDK-Sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SDK-Sample.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - F160B6D11949E2D600AEF42D /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - F160B6D31949E2D600AEF42D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - F160B6D51949E2D600AEF42D /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - F160B6EA1949E2D600AEF42D /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - F160B6CB1949E2D600AEF42D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 486D392A1DD4CE5300401073 /* SystemConfiguration.framework in Frameworks */, - 486D39291DD4CE4600401073 /* CoreGraphics.framework in Frameworks */, - 486D39281DD4CE3900401073 /* MobileCoreServices.framework in Frameworks */, - 83C044251BC2CD7E00B04303 /* ZendeskProviderSDK.framework in Frameworks */, - C3EF3EFE1A1A1B5400168A69 /* ZendeskSDK.framework in Frameworks */, - F160B6D61949E2D600AEF42D /* UIKit.framework in Frameworks */, - F160B6D21949E2D600AEF42D /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - C38311BB1A1A353200F7979A /* Supporting Files */ = { - isa = PBXGroup; - children = ( - C38311B31A1A352B00F7979A /* main.m */, - C38311B41A1A352B00F7979A /* SampleApp-Info.plist */, - C38311B51A1A352B00F7979A /* SampleApp-Prefix.pch */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - C38311BC1A1A356400F7979A /* SampleApp */ = { - isa = PBXGroup; - children = ( - C3EF3EFF1A1A1B7C00168A69 /* Resources */, - C38311BB1A1A353200F7979A /* Supporting Files */, - C3A2C8A51ABAD58E006EA3E7 /* Categories */, - C38311BD1A1A358500F7979A /* ZDAppDelegate.h */, - C38311BE1A1A358500F7979A /* ZDAppDelegate.m */, - C38311BF1A1A358500F7979A /* ZDSampleAppConfigurationViewController.h */, - C38311C01A1A358500F7979A /* ZDSampleAppConfigurationViewController.m */, - C38311C11A1A358500F7979A /* ZDSampleViewController.h */, - C38311C21A1A358500F7979A /* ZDSampleViewController.m */, - 83D3E99E1AA9EF36006DB98C /* ZDSampleAppScanViewController.h */, - 83D3E99F1AA9EF36006DB98C /* ZDSampleAppScanViewController.m */, - ); - name = SampleApp; - sourceTree = ""; - }; - C3A2C8A51ABAD58E006EA3E7 /* Categories */ = { - isa = PBXGroup; - children = ( - C3A2C89F1ABAD575006EA3E7 /* NSData+ZDKSampleApp.h */, - C3A2C8A01ABAD575006EA3E7 /* NSData+ZDKSampleApp.m */, - ); - name = Categories; - sourceTree = ""; - }; - C3EF3EF81A1A1B3700168A69 /* Bundles */ = { - isa = PBXGroup; - children = ( - C3EF3EF91A1A1B3700168A69 /* ZendeskSDK.bundle */, - C3EF3EFA1A1A1B3700168A69 /* ZendeskSDKStrings.bundle */, - ); - name = Bundles; - path = SampleApp/Bundles; - sourceTree = ""; - }; - C3EF3EFF1A1A1B7C00168A69 /* Resources */ = { - isa = PBXGroup; - children = ( - C3EF3F001A1A1B7C00168A69 /* Images.xcassets */, - D777FEDE1EDD8AB50053358C /* LaunchScreen.xib */, - ); - name = Resources; - path = SampleApp/Resources; - sourceTree = ""; - }; - F160B6C51949E2D600AEF42D = { - isa = PBXGroup; - children = ( - C38311BC1A1A356400F7979A /* SampleApp */, - F160B6D01949E2D600AEF42D /* Frameworks */, - C3EF3EF81A1A1B3700168A69 /* Bundles */, - F160B6CF1949E2D600AEF42D /* Products */, - ); - sourceTree = ""; - }; - F160B6CF1949E2D600AEF42D /* Products */ = { - isa = PBXGroup; - children = ( - F160B6CE1949E2D600AEF42D /* SDK-Sample.app */, - ); - name = Products; - sourceTree = ""; - }; - F160B6D01949E2D600AEF42D /* Frameworks */ = { - isa = PBXGroup; - children = ( - 83C044241BC2CD7E00B04303 /* ZendeskProviderSDK.framework */, - 837AB70E1A8E511700B86214 /* MobileCoreServices.framework */, - C3EF3EFD1A1A1B5400168A69 /* ZendeskSDK.framework */, - C333A54119E29EC40046B858 /* SystemConfiguration.framework */, - F160B6D11949E2D600AEF42D /* Foundation.framework */, - F160B6D31949E2D600AEF42D /* CoreGraphics.framework */, - F160B6D51949E2D600AEF42D /* UIKit.framework */, - F160B6EA1949E2D600AEF42D /* XCTest.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - F160B6CD1949E2D600AEF42D /* SDK-Sample */ = { - isa = PBXNativeTarget; - buildConfigurationList = F160B6FA1949E2D600AEF42D /* Build configuration list for PBXNativeTarget "SDK-Sample" */; - buildPhases = ( - F160B6CA1949E2D600AEF42D /* Sources */, - F160B6CB1949E2D600AEF42D /* Frameworks */, - F160B6CC1949E2D600AEF42D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "SDK-Sample"; - productName = CoreSDKSample; - productReference = F160B6CE1949E2D600AEF42D /* SDK-Sample.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - F160B6C61949E2D600AEF42D /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0830; - ORGANIZATIONNAME = Zendesk; - TargetAttributes = { - F160B6CD1949E2D600AEF42D = { - DevelopmentTeam = 7529UAQB93; - ProvisioningStyle = Automatic; - SystemCapabilities = { - com.apple.BackgroundModes = { - enabled = 1; - }; - com.apple.GameCenter = { - enabled = 0; - }; - com.apple.InAppPurchase = { - enabled = 0; - }; - com.apple.Push = { - enabled = 1; - }; - }; - }; - }; - }; - buildConfigurationList = F160B6C91949E2D600AEF42D /* Build configuration list for PBXProject "SampleApp" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = F160B6C51949E2D600AEF42D; - productRefGroup = F160B6CF1949E2D600AEF42D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - F160B6CD1949E2D600AEF42D /* SDK-Sample */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - F160B6CC1949E2D600AEF42D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C3EF3EFC1A1A1B3700168A69 /* ZendeskSDKStrings.bundle in Resources */, - D777FEDF1EDD8AB50053358C /* LaunchScreen.xib in Resources */, - C3EF3F011A1A1B7C00168A69 /* Images.xcassets in Resources */, - C3EF3EFB1A1A1B3700168A69 /* ZendeskSDK.bundle in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - F160B6CA1949E2D600AEF42D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C38311C51A1A358500F7979A /* ZDSampleViewController.m in Sources */, - 83D3E9A01AA9EF36006DB98C /* ZDSampleAppScanViewController.m in Sources */, - C38311C31A1A358500F7979A /* ZDAppDelegate.m in Sources */, - C3A2C8A11ABAD575006EA3E7 /* NSData+ZDKSampleApp.m in Sources */, - C38311C41A1A358500F7979A /* ZDSampleAppConfigurationViewController.m in Sources */, - C38311B61A1A352B00F7979A /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - F160B6F81949E2D600AEF42D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - ONLY_ACTIVE_ARCH = YES; - OTHER_LDFLAGS = "$(inherited)"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALID_ARCHS = "armv7 armv7s i386"; - }; - name = Debug; - }; - F160B6F91949E2D600AEF42D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = YES; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - OTHER_LDFLAGS = "$(inherited)"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VALID_ARCHS = "armv7 armv7s i386"; - }; - name = Release; - }; - F160B6FB1949E2D600AEF42D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_RESOURCE_RULES_PATH = "$(SDKROOT)/ResourceRules.plist"; - DEVELOPMENT_TEAM = 7529UAQB93; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/SampleApp/Frameworks", - ); - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "SampleApp/SampleApp-Prefix.pch"; - HEADER_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = "SampleApp/SampleApp-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LIBRARY_SEARCH_PATHS = "$(inherited)"; - ONLY_ACTIVE_ARCH = YES; - OTHER_LDFLAGS = "$(inherited)"; - PODS_ROOT = "${SRCROOT}/../Pods"; - PRODUCT_BUNDLE_IDENTIFIER = "com.zendesk.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "SDK-Sample"; - VALID_ARCHS = "armv7 armv7s i386 arm64 x86_64 "; - WRAPPER_EXTENSION = app; - }; - name = Debug; - }; - F160B6FC1949E2D600AEF42D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_RESOURCE_RULES_PATH = "$(SDKROOT)/ResourceRules.plist"; - DEVELOPMENT_TEAM = 7529UAQB93; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/SampleApp/Frameworks", - ); - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "SampleApp/SampleApp-Prefix.pch"; - HEADER_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = "SampleApp/SampleApp-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LIBRARY_SEARCH_PATHS = "$(inherited)"; - ONLY_ACTIVE_ARCH = NO; - OTHER_LDFLAGS = "$(inherited)"; - PODS_ROOT = "${SRCROOT}/../Pods"; - PRODUCT_BUNDLE_IDENTIFIER = "com.zendesk.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "SDK-Sample"; - VALID_ARCHS = "armv7 armv7s i386 arm64 x86_64 "; - WRAPPER_EXTENSION = app; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - F160B6C91949E2D600AEF42D /* Build configuration list for PBXProject "SampleApp" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F160B6F81949E2D600AEF42D /* Debug */, - F160B6F91949E2D600AEF42D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F160B6FA1949E2D600AEF42D /* Build configuration list for PBXNativeTarget "SDK-Sample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F160B6FB1949E2D600AEF42D /* Debug */, - F160B6FC1949E2D600AEF42D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = F160B6C61949E2D600AEF42D /* Project object */; -} diff --git a/SampleApp/SampleApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SampleApp/SampleApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 20c18034..00000000 --- a/SampleApp/SampleApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/SampleApp/SampleApp.xcodeproj/project.xcworkspace/xcshareddata/CoreSDKSample.xccheckout b/SampleApp/SampleApp.xcodeproj/project.xcworkspace/xcshareddata/CoreSDKSample.xccheckout deleted file mode 100644 index 6af08872..00000000 --- a/SampleApp/SampleApp.xcodeproj/project.xcworkspace/xcshareddata/CoreSDKSample.xccheckout +++ /dev/null @@ -1,41 +0,0 @@ - - - - - IDESourceControlProjectFavoriteDictionaryKey - - IDESourceControlProjectIdentifier - 9D1D5AE1-8E24-408D-973B-D609665F0A81 - IDESourceControlProjectName - CoreSDKSample - IDESourceControlProjectOriginsDictionary - - BF608BA0F8E697630E291EA213821F71A8278753 - ssh://github.com/zendesk/zendesk_sdk_ios.git - - IDESourceControlProjectPath - CoreSDKSample/CoreSDKSample.xcodeproj/project.xcworkspace - IDESourceControlProjectRelativeInstallPathDictionary - - BF608BA0F8E697630E291EA213821F71A8278753 - ../../.. - - IDESourceControlProjectURL - ssh://github.com/zendesk/zendesk_sdk_ios.git - IDESourceControlProjectVersion - 111 - IDESourceControlProjectWCCIdentifier - BF608BA0F8E697630E291EA213821F71A8278753 - IDESourceControlProjectWCConfigurations - - - IDESourceControlRepositoryExtensionIdentifierKey - public.vcs.git - IDESourceControlWCCIdentifierKey - BF608BA0F8E697630E291EA213821F71A8278753 - IDESourceControlWCCName - zendesk_sdk_ios - - - - diff --git a/SampleApp/SampleApp.xcodeproj/xcshareddata/xcschemes/SDK-Sample.xcscheme b/SampleApp/SampleApp.xcodeproj/xcshareddata/xcschemes/SDK-Sample.xcscheme deleted file mode 100644 index d4a6eded..00000000 --- a/SampleApp/SampleApp.xcodeproj/xcshareddata/xcschemes/SDK-Sample.xcscheme +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/SampleApp/SampleApp/Bundles/Info.plist b/SampleApp/SampleApp/Bundles/Info.plist deleted file mode 100644 index f4270092..00000000 Binary files a/SampleApp/SampleApp/Bundles/Info.plist and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/MyStrings.bundle/Info.plist b/SampleApp/SampleApp/Bundles/MyStrings.bundle/Info.plist deleted file mode 100644 index 381ab03f..00000000 Binary files a/SampleApp/SampleApp/Bundles/MyStrings.bundle/Info.plist and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/MyStrings.bundle/en.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/MyStrings.bundle/en.lproj/Localizable.strings deleted file mode 100644 index b6a5e56c..00000000 Binary files a/SampleApp/SampleApp/Bundles/MyStrings.bundle/en.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/MyStrings.bundle/fr.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/MyStrings.bundle/fr.lproj/Localizable.strings deleted file mode 100644 index b6a5e56c..00000000 Binary files a/SampleApp/SampleApp/Bundles/MyStrings.bundle/fr.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/Info.plist b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/Info.plist deleted file mode 100644 index 2e34b368..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/Info.plist and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ModelIdentifier.plist b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ModelIdentifier.plist deleted file mode 100644 index 882e748f..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ModelIdentifier.plist and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKCreateRequestViewController.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKCreateRequestViewController.nib deleted file mode 100644 index 71b0dec7..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKCreateRequestViewController.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib deleted file mode 100644 index f1d124a3..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/runtime.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/runtime.nib deleted file mode 100644 index 919ca11e..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/runtime.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib deleted file mode 100644 index 78f2e148..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib deleted file mode 100644 index e82f568c..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewController.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewController.nib deleted file mode 100644 index 573be166..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewController.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewFooterView.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewFooterView.nib deleted file mode 100644 index 65c716fc..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewFooterView.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib deleted file mode 100644 index d3550c5d..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib deleted file mode 100644 index 10d11552..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewLoadingTableViewCell.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewLoadingTableViewCell.nib deleted file mode 100644 index ce31143b..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewLoadingTableViewCell.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib deleted file mode 100644 index d438acbb..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib deleted file mode 100644 index 88208cd5..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib deleted file mode 100644 index 5bf4a14a..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib deleted file mode 100644 index 39846d7a..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSpacerTableViewCell.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSpacerTableViewCell.nib deleted file mode 100644 index 23d5ece8..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterOverviewSpacerTableViewCell.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterSearchResultTableViewCell.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterSearchResultTableViewCell.nib deleted file mode 100644 index fdbcebdb..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterSearchResultTableViewCell.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterSearchResultViewController.nib b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterSearchResultViewController.nib deleted file mode 100644 index 623a44c0..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ZDKHelpCenterSearchResultViewController.nib and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/btnAttach.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/btnAttach.png deleted file mode 100644 index 4a4f3295..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/btnAttach.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/btnAttach@2x.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/btnAttach@2x.png deleted file mode 100644 index aa800af6..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/btnAttach@2x.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/btnAttach@3x.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/btnAttach@3x.png deleted file mode 100644 index f60c06ea..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/btnAttach@3x.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAdd.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAdd.png deleted file mode 100644 index 12891136..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAdd.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAdd@2x.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAdd@2x.png deleted file mode 100644 index c37ff527..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAdd@2x.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAdd@3x.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAdd@3x.png deleted file mode 100644 index 24bab189..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAdd@3x.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAttach.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAttach.png deleted file mode 100644 index 355212cc..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAttach.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAttach@2x.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAttach@2x.png deleted file mode 100644 index f9918c39..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAttach@2x.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAttach@3x.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAttach@3x.png deleted file mode 100644 index 408bb711..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoAttach@3x.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoClose.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoClose.png deleted file mode 100644 index 9818314b..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoClose.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoClose@2x.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoClose@2x.png deleted file mode 100644 index 96f0c24b..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoClose@2x.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoClose@3x.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoClose@3x.png deleted file mode 100644 index 20b7674f..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoClose@3x.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_coversations.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_coversations.png deleted file mode 100644 index 147bd254..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_coversations.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_coversations@2x.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_coversations@2x.png deleted file mode 100644 index 9875959e..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_coversations@2x.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_coversations@3x.png b/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_coversations@3x.png deleted file mode 100644 index 4a53ca3e..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_coversations@3x.png and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings deleted file mode 100644 index 4e61b4fc..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings deleted file mode 100644 index f27dd85a..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings deleted file mode 100644 index 092b7940..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings deleted file mode 100644 index ec6aa5d0..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings deleted file mode 100644 index cb307088..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings deleted file mode 100644 index ec683569..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings deleted file mode 100644 index f1290bac..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings deleted file mode 100644 index e773bc56..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings deleted file mode 100644 index da335ca7..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings deleted file mode 100644 index d5ed7340..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings deleted file mode 100644 index 18f2e4d3..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings deleted file mode 100644 index cff74ffe..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings deleted file mode 100644 index 696e1980..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings deleted file mode 100644 index b3cfa8ab..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings deleted file mode 100644 index 6da8ca09..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings deleted file mode 100644 index 0379514d..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings deleted file mode 100644 index b34c8975..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings deleted file mode 100644 index 056ec7fc..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings b/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings deleted file mode 100644 index f88525ed..00000000 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings and /dev/null differ diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAccount.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAccount.h deleted file mode 100644 index d2445aad..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAccount.h +++ /dev/null @@ -1,114 +0,0 @@ -/* - * - * ZDKAccount.h - * ZendeskSDK - * - * Created by Zendesk on 06/06/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - -/** - * An account can be in one of these states. - * - * @since 0.9.3.1 - */ -typedef NS_ENUM(NSInteger, ZDKAccountState) { - - /** - * Account details have not yet been loaded. - * - * @since 0.9.3.1 - */ - ZDKAccountStateUnloaded, - - /** - * Account state is valid. - * - * @since 0.9.3.1 - */ - ZDKAccountStateValid, - - /** - * A defining value has been changed and the account can not be guaranteed to point to the same Zendesk account. - * - * @since 0.9.3.1 - */ - ZDKAccountStateInvalidated -}; - - -/** - * The ZDAccount is a wrapper around the account and - * user details required to interact with your helpdesk. - * - * @since 0.9.3.1 - */ -@interface ZDKAccount : NSObject - - -/** - * The full URL of your Zendesk instance, https://{subdomain}.zendesk.com - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy) NSString *zendeskUrl; - - -/** - * The application id of your SDK app, as found in the web interface. - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy) NSString *applicationId; - - -/** - * The oauth client id that was supplied when you set up oauth in web interface. - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy) NSString *oAuthClientId; - - -/** - * The current Zendesk oauth token. - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy) NSString *oauthToken; - -/** - * Indicates account state and whether the account state has been invalidated by a credential change. - * - * @since 0.9.3.1 - */ -@property (assign) ZDKAccountState state; - - -/** - * create an account - * - * @param zendeskUrl The full URL of your Zendesk instance, https://{subdomain}.zendesk.com - * @param applicationId The application id of your SDK app, as found in the web interface. - * @param clientId The oauth client id that was supplied when you set up oauth in web interface. - */ -- (instancetype)initWithUrl:(NSString *)zendeskUrl - applicationId:(NSString *)applicationId - clientId:(NSString *)clientId NS_DESIGNATED_INITIALIZER; - - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -@end - diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAccountSettings.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAccountSettings.h deleted file mode 100644 index 2d2e946d..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAccountSettings.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * - * ZDKAccountSettings.h - * ZendeskSDK - * - * Created by Zendesk on 19/01/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -@class ZDKAttachmentSettings; - -/** - * This class models the Account settings. These settings describe how your Zendesk instance is - + configured so they are really higher level sdk settings. - * - * @see ZDKAppSettings - */ -@interface ZDKAccountSettings : ZDKCoding - -/** - * Gets the attachment settings for the Zendesk instance. - */ -@property (nonatomic, strong, readonly) ZDKAttachmentSettings *attachmentSettings; - - -/** - * Initializes a new instance of ZDKAccountSettings with the contents of the dictionary provided. - * - * @param dictionary A dictionary of the Zendesk instance account settings. - * - * @return An initialzed ZDKAccountSettings object. - */ -- (instancetype) initWithDictionary:(NSDictionary *) dictionary; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAnonymousIdentity.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAnonymousIdentity.h deleted file mode 100644 index fb45ba2e..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAnonymousIdentity.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * - * ZDKAnonymousIdentity.h - * ZendeskSDK - * - * Created by Zendesk on 19/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKIdentity.h" -#import "ZDKCoding.h" - -@interface ZDKAnonymousIdentity : ZDKCoding - -@property (nonatomic, copy) NSString *name; -@property (nonatomic, copy) NSString *email; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAppSettings.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAppSettings.h deleted file mode 100644 index 3108702c..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAppSettings.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * - * ZDKAppSettings.h - * ZendeskSDK - * - * Created by Zendesk on 16/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -@class ZDKContactUsSettings, ZDKConversationsSettings, ZDKHelpCenterSettings, ZDKTicketFormsSettings; - - -@interface ZDKAppSettings : ZDKCoding - -/** - * Settings model object associated with the remote configuration of Conversations component within your Zendesk instance. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong, readonly) ZDKConversationsSettings *conversationsSettings; - - -/** - * Settings model object associated with the remote configuration of Contact component within your Zendesk instance. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong, readonly) ZDKContactUsSettings *contactUsSettings; - - -/** - * Settings model object associated with the remote configuration of Help Center component within your Zendesk instance. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong, readonly) ZDKHelpCenterSettings *helpCenterSettings; - - -/** - * Settings model object associated with the remote configuration of Ticket Forms component within your Zendesk instance. - * - * @since 1.9.0.1 - */ -@property (nonatomic, strong, readonly) ZDKTicketFormsSettings *ticketFormsSettings; - - -/** - * Authentication type, anonymous or jwt. - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy, readonly) NSString *authentication; - - -/** - * Initialize with a dictionary representation. - * - * @since 0.9.3.1 - * - * @param dictionary a dictionary with settings data. - * - * @return A new instance. - */ -- (id) initWithDictionary: (NSDictionary *) dictionary; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAttachmentSettings.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAttachmentSettings.h deleted file mode 100644 index 17011dce..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAttachmentSettings.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * ZDKAttachmentSettings.h - * ZendeskSDK - * - * Created by Zendesk on 19/01/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -@interface ZDKAttachmentSettings : ZDKCoding - - -/** - * This setting corresponds to the "Customers can attach files" setting in the Zendesk admin interface. - */ -@property (nonatomic, assign, readonly) BOOL enabled; - -/** - * This setting controls the maximum attachment size that can be uploaded to your Zendesk. - */ -@property (nonatomic, strong, readonly) NSNumber *maxAttachmentSize; - - -/** - * Initializes a new instance of ZDKAccountSettings with the contents of the dictionary provided. - * - * @param dictionary A dictionary of the attachment settings. - * - * @return An initialized ZDKAttachmentSettings object. - */ -- (instancetype) initWithDictionary:(NSDictionary *) dictionary; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAuthenticationSpace.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAuthenticationSpace.h deleted file mode 100644 index 841b2afa..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAuthenticationSpace.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * - * ZDKAuthenticationSpace.h - * ZendeskSDK - * - * Created by Zendesk on 31/12/2015. - * - * Copyright (c) 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZendeskSDKConstants.h" -#import "ZDKIdentity.h" -#import "ZDKAccount.h" - - -@class ZDKIdentityStorage; - -/** - * Class that represents the authentication space - * - * @since 1.6.0.1 - */ -@interface ZDKAuthenticationSpace : NSObject - - -/** - * zendesk account to use for requests - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong, readonly) ZDKAccount *account; - -/** - * user identity identity - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong, readonly) id userIdentity; - -/** - * user identity identity storage - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) ZDKIdentityStorage *identityStorage; - -/** - * get the default space - * - * @since 1.6.0.1 - */ -+ (ZDKAuthenticationSpace*)defaultSpace; - -/** - * creates an authentication space - * - * @since 1.6.0.1 - * - * @param account the account to use for the requests - * @param userIdentity the user identity used - */ -- (instancetype)initWithAccount:(ZDKAccount *)account - userIdentity:(id)userIdentity; - - -/** - * Get UUID from local storage or generate if required - * - * @since 1.6.0.1 - * - * @return NSString of UUID that has been generated - */ -- (NSString*)UUID; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKConfig.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKConfig.h deleted file mode 100644 index 88e3c380..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKConfig.h +++ /dev/null @@ -1,203 +0,0 @@ -/* - * - * ZDKConfig.h - * ZendeskSDK - * - * Created by Zendesk on 29/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKIdentity.h" -#import "ZDKPushRegistrationProvider.h" -#import "ZDKDispatcher.h" -#import "ZendeskSDKConstants.h" - - -@class ZDKAppSettings, ZDKAccount, ZDKSdkStorage, ZDKTheme, ZDKCustomField; - -/** - * SDK configuration file found and SDK initialized successfully. - * - * @since 1.3.0.1 - */ -typedef void (^ZDKInitializeSuccess)(void); - - -/* - * ZDKConfig is responsible for initialization of - * the SDK and manages the backend configuration. - * - * @since 0.9.3.1 - */ -@interface ZDKConfig : NSObject - - -/** - * The ZDKAccount for the configuration. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong, readonly) ZDKAccount *account; - - -/** - * The userIdentity for the user is an instance of NSObject that implements the protocol ZDKIdentity - * @since 1.2.0.1 - */ -@property (nonatomic, strong, setter=setUserIdentity:, getter=userIdentity) id userIdentity; - - -/** - * The reload time interval is the maximum frequency with which a reload will be triggered. - * - * Set reload time interval. One hour is the minimum possible value for a reload interval. - * the reload interval. An interval of less than one hour will result in - * a minimum reload interval, e.g.. [ZendeskSDK setReloadInterval:0] results in a reload - * interval of one hour. - * - * @since 1.6.0.1 - */ - -@property (nonatomic, assign, setter=setReloadInterval:, getter=reloadInterval) NSTimeInterval reloadInterval; - - -/** - * The authentication type associated with the current Zendesk SDK user. - * - * @since 1.3.4.1 - */ -@property (nonatomic, assign, readonly) ZDKAuthenticationType authenticationType; - - - -/** - * Override the default locale specified via the SDK admin. - * A request is made to check the language is supported. If it is not supported, or the request fails, the default - * language remains in place. Should be an IETF language tag. - * - * @since 1.1.0.1 - */ -@property (nonatomic, copy) NSString *userLocale; - - -/** - * Sets whether we should enable COPPA mode. If the set ZDKAnonymousIdentity doesn't contain a - * name or email, this method will do nothing. If the set ZDKAnonymousIdentity does contain - * a name or email, this method will clear user storage (such as requests, article votes, identity - * information) and set a new, empty ZDKAnonymousIdentity. - * - * @since 1.1.0.1 - */ -@property (nonatomic, assign) BOOL coppaEnabled __deprecated_msg("as of 1.11.0.1. Consider using an empty ZDKAnonymousIdentity instead."); - -/** - * Enable Help Center article up and down voting in Article UI. - * Default value is true. - * - * @since 1.10.0.1 - */ -@property (nonatomic, assign) BOOL articleVotingEnabled; - - -/** - * Get the API instance (singleton). - * - * @since 0.9.3.1 - * - * @return the API instance - */ -+ (instancetype) instance; - - -/** - * Initialize the SDK. - * - * @since 1.6.0.1 - * - * @param applicationId The application id of your SDK app, as found in the web interface. - * @param zendeskUrl The full URL of your Zendesk instance, https://{subdomain}.zendesk.com - * @param oAuthClientId The oAuthClientId required as part of the authentication process - */ -- (void) initializeWithAppId:(NSString *)applicationId - zendeskUrl:(NSString *)zendeskUrl - clientId:(NSString *)oAuthClientId; - -/** - * Reload the config from the server, reload will be started if a reload - * is not already in progress and the reload interval has passed. This method - * will automatically be invoked when the application enters the foreground to - * check for updates if due. - * - * @since 0.9.3.1 - */ -- (void) reload; - - -/** - * Register the device for push notifications with APNS ID. - * - * @param identifier The APNS device identifier. - * @param callback Callback that will provide a newly created device ZDKPushRegistrationResponse. - * - * @since 1.4.0.1 - */ -- (void) enablePushWithDeviceID:(NSString *)identifier callback:(ZDKPushRegistrationCallback)callback; - - -/** - * Register the device for push notifications with Urban Airship channel ID. - * - * @param identifier The Urban Airship channel ID - * @param callback Callback that will provide a newly created device ZDKPushRegistrationResponse. - * - * @since 1.4.0.1 - */ -- (void) enablePushWithUAChannelID:(NSString *)identifier callback:(ZDKPushRegistrationCallback)callback; - - -/** - * Unregister the device for push notifications. - * - * @since 1.2.0.1 - * - * @param identifier The device identifier - * @param callback Callback that provides the HTTP status code for the deletion request. - */ -- (void) disablePush:(NSString *)identifier callback:(ZDKPushDeletionCallback)callback; - - -#pragma mark - Deprication - - -/** - * An array for custom fields. - * - * @see Custom fields and forms documentation - * - * @since 1.0.0.1 - */ -@property (nonatomic, copy) NSArray *customTicketFields; - - -/** - * Form id for ticket creation. - * - * The ticket form id will be ignored if your Zendesk doesn't support it. Currently - * Enterprise and higher plans support this. - * - * @see Custom fields and forms documentation - * - * @since 1.0.0.1 - */ -@property (nonatomic, strong) NSNumber *ticketFormId; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKContactUsSettings.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKContactUsSettings.h deleted file mode 100644 index 893f49d3..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKContactUsSettings.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * ZDKContactUsSettings.h - * ZendeskSDK - * - * Created by Zendesk on 16/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -/** - * Models the Contact Us settings in the admin config panel. - * - * @since 0.9.3.1 - */ -@interface ZDKContactUsSettings : ZDKCoding - -/** - * tags is a list of tags that should be included as part of the ticket creation. - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy, readonly) NSArray *tags; - -/** - * initWithDictionary, passing the NSDictionary of Contact Us settings received from the server. - * - * @since 0.9.3.1 - */ -- (id) initWithDictionary:(NSDictionary *)dictionary ; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKConversationsSettings.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKConversationsSettings.h deleted file mode 100644 index 4d4efe3f..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKConversationsSettings.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * ZDKConversationsSettings.h - * ZendeskSDK - * - * Created by Zendesk on 16/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - - -/** - * Models the Conversations settings in the admin config panel. - * - * @since 0.9.3.1 - */ -@interface ZDKConversationsSettings : ZDKCoding - - -/** - * enabled defines if the conversations component is enabled or not. - * - * @since 0.9.3.1 - */ -@property (nonatomic, assign, readonly) BOOL enabled; - - -/** - * initWithDictionary, passing the NSDictionary of Conversations settings received from the server. - * - * @since 0.9.3.1 - */ -- (id) initWithDictionary:(NSDictionary *)dictionary ; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleViewModel.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleViewModel.h deleted file mode 100644 index 6b9b8baa..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleViewModel.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * - * ZDKHelpCenterArticleViewModel.h - * ZendeskSDK - * - * Created by Zendesk on 11/05/2016. - * - * Copyright © 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKHelpCenterViewModel.h" - -@interface ZDKHelpCenterArticleViewModel : NSObject - -/** - * Article id. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *articleId; - -/** - * Section id. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *sectionId; - -/** - * Article title. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *title; - -/** - * Parses returned json to articles - * - * @param json The Json to be parsed - * - * @return An array of help center articles - */ -+ (NSArray *)parseArticles:(NSDictionary *)json; - -/** - * Parses json to a single article - * - * @param json The json to be parsed - * - * @return a basic article - */ -+ (ZDKHelpCenterArticleViewModel *)parseArticle:(NSDictionary *)json; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategoryViewModel.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategoryViewModel.h deleted file mode 100644 index 3171e43b..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategoryViewModel.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * - * ZDKHelpCenterCategoryViewModel.h - * ZendeskSDK - * - * Created by Zendesk on 11/05/2016. - * - * Copyright © 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKHelpCenterViewModel.h" - -@class ZDKHelpCenterSectionViewModel; - -@interface ZDKHelpCenterCategoryViewModel : NSObject - -/** - * Category id. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *categoryId; - -/** - * Category Name. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *name; - -/** - * An array of sections that are contained within the category. - * - */ -@property (nonatomic, copy) NSArray *sections; - -/** - * Parses returned json to categories - * - * @param json The Json passed into it - * - * @return An array of help center categories - */ -+ (NSArray *)parseCategories:(NSDictionary *)json; - -/** - * Parses Json in a single category - * - * @param json The Json passed in - * - * @return a single category - * - */ -+ (ZDKHelpCenterCategoryViewModel *)parseCategory:(NSDictionary *)json; - -- (void)updateWithSection:(ZDKHelpCenterSectionViewModel*)section; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSectionViewModel.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSectionViewModel.h deleted file mode 100644 index 678afbeb..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSectionViewModel.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * - * ZDKHelpCenterSectionViewModel.h - * ZendeskSDK - * - * Created by Zendesk on 11/05/2016. - * - * Copyright © 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKHelpCenterViewModel.h" - -@class ZDKHelpCenterArticleViewModel; - -@interface ZDKHelpCenterSectionViewModel : NSObject - -/** - * Section id. - */ -@property (nonatomic, copy) NSString *sectionId; - -/** - * Category id for section. - */ -@property (nonatomic, copy) NSString *categoryId; - -/** - * section name. - */ -@property (nonatomic, copy) NSString *name; - -/** - * Total number of articles in the section. - */ -@property (nonatomic, strong) NSNumber *totalNumberOfArticles; - -/** - * Array of articles contained within the section - */ -@property (nonatomic, copy) NSArray *articles; - -/** - * Parses returned json to sections - * - * @param json The Json passed into it - * - * @return An array of help center sections - */ -+ (NSArray *)parseSections:(NSDictionary *)json; - -/** - * Parses json to a single section - * - * @param json The json to be parsed - * - * @return a basic article - */ -+ (ZDKHelpCenterSectionViewModel *)parseSection:(NSDictionary *)json; - - -/** - * Updates the articles in a seciton with the articles param. - * - * @param articles an array of articles. - */ -- (void)updateWithArticles:(NSArray *)articles; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSettings.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSettings.h deleted file mode 100644 index e81169aa..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSettings.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * - * ZDKHelpCenterSettings.h - * ZendeskSDK - * - * Created by Zendesk on 16/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -@interface ZDKHelpCenterSettings : ZDKCoding - - -/** - * enabled defines if the conversations component is enabled or not - */ -@property (nonatomic, assign, readonly) BOOL enabled; - -/** - * String definition of the locale to be used by the help center component - */ -@property (nonatomic, copy, readonly) NSString *locale; - - -/** - * initWithDictionary, passing the NSDictionary of Conversations settings received from the server - */ -- (id) initWithDictionary:(NSDictionary *)dictionary ; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKIdentity.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKIdentity.h deleted file mode 100644 index 021dfc45..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKIdentity.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * - * ZDKIdentity.h - * ZendeskSDK - * - * Created by Zendesk on 19/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@protocol ZDKIdentity - -- (NSDictionary *) toJson; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKIdentityStorage.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKIdentityStorage.h deleted file mode 100644 index 5e42f8bb..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKIdentityStorage.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * - * ZDKIdentityStorage.h - * ZendeskSDK - * - * Created by Zendesk on 25/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKIdentity.h" - - -@interface ZDKIdentityStorage : NSObject - - -/** - * Get UUID from local storage or generate if required - * - * @return NSString of UUID that has been generated - */ -- (NSString *)getUUID; - -/** - * Store object that implements ZDKIdentity protocol in local storage - * - * @param identity NSObject that implements ZDKIdentity protocol - */ -- (void) storeIdentity:(id ) identity; - - -/** - * Fetch stored Identity from local storage - * - * @return instance that implements ZDKIdentity protocol - */ -- (id ) storedIdentity; - - -/** - * Fetch stored OAuth token from local storage - * - * @return NSString OAuth token - */ -- (NSString *) storedOAuthToken; - - -/** - * Stores an OAuth token to be stored - * - * @param oAuthToken NSString of the OAuth to be stored - */ -- (void) storeOAuthToken:(NSString *)oAuthToken; - -/** - * Deletes ALL storage - */ -- (void) deleteStoredData; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKJwtIdentity.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKJwtIdentity.h deleted file mode 100644 index bef23b85..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKJwtIdentity.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * - * ZDKJwtIdentity.h - * ZendeskSDK - * - * Created by Zendesk on 19/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKIdentity.h" -#import "ZDKCoding.h" - -@interface ZDKJwtIdentity : ZDKCoding - -/** - * Init method to set the jwtUserIdentifier for the SDK - * - * @param jwtUserIdentifier NSString which specifies the identifier to be used as part of JWT Authentication - * - * @return instance of ZDKJwtIdentity - */ -- (instancetype) initWithJwtUserIdentifier:(NSString *)jwtUserIdentifier; - - -- (BOOL) hasIdentifer; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKKeychainWrapper.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKKeychainWrapper.h deleted file mode 100644 index b30ce804..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKKeychainWrapper.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - File: KeychainItemWrapper.h - Abstract: - Objective-C wrapper for accessing a single keychain item. - - Version: 1.2 - - Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple - Inc. ("Apple") in consideration of your agreement to the following - terms, and your use, installation, modification or redistribution of - this Apple software constitutes acceptance of these terms. If you do - not agree with these terms, please do not use, install, modify or - redistribute this Apple software. - - In consideration of your agreement to abide by the following terms, and - subject to these terms, Apple grants you a personal, non-exclusive - license, under Apple's copyrights in this original Apple software (the - "Apple Software"), to use, reproduce, modify and redistribute the Apple - Software, with or without modifications, in source and/or binary forms; - provided that if you redistribute the Apple Software in its entirety and - without modifications, you must retain this notice and the following - text and disclaimers in all such redistributions of the Apple Software. - Neither the name, trademarks, service marks or logos of Apple Inc. may - be used to endorse or promote products derived from the Apple Software - without specific prior written permission from Apple. Except as - expressly stated in this notice, no other rights or licenses, express or - implied, are granted by Apple herein, including but not limited to any - patent rights that may be infringed by your derivative works or by other - works in which the Apple Software may be incorporated. - - The Apple Software is provided by Apple on an "AS IS" basis. APPLE - MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION - THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS - FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND - OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. - - IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL - OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, - MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED - AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), - STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - - Copyright (C) 2010 Apple Inc. All Rights Reserved. - - */ - -#import - -/* - The KeychainItemWrapper class is an abstraction layer for the iPhone Keychain communication. It is merely a - simple wrapper to provide a distinct barrier between all the idiosyncrasies involved with the Keychain - CF/NS container objects. - */ -@interface ZDKKeychainWrapper : NSObject -{ - NSMutableDictionary *keychainItemData; // The actual keychain item data backing store. - NSMutableDictionary *genericPasswordQuery; // A placeholder for the generic keychain item query used to locate the item. -} - -@property (nonatomic, retain) NSMutableDictionary *keychainItemData; -@property (nonatomic, retain) NSMutableDictionary *genericPasswordQuery; - -// Designated initializer. -- (id)initWithIdentifier: (NSString *)identifier accessGroup:(NSString *) accessGroup; -- (void)setObject:(id)inObject forKey:(id)key; -- (id)objectForKey:(id)key; - -// Initializes and resets the default generic keychain item data. -- (void)resetKeychainItem; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKLogger.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKLogger.h deleted file mode 100644 index df25e549..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKLogger.h +++ /dev/null @@ -1,151 +0,0 @@ -/* - * - * ZDKLogger.h - * ZendeskSDK - * - * Created by Zendesk on 25/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -/** - * Log level enum. - */ -typedef NS_ENUM(NSUInteger, ZDKLogLevel){ - - /** - * Error logging. - */ - ZDKLogLevelError = 0, - - /** - * Warning logging. - */ - ZDKLogLevelWarn = 1, - - /** - * Info logging. - */ - ZDKLogLevelInfo = 2, - - /** - * Debug logging. - */ - ZDKLogLevelDebug = 3, - - /** - * Verbose logging. - */ - ZDKLogLevelVerbose = 4 -}; - - -/** - * Logger for SDK. - */ -@interface ZDKLogger : NSObject - - -/** - * Log an error message. - * - * @param format format string for log message. - */ -+ (void) e:(NSString *)format, ...; - -/** - * Log an error message. - * - * @param logMessage the string for log message. - */ -+ (void) error:(NSString *)logMessage; - -/** - * Log a warning message. - * - * @param format format string for log message. - */ -+ (void) w:(NSString *)format, ...; - -/** - * Log a warning message. - * - * @param logMessage the string for log message. - */ -+ (void) warn:(NSString *)logMessage; - -/** - * Log an info message. - * - * @param format format string for log message. - */ -+ (void) i:(NSString *)format, ...; - -/** - * Log an info message. - * - * @param logMessage the string for log message. - */ -+ (void) info:(NSString *)logMessage; - -/** - * Log a debug message. - * - * @param format format string for log message. - */ -+ (void) d:(NSString *)format, ...; - -/** - * Log a debug message. - * - * @param logMessage the string for log message. - */ -+ (void) debug:(NSString *)logMessage; - -/** - * Log a verbose message. - * - * @param format format string for log message. - */ -+ (void) v:(NSString *)format, ...; - -/** - * Log a verbose message. - * - * @param logMessage the string for log message. - */ -+ (void) verbose:(NSString *)logMessage; - - -/** - * Set logger enabled - * - * @param enabled enable ZDKLogger with YES, disable with NO. - */ -+ (void) enable:(BOOL)enabled; - - -/** - * Set the log level. - * - * @param level A ZDKLogLevel enum value. - */ -+ (void) setLogLevel:(ZDKLogLevel)level; - -/** - * Get the current log level. - * - * @return The log level, a ZDKLogLevel enum value. - */ -+ (ZDKLogLevel) logLevel; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationProvider.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationProvider.h deleted file mode 100644 index 4e5fbeea..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationProvider.h +++ /dev/null @@ -1,103 +0,0 @@ -/* - * - * ZDKPushRegistrationProvider.h - * ZendeskSDK - * - * Created by Zendesk on 04/03/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKProvider.h" - - -@class ZDKPushRegistrationRequest, ZDKPushRegistrationResponse; - - -/** - * A callback for push registration. - * - * @since 1.2.0.1 - * - * @param registrationResponse A model for the response to push registration. - * @param error An error object. Nil unless there was an error. - */ -typedef void (^ZDKPushRegistrationCallback)(ZDKPushRegistrationResponse *registrationResponse, NSError *error); - - -/** - * A callback for unregistration. - * - * @since 1.2.0.1 - * - * @param responseCode A model for the response removing push on a device. - * @param error An error object. Nil unless there was an error. - */ -typedef void (^ZDKPushDeletionCallback)(NSNumber *responseCode, NSError *error); - - -/** - * Provider to register and unregister a device for push notifications. - * - * @since 1.2.0.1 - */ -@interface ZDKPushRegistrationProvider : ZDKProvider - - - -/** - * Calls a push registration end point to register the given APNS device id. - * - * This method stores the `ZDKPushRegistrationResponse` on successful registration. - * Subsequent calls to this method with the same `identifier` bypass calls to the - * network and return the stored `ZDKPushRegistrationResponse` in the `callback`. - * Calling this method with a different `identifier` will remove any stored - * `ZDKPushRegistrationResponse` from storage. - * - * @param identifier The device identifier - * @param locale The preferred device locale - * @param callback Callback that will provide a newly created device ZDKPushRegistrationResponse - * - * @since 1.4.0.1 - */ -- (void) registerForPushWithDeviceID:(NSString *)identifier locale:(NSString *)locale callback:(ZDKPushRegistrationCallback)callback; - - -/** - * Calls a push registration end point to register the given Urban Airship channel id. - * - * This method stores the `ZDKPushRegistrationResponse` on successful registration. - * Subsequent calls to this method with the same `identifier` bypass calls to the - * network and return the stored `ZDKPushRegistrationResponse` in the `callback`. - * Calling this method with a different `identifier` will remove any stored - * `ZDKPushRegistrationResponse` from storage. - * - * @param identifier The channel identifier - * @param locale The preferred device locale - * @param callback Callback that will provide a newly created device ZDKPushRegistrationResponse - * - * @since 1.4.0.1 - */ -- (void) registerForPushWithUAChannelID:(NSString*)identifier local:(NSString *)locale callback:(ZDKPushRegistrationCallback)callback; - - -/** - * Calls a push registration end point to unregister a device to receive push notifications. - * - * Successful calls to this method will remove any stored `ZDKPushRegistrationResponse`. - * - * @since 1.2.0.1 - * - * @param identifier The device identifier - * @param callback Callback that provides the HTTP status code for the deletion request. - */ -- (void) unregisterDevice:(NSString *)identifier callback:(ZDKPushDeletionCallback)callback; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationRequest.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationRequest.h deleted file mode 100644 index a16e894b..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationRequest.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * - * ZDKPushRegistrationRequest.h - * ZendeskSDK - * - * Created by Zendesk on 04/03/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -/** - * Models the api request which is formed when registering a device for push notifications. - * - * @since 1.2.0.1 - */ -@interface ZDKPushRegistrationRequest : NSObject - - -/** - * The device identifier. - * - * @since 1.2.0.1 - */ -@property (nonatomic, copy) NSString *identifier; - - -/** - * The locale of the device in the format of ll-cc. en-us, en-ca. - * - * @since 1.2.0.1 - */ -@property (nonatomic, copy) NSString *locale; - - -/** - * The device type, e.g. iPhone. - * - * @since 1.2.0.1 - */ -@property (nonatomic, copy, readonly) NSString *device_type; - -/** - * Token type, only used to identify Urban Airship channels, nil otherwise. - * - * @since 1.4.0.1 - */ -@property (nonatomic, copy) NSString *token_type; - - -/** - * Returns a dictionary representation of the object. - * - * @return a dictionary with property values keyed by property names. - * - * @since 1.2.0.1 - */ -- (NSMutableDictionary *) toJson; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationResponse.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationResponse.h deleted file mode 100644 index e680a1ae..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationResponse.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * - * ZDKPushRegistrationResponse.h - * ZendeskSDK - * - * Created by Zendesk on 04/03/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -/** - * This is a class model for a response for registering a device for push notifications. - * - * @since 1.2.0.1 - */ -@interface ZDKPushRegistrationResponse : NSObject - - -/** - * The device specific id - * - * @since 1.2.0.1 - */ -@property (nonatomic, copy) NSString *identifier; - - -/** - * Initialize an object with a dictionary. - * - * @since 1.2.0.1 - * - * @param dictionary a dictionary with values for the properties on this class. - * - * @return an initialized object. - */ -- (instancetype)initWithDictionary:(NSDictionary *)dictionary; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestStorage.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestStorage.h deleted file mode 100644 index 9b9b10b3..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestStorage.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * - * ZDKRequestStorage.h - * ZendeskSDK - * - * Created by Zendesk on 25/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@interface ZDKRequestStorage : NSObject - - -/** - * Add a requestIdentifier to be stored as a result of a request being created - * - * @param requestIdentifier NSString of request id sourced from creating a new request - */ -- (void) storeRequestIdentifier:(NSString *) requestIdentifier; - - -/** - * Return an NSArray of Strings of request ids that have been stored on this device - * - * @return NSArray of Strings - */ -- (NSArray *) getRequestIdentifiers; - - -/** - * Return an NSArray of Strings of request ids that have been stored on this device - * - * @return NSArray of Strings - * - * @since 1.6.0.1 - */ -- (NSArray *) requestIdentifiers; - - -/** - * Gets the last known comment count for a request. - * - * @param requestId The id of the request. - * - * @return The comment count for the request, nil if not known. - * - * @since 1.4.1.1 - */ -- (NSNumber *) clientCommentCountForRequest:(NSString *)requestId; - - -/** - * Set the comment count for a request. - * - * @param requestId The id of the request. - * @param count The count to store. - * - * @since 1.4.1.1 - */ -- (void) setClientCommentCountForRequest:(NSString *)requestId count:(NSNumber *)count; - - -/** - * Deletes ALL storage - */ -- (void) deleteStoredData; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdates.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdates.h deleted file mode 100644 index 96540c32..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdates.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * - * ZDKRequestUpdates.h - * ZendeskSDK - * - * Created by Zendesk on 19/05/2017. - * - * Copyright (c) 2017 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - - -/** - Returned by ZDKRequsetProvider method getUnreadCount. - */ -@interface ZDKRequestUpdates : NSObject - - -/** - * This will be true if there are any unread comments on for the current - * identity, false otherwises. - * - * @since 1.10.0.1 - */ -@property (nonatomic, readonly) BOOL hasUpdates; - -/** - * Returns an aggregate of unread comment counts. - * - * @since 1.10.0.1 - */ -@property (nonatomic, readonly) NSNumber *updateCount; - - -/** - * A map of request id to unread count. This will be empty if - * hasUnread is false, or totalUnreadCount is 0 - * - * @since 1.10.0.1 - */ -@property (nonatomic, copy, readonly) NSMutableDictionary *requestsWithUpdates; - -+ (instancetype)new NS_UNAVAILABLE; -- (instancetype)init NS_UNAVAILABLE; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdatesProtocol.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdatesProtocol.h deleted file mode 100644 index 41846cd4..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdatesProtocol.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * - * ZDKRequestUpdatesProtocol.h - * ZendeskSDK - * - * Created by Zendesk on 19/05/2017. - * - * Copyright (c) 2017 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - -@protocol ZDKRequestUpdatesProtocol - -- (void) markRequestAsRead:(NSString*)requestId; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKSdkStorage.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKSdkStorage.h deleted file mode 100644 index f967559e..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKSdkStorage.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * ZDKSdkStorage.h - * ZendeskSDK - * - * Created by Zendesk on 25/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@class ZDKRequestStorage, ZDKIdentityStorage, ZDKSettingsStorage, ZDKTicketForm; - -@interface ZDKSdkStorage : NSObject - -@property (nonatomic, strong, readonly) ZDKRequestStorage *requestStorage; -@property (nonatomic, strong, readonly) ZDKIdentityStorage *identityStorage; - - -/** - * Clears user data from storage. - * - * This will only clear data that is associated with a user. - * ZDKSettingsStorage are an example of something that won't be cleared but ZDKRequestStorage will - * be cleared because that is from a user. - * - */ -- (void) clearUserData; - -/** - * Singleton return instance of object - * - * @return instance of ZDKSdkStorage - */ -+ (instancetype) instance; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKSettings.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKSettings.h deleted file mode 100644 index 675e11ae..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKSettings.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * - * ZDKSettings.h - * ZendeskSDK - * - * Created by Zendesk on 19/01/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -@class ZDKAppSettings, ZDKAccountSettings; - -@interface ZDKSettings : ZDKCoding - -/** - * Gets the app settings. - */ -@property (nonatomic, strong, readonly) ZDKAppSettings *appSettings; - -/** - * Gets the Zendesk account settings. - */ -@property (nonatomic, strong, readonly) ZDKAccountSettings *accountSettings; - - -/** - * Initializes a new instance of ZDKSettings with the contents of the dictionary provided. - * - * @param dictionary A dictionary of the SDK settings. - * - * @return An initialized ZDKSettings object. - */ -- (id) initWithDictionary: (NSDictionary *) dictionary; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKSettingsProvider.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKSettingsProvider.h deleted file mode 100644 index ec8151a5..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKSettingsProvider.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * - * ZDKSettingsProvider.h - * ZendeskSDK - * - * Created by Zendesk on 10/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKProvider.h" - -@class ZDKAppSettings, ZDKSettings; - -/** - * Block used to pass response from API call - * - * @param settings ZDKAppSettings returned based on applicationId set in ZDKConfig.init, can be nil on error - * @param error NSError passed when an error has occurred, can be nil on success - */ -typedef void (^ZDKSettingsCallback)(ZDKSettings *settings, NSError *error); - -@interface ZDKSettingsProvider : ZDKProvider - -/** - * Get SDK Settings from Zendesk instance - * - * @param callback block callback invoked on success and error states - */ -- (void) getSdkSettingsWithCallback:(ZDKSettingsCallback) callback; - -/** - * Get SDK Settings from Zendesk instance using the specified locale. - * - * @param locale IETF language code. Config returned from server will contain this string if the local is supported, will - * be the default locale otherwise - * @param callback block callback invoked on success and error states - */ -- (void) getSdkSettingsWithLocale:(NSString *)locale andCallback:(ZDKSettingsCallback) callback; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKTicketFormsSettings.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKTicketFormsSettings.h deleted file mode 100644 index e906619d..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKTicketFormsSettings.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * ZDKTicketFormsSettings.h - * ZendeskSDK - * - * Created by Zendesk on 21/09/2016. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Terms - * of Service https://www.zendesk.com/company/terms and Application Developer and API License - * Agreement https://www.zendesk.com/company/application-developer-and-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - - -/** - * Models the Conversations settings in the admin config panel. - * - * @since 1.9.0.1 - */ -@interface ZDKTicketFormsSettings : ZDKCoding - - -/** - * enabled defines if the conversations component is enabled or not. - * - * @since 1.9.0.1 - */ -@property (nonatomic, assign, readonly) BOOL enabled; - - -/** - * initWithDictionary, passing the NSDictionary of Conversations settings received from the server. - * - * @since 1.9.0.1 - */ -- (id) initWithDictionary:(NSDictionary *)dictionary; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUserField.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUserField.h deleted file mode 100644 index b93149d4..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUserField.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * - * ZDKUserField.h - * ZendeskSDK - * - * Created by Zendesk on 17/08/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@interface ZDKUserField : NSObject - -/** - * User Field ID in zendesk instance. - */ -@property (nonatomic, strong) NSNumber *userFieldId; - -/** - * Title of User Field. - */ -@property (nonatomic, copy) NSString *title; - -/** - * The type of the user field e.g. "checkbox", "text" or "date". - */ -@property (nonatomic, copy) NSString *typeOfField; - -/** - * Description of the user field's purpose. - */ -@property (nonatomic, copy) NSString *fieldDescription; - -/** - * Options for the custom userfield. An array of ZDKCustomField objects(only for "dropdown" type userfields). - */ -@property (nonatomic, copy) NSArray *customFieldOptions; - -/** - * Initialise with dictionary generated from API json. - * - * @param dictionary the user details - */ -- (instancetype)initWithDictionary:(NSDictionary *)dictionary; - -/** - * Parses a json array of user fields into an array of ZDKUserField objects. - * - * @see Developer docs on user fields for more information: https://developer.zendesk.com/rest_api/docs/core/user_fields - * - * @param array The array of API json. - * - * @return An array of ZDKUserField objects. - */ -+ (NSArray*) parseUserFields:(NSArray*)array; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUserProvider.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUserProvider.h deleted file mode 100644 index 32ac6afa..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUserProvider.h +++ /dev/null @@ -1,108 +0,0 @@ -/* - * - * ZDKUserProvider.h - * ZendeskSDK - * - * Created by Zendesk on 7/13/15. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - * Setting tags and fields on a user are features. Your plan must support these features in order to - * work with them. - */ - -#import -#import "ZDKUser.h" -#import "ZDKCustomField.h" -#import "ZDKProvider.h" - - -@interface ZDKUserProvider : ZDKProvider - -/** - * Callback for user tags request - * - * @param userTags The updated user tags - * @param error An error object. Nil if no error occurred. - * - * @since 1.4.0.1 - */ -typedef void (^ZDKUserTagsCallback)(NSArray *userTags, NSError *error); -/** - * Callback for get userfields request - * - * @param userfields All the user fields as an array of ZDKUserField objects, currently available in this instance of zendesk - * @param error An error object. Nil if no error occurred. - */ -typedef void (^ZDKUserFieldsCallback)(NSArray *userfields, NSError *error); - -/** - * Callback for set userfields request. - * - * @param userfields The updated userfields as a dictionary with the name of the user field being the key and the corresponding value being the user field value set to the current user. - * @param error An error object. Nil if no error occurred. - */ -typedef void (^ZDKSetUserFieldsCallback)(NSDictionary *userfields, NSError *error); - -/** - * Callback for get user request. - * - * @param user A user object which only contains the user's tags and fields at this time. - * @param error An error object. Nil if no error occurred. - */ -typedef void (^ZDKUserCallback)(ZDKUser *user, NSError *error); - -/** - * Gets a user object of the current user with only the user fields and tags properties populated. - * - * @param callback Callback will return a user object or an error. Can be nil. - * - * @since 1.4.0.1 - */ -- (void) getUser:(ZDKUserCallback)callback; - -/** - * Add tags to the current user. - * - * @param tags The tags to add. - * @param callback Callback will return an array of the tags set to the current user or an error. Can be nil. - * - * @since 1.4.0.1 - */ -- (void) addTags:(NSArray*)tags callback:(ZDKUserTagsCallback)callback; - -/** - * Delete tags from the current user. - * - * @param tags The tags to delete. - * @param callback Callback will return an array of the tags set to the current user or an error. Can be nil. - * - * @since 1.4.0.1 - */ -- (void) deleteTags:(NSArray*)tags callback:(ZDKUserTagsCallback)callback; - -/** - * Set one or more user field values on the current user. To see the fields available for setting use the get User method and inspect the user fields dictionary. - * Values can be cleared by setting them to @p [NSNull null] @p. - * - * @param userFields The user field to set. It expects a dictionary(not a ZDKUserField). The key of this dictionary being the name of the user field and the corresponding value being the user field value to be set for the current user. - * @param callback Callback will return a dictionary of userfields values on the current user. - * - * @since 1.4.0.1 - */ -- (void) setUserFields:(NSDictionary*)userFields callback:(ZDKSetUserFieldsCallback)callback; - -/** - * Gets all user fields available for an account instance. - * - * @param callback The callback will return an array of of ZDKUserField objects or an error. Can be nil. - * - * @since 1.4.0.1 - */ -- (void) getUserFields:(ZDKUserFieldsCallback)callback; -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Info.plist b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Info.plist deleted file mode 100644 index 284ea3fa..00000000 Binary files a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Info.plist and /dev/null differ diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKAccountAuthHelper.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKAccountAuthHelper.h deleted file mode 100644 index d66d8dc5..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKAccountAuthHelper.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - * - * ZDKAccountAuthHelper.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@class ZDKAccount; - - -/** - * Utility class that helps in some misc tasks with an account - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKAccountAuthHelper : NSObject - -/** - * returns true if the account contains an auth token stored - */ -+ (BOOL)isOauthTokenAvailableForAccount:(ZDKAccount*)account; - - -/** - * creates a new request by adding the auth token from account to the passed request - * - * @param account account to fetch auth token from - * @param request the original request - * - * @return a newly created request that contains the auth headers - */ -+ (NSURLRequest*)requestWithAuthForAccount:(ZDKAccount*)account - withRequest:(NSURLRequest*)request; - -/** - * stores the auth token into the passed account - */ -+ (void)storeAuthToken:(NSString*)authToken andUserId:(NSNumber*)userId toAccount:(ZDKAccount*)account; - - -/** - * check if the data returned from a response contains the auth token - * - * @param data data returned from a login request - * - * @return YES if the data contains auth token, otherwise return no - */ -+ (BOOL)checkResponseContainsAuthToken:(NSData*)data; - -/** - * check if the data returned from a response contains the user id - * - * @param data data returned from a login request - * - * @return YES if the data contains user id, otherwise return no - */ -+ (BOOL)checkResponseContainsUserId:(NSData*)data; - -/** - * returns the auth token from the data passed - * - * @param data data returned from a login request - * - * @return the auth token if the data contains it, otherwise return nil - */ -+ (NSString *__nullable)authTokenWithResponseData:(NSData*)data; - -/** - * returns the user id from the data passed - * - * @param data data returned from a login request - * - * @return the user id if the data contains it, otherwise return nil - */ -+ (NSNumber *__nullable)userIdWithResponseData:(NSData*)data; - - -/** - * check if the account passed has the correct information required to be valid - * - * @param account account to validate - * @param authRequired is auth required - * - * @return YES if the account has all the settings required, otherwise returns NO - */ -+ (BOOL)isAccount:(ZDKAccount*)account validWithAuthRequired:(BOOL)authRequired; - -@end -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKErrorParser.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKErrorParser.h deleted file mode 100644 index d2dee5f9..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKErrorParser.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * - * ZDKErrorParser.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -/** - * Parses the response from a request executor - */ -@interface ZDKErrorParser : NSObject - -/** - * Validates the response from an executor and returns an error if appropriate - * - * @param response the URL response from the executor - * @param error the original error - * - * @return error if the response and error pair represent a request error - */ -+ (NSError *__nullable)errorWithURLResponse:(NSURLResponse *__nonnull)response - originalError:(NSError *__nullable)error; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequest.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequest.h deleted file mode 100644 index 05745171..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequest.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * ZDKLoginRequest.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZendeskSDKConstants.h" - - -@protocol ZDKIdentity; -@class ZDKRequestExecutor, ZDKAccount, ZDKAuthenticationSpace; - -/** - class that performs the login request and manages the storage of the auth token - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKLoginRequest : NSObject - -/** - * create a new login request - * - * @param requestExecutor executor to use for the request - * @param authenticationSpace authentication space to use with requests - * - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - authenticationSpace:(ZDKAuthenticationSpace*)authenticationSpace NS_DESIGNATED_INITIALIZER; - -/** - * perform the login request - * - * @param completionHandler handler to call when request ends - */ -- (void)loginWithcompletionHandler:(void (^)(NSError *))completionHandler; - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequestPartsFactory.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequestPartsFactory.h deleted file mode 100644 index 503ecbe2..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequestPartsFactory.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * - * ZDKLoginRequestPartsFactory.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZendeskProviderSDK.h" - - -@class ZDKAccount; -/** - * class that aids in the creation of the parts of a login request - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKLoginRequestPartsFactory : NSObject - -/** - * returns the URL to use based on the accounts settings - * @param account account to use to get url - * @param identity identity type to get body from - */ -+ (NSURL *_Nullable)loginURLWithAccount:(ZDKAccount*)account identity:(id )identity; - -/** - * returns the HTTP body to send - * @param identity identity type to get body from - */ -+ (NSDictionary *)loginBodyForIdentity:(id )identity; - -/** - * return an error if the stored identity is not valid - * @param identity identity type to get body from - */ -+ (NSError *_Nullable)validateIdentityForSettingsAuthenticationType:(id )identity; - -@end -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestExecutor.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestExecutor.h deleted file mode 100644 index 98081bbb..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestExecutor.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * - * ZDKRequestExecutor.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZendeskSDKConstants.h" - - -@class ZDKAccount; -/** - class responsible for performing the request - */ -NS_ASSUME_NONNULL_BEGIN -typedef void (^ZDKAPIRequestBlock)(NSHTTPURLResponse * _Nullable urlResponse, NSData * _Nullable data, NSError * _Nullable error); - -@interface ZDKRequestExecutor : NSObject - -/** - * Init with an account - * - * @param account The account to use for request - */ -- (instancetype)initWithAccount:(ZDKAccount*)account; - -/** - * Creates a ZDKRequestExecutor - * - * @param operationQueue the queue to dispatch the operation on - * @param account The account to use for request - */ -- (instancetype)initWithQueue:(NSOperationQueue*_Nullable)operationQueue account:(ZDKAccount*)account NS_DESIGNATED_INITIALIZER; - -/** - * Execute the request - * - * @param request request to execute - * @param isAuthRequired Is authentication required or not - * @param completionHandler completion handler called when the request ends - */ -- (void)executeRequest:(NSURLRequest *)request - isAuthRequired:(BOOL)isAuthRequired - completionHandler:(ZDKAPIRequestBlock)completionHandler; - -+ (void)handleResponse:(NSURLResponse *)response - date:(NSData *)data - error:(NSError *)connectionError - request:(NSURLRequest*)request - completionHandler:(ZDKAPIRequestBlock)completionHandler; - - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestHelper.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestHelper.h deleted file mode 100644 index c78ea008..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestHelper.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * - * ZDKRequestHelper.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZendeskSDKConstants.h" - - -@protocol ZDKIdentity; -@class ZDKAccount, ZDKAuthenticationSpace; - -NS_ASSUME_NONNULL_BEGIN -@interface ZDKRequestHelper : NSObject - -/** - * Retrurn a dictionary of shared to be sent with the providors requests - * - * @param authenticationSpace Authentication space used - */ -+ (NSDictionary *)sharedHeadersWithAuthenticationSpace:(ZDKAuthenticationSpace*)authenticationSpace; - -/** - * Returns a dictionary that has the Accept-Language header set in it - * - * @param headers the request headers to update - * @param userLocale the user locale to set - * - * @return the updated request header - */ -+ (NSDictionary *)requestHeaders:(NSDictionary*)headers byAddingLocale:(NSString*)userLocale; - -/** - * Returns a String of User Agent Headers appendded together - */ -+ (NSString *)userAgentHeader; - -/** - * Class is not instantiable - */ - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestManager.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestManager.h deleted file mode 100644 index 44aa3f47..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestManager.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * - * ZDKRequestManager.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRequestExecutor.h" -#import "ZDKReachability.h" -#import "ZDKRequestSessionFactory.h" - - -/** - * Main class that handles executing http requests - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKRequestManager : NSObject - -/** - * The current internal request session - */ -@property (nonatomic, strong, readonly) ZDKRequestSession *currentRequestSession; - -/** - * Creates a new ZDKRequestManager - * - * @param reachability rechability instance to specify if internet is reachable - * @param sessionFactory session factory helps in creating different types of sessions - */ -- (instancetype)initWithReachability:(ZDKReachability*)reachability - sessionFactory:(ZDKRequestSessionFactory*)sessionFactory NS_DESIGNATED_INITIALIZER; - -/** - * Executes the HTTP request - * - * @param request the request to execute - * @param isAuthRequired Is authentication required or not - * @param completionHandler handler to call when execution ends - */ -- (void)executeRequest:(NSURLRequest*)request isAuthRequired:(BOOL)isAuthRequired completionHandler:(nonnull ZDKAPIRequestBlock)completionHandler; - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestQueue.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestQueue.h deleted file mode 100644 index 3b83fc71..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestQueue.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * - * ZDKRequestQueue.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRequestExecutor.h" - - -/** - class responsible for storing a list of requests, and perform them later - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKRequestQueue : NSObject - -/** - * create a request queue - * - * @param requestExecutor executor to perfom the requests on - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor NS_DESIGNATED_INITIALIZER; - - -/** - * adds a request to the internally stored ones - * - * @param request request to store - * @param isAuthRequired is auth required for this request - * @param completionHandler the handler to call when the request is executed - */ -- (void)addRequest:(NSURLRequest *)request - isAuthRequired:(BOOL)isAuthRequired - completionHandler:(ZDKAPIRequestBlock)completionHandler; - -/** - * Execute all the stored requests - */ -- (void)executeRequests; - -/** - * Informs the passed blocks about an error - * @param error Error to inform about - */ -- (void)informAboutError:(NSError*)error; - -/** - * return the number of request queued - */ -- (NSInteger)pendingRequestsCount; - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSession.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSession.h deleted file mode 100644 index 06603ec2..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSession.h +++ /dev/null @@ -1,103 +0,0 @@ -/* - * - * ZDKRequestSession.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRequestExecutor.h" - - -@class ZDKRequestSession, ZDKRequestSessionLoggingIn, ZDKRequestExecutor, -ZDKRequestSessionLoggedIn, ZDKRequestSessionNotLoggedIn, ZDKAuthenticationSpace; - -NS_ASSUME_NONNULL_BEGIN -/** - * Session state progression protocol - */ -@protocol ZDKRequestSessionStateDelegate -/** - * Method called from a ZDKRequestSession to inform the delegate about a session change - * - * @param session the current session - * @param newSession the newly created session - * - * The implementer of this delegate will have to maintain a reference to the newly created session - */ -- (void)requestSession:(ZDKRequestSession*)session didChangeToSession:(ZDKRequestSession*)newSession; -@end - -/** - * Helper protocol that aids in creating the different subclasses of ZDKRequestSession - */ -@protocol ZDKRequestSessionCreationDelegate -- (ZDKRequestSessionNotLoggedIn*)requestSessionCreateNotLoggedInSession:(ZDKRequestSession*)session; -- (ZDKRequestSessionLoggingIn*)requestSessionCreateLoggingInSession:(ZDKRequestSession*)session; -- (ZDKRequestSessionLoggedIn*)requestSessionCreateLoggedInSession:(ZDKRequestSession*)session; -@end - - -/** - * A request session represent a state in the state diagram of the a request - * The request starts as not logged in, then it changes to logging in and lastly to logged in - - */ -@interface ZDKRequestSession : NSObject - -/** - * Request executor used internally for executing - */ -@property (nonatomic, strong) ZDKRequestExecutor *requestExecutor; - -/** - * Authentication space to use - */ -@property (nonatomic, strong) ZDKAuthenticationSpace *authenticationSpace; - -/** - * State delegate that will be called when the current state changes to a new one - */ -@property (nonatomic, weak) id delegate; - -/** - * Creation delegate is used internally to create the new session - */ -@property (nonatomic, weak) id creationDelegate; - - -/** - * create a logging in session - * - * @param requestExecutor the executor to use - * @param authenticationSpace authentication space to use with requests - * @param delegate the session progression delegate - * - * The loginRequest and the requestQueue will be set to the default ones - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - authenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace - sessionDelegate:(id)delegate NS_DESIGNATED_INITIALIZER; - -/** - * Executes the HTTP request, the request will finally be forwarded to the requestExecutor - * - * @param request the request to execute - * @param isAuthRequired Is authentication required or not - * @param completionHandler handler to call when execution ends - */ -- (void)executeRequest:(NSURLRequest*)request isAuthRequired:(BOOL)isAuthRequired completionHandler:(ZDKAPIRequestBlock)completionHandler; - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionFactory.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionFactory.h deleted file mode 100644 index 75020517..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionFactory.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * - * ZDKRequestSessionFactory.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKRequestSession.h" - - -@class ZDKRequestExecutor, ZDKAuthenticationSpace; -@protocol ZDKRequestSessionStateDelegate, ZDKIdentity; - -/** - * Factory that aids in the creation of the different types of sessions - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKRequestSessionFactory : NSObject - -/** - * Authentication space to use - */ -@property (nonatomic, strong) ZDKAuthenticationSpace *authenticationSpace; - -/** - * create a factory with an account - * - * @param authenticationSpace authentication space to use with requests - */ -- (instancetype)initWithAuthenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace; - -/** - * creates a factory with an executor - * - * @param requestExecutor the executor, this will be passed to any session the factory creates - * @param authenticationSpace authentication space to use with requests - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - authenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace NS_DESIGNATED_INITIALIZER; - -/** - * creates the initial session based on the values stored in ZDKKAccount - * - * @param delegate session state progression delegate - * - * This method is the only method that the user of the class has to call, after that, the creation of new - * session will be vended by the ZDKRequestSessionCreationDelegate delegate method - * Upon creating any session, factory will set itself as the creation delegate of the created session - */ -- (ZDKRequestSession*)createAndSetupInitialSessionWithDelegate:(id)delegate; - - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggedIn.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggedIn.h deleted file mode 100644 index d42d2bce..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggedIn.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * - * ZDKRequestSessionLoggedIn.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import "ZDKRequestSession.h" - -/** - * Request session that handles the requests executed on a logged in session - */ -@interface ZDKRequestSessionLoggedIn: ZDKRequestSession -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggingIn.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggingIn.h deleted file mode 100644 index 3af9cf78..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggingIn.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * - * ZDKRequestSessionLoggingIn.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import "ZDKRequestSession.h" - - -@class ZDKLoginRequest, ZDKRequestQueue; - -/** - * Request session that handles the requests executed on a session that is still logging in - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKRequestSessionLoggingIn: ZDKRequestSession - -@property (atomic, assign, readonly) BOOL isLoggingIn; - -/** - * create a logging in session - * - * @param requestExecutor the executor to use - * @param loginRequest the login request to use for logging in - * @param authenticationSpace authentication space to use with requests - * @param delegate the session progression delegate - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - loginRequest:(ZDKLoginRequest*)loginRequest - authenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace - sessionDelegate:(id)delegate; - -/** - * create a logging in session - * - * @param requestExecutor the executor to use - * @param loginRequest the login request to use for logging in - * @param requestQueue the request queue to store the request dispatched while logging in - * @param authenticationSpace authentication space to use with requests - * @param delegate the session progression delegate - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - loginRequest:(ZDKLoginRequest*)loginRequest - requestQueue:(ZDKRequestQueue*)requestQueue - authenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace - sessionDelegate:(id)delegate NS_DESIGNATED_INITIALIZER; - - -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - authenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace - sessionDelegate:(id)delegate NS_UNAVAILABLE; - - -@end -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionNotLoggedIn.h b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionNotLoggedIn.h deleted file mode 100644 index 7e080286..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionNotLoggedIn.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * - * ZDKRequestSessionNotLoggedIn.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRequestSession.h" - -/** - * Request session that handles the requests executed on a not logged in session - */ -@interface ZDKRequestSessionNotLoggedIn: ZDKRequestSession -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/ZendeskProviderSDK b/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/ZendeskProviderSDK deleted file mode 100644 index 0b12daf2..00000000 Binary files a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/ZendeskProviderSDK and /dev/null differ diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKArticleView.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKArticleView.h deleted file mode 100644 index 42e96adb..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKArticleView.h +++ /dev/null @@ -1,143 +0,0 @@ -/* - * - * ZDKArticleView.h - * ZendeskSDK - * - * Created by Zendesk on 24/09/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKSpinnerDelegate.h" - -@class ZDKHelpCenterArticle; - -@protocol ZDKHelpCentreArticleViewProtocol - -@optional -/** - * This is delegate method called by the ZDKArticleViewController, it is - * for linking within app to a mail composer view when an email prependded - * with a "mailto:" tag within a help center article is tapped. - * It sets the email as the receiver. If the device, does not have - * email set up, an actionSheet will be shown and the mail comnposer - * will not be. - * - * @param reciever The email that will be set as the receiver in mail composer view. - * - * @since 1.5.0.1 - */ -- (void)openMailWithReciever:(NSString *)reciever; - -/** - * This is a delegate method for linking within app to another help center article. - * It called when an article link is clicked within an ZDKArticleView. It is called by - * recognising the host-mapped URL of the account and other path components within - * that URL to recognise it as a help center article. This is done in a different method - * within the ZDKArticleView. - * - * @param articleId This articleId is the ID of the help center article, which the user - * wants to deeplink to within the SDK. - * - * @since 1.5.0.1 - */ -- (void)openLinkToNewArticle:(NSString *)articleId; - -@end - - - -/** - * A Help Center Article. - * - * @since 0.9.3.1 - */ -@interface ZDKArticleView : UIView - -/** - * Delegate for ZDKHelpArticleViewProtocol. - * - * @since 1.5.0.1 - */ -@property (nonatomic, weak) id delegate; - - -/** - * Scroll view that contains the article webview and attachments table. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong) UIScrollView *article; - -/** - * The article body. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong) UIWebView *articleWebView; - - -/** - * A table for article attachments. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong) UITableView *attachments; - - -/** - * Returns the loading state of the article view. - * - * @since 0.9.3.1 - */ -@property (nonatomic, assign, readonly, getter=isLoading) BOOL loading; - - -/** - * Initializes the article controller with an article. - * - * @since 0.9.3.1 - * - * @param article A help center article. - */ -- (instancetype) initWithArticle:(ZDKHelpCenterArticle *)article; - -/** - * Returns an article View with a loading state - * - * @since 1.7.0.1 - */ -+ (instancetype) loadingArticle; - -/** - * Renders the article passed into it in the view. - * - * @param article A help center article - * - * @since 1.7.0.1 - */ -- (void)renderArticle:(ZDKHelpCenterArticle *)article; - -/** - * Reloads the help center article webview on rotation. - * - * @since 0.9.3.1 - * - */ -- (void) reloadArticleForRotation; - -/** - * Loading spinner for article deeplinking. - * - * @since 1.5.0.1 - */ -@property (nonatomic, strong) UIActivityIndicatorView *deeplinkingSpinner; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKArticleViewController.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKArticleViewController.h deleted file mode 100644 index 40d43e16..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKArticleViewController.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * - * ZDKArticleViewController.h - * ZendeskSDK - * - * Created by Zendesk on 24/09/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -#import "ZDKUIViewController.h" -#import "ZDKArticleView.h" -#import -#import - - -@class ZDKArticleView, ZDKHelpCenterArticle, ZDKHelpCenterArticleViewModel; - -/** - * View controller for an article view. - * - * @since 0.9.3.1 - */ -@interface ZDKArticleViewController : ZDKUIViewController - - -/** - * Delegate for right nav bar button. - * - * @since 1.10.0.1 - */ -@property (nonatomic, weak) id uiDelegate; - -/** - * The article view. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong) ZDKArticleView *articleView; - - -/** - * Initializes the article controller with an article. - * - * @since 0.9.3.1 - * - * @param article A help center article. - */ -- (instancetype) initWithArticle:(ZDKHelpCenterArticle *)article; - -/** - * Initializes the article controller with an article view model which trigger a network call - * to fetch the full article model. - * - * @param articleViewModel An articleViewModel - * - * @since 1.7.0.1 - */ -- (instancetype) initWithArticleViewModel:(ZDKHelpCenterArticleViewModel *)articleViewModel; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKAttachmentCollectionViewCell.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKAttachmentCollectionViewCell.h deleted file mode 100644 index c2d07253..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKAttachmentCollectionViewCell.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * - * ZDKAttachmentCollectionViewCell.h - * ZendeskSDK - * - * Created by Zendesk on 02/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -/** - * Collection view cell which displays an attachment. - */ -@interface ZDKAttachmentCollectionViewCell : UICollectionViewCell - - -/** - * Prepare cell for display with an image. - * - * @param image an attachment to display. - */ -- (void)prepareWithImage:(UIImage *)image; - - -/** - * Helper method. - * - * @return a reuse identifier. - */ -+ (NSString *) reuseIdentifier; - - -/** - * Returns the preferred size for the view. - */ -+ (CGSize) preferedSize; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKAttachmentView.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKAttachmentView.h deleted file mode 100644 index f97c7a4c..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKAttachmentView.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * - * ZDKAttachmentView.h - * ZendeskSDK - * - * Created by Zendesk on 03/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -/** - * A small view which displays attachments for a comment being created. - * Allowing end users to add and remove attachments to comments. - */ -@interface ZDKAttachmentView : UIView - - -/** - * Collection view for attachments. - */ -@property (nonatomic, strong, readonly) UICollectionView *attachmentsCollectionView; - - -/** - * Add a target for the close button accion on this view. - * - * @param target the target for the action. - * @param action the action. - */ -- (void) addTarget:(id)target forCloseAction:(SEL)action; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKAttachmentViewDataSource.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKAttachmentViewDataSource.h deleted file mode 100644 index 1bf730a8..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKAttachmentViewDataSource.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * - * ZDKAttachmentViewDataSource.h - * ZendeskSDK - * - * Created by Zendesk on 02/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -/** - * Collection view data source for ZDKAttachmentView. - */ -@interface ZDKAttachmentViewDataSource : NSObject - - -@property (nonatomic, copy) NSMutableArray *data; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentInputView.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentInputView.h deleted file mode 100644 index e4bef0d7..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentInputView.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * - * ZDKCommentInputView.h - * ZendeskSDK - * - * Created by Zendesk on 06/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -@protocol ZDKCommentInputViewDelegate - -@optional - -/** - * Called to determine whether the send action is executed. - * Defaults to yes if not implemented. - * - * @return YES to execute the send action. Return NO to block execution the send action. - */ -- (BOOL) shouldSelectSend; - - -/** - * Called when the send button is pressed. - * - * @param commentBody the comment text. - */ -- (void) didSelectSend:(NSString *)commentBody; - - -/** - * Called to determine whether the attachment action is executed. - * Defaults to yes if not implemented. - * - * @return YES to execute the attachment action. Return NO to block execution the attachment action. - */ -- (BOOL) shouldSelectAttachment; - - -/** - * Called when the attachment button is selected. - */ -- (void) didSelectAttachment; - - -@end - - -@class ZDKUITextView; - - -@interface ZDKCommentInputView : UIView - - -/** - * Create a Comment Input View - * - * @param attachmentEnabled is attachement enabled - */ -- (instancetype)initWithAttachemntEnabled:(BOOL)attachmentEnabled; - - -@property (nonatomic, strong, readonly) ZDKUITextView *textView; - - -@property (nonatomic, strong, readonly) UIButton *sendButton; - -/** - * Returns the preferred height for the input view. - * - * @return the preferred height. - */ -- (CGFloat) preferredHeight; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentInputViewController.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentInputViewController.h deleted file mode 100644 index 6e8e4d38..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentInputViewController.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * - * ZDKCommentInputViewController.h - * ZendeskSDK - * - * Created by Zendesk on 04/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -@class ZDKCommentInputView, ZDKRequest; - - -@interface ZDKCommentInputViewController : UIViewController - -@property (nonatomic, strong) ZDKCommentInputView *commentInputView; - -- (instancetype)initWithRequest:(ZDKRequest *)request isAttachmentEnabled:(BOOL)isAttachmentEnabled; - -- (CGFloat) preferredHeight; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsTableViewController.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsTableViewController.h deleted file mode 100644 index 1b7d415f..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsTableViewController.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * - * ZDKCommentsTableViewController.h - * ZendeskSDK - * - * Created by Zendesk on 04/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRotationForwarding.h" - -@class ZDKRequest, ZDKCommentsTableViewDataSource; - -@interface ZDKCommentsTableViewController : UIViewController - -@property (nonatomic, strong, readonly) ZDKCommentsTableViewDataSource *datasource; - -@property (nonatomic, strong, readonly) UITableView *commentsView; - -@property (nonatomic, assign) id rotationEventDelegate; - -/** - * Init with provided request. - * - * @param request the request object this comments view is for - * @return the instance - */ -- (instancetype) initWithRequest:(ZDKRequest *)request; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDataSource.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDataSource.h deleted file mode 100644 index 9618f84e..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDataSource.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * - * ZDKCommentsTableViewDataSource.h - * ZendeskSDK - * - * Created by Zendesk on 04/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@class ZDKRequest; - - -extern NSString * const ZDK_RequestCommentsListUpdated; - -/** - * Data source for the comments table view. - */ -@interface ZDKCommentsTableViewDataSource : NSObject - - -/** - * State tracking, if true then a refresh if the request list is in progress. - */ -@property (nonatomic, assign, readonly) BOOL loadingInProgress; - - -/** - * Read-only array of items associated with the data source. - */ -@property (nonatomic, copy, readonly) NSArray *items; - - -/** - * Init with provided request. - * - * @param request the request object this comments view is for - * @return the instance - */ -- (instancetype) initWithRequest:(ZDKRequest*)request; - - -/** - * Retrieves an item for the given index path. - * - * @param indexPath The index path for the item to be retrieved. - * @return An item, depending on the data source this could be a category, section or article. - */ -- (id)itemAtIndexPath:(NSIndexPath *)indexPath; - - -/** - * Reloads the data source. - */ -- (void) reloadData; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDelegate.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDelegate.h deleted file mode 100644 index 0d217a87..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDelegate.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * - * ZDKCommentsTableViewDelegate.h - * ZendeskSDK - * - * Created by Zendesk on 04/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRotationForwarding.h" - - -@interface ZDKCommentsTableViewDelegate : NSObject - -@property (nonatomic, assign) id rotationEventDelegate; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsViewController.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsViewController.h deleted file mode 100644 index 356c2783..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCommentsViewController.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * - * ZDKCommentsViewController.h - * ZendeskSDK - * - * Created by Zendesk on 04/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -#import "ZDKUIViewController.h" -#import "ZDKRotationForwarding.h" - - -@class ZDKRequest; - - -@interface ZDKCommentsViewController : ZDKUIViewController - - -/** - * The original request for the comment stream. - */ -@property (nonatomic, strong, readonly) ZDKRequest *request; - - -/** - * Initialize the comments controller with a request. - * - * @param aRequest A request model. - * - * @return A new instance of ZDKCommentsViewController. - */ -- (instancetype)initWithRequest:(ZDKRequest *)aRequest; - -/** - * Dismiss the controller that was presented modally. - */ -- (void) dismiss; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCreateRequestView.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCreateRequestView.h deleted file mode 100644 index 14045afe..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCreateRequestView.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * - * ZDKCoreCreateRequestView.h - * ZendeskSDK - * - * Created by Zendesk on 31/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKSpinnerDelegate.h" - -@class ZDKUITextView; - - -/** - * Request creation view. - * - * @since 0.9.3.1 - */ -@interface ZDKCreateRequestView : UIView - -/** - * Text view for request description. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong) ZDKUITextView *textView; - -/** - * Text field for email input. Only shown if using anonymous and conversations disabled. - * - * @since 1.4.0.1 - */ -@property (nonatomic, strong) UITextField *emailField; - -/** - * Button to allow user to attach images - * - * @since 1.1.0.1 - */ -@property (nonatomic, strong) UIButton *attachImageButton; - -/** - * Height of the textView frame - * - * @since 1.1.0.1 - */ -@property (nonatomic, readonly, assign) NSInteger textViewHeight; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCreateRequestViewController.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCreateRequestViewController.h deleted file mode 100644 index eda95723..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCreateRequestViewController.h +++ /dev/null @@ -1,92 +0,0 @@ -/* - * - * ZDKCreateRequestViewController.h - * ZendeskSDK - * - * Created by Zendesk on 22/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import - - -typedef void (^ZDKCreateRequestSuccess) (id result); -typedef void (^ZDKCreateRequestError) (NSError *error); - -@class ZDKReachabilityWrapper, ZDKToastViewWrapper, ZDKCreateRequestViewController, ZDKUITextView; - -/** - * Request creation view controller delegate methods. - * - * @since 1.6.0.1 - */ -@protocol ZDKCreateRequestViewControllerDelegate - -@optional - -/** - * Delegate method called when the create request view controller finishes - * - * @since 1.6.0.1 - * - * @param viewController the create request view controller - */ -- (void)createRequestViewControllerDidFinish:(ZDKCreateRequestViewController*)viewController; - -/** - * Delegate method called when a ticket is created successfully - * - * @since 1.6.0.1 - * - * @param viewController the create request view controller - * @param result the created ticket - */ - -- (void)createRequestViewController:(ZDKCreateRequestViewController*)viewController didCreateTicketWithSuccess:(id)result; - -/** - * Delegate method called when a ticket creation fails - * - * @since 1.6.0.1 - * - * @param viewController the create request view controller - * @param error the error - */ - -- (void)createRequestViewController:(ZDKCreateRequestViewController*)viewController didFailCreateTicketWithError:(NSError*)error; - - -/** - * Dismisses the create request screen. - * - * @since 1.7.2.1 - */ -- (void)dismiss; - -@end - - -/** - * Request creation view controller. - * - * @since 0.9.3.1 - */ -@interface ZDKCreateRequestViewController : UIViewController - - -/** - * Create request view controller delegate - * - * @since 1.6.0.1 - */ -@property (nonatomic, weak) id delegate; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenter.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenter.h deleted file mode 100644 index 07b3e875..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenter.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * - * ZDKHelpCenter.h - * ZendeskSDK - * - * Created by Zendesk on 09/09/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import -#import "ZDKUIViewController.h" - -@class ZDKHelpCenterOverviewContentModel; - -/** - * Convenience class for presenting Help Center content. - * - * @since 0.9.3.1 - */ -@interface ZDKHelpCenter : NSObject - -/** - * Pushes a Help Center Overview Screen with content defined by the ZDKHelpCenterOverviewContentModel. - * - * @param navController The navigation controller which to push onto. - * @param helpCenterContentModel A ZDKHelpCenterContentModel object that defines the content shown on screen - * - * @since 1.7.0.1 - */ -+ (void) pushHelpCenterOverview:(UINavigationController *)navController - withContentModel:(ZDKHelpCenterOverviewContentModel *)helpCenterContentModel; - -/** - * Presents a Help Center Overview Screen modally with content defined by the ZDKHelpCenterOverviewContentModel. - * - * @param viewController View Controller from which to present from. - * @param helpCenterContentModel A ZDKHelpCenterContentModel object that defines the content shown on screen - * - * @since 1.7.0.1 - */ -+ (void) presentHelpCenterOverview:(UIViewController *)viewController - withContentModel:(ZDKHelpCenterOverviewContentModel *)helpCenterContentModel; - -/** - * Specify an icon that will be placed in the right nav bar button. - * - * @since 0.9.3.1 - * - * @param name The name of an image in your app bundle. - */ -+ (void) setConversationsBarButtonImage:(NSString *)name __deprecated_msg("Deprecated as of 1.10.0.1, use ZDKHelpCenterConversationsUIDelegate instead."); - - -/** - * Set the nav bar UI type for displaying the conversations screen. - * - * @since 0.9.3.1 - * - * @param uiType A ZDKNavBarConversationsUIType. - */ -+ (void) setNavBarConversationsUIType:(ZDKNavBarConversationsUIType)uiType __deprecated_msg("Deprecated as of 1.10.0.1, use ZDKHelpCenterConversationsUIDelegate instead."); - - -/** - Set a delegate which will be forwarded to Help Center view controllers. - Replaces `setConversationsBarButtonImage:` and `setNavBarConversationsUIType:` - as the means to customize the right navigation bar button functionality. - - @since 1.10.0.1 - - @param delegate Implementation of ZDKHelpCenterConversationsUIDelegate. - */ -+ (void) setUIDelegate:(id)delegate; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenterOverviewController.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenterOverviewController.h deleted file mode 100644 index 2eba57f6..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenterOverviewController.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * - * ZDKHelpCenterOverviewController.h - * ZendeskSDK - * - * Created by Zendesk on 27/05/2016. - * - * Copyright © 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import - -@class ZDKHelpCenterOverviewContentModel; - -NS_ASSUME_NONNULL_BEGIN -NS_AVAILABLE_IOS(8_0) - - -/** - * Displays Help Center content. - */ -@interface ZDKHelpCenterOverviewController : UIViewController - -@property (nonatomic, weak) id uiDelegate; - -- (instancetype) initWithHelpCenterOverviewModel:(ZDKHelpCenterOverviewContentModel *)helpCenterContentModel; - -@end -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKImageViewerViewController.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKImageViewerViewController.h deleted file mode 100644 index 7bd93199..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKImageViewerViewController.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * - * ZDKImageViewerViewController.h - * ZendeskSDK - * - * Created by Zendesk on 2/11/15. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKUIViewController.h" -#import "ZDKRotationForwarding.h" - -@interface ZDKImageViewerViewController : ZDKUIViewController - -@property (nonatomic, assign) id rotationEventDelegate; - -- (instancetype) initWithImage:(UIImage*)image; - -- (void) dismiss; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKPushUtil.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKPushUtil.h deleted file mode 100644 index 5aa28f56..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKPushUtil.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * - * ZDKPushUtil.h - * ZendeskSDK - * - * Created by Zendesk on 19/03/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -/** - * ZDKPushUtil handles push notifications for Zendesk SDK related notifications. - * - * @since 1.2.0.1 - */ -@interface ZDKPushUtil : NSObject - -/** - * Handles a remote notification for Zendesk SDK related notifications. - * This handler attempt to pull out a request id from the push info - * dictionary and use this to fetch the updated ticket. - * - * @since 1.2.0.1 - * - * @param pushInfo The info dictionary from the app delegate remote notification methods. - * @param application The application. - * @param presentationStyle The presentation style for a modally presented view. - * @param guide A layout guid for the presented view controller. - * @param applicationId The application ID. The same as in the ZDKConfig initialize method. - * @param zendeskUrl Your Zendesk url. The same as in the ZDKConfig initialize method. - * @param oAuthClientId The OAuth client ID. The same as in the ZDKConfig initialize method. - */ -+ (void) handlePush:(NSDictionary *)pushInfo - forApplication:(UIApplication *)application - presentationStyle:(UIModalPresentationStyle)presentationStyle - layoutGuide:(ZDKLayoutGuide)guide - withAppId:(NSString *)applicationId - zendeskUrl:(NSString *)zendeskUrl - clientId:(NSString *)oAuthClientId; - - -/** - * Handles a remote notification for Zendesk SDK related notifications. - * This handler attempt to pull out a request id from the push info - * dictionary and use this to fetch the updated ticket. - * - * @since 1.2.0.1 - * - * @param pushInfo The info dictionary from the app delegate remote notification methods. - * @param application The application. - * @param presentationStyle The presentation style for a modally presented view. - * @param guide A layout guid for the presented view controller. - * @param applicationId The application ID. The same as in the ZDKConfig initialize method. - * @param zendeskUrl Your Zendesk url. The same as in the ZDKConfig initialize method. - * @param oAuthClientId The OAuth client ID. The same as in the ZDKConfig initialize method. - * @param completionHandler The fetch completion handler from the app delegate remote notification method. - */ -+ (void) handlePush:(NSDictionary *)pushInfo - forApplication:(UIApplication *)application - presentationStyle:(UIModalPresentationStyle)presentationStyle - layoutGuide:(ZDKLayoutGuide)guide - withAppId:(NSString *)applicationId - zendeskUrl:(NSString *)zendeskUrl - clientId:(NSString *)oAuthClientId fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestCommentAttachmentLoadingTableCell.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestCommentAttachmentLoadingTableCell.h deleted file mode 100644 index 379428dd..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestCommentAttachmentLoadingTableCell.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * - * ZDKRequestCommentAttachmentLoadingTableCell.h - * ZendeskSDK - * - * Created by Zendesk on 26/01/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import "ZDKRequestCommentTableCell.h" - -@interface ZDKRequestCommentAttachmentLoadingTableCell : ZDKRequestCommentTableCell - - -+ (CGFloat) cellHeightForCommentWithAttachment:(CGFloat) width; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestCommentTableCell.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestCommentTableCell.h deleted file mode 100644 index c0b25660..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestCommentTableCell.h +++ /dev/null @@ -1,140 +0,0 @@ -/* - * - * ZDKAgentCommentTableCell.h - * ZendeskSDK - * - * Created by Zendesk on 18/06/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKSpinnerDelegate.h" -@class ZDKCommentWithUser; - -/** - * Super class for request comment cells with shared functionality - */ -@interface ZDKRequestCommentTableCell : UITableViewCell - -/** - * The label containing the body of the comment. - */ -@property (nonatomic, strong) UILabel *body; - -/** - * The 'created at' label. - */ -@property (nonatomic, strong) UILabel *timestamp; - -/** - * Setup the cell for rendering with the provided comment. - * - * @param commentWithUser the comment and user for a given comment - */ -- (void) prepareUsingCommentWithUser:(ZDKCommentWithUser *)commentWithUser; - -/** - * Convenience method for cell reuse identifiers. - * - * @return a cell reuse identifier derived from NSStringFromClass. - */ -+ (NSString *) reuseId; - -@end - - -#pragma mark - agent - - - -/** - * Comment cell for rendering agent comments. - */ -@interface ZDKAgentCommentTableCell : ZDKRequestCommentTableCell - - -/** - * A cache of the avatar image being presented in this cell. - */ -@property (nonatomic, copy) NSMutableDictionary *avatarCache; - -/** - * The avatar UIImageView. - */ -@property (nonatomic, strong) UIImageView *avatar; - -/** - * The author label. - */ -@property (nonatomic, strong) UILabel *author; - - -/** - * Returns the cell height for the comment in the specified width. - * - * @param commentWithUser the comment to be evaluated - * @param width the width the cell has available - * @return the resulting cell height - */ -+ (CGFloat) cellHeightForCommentWithUser:(ZDKCommentWithUser*)commentWithUser inWidth:(CGFloat)width; - - -@end - - -#pragma mark - end user - - - -/** - * Comment cell for rendering end user comments. - */ -@interface ZDKEndUserCommentTableCell : ZDKRequestCommentTableCell - - -/** - * Returns the cell height for the comment in the specified width. - * - * @param commentWithUser the comment to be evaluated - * @param width the width the cell has available - * @return the resulting cell height - */ -+ (CGFloat) cellHeightForCommentWithUser:(ZDKCommentWithUser*)commentWithUser inWidth:(CGFloat)width; - -@end - -#pragma mark - - - -/** - * Retry delegate for requesting a refresh. - */ -@protocol ZDKCommentListRetryDelegate - - -/** - * Refresh the request list. - */ -- (void) refresh; - -@end - - -#pragma mark - Loading Cell - - -/** - * Loading state cell for the request list. - */ -@interface ZDKCommentsListLoadingTableCell : UITableViewCell - -@end - diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestListTable.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestListTable.h deleted file mode 100644 index 3989c153..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestListTable.h +++ /dev/null @@ -1,95 +0,0 @@ -/* - * - * ZDKRequestListTable.h - * ZendeskSDK - * - * Created by Zendesk on 14/06/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - - - - -@class ZDKRequestStorage; - -/** - * UITableView containing the users request list. On init, the list will show a loading indicator - * and refresh the requests from the server, once loaded the list will reload itself and will notify - * that the table has been updated. - */ -@interface ZDKRequestListTable : UITableView - -/** - * The array of requests that is being used to render the table. - */ -@property (nonatomic, copy) NSArray *requests; - -/** - * State tracking, if true then the current state is that the last refresh resulted in an error. - */ -@property (nonatomic, assign) BOOL refreshError; - -/** - * Localized error string for presentation to the user. - */ -@property (nonatomic, copy) NSString *errorString; - -/** - * State tracking, if true then a refresh if the request list is in progress. - */ -@property (nonatomic, assign) BOOL loadingInProgress; - -/** - * create a request list table - * - * @param requestStorage request storage to use - */ -- (instancetype) initWithRequestStorage:(ZDKRequestStorage*)requestStorage NS_DESIGNATED_INITIALIZER; - - -/** - * Returns the height required by the table to display it's contents. - */ -- (CGFloat) tableHeight; - - -/** - * Returns the cell height for the current table state, e.g. loading or loaded. - * - * @return a table cell height. - */ -- (CGFloat) cellHeight; - - -/** - * Register the observer for NSNotification events that the list has been updated. - * - * @param observer the instance to be added as observer - * @param selector the selector to be invoked on the observer on event - */ -- (void) registerForEvents:(id)observer withSelector:(SEL)selector; - - -/** - * Remove the observer, this must always be invoked on observer dealloc. - * - * @param observer the instance to be removed as observer - */ -- (void) unregisterForEvents:(id)observer; - - -- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style NS_UNAVAILABLE; -- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE; - -@end - diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestListTableCell.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestListTableCell.h deleted file mode 100644 index 2eb10fb9..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestListTableCell.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * - * ZDKRequestListTableCell.h - * ZendeskSDK - * - * Created by Zendesk on 14/06/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKSpinnerDelegate.h" - -@class ZDKRequest; - -static CGFloat const ZDSDK_REQUEST_CELL_VERTICAL_MARGIN = 20.0f; -static CGFloat const ZDSDK_REQUEST_CELL_DESCRIPTION_TS_MARGIN = 5.0f; -static CGFloat const ZDSDK_REQUEST_CELL_LEFT_INSET = 25.0f; - - - -/** - * Request cell for the request list table. - */ -@interface ZDKRequestListTableCell : UITableViewCell - -/** - * The unread indicator view. - */ -@property (nonatomic, strong) UIView *unreadView; - -/** - * The description label. - */ -@property (nonatomic, strong) UILabel *requestDescription; - -/** - * 'The created at' label. - */ -@property (nonatomic, strong) UILabel *updatedAt; - - -/** - * The color of the unread marker. - */ -@property (nonatomic, strong) UIColor *unreadColor UI_APPEARANCE_SELECTOR; - -/** - * Setup the cell with the request info. - */ -- (void) prepareWithRequest:(ZDKRequest*)request isUnread:(BOOL)isUnread; - -@end - - -#pragma mark - - - -/** - * Empty state cell for the request list. - */ -@interface ZDRequestListEmptyTableCell : UITableViewCell - -/** - * Empty cell text label. - */ -@property (nonatomic, strong) UILabel *messageLabel; - -@end - - -#pragma mark - - - -/** - * Loading state cell for the request list. - */ -@interface ZDRequestListLoadingTableCell : UITableViewCell - - -@end - diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestListViewController.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestListViewController.h deleted file mode 100644 index 2970e4c4..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequestListViewController.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * - * ZDKRequestListViewController.h - * ZendeskSDK - * - * Created by Zendesk on 15/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import "ZDKUIViewController.h" - -@class ZDKRequestListTable; - -@protocol ZDKCreateRequestUIDelegate; - -@interface ZDKRequestListViewController : ZDKUIViewController - -/** - * Scroll view that contains the ZDKRequestListTable. - */ -@property (nonatomic, strong) UIScrollView *requestListContainer; - -/** - * A table that displays open requests. - */ -@property (nonatomic, strong) ZDKRequestListTable *requestList; - -/** - * Delegate for nav ban button UI. - */ -@property (nonatomic, weak) id delegate; - - -/** - * Dismiss modally presented controller. - * - * @since 1.5.4.1 - */ -- (void) dismiss; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequests.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequests.h deleted file mode 100644 index 6964eb16..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRequests.h +++ /dev/null @@ -1,173 +0,0 @@ -/* - * - * ZDKRequests.h - * ZendeskSDK - * - * Created by Zendesk on 22/04/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - - -#import "ZDKCreateRequestUIDelegate.h" -#import "ZDKUIViewController.h" - - - -@class ZDKRequestListTable; -@class ZDKAccount; - - -typedef void (^ZDKRequestSuccess) (id result); -typedef void (^ZDKRequestError) (NSError *error); - - -#pragma mark Request creation config - - -/** - * Request creation config object. - */ -@interface ZDKRequestCreationConfig : NSObject { - - NSArray *tags; - NSString *additionalRequestInfo; - NSString *subject; - -} - - -/** - * Tags to be included when creating a request. - */ -@property (copy) NSArray *tags; - - -/** - * Additional free text to be appended to the request description. - */ -@property (copy) NSString *additionalRequestInfo; - -/** - * Request subject. - * - * @since 1.3.0.1 - */ -@property (copy) NSString *subject; - - -/** - * Helper method providing a simple visual separator for request info including line breaks. - * @return @"\n\n"; - */ -- (NSString*) contentSeperator; - - -@end - - -#pragma mark - ZDKRequests - - -/** - * Config block. - * @param account the account on which the subdomain and user can be set - * @param requestCreationConfig the Request creation config which can be updated as desired. - */ -typedef void (^ZDSDKConfigBlock) (ZDKAccount *account, ZDKRequestCreationConfig *requestCreationConfig); - - -/** - * Core SDK class providing access to request deflection, creation and lists. - */ -@interface ZDKRequests : NSObject { - - ZDKRequestCreationConfig *requestCreationConfig; - -} - - -/** - * Request creation config for this instance. - */ -@property (strong) ZDKRequestCreationConfig *requestCreationConfig; - - -/** - * Get the instance of ZDKRequests - * @return ZDKRequests A shared instance of ZDKRequests - */ -+ (instancetype) instance; - - -/** - * Configure the SDK - * @param config the config block with which to setup the SDK. - */ -+ (void) configure:(ZDSDKConfigBlock)config; - -/** - * Presents a simple request creation on top of the provided view controller modally. - * - * @param viewController A view controller frow which to present on. - * - * @since 1.6.0.1 - */ -+ (void) presentRequestCreationWithViewController:(UIViewController *)viewController; - -/** - * Presents a request list view controller modally on top of the provided view controller modally. - * - * @param viewController A view controller frow which to present on. - * - * @since 1.6.0.1 - */ -+ (void) presentRequestListWithViewController:(UIViewController *)viewController; - -/** - * Pushes a request list view controller on top of the navigation stack. - * - * @param navController The UINavitgationController which to push from. - * @param aGuide Should the request list respect top and bottom layout guide? Pass in - * one of the const values, ZDKLayoutRespectAll, ZDKLayoutRespectNone, - * ZDKLayoutRespectTop and ZDKLayoutRespectBottom. - * - * @since 1.6.0.1 - */ -+ (void) pushRequestListWithNavigationController:(UINavigationController *)navController layoutGuide:(ZDKLayoutGuide)aGuide; - -/** - * Pushes a request list view controller on top of the navigation stack. - * - * @param navController The UINavitgationController which to push from. - * - * @since 1.6.0.1 - */ -+ (void) pushRequestListWithNavigationController:(UINavigationController *)navController; - - -/** - * Specify an icon that will be placed in the right nav bar button. - * - * @param name The name of an image in your app bundle. - */ -+ (void) setNewRequestBarButtonImage:(NSString *)name; - - -/** - * Set the nav bar UI type for displaying the create request screen. - * - * @param uiType A ZDKNavBarCreateRequestUIType. - */ -+ (void) setNavBarCreateRequestUIType:(ZDKNavBarCreateRequestUIType)uiType; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRotationForwarding.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRotationForwarding.h deleted file mode 100644 index 946db55a..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKRotationForwarding.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * - * ZDKRotationForwarding.h - * ZendeskSDK - * - * Created by Zendesk on 3/30/16. - * - * Copyright © 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -@protocol ZDKRotationForwarding - -- (void)orientationWillChange:(UIInterfaceOrientation)toInterfaceOrientation; - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKTheme.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKTheme.h deleted file mode 100644 index 4f09c10f..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKTheme.h +++ /dev/null @@ -1,135 +0,0 @@ -/* - * - * ZDKTheme.h - * ZendeskSDK - * - * Created by Zendesk on 20/04/2016. - * - * Copyright (c) 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -NS_ASSUME_NONNULL_BEGIN - -@interface ZDKTheme : NSObject - -/** - * Primary text color - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *primaryTextColor; - -/** - * Secondary text Color - * - * @since 1.7.0.1 - */ -@property (nonatomic, strong) UIColor *secondaryTextColor; - -/** - * Primary background color. - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *primaryBackgroundColor; - -/** - * Secondary background color, used when a slight contrast is needed against the primary background color, such as an end user comment cell. - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *secondaryBackgroundColor; - -/** - * Empty background color, used when a view is has no content - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *emptyBackgroundColor; - -/** - * Color of any metadata, such as dates or placeholder text - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *metaTextColor; - -/** - * Cell seperator color - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *separatorColor; - -/** - * Color of text for user input in ZDKCreateRequest and ZDKCommentInputView - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *inputFieldTextColor; - -/** - * Background color of ZDKCommentInputView - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *inputFieldBackgroundColor; - -/** - * Font to use in the SDK. This must be a complete font name, not a font family name. - * - * @since 1.6.0.1 - */ -@property (nonatomic, copy) NSString *fontName; - -/** - * Bold font to use in the SDK. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *boldFontName; - -/** - * Apply the theme to the SDK - * - * @since 1.6.0.1 - */ -- (void)apply; - -/** - * Returns a newly created instance filled with values from the Base SDK UI starndard theme. - * - * Theme properties will be set to the standard theme. - * - * @since 1.6.0.1 - */ -+ (instancetype)baseTheme; - -/** - * Get the current theme used in the SDK - * - * @since 1.6.0.1 - */ -+ (instancetype)currentAppliedTheme; - - -/** - * Use +[ZDKTheme baseTheme] instead to return a theme that you can edit - * - * @since 1.6.0.1 - */ -+ (instancetype)new NS_UNAVAILABLE; -- (instancetype)init NS_UNAVAILABLE; - -@end - -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKToast.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKToast.h deleted file mode 100644 index 2a924528..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKToast.h +++ /dev/null @@ -1,190 +0,0 @@ -/* - * - * ZDKToast.h - * ZendeskSDK - * - * Created by Zendesk on 22/04/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKToastStyle.h" -#import "ZDKToastView.h" - - - -/** - * Presents a toast message to the user from the navigation bar of the top most view controller. - * Usage: - * - * @code - * - * // Present from navigation bar. - * [ZDKToast show:@"I'm a toast message!" ofType:ZDKToastUITypeOK inViewController:vc]; - * - * [ZDKToast show:@"I'm another toast message!" ofType:ZDKToastUITypeOK for:3.0f inViewController:vc]; - * - * - * // Present at the top of any view at full width - * [ZDKToast show:@"I'm a toast message!" ofType:ZDKToastUITypeOK in:view]; - * - * [ZDKToast show:@"I'm another toast message!" ofType:ZDKToastUITypeOK in:view at:y for:3.0f]; - * - * @endcode - * - * @discussion Auto dismiss toasts will skip animating out if the toast view has no superview or - * if the toasts superview has no superview. - * - * @since 0.1 - */ -@interface ZDKToast : NSObject - - -#pragma mark show from UINavigationController - - -/** - * Show a full width toast message below the UINavigationBar for the requested duration. - * @param message message to be presented - * @param type ZDKToastUIType specifying the type of toast to be displayed - * @param viewController the view controller in which to present the toast - * @param durationInSeconds total duration the toast will be displayed for including animations - * @param animationBlock block with any UI changes to be performed at the same time as the toast animation - * @param animated YES to animate in - * @since 0.1 - */ -+ (void) showMessage:(NSString*)message - ofType:(ZDKToastUIType)type - inViewController:(UIViewController*)viewController - withDuration:(NSTimeInterval)durationInSeconds - andAnimation:(ZDKToastAnimation)animationBlock - animated:(BOOL)animated; - - -/** - * Show a full width toast message below the UINavigationBar for the requested duration. - * @param message message to be presented - * @param type ZDKToastUIType specifying the type of toast to be displayed - * @param view the view from which the message will animate down - * @param viewController the view controller in which to present the toast - * @param durationInSeconds total duration the toast will be displayed for including animations - * @param animationBlock block with any UI changes to be performed at the same time as the toast animation - * @param animated YES to animate in - * @since 0.2 - */ -+ (void) showMessage:(NSString *)message - ofType:(ZDKToastUIType)type - inView:(UIView *)view - inViewController:(UIViewController *)viewController - withDuration:(NSTimeInterval)durationInSeconds - andAnimation:(ZDKToastAnimation)animationBlock - animated:(BOOL)animated; - - -#pragma mark show in view - - -/** - * Show the toast message in the requested view at location 'y' for the specified duration. - * @param message the message to be presented - * @param type ZDKToastUIType specifying the type of toast to be displayed - * @param view the view from which the message will animate down - * @param initialYPosisition the y position in the view to present from - * @param durationInSeconds total duration the toast will be displayed for including animations - * @param animationBlock block with any UI changes to be performed at the same time as the toast animation - * @param animated YES to animate in - * @since 0.1 - */ -+ (void) showMessage:(NSString*)message - ofType:(ZDKToastUIType)type - inView:(UIView*)view - startingAt:(CGFloat)initialYPosisition - withDuration:(NSTimeInterval)durationInSeconds - andAnimation:(ZDKToastAnimation)animationBlock - animated:(BOOL)animated; - - - - - -#pragma mark with button dismiss - - -/** - * Show a full width toast message below the UINavigationBar using the provided view as content. - * @param message the message to be presented - * @param type ZDKToastUIType specifying the type of toast to be displayed - * @param viewController the view controller in which to present the toast - * @param buttonText text of the button which dismisses the Toast - * @param buttonActionBlock Block to be run when the toast button is pressed. - * @param animationBlock block with any UI changes to be performed at the same time as the toast animation - * @param animated YES to animate in - * @since 0.2 - */ -+ (void) showMessage:(NSString*)message - ofType:(ZDKToastUIType)type - inViewController:(UIViewController*)viewController - withButtonText:(NSString*)buttonText - buttonAction:(ZDKToastButtonAction)buttonActionBlock - andAnimation:(ZDKToastAnimation)animationBlock - animated:(BOOL)animated; - - -/** - * Show the toast message in the provided view at location 'y' for the requested duration. - * @param message the message to be presented - * @param type ZDKToastUIType specifying the type of toast to be displayed - * @param view the view from which the message will animate down - * @param initialYPosisition the y position in the view to present from - * @param buttonText text of the button which dismisses the Toast - * @param buttonActionBlock Block to be run when the toast button is pressed. - * @param animationBlock block with any UI changes to be performed at the same time as the toast animation - * @param animated YES to animate in - * @since 0.2 - */ -+ (void) showMessage:(NSString*)message - ofType:(ZDKToastUIType)type - inView:(UIView*)view - startingAt:(CGFloat)initialYPosisition - withButtonText:(NSString*)buttonText - buttonAction:(ZDKToastButtonAction)buttonActionBlock - andAnimation:(ZDKToastAnimation)animationBlock - animated:(BOOL)animated; - - -#pragma mark - util - - -/** - * Set the animation timing for the presentation of toasts. - * @param durationInSeconds The duration of the animation. - * @since 0.1 - */ -+ (void) setAnimationDuration:(NSTimeInterval)durationInSeconds; - - -/** - * Dismiss all Toast messages for the specified view controller - * @param viewController the view controller the Toast was created on - * @param animate YES to animate the removal of the visible Toast - */ -+ (void) dismissForViewController:(UIViewController*)viewController animate:(BOOL)animate; - - -/** - * Dismiss all Toast messages for the specified view - * @param view the view the Toast was created on - * @param animate YES to animate the removal of the visible Toast - */ -+ (void) dismissForView:(UIView*)view animate:(BOOL)animate; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKToastStyle.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKToastStyle.h deleted file mode 100644 index e82dc20d..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKToastStyle.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * - * ZDKToastStyle.h - * ZendeskSDK - * - * Created by Zendesk on 13/05/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - - -/** - * Toast types providing specific styling as defined in ZDKToastStyle. - * @since 0.1 - */ -typedef NS_ENUM(NSUInteger, ZDKToastUIType) { - ZDKToastUITypeInfo, - ZDKToastUITypeOK, - ZDKToastUITypeWarning, - ZDKToastUITypeError, - ZDKToastUIType_count -}; - - - - -/** - * Toast styling options. - * @since 0.1 - */ -typedef NS_ENUM(NSUInteger, ZDKToastUIStyle) { - ZDKToastUIStyleBackgroundColor, - ZDKToastUIStyleBorderColor, - ZDKToastUIStyleFontColor, - ZDKToastUIStyleButtonBorderColor, - ZDKToastUIStyleButtonBackgroundColor, - ZDKToastUIStyleButtonFontColor, - ZDKToastUIStyleButtonFontName, - ZDKToastUIStyleButtonFontSize, - ZDKToastUIStyleFontName, - ZDKToastUIStyleFontSize, - ZDKToastUIStyleIconName, // v0.2 - ZDKToastUIStyle_count -}; - - - -/** - * Singleton class holding the styling details for toast messages. - * @since 0.1 - */ -@interface ZDKToastStyle : NSObject - - -/** - * Set the style value for the specified type. - * @param value this should be: UIColor for 'Color' styles, NSString for 'Name' styles and NSNumber for 'Size' styles - * @param type ZDKToastUIType defining the type to be styled - * @param style ZDKToastUIStyle defining the style to be set - * @since 0.1 - */ -+ (void) setValue:(id)value forType:(ZDKToastUIType)type andStyle:(ZDKToastUIStyle)style; - - - -/** - * Get the requested style value for the type. - * @param type ZDKToastUIType defining the style to be retrieved - * @param style ZDKToastUIStyle the style to be retrieved - * @since 0.1 - */ -+ (id) getValueForType:(ZDKToastUIType)type andStyle:(ZDKToastUIStyle)style; - - -@end - diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKToastView.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKToastView.h deleted file mode 100644 index 07305236..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKToastView.h +++ /dev/null @@ -1,174 +0,0 @@ -/* - * - * ZDKToastView.h - * ZendeskSDK - * - * Created by Zendesk on 12/05/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKToastStyle.h" - - -#import "ZDKToastStyle.h" - - -/** - * Toast animation block. - * @param animatingIn YES if animating in, NO if animating out - * @param height toast message height - */ -typedef void (^ZDKToastAnimation) (BOOL animatingIn, CGFloat height); - - -/** - * Toast button action block. - */ -typedef void (^ZDKToastButtonAction) (void); - - -/** - * Toast button action block. - */ -typedef void (^ZDKToastCompletion) (void); - - -/** - * The view for presenting default toast messages. - * @since 0.1 - */ -@interface ZDKToastView : UIView { - - /** - * The actual toast content. - * @since 0.1 - */ - UIView *toast; - - /** - * Single pixel lower border. - * @since 0.1 - */ - UIView *lowerBorder; - - /** - * The message itself. - * @since 0.1 - */ - UILabel *text; - - /** - * Animation time. - * @since 0.1 - */ - NSTimeInterval animationTime; - - /** - * Presentation time. - * @since 0.1 - */ - NSTimeInterval durationInSeconds; - - /** - * Dismiss button - * @since 0.2 - */ - UIButton *button; - -} - - -#pragma mark - Animation Properties - - -/** - * Timestamp for the point at which the toast has finished animating in. - * @since 0.1 - */ -@property (strong) NSDate *timePresented; - - -/** - * Animation block run when animating in and out. - */ -@property (nonatomic, copy) ZDKToastAnimation animationBlock; - - -/** - * Block to be run when the toast button is pressed. - */ -@property (nonatomic, copy) ZDKToastButtonAction buttonBlock; - - -#pragma mark - Parent View Controller - - -/** - * The parent view controller specified when presenting the toast. - */ -@property (nonatomic, weak) UIViewController *viewController; - - -#pragma mark - Lifecycle - - -/** - * Initialize and animate in a new toast. - * @param view the view in which the toast is to be presented - * @param initialYPosisition the y for the start of the toast frame - * @param message the text to be presented - * @param type the ZDKToastTypeEnum type of the toast - * @param durationInSeconds the duration for which the toast should be fully visible - * @param animationTime the time the toast should spend per animation in/out - * @param animationBlock animations to be run while presenting the Toast - * @param animateIn YES to animate in - * @since 0.1 - */ -- (instancetype) initInView:(UIView*)view - forViewController:(UIViewController*)viewController - atY:(CGFloat)initialYPosisition - withMessage:(NSString*)message - buttonText:(NSString*)buttonText - buttonAction:(ZDKToastButtonAction)buttonActionBlock - andType:(ZDKToastUIType)type - duration:(NSTimeInterval)durationInSeconds - animationTime:(NSTimeInterval)animationTime - animation:(ZDKToastAnimation)animationBlock - animateIn:(BOOL)animateIn; - - -#pragma mark Presentation and Dismissal - - -/** - * Present this toast. - * @param animate if YES animate the dismiss - */ -- (void) present:(BOOL)animate; - - -/** - * Dismiss this toast. - * @param animate if YES animate the dismiss - */ -- (void) dismiss:(BOOL)animate; - - -/** - * Dismiss this toast. - * @param animate if YES animate the dismiss - * @param completion A block that is executed after the toast has been dismissed. - */ -- (void) dismiss:(BOOL)animate comepletion:(ZDKToastCompletion)completion; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUILoadingView.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUILoadingView.h deleted file mode 100644 index fc24473c..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUILoadingView.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * - * ZDKUILoadingView.h - * ZendeskSDK - * - * Created by Zendesk on 22/01/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -@interface ZDKUILoadingView : UIView - - -/** - * Loading indicator. - */ -@property (nonatomic, strong, readonly) UIActivityIndicatorView *spinner; - - -@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIViewController.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIViewController.h deleted file mode 100644 index a6a7da24..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIViewController.h +++ /dev/null @@ -1,193 +0,0 @@ -/* - * - * ZDKUIViewController.h - * ZendeskSDK - * - * Created by Zendesk on 29/04/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - -@class ZDKReachability, ZDKToastView; - - -struct ZDKLayoutGuide { - BOOL layoutTopGuide; - BOOL layoutBottomGuide; -}; - -typedef struct ZDKLayoutGuide ZDKLayoutGuide; - -extern ZDKLayoutGuide const ZDKLayoutRespectAll; -extern ZDKLayoutGuide const ZDKLayoutRespectNone; -extern ZDKLayoutGuide const ZDKLayoutRespectTop; -extern ZDKLayoutGuide const ZDKLayoutRespectBottom; - - -/** - * Base view controller class used by ZD components containing frequently used methods. - */ -@interface ZDKUIViewController : UIViewController { - - UIViewAnimationOptions _animationCurve; - NSTimeInterval _animationDuration; - CGFloat _keyboardHeight; - CGFloat _toastHeight; -} - - -/** - * Should the view controller respect topLayoutGuide and bottomLayoutGuide introduced in iOS7. - */ -@property (nonatomic, assign) ZDKLayoutGuide layoutGuide; - - -/** - * Requires existence of navigation controller in parent view controller. - */ -@property (nonatomic, assign) BOOL requiresNavBar; - - -/** - * The content view for this view controller. Any subviews should be added this. - * - * All subclasses should use this view as a base for their view hierarchy. - */ -@property (nonatomic, strong) UIView *contentView; - - -/** - * A toast for notifying users about network connectivity issues and request errors. - */ -@property (nonatomic, strong) ZDKToastView *toastView; - - -/** - * Used to determine network reachability. - */ -@property (nonatomic, strong, readonly) ZDKReachability *reachable; - - -#pragma mark keyboard event handling - - -/** - * Register the view controller to be notified of keyboard show/hide events. - * Override keyboardWillBeShown: and keyboardWillBeHidden: to handle the events - */ -- (void) registerForKeyboardNotifications; - - -/** - * Called when the keyboard is about to be shown, invoke [super keyboardWillBeShown:] to - * set the currentKeyboardHeight variable with the height of the keyboard. - * @param aNotification the notification - */ -- (void) keyboardWillBeShown:(NSNotification*)aNotification; - - -/** - * Called when the the keyboard has been shown. - * - * @param aNotification the notification - */ -- (void) keyboardDidShow:(NSNotification *)aNotification; - - -/** - * Called when the keyboard is about to be hidden, invoke [super keyboardWillBeShown:] to - * set the currentKeyboardHeight variable with the3 height of the keyboard. - * @param aNotification the notification - */ -- (void) keyboardWillBeHidden:(NSNotification*)aNotification; - - -/** - * Called when the keyboard has hidden. - * - * @param aNotification the notification - */ -- (void) keyboardDidHide:(NSNotification *)aNotification; - -/** - * Updates values associated with the keyboard displaying/dismissing - * - * @param userInfo the user info dictionary from keyboard notifications. - */ -- (void) updateAnimationValuesFromUserInfo:(NSDictionary*)userInfo; - - -#pragma mark Layout - - -/** - * Layout the the view with respect to any ZDKToastView that may be showing. - */ -- (void) layoutContent; - - -#pragma mark offsets - - -/** - * Top offset for IOS7+ transparent status and nav bars - */ -- (CGFloat) topViewOffset; - - -/** - * Bottom offset for IOS7+ transparent toolbars - */ -- (CGFloat) bottomViewOffset; - - -#pragma mark - view controller utils - - -/** - * Gets the active SDK view controller. - * - * @since 1.2.0.1 - * - * @return The current SDK view controller. - */ -+ (ZDKUIViewController *) activeController; - - -/** - * Get the top view controller from the app window. - * - * @return the top view controller for the app. - */ -+ (UIViewController*) topViewController; - - -/** - * Get the top view controller from root controller provided. - * - * @param rootViewController root view controller from which to start looking - * @return the top view controller - */ -+ (UIViewController*) topViewControllerWithRootViewController:(UIViewController*)rootViewController; - - -/** - * Present the view controller. If the current top view controller - * is or has a navigation controller then the view will be pushed on - * to that controller, otherwise a new navigation controller will be - * pushed (vertical transition). - */ -+ (void) presentViewController:(UIViewController*)viewController requiresNavController:(BOOL)requiresNav; - - -@end - diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZendeskSDK.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZendeskSDK.h deleted file mode 100644 index 791efe83..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZendeskSDK.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * - * ZendeskSDK.h - * ZendeskSDK - * - * Created by Zendesk on 10/25/2017 - * - * Copyright (c) 2017 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -#ifndef ZendeskSDK_h -#define ZendeskSDK_h - - -#import "ZDKArticleView.h" -#import "ZDKArticleViewController.h" -#import "ZDKAttachmentCollectionViewCell.h" -#import "ZDKAttachmentView.h" -#import "ZDKAttachmentViewDataSource.h" -#import "ZDKCommentInputView.h" -#import "ZDKCommentInputViewController.h" -#import "ZDKCommentsTableViewController.h" -#import "ZDKCommentsTableViewDataSource.h" -#import "ZDKCommentsTableViewDelegate.h" -#import "ZDKCommentsViewController.h" -#import "ZDKCreateRequestUIDelegate.h" -#import "ZDKCreateRequestView.h" -#import "ZDKCreateRequestViewController.h" -#import "ZDKHelpCenter.h" -#import "ZDKHelpCenterAttachmentsDataSource.h" -#import "ZDKHelpCenterDataSource.h" -#import "ZDKHelpCenterErrorCodes.h" -#import "ZDKHelpCenterOverviewController.h" -#import "ZDKImageViewerViewController.h" -#import "ZDKPushUtil.h" -#import "ZDKRequestCommentAttachmentLoadingTableCell.h" -#import "ZDKRequestCommentTableCell.h" -#import "ZDKRequestListTable.h" -#import "ZDKRequestListTableCell.h" -#import "ZDKRequestListViewController.h" -#import "ZDKRequests.h" -#import "ZDKRotationForwarding.h" -#import "ZDKSpinnerDelegate.h" -#import "ZDKSupportAttachmentCell.h" -#import "ZDKTheme.h" -#import "ZDKToast.h" -#import "ZDKToastStyle.h" -#import "ZDKToastView.h" -#import "ZDKUIActivityView.h" -#import "ZDKUIImageScrollView.h" -#import "ZDKUILoadingView.h" -#import "ZDKUITextViewDelegate.h" -#import "ZDKUIUtil.h" -#import "ZDKUIViewController.h" -#import "Zendesk.h" - -#if MODULES_DISABLED -#import -#else -@import ZendeskProviderSDK; -#endif - -#endif diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Info.plist b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Info.plist deleted file mode 100644 index 67d121de..00000000 Binary files a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Info.plist and /dev/null differ diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Modules/module.modulemap b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Modules/module.modulemap deleted file mode 100644 index 871d925e..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Modules/module.modulemap +++ /dev/null @@ -1,12 +0,0 @@ -framework module ZendeskSDK { - umbrella header "ZendeskSDK.h" - - export * - module * { export * } - - link framework "CoreFoundation" - link framework "Security" - link framework "SystemConfiguration" - link framework "MobileCoreServices" - link framework "MessageUI" -} diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/PrivateHeaders/ZDKAlertAction.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/PrivateHeaders/ZDKAlertAction.h deleted file mode 100644 index cfd051fd..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/PrivateHeaders/ZDKAlertAction.h +++ /dev/null @@ -1,101 +0,0 @@ -/* - * - * ZDKAlertAction.h - * ZendeskSDK - * - * Created by Zendesk on 09/11/2015. - * - * Copyright © 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ZDKAlertAction; - -/** - * Style enum for alert actions. - * - * @since 1.5.0.1 - */ -typedef NS_ENUM(NSInteger, ZDKAlertActionStyle){ - /** - * The default UI stlye for an alert action. - * - * @since 1.5.0.1 - */ - ZDKAlertActionStyleDefault = 0, - /** - * Cancel UI stlye for an alert action. - * - * @since 1.5.0.1 - */ - ZDKAlertActionStyleCancel, - /** - * Destructive UI stlye for an alert action. Red text.' - * - * @since 1.5.0.1 - */ - ZDKAlertActionStyleDestructive -}; - -/** - * Block typedef for alert action handlers. - * - * @param action the alert which the handler belongs to. - * - * @since 1.5.0.1 - */ -typedef void (^ZDKAlertActionHandler)(ZDKAlertAction *action); - -/** - * ZDKAlertAction mimics UIAlertAction containing logic for a single alert action and how that action should look. - * - * @since 1.5.0.1 - */ -@interface ZDKAlertAction : NSObject - -/** - * The title for this aciton. - * - * @since 1.5.0.1 - */ -@property (nullable, nonatomic, copy, readonly) NSString *title; - -/** - * The style for this action. - * - * @since 1.5.0.1 - */ -@property (nonatomic, assign, readonly) ZDKAlertActionStyle style; - -/** - * Handler which will be called when the action is chosen. - * - * @since 1.5.0.1 - */ -@property (nullable, nonatomic, copy, readonly) ZDKAlertActionHandler handler; - -/** - * Creates a new ZDKAlertAction with the given paramenters. - * - * @param title The title for this action. - * @param style The style for this action. - * @param handler A handler to which is called when this action is chosen. - * - * @return A new ZDKAlertAction - * - * @since 1.5.0.1 - */ -+ (instancetype)actionWithTitle:(nullable NSString *)title style:(ZDKAlertActionStyle)style handler:(ZDKAlertActionHandler __nullable)handler; - -@end - -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/PrivateHeaders/ZDKAlertController.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/PrivateHeaders/ZDKAlertController.h deleted file mode 100644 index 6d954414..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/PrivateHeaders/ZDKAlertController.h +++ /dev/null @@ -1,134 +0,0 @@ -/* - * - * ZDKAlertController.h - * ZendeskSDK - * - * Created by Zendesk on 09/11/2015. - * - * Copyright © 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -#import "ZDKAlertAction.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - * The style of the alert UI when presented. - * - * @since 1.5.0.1 - */ -typedef NS_ENUM(NSInteger, ZDKAlertControllerStyle){ - /** - * Action sheet style UI. - * - * @since 1.5.0.1 - */ - ZDKAlertControllerStyleActionSheet = 0, - /** - * Alert style UI. - * - * @since 1.5.0.1 - */ - ZDKAlertControllerStyleAlert -}; - -/** - * Presents an alert or action sheet. Manages the diferences in how action sheets are presented on older and newer iOS versions. - * - * @since 1.5.0.1 - */ -@interface ZDKAlertController : NSObject - -/** - * The title for the alert where applicable. - * - * @since 1.5.0.1 - */ -@property (nullable, nonatomic, copy) NSString *title; - -/** - * Messages for the alert where applicable. - * - * @since 1.5.0.1 - */ -@property (nullable, nonatomic, copy) NSString *message; - -/** - * Style for the alert. - * - * @since 1.5.0.1 - */ -@property (nonatomic, assign, readonly) ZDKAlertControllerStyle preferredStyle; - -/** - * Array of actions for the alert. - * - * @since 1.5.0.1 - */ -@property (nonatomic, copy, readonly) NSArray *actions; - -/** - * Creates an alert controller with the parameters provided. - * - * @param title title for the alert. - * @param message message for the alert. - * @param preferredStyle style for the alert. - * - * @return A new ZDKAlert - * - * @since 1.5.0.1 - */ -+ (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(ZDKAlertControllerStyle)preferredStyle; - -/** - * Adds an action to the alert controller. - * - * @param action A ZDKAlertAction. - * - * @since 1.5.0.1 - */ -- (void)addAction:(ZDKAlertAction *)action; - -/** - * Presents with the view controller and the assigned ZDKAlertControllerStyle. - * - * @param viewController the view controller which will present the alert. - * - * @since 1.5.0.1 - */ -- (void)presentWithViewController:(UIViewController *)viewController; - -/** - * Presents with the view controller and the assigned ZDKAlertControllerStyle within a - * view for backwards compatability with action sheets. - * - * @param viewController the view controller which will present the alert. - * @param view a view to show the action sheet from in older iOS versions. - * - * @since 1.5.0.1 - */ -- (void)presentWithViewController:(UIViewController *)viewController inView:(UIView *)view; - -/** - * Presents with the view controller and the assigned ZDKAlertControllerStyle within a frame in a - * view for backwards compatability with action sheets. - * - * @param viewController the view controller which will present the alert. - * @param view a view to show the action sheet from in older iOS versions. - * @param fromView the view from which an action sheet will be displayed for newer iOS - * - * @since 1.5.0.1 - */ -- (void)presentWithViewController:(UIViewController *)viewController inView:(UIView *)view fromView:(UIView *)fromView; - -@end - -NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/PrivateHeaders/ZDKUITextView.h b/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/PrivateHeaders/ZDKUITextView.h deleted file mode 100644 index 42d052ce..00000000 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/PrivateHeaders/ZDKUITextView.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * - * ZDKUITextView.h - * ZendeskSDK - * - * Created by Zendesk on 28/04/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKUITextViewDelegate.h" - - -/** - * A UITextView with a placeholder that is shown when there is no text in the text - * view. Retains all the functionality of a normal UITextView. Setting the font - * on the text view sets the font on the placeholder. The placeholder text color - * is set with the placeholderTextColor property. - */ -@interface ZDKUITextView : UITextView - - -/** - * The placeholder text that is shown when there is no text in the text view. - */ -@property (nonatomic, strong) IBInspectable NSString *placeholderText; - - -/** - * The color of the placeholder that is shown when there is no text in the text view. - */ -@property (nonatomic, strong) IBInspectable UIColor *placeholderTextColor; - - -/** - * Init method for ZDKRMATextView. - * - * @param frame The frame for the text view - * @param placeholderText The text for the placeholder - * @return An initialized ZDKRMATextView object or nil if the object couldn't be created. - * - */ -- (instancetype) initWithFrame:(CGRect)frame andPlaceholder:(NSString*)placeholderText; - - -@end diff --git a/SampleApp/SampleApp/NSData+ZDKSampleApp.h b/SampleApp/SampleApp/NSData+ZDKSampleApp.h deleted file mode 100644 index c2813425..00000000 --- a/SampleApp/SampleApp/NSData+ZDKSampleApp.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * - * NSData+ZDKSampleApp.h - * SampleApp - * - * Created by Zendesk on 19/03/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@interface NSData (ZDKSampleApp) - -- (NSString *) deviceIdentifier; - -@end diff --git a/SampleApp/SampleApp/NSData+ZDKSampleApp.m b/SampleApp/SampleApp/NSData+ZDKSampleApp.m deleted file mode 100644 index 5d02795c..00000000 --- a/SampleApp/SampleApp/NSData+ZDKSampleApp.m +++ /dev/null @@ -1,30 +0,0 @@ -/* - * - * NSData+ZDKSampleApp.m - * SampleApp - * - * Created by Zendesk on 19/03/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import "NSData+ZDKSampleApp.h" - -@implementation NSData (ZDKSampleApp) - -- (NSString *) deviceIdentifier { - - NSMutableString* identifier = [NSMutableString stringWithString:[self.description uppercaseString]]; - [identifier replaceOccurrencesOfString:@"<" withString:@"" options:0 range:NSMakeRange(0, identifier.length)]; - [identifier replaceOccurrencesOfString:@">" withString:@"" options:0 range:NSMakeRange(0, identifier.length)]; - [identifier replaceOccurrencesOfString:@" " withString:@"" options:0 range:NSMakeRange(0, identifier.length)]; - return [identifier copy]; -} - -@end diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/Contents.json b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 72d6a007..00000000 --- a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "3x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "icon29.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "icon58.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "icon87.png", - "scale" : "3x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "icon80.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "icon120.png", - "scale" : "3x" - }, - { - "size" : "57x57", - "idiom" : "iphone", - "filename" : "icon57.png", - "scale" : "1x" - }, - { - "size" : "57x57", - "idiom" : "iphone", - "filename" : "icon114.png", - "scale" : "2x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "icon120-1.png", - "scale" : "2x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "icon180.png", - "scale" : "3x" - }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "icon29-1.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "icon58-1.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "icon40.png", - "scale" : "1x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "icon80-1.png", - "scale" : "2x" - }, - { - "size" : "50x50", - "idiom" : "ipad", - "filename" : "icon50.png", - "scale" : "1x" - }, - { - "size" : "50x50", - "idiom" : "ipad", - "filename" : "icon100.png", - "scale" : "2x" - }, - { - "size" : "72x72", - "idiom" : "ipad", - "filename" : "icon72.png", - "scale" : "1x" - }, - { - "size" : "72x72", - "idiom" : "ipad", - "filename" : "icon144.png", - "scale" : "2x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "icon76.png", - "scale" : "1x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "icon152.png", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "83.5x83.5", - "scale" : "2x" - }, - { - "idiom" : "ios-marketing", - "size" : "1024x1024", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon100.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon100.png deleted file mode 100644 index a15c1c52..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon100.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon114.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon114.png deleted file mode 100644 index 824cdf17..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon114.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon120-1.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon120-1.png deleted file mode 100644 index 895d02ec..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon120-1.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon120.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon120.png deleted file mode 100644 index 895d02ec..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon120.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon144.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon144.png deleted file mode 100644 index 7ea47c5d..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon144.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon152.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon152.png deleted file mode 100644 index 3fc2b914..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon152.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon180.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon180.png deleted file mode 100644 index 7ec4ca65..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon180.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon29-1.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon29-1.png deleted file mode 100644 index 6569b1d6..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon29-1.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon29.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon29.png deleted file mode 100644 index 6569b1d6..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon29.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon40.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon40.png deleted file mode 100644 index cd146b7d..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon40.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon50.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon50.png deleted file mode 100644 index ddec7827..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon50.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon57.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon57.png deleted file mode 100644 index 8e932a70..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon57.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon58-1.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon58-1.png deleted file mode 100644 index 6cc4eddb..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon58-1.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon58.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon58.png deleted file mode 100644 index 6cc4eddb..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon58.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon72.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon72.png deleted file mode 100644 index 7f9ac23a..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon72.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon76.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon76.png deleted file mode 100644 index 57e63490..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon76.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon80-1.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon80-1.png deleted file mode 100644 index 72cde7b9..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon80-1.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon80.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon80.png deleted file mode 100644 index 72cde7b9..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon80.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon87.png b/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon87.png deleted file mode 100644 index 232cb42d..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/AppIcon.appiconset/icon87.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/Contents.json b/SampleApp/SampleApp/Resources/Images.xcassets/Contents.json deleted file mode 100644 index da4a164c..00000000 --- a/SampleApp/SampleApp/Resources/Images.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/logo.imageset/Contents.json b/SampleApp/SampleApp/Resources/Images.xcassets/logo.imageset/Contents.json deleted file mode 100644 index 4165a34a..00000000 --- a/SampleApp/SampleApp/Resources/Images.xcassets/logo.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "log.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/SampleApp/SampleApp/Resources/Images.xcassets/logo.imageset/log.png b/SampleApp/SampleApp/Resources/Images.xcassets/logo.imageset/log.png deleted file mode 100644 index d6d6d45a..00000000 Binary files a/SampleApp/SampleApp/Resources/Images.xcassets/logo.imageset/log.png and /dev/null differ diff --git a/SampleApp/SampleApp/Resources/LaunchScreen.xib b/SampleApp/SampleApp/Resources/LaunchScreen.xib deleted file mode 100644 index 4b09200d..00000000 --- a/SampleApp/SampleApp/Resources/LaunchScreen.xib +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/SampleApp/SampleApp/SampleApp-Info.plist b/SampleApp/SampleApp/SampleApp-Info.plist deleted file mode 100644 index 7aec6e28..00000000 --- a/SampleApp/SampleApp/SampleApp-Info.plist +++ /dev/null @@ -1,63 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - ${PRODUCT_NAME} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIcons - - CFBundleIcons~ipad - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.11.2.1 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - NSCameraUsageDescription - We need camera access in order to allow you to capture images and attach them - NSPhotoLibraryUsageDescription - We need to access your photos in order to attach them - UIBackgroundModes - - fetch - remote-notification - - UILaunchStoryboardName - LaunchScreen - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - UIInterfaceOrientationPortraitUpsideDown - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - - - diff --git a/SampleApp/SampleApp/SampleApp-Prefix.pch b/SampleApp/SampleApp/SampleApp-Prefix.pch deleted file mode 100644 index 84a2aeff..00000000 --- a/SampleApp/SampleApp/SampleApp-Prefix.pch +++ /dev/null @@ -1,21 +0,0 @@ -// -// Prefix header -// -// The contents of this file are implicitly included at the beginning of every source file. -// - -#import - -#ifndef __IPHONE_5_0 -#warning "This project uses features only available in iOS SDK 5.0 and later." -#endif - -#ifdef __OBJC__ - #import - #import - -#ifndef SYSTEM_VERSION_GREATER_THAN_SEVEN -#define SYSTEM_VERSION_GREATER_THAN_SEVEN ([[[UIDevice currentDevice] systemVersion] compare:@"7" options:NSNumericSearch] != NSOrderedAscending) -#endif - -#endif diff --git a/SampleApp/SampleApp/ZDAppDelegate.h b/SampleApp/SampleApp/ZDAppDelegate.h deleted file mode 100644 index b994d964..00000000 --- a/SampleApp/SampleApp/ZDAppDelegate.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ZDAppDelegate.h -// SampleApp -// -// Created by Zendesk on 23/04/2014. -// Copyright (c) 2014 Zendesk. All rights reserved. -// - - -#import - - -@interface ZDAppDelegate : UIResponder - - -@property (strong, nonatomic) UIWindow *window; - - -@end diff --git a/SampleApp/SampleApp/ZDAppDelegate.m b/SampleApp/SampleApp/ZDAppDelegate.m deleted file mode 100644 index 117d4760..00000000 --- a/SampleApp/SampleApp/ZDAppDelegate.m +++ /dev/null @@ -1,302 +0,0 @@ -// -// ZDAppDelegate.m -// SampleApp -// -// Created by Zendesk on 23/04/2014. -// Copyright (c) 2014 Zendesk. All rights reserved. -// - - -#import "NSData+ZDKSampleApp.h" -#import "ZDAppDelegate.h" -#import "ZDSampleViewController.h" -#import - - -@implementation ZDAppDelegate - -- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error -{ - [ZDKLogger e:@"Device failed to register with error: %@\n%@", error, error.localizedDescription]; -} - - -- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken -{ - NSString *identifier = [deviceToken deviceIdentifier]; - - [ZDKLogger d:@"Device registered for remote notifications with identifier: %@", identifier ]; - - [[NSUserDefaults standardUserDefaults] setObject:identifier forKey:APPLE_PUSH_UUID]; -} - - -- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler -{ - NSData *storedConfig = [[NSUserDefaults standardUserDefaults] objectForKey:@"ZDSDKSampleAppDefaultsKey"]; - - if (storedConfig) { - - NSDictionary *config = (NSDictionary *)[NSKeyedUnarchiver unarchiveObjectWithData:storedConfig]; - - if (config) { - - [ZDKPushUtil handlePush:userInfo - forApplication:application - presentationStyle:UIModalPresentationFormSheet - layoutGuide:ZDKLayoutRespectTop - withAppId:config[@"appId"] - zendeskUrl:config[@"url"] - clientId:config[@"clientId"] - fetchCompletionHandler:completionHandler]; - } - } - -} - - -- (BOOL) application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions -{ - [ZDKLogger enable:YES]; - -#if !TARGET_IPHONE_SIMULATOR - - - // Register the app for remote notifications - if ([UIApplication instancesRespondToSelector:@selector(registerForRemoteNotifications)]) { - - UIUserNotificationType types = UIUserNotificationTypeAlert | UIUserNotificationTypeBadge | UIUserNotificationTypeSound; - UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:types categories:nil]; - [application registerUserNotificationSettings:settings]; - [application registerForRemoteNotifications]; - - } else if ([UIApplication instancesRespondToSelector:@selector(registerForRemoteNotificationTypes:)]) { - - UIRemoteNotificationType types = UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound; - [application registerForRemoteNotificationTypes:types]; - } - -#endif - - - ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - // OPTIONAL - you can choose to set tags or additional info at any stage - ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - [ZDKRequests configure:^(ZDKAccount *account, ZDKRequestCreationConfig *requestCreationConfig) { - - // specify any additional tags desired - requestCreationConfig.tags = [NSArray arrayWithObjects:@"tag_one", @"tag_two", nil]; - - // add some custom content to the description - NSString *additionalText = @"Some sample extra content."; - NSString *txt = [NSString stringWithFormat:@"%@%@", [requestCreationConfig contentSeperator], additionalText]; - - requestCreationConfig.additionalRequestInfo = txt; - - //Set the subject of requests created by the user. - requestCreationConfig.subject = @"App Ticket"; - }]; - - - ///////////////////////////////////////////////////////////////////////////////////////////////////// - // Sample app boilerplate - ///////////////////////////////////////////////////////////////////////////////////////////////////// - - self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; - - self.window.backgroundColor = [UIColor colorWithWhite:0.94f alpha:1.0f]; - - // top view controller - ZDSampleViewController *vc = [[ZDSampleViewController alloc] initWithNibName:nil bundle:nil]; - - // nav controller - UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:vc]; - navController.modalTransitionStyle = UIModalTransitionStyleCoverVertical; - - // assign nav controller as root - self.window.rootViewController = navController; - - // make key window - [self.window makeKeyAndVisible]; - - //Add auth to image requests in Help Center. - [NSURLProtocol registerClass:[ZDKAuthenticationURLProtocol class]]; - - if (SYSTEM_VERSION_GREATER_THAN_SEVEN) { - - // status bar - [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; - - // nav bar - NSDictionary *navbarAttributes = [NSDictionary dictionaryWithObjectsAndKeys: - [UIColor whiteColor] ,NSForegroundColorAttributeName, nil]; - [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]]; - [[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:0.4705f green:0.6392f blue:0.0f alpha:1.0f]]; - [[UINavigationBar appearance] setTitleTextAttributes:navbarAttributes]; - } - - - ///////////////////////////////////////////////////////////////////////////////////////////////////// - // OPTIONAL - Customize appearance - ///////////////////////////////////////////////////////////////////////////////////////////////////// - // [self setDarkNeoStyle]; - - - return YES; -} - - -- (void)applicationWillTerminate:(UIApplication *)application -{ - [NSURLProtocol unregisterClass:[ZDKAuthenticationURLProtocol class]]; -} - - -- (void) setDefaultStyle { - - if (SYSTEM_VERSION_GREATER_THAN_SEVEN) { - - // status bar - [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; - - // nav bar - NSDictionary *navbarAttributes = [NSDictionary dictionaryWithObjectsAndKeys: - [UIColor whiteColor] ,NSForegroundColorAttributeName, nil]; - [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]]; - [[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:0.4705f green:0.6392f blue:0.0f alpha:1.0f]]; - [[UINavigationBar appearance] setTitleTextAttributes:navbarAttributes]; - } - - ZDKTheme *theme = [ZDKTheme baseTheme]; - - theme.primaryTextColor = [UIColor colorWithWhite:0.2627f alpha:1.0f]; - theme.secondaryTextColor = [UIColor colorWithWhite:0.45f alpha:1.0f]; - theme.primaryBackgroundColor = [UIColor colorWithWhite:1.0f alpha:1.0f]; - theme.secondaryBackgroundColor = [UIColor colorWithWhite:0.976f alpha:1.0f]; - theme.emptyBackgroundColor = [UIColor colorWithWhite:0.945f alpha:1.0f]; - theme.metaTextColor = [UIColor colorWithWhite:0.721f alpha:1.0f]; - theme.separatorColor = [UIColor colorWithWhite:0.9f alpha:1.0f]; - theme.inputFieldBackgroundColor = [UIColor colorWithWhite:0.945f alpha:1.0f]; - theme.inputFieldTextColor = [UIColor colorWithWhite:0.4 alpha:1.0f]; - - [theme apply]; -} - - -- (void) setDarkStyle { - //RTE player - if (SYSTEM_VERSION_GREATER_THAN_SEVEN) { - - // status bar - [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; - - // nav bar - NSDictionary *navbarAttributes = [NSDictionary dictionaryWithObjectsAndKeys: - [UIColor whiteColor] ,NSForegroundColorAttributeName, nil]; - [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]]; - [[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:22.0f/255.0f green:21.0f/255.0f blue:19.0f/255.0f alpha:1.0f]]; - [[UINavigationBar appearance] setTitleTextAttributes:navbarAttributes]; - } - - ZDKTheme *theme = [ZDKTheme baseTheme]; - - theme.primaryTextColor = [UIColor colorWithRed:252.0f/255.0f green:204.0f/255.0f blue:1.0f/255.0f alpha:1.0f]; - theme.secondaryTextColor = [UIColor colorWithRed:254.0f/255.0f green:254.0f/255.0f blue:254.0f/255.0f alpha:1.0f]; - theme.primaryBackgroundColor = [UIColor colorWithRed:30.0f/255.0f green:29.0f/255.0f blue:29.0f/255.0f alpha:1.0f]; - theme.secondaryBackgroundColor = [UIColor colorWithRed:22.0f/255.0f green:21.0f/255.0f blue:19.0f/255.0f alpha:1.0f]; - theme.emptyBackgroundColor = [UIColor colorWithRed:30.0f/255.0f green:29.0f/255.0f blue:29.0f/255.0f alpha:1.0f]; - theme.metaTextColor = [UIColor colorWithRed:130.0f/255.0f green:130.0f/255.0f blue:130.0f/255.0f alpha:1.0f]; - theme.separatorColor = [UIColor colorWithRed:58.0f/255.0f green:56.0f/255.0f blue:57.0f/255.0f alpha:1.0f]; - theme.inputFieldTextColor = [UIColor colorWithRed:254.0f/255.0f green:254.0f/255.0f blue:254.0f/255.0f alpha:1.0f]; - theme.inputFieldBackgroundColor = [UIColor colorWithRed:30.0f/255.0f green:28.0f/255.0f blue:29.0f/255.0f alpha:1.0f]; - - [theme apply]; -} - - -- (void) setLightStyle { - //Deezer - if (SYSTEM_VERSION_GREATER_THAN_SEVEN) { - - // status bar - [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; - - // nav bar - NSDictionary *navbarAttributes = [NSDictionary dictionaryWithObjectsAndKeys: - [UIColor whiteColor] ,NSForegroundColorAttributeName, nil]; - [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]]; - [[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:50.0f/255.0f green:50.0f/255.0f blue:61.0f/255.0f alpha:1.0f]]; - - - [[UINavigationBar appearance] setTitleTextAttributes:navbarAttributes]; - } - - ZDKTheme *theme = [ZDKTheme baseTheme]; - - theme.primaryTextColor = [UIColor colorWithRed:34.0f/255.0f green:34.0f/255.0f blue:48.0f/255.0f alpha:1.0f]; - theme.secondaryTextColor = [UIColor colorWithRed:47.0f/255.0f green:46.0f/255.0f blue:63.0f/255.0f alpha:1.0f]; - theme.primaryBackgroundColor = [UIColor colorWithRed:248.0f/255.0f green:248.0f/255.0f blue:249.0f/255.0f alpha:1.0f]; - theme.secondaryBackgroundColor = [UIColor colorWithRed:255.0f/255.0f green:255.0f/255.0f blue:255.0f/255.0f alpha:1.0f]; - theme.emptyBackgroundColor = [UIColor colorWithRed:248.0f/255.0f green:248.0f/255.0f blue:249.0f/255.0f alpha:1.0f]; - theme.metaTextColor = [UIColor colorWithRed:139.0f/255.0f green:139.0f/255.0f blue:150.0f/255.0f alpha:1.0f]; - theme.separatorColor = [UIColor colorWithRed:237.0f/255.0f green:237.0f/255.0f blue:241.0f/255.0f alpha:1.0f]; - theme.inputFieldTextColor = [UIColor colorWithRed:47.0f/255.0f green:46.0f/255.0f blue:63.0f/255.0f alpha:1.0f]; - theme.inputFieldBackgroundColor = [UIColor colorWithRed:255.0f/255.0f green:255.0f/255.0f blue:255.0f/255.0f alpha:1.0f]; - - [theme apply]; -} - - -- (void) setDarkNeoStyle { - //inVision - NSString * fontName = @"AppleSDGothicNeo-Light"; - NSString * secondaryFontName = @"AppleSDGothicNeo-Bold"; - - if (SYSTEM_VERSION_GREATER_THAN_SEVEN) { - - // status bar - [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; - - [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]]; - [[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:37.0f/255.0f green:43.0f/255.0f blue:51.0f/255.0f alpha:1.0f]]; - //[[UINavigationBar appearance] setBackgroundColor:[UIColor colorWithRed:1 green:0 blue:0 alpha:1]]; - [[UINavigationBar appearance] setTitleTextAttributes: - [NSDictionary dictionaryWithObjectsAndKeys: - [UIColor whiteColor], NSForegroundColorAttributeName, - [UIFont fontWithName:fontName size:16.0], NSFontAttributeName,nil]]; - -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wdeprecated-declarations" - [[UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], nil] setTitleTextAttributes: - @{UITextAttributeTextColor:[UIColor whiteColor], - UITextAttributeTextShadowOffset:[NSValue valueWithUIOffset:UIOffsetMake(0, 1)], - UITextAttributeTextShadowColor:[UIColor blackColor], - UITextAttributeFont:[UIFont fontWithName:fontName size:16.0] - }forState:UIControlStateNormal]; - -#pragma clang diagnostic pop - - - - } - - ZDKTheme *theme = [ZDKTheme baseTheme]; - - theme.primaryTextColor = [UIColor colorWithRed:255.0f/255.0f green:255.0f/255.0f blue:255.0f/255.0f alpha:1.0f]; - theme.secondaryTextColor = [UIColor colorWithRed:126.0f/255.0f green:132.0f/255.0f blue:143.0f/255.0f alpha:1.0f]; - theme.primaryBackgroundColor = [UIColor colorWithRed:27.0f/255.0f green:29.0f/255.0f blue:35.0f/255.0f alpha:1.0f]; - theme.secondaryBackgroundColor = [UIColor colorWithRed:31.0f/255.0f green:34.0f/255.0f blue:39.0f/255.0f alpha:1.0f]; - theme.emptyBackgroundColor = [UIColor colorWithRed:27.0f/255.0f green:29.0f/255.0f blue:35.0f/255.0f alpha:1.0f]; - theme.metaTextColor = [UIColor colorWithRed:126.0f/255.0f green:132.0f/255.0f blue:143.0f/255.0f alpha:1.0f]; - theme.separatorColor = [UIColor colorWithRed:105.0f/255.0f green:110.0f/255.0f blue:120.0f/255.0f alpha:1.0f]; - theme.inputFieldTextColor = [UIColor colorWithRed:255.0f/255.0f green:255.0f/255.0f blue:255.0f/255.0f alpha:1.0f]; - theme.inputFieldBackgroundColor = [UIColor colorWithRed:37.0f/255.0f green:43.0f/255.0f blue:51.0f/255.0f alpha:1.0f]; - - theme.fontName = fontName; - theme.boldFontName = secondaryFontName; - - [theme apply]; -} - -@end diff --git a/SampleApp/SampleApp/ZDSampleAppConfigurationViewController.h b/SampleApp/SampleApp/ZDSampleAppConfigurationViewController.h deleted file mode 100644 index 703974f7..00000000 --- a/SampleApp/SampleApp/ZDSampleAppConfigurationViewController.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ZDSampleAppConfigurationViewController.h -// SampleApp -// -// Created by Zendesk on 11/10/2014. -// Copyright (c) 2014 Zendesk. All rights reserved. -// - -#import -#import -#import "ZDSampleAppScanViewController.h" - -@protocol ZDAppConfigurationDelegate - -- (void) configuration:(NSString *) url withAppId:(NSString *) appId andClientId:(NSString *) clientId; - -@end - -@interface ZDSampleAppConfigurationViewController : ZDKUIViewController - -@property (nonatomic, strong) id delegate; - -@end diff --git a/SampleApp/SampleApp/ZDSampleAppConfigurationViewController.m b/SampleApp/SampleApp/ZDSampleAppConfigurationViewController.m deleted file mode 100644 index 09239963..00000000 --- a/SampleApp/SampleApp/ZDSampleAppConfigurationViewController.m +++ /dev/null @@ -1,514 +0,0 @@ -// -// ZDSampleAppConfigurationViewController.m -// SampleApp -// -// Created by Zendesk on 11/10/2014. -// Copyright (c) 2014 Zendesk. All rights reserved. -// - -#import "ZDSampleAppConfigurationViewController.h" - -#import "ZDSampleViewController.h" - -typedef NS_ENUM(NSUInteger, ZDSDKAuth) { - ZDSDKAuthJwt, - ZDSDKAuthAnonymous, -}; - -static NSString * const ZDSDKSampleAppDefaultsKey = @"ZDSDKSampleAppDefaultsKey"; -static CGFloat const ZDSDKPadding = 15.f; - -static NSString * const QR_URL_START = @"zdimport://importsettings?"; -static NSString * const QR_OAUTH_CLIENT_ID = @"oauth_client_id"; -static NSString * const QR_ZENDESK_URL = @"zendesk_url"; -static NSString * const QR_APPLICATION_ID = @"application_id"; -static NSString * const QR_AUTH_TYPE = @"authentication_type"; -static NSString * const QR_JWT_USER_ID = @"jwt_user_identifier"; -static NSString * const QR_ANON_NAME = @"anonymous_name"; -static NSString * const QR_ANON_EMAIL = @"anonymous_email"; -static NSString * const QR_ANON_EXTERNL_ID = @"anonymous_external_id"; - - -@interface ZDSampleAppConfigurationViewController () - -@property (nonatomic, strong) UILabel *urlDescription; -@property (nonatomic, strong) UILabel *authenticationOption; -@property (nonatomic, strong) UISegmentedControl *authenticationType; -@property (nonatomic, strong) UITextField *urlEntry; -@property (nonatomic, strong) UITextField *appIdEntry; -@property (nonatomic, strong) UITextField *clientIdEntry; -@property (nonatomic, strong) UITextField *userIdentifierEntry; -@property (nonatomic, strong) UITextField *nameEntry; -@property (nonatomic, strong) UITextField *emailEntry; - -@property (nonatomic, strong) UIButton *qrCodeButton; - -@property (nonatomic, strong) UIScrollView *scrollView; -@property (nonatomic, strong) UIView *scrollViewContent; - -- (void) saveSettings:(NSDictionary *) settings; - -@end - - - -@implementation ZDSampleAppConfigurationViewController - -@synthesize delegate; -@synthesize authenticationType; -@synthesize urlDescription, authenticationOption; -@synthesize urlEntry, appIdEntry, clientIdEntry, userIdentifierEntry, nameEntry, emailEntry; -@synthesize scrollView, qrCodeButton; - - -- (void)viewDidLoad -{ - [super viewDidLoad]; - - self.scrollView = [[UIScrollView alloc] initWithFrame:self.view.frame]; - self.scrollViewContent = [[UIView alloc] initWithFrame:self.view.frame]; - - [self.contentView addSubview:self.scrollView]; - [self.scrollView addSubview:self.scrollViewContent]; - self.scrollView.translatesAutoresizingMaskIntoConstraints = NO; - -#ifdef __IPHONE_11_0 - if (@available(iOS 11.0, *)) { // only available in Xcode 9 - self.scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentAlways; - } -#endif - - [self.scrollView setContentSize:CGSizeMake(self.view.frame.size.width, self.view.frame.size.height)]; - - // Do any additional setup after loading the view. - self.title = @"SDK Sample Setup"; - - //Set the done button up - UIBarButtonItem *doneButton = [[UIBarButtonItem alloc] initWithTitle:@"Done" - style:UIBarButtonItemStyleDone - target:self - action:@selector(doneButtonPressed)]; - self.navigationItem.rightBarButtonItem = doneButton; - - //Set the done button up - UIBarButtonItem *clearButton = [[UIBarButtonItem alloc] initWithTitle:@"Clear" - style:UIBarButtonItemStyleDone - target:self - action:@selector(clearButtonPressed)]; - self.navigationItem.leftBarButtonItem = clearButton; - - //Setup the entry elements - - // Url entry - urlDescription = [self buildLableWithText:@"Enter your Zendesk URL like \'mysubdomain\' or an ip address like: \'http://192.168.1.10:80\'"]; - urlDescription.translatesAutoresizingMaskIntoConstraints = NO; - urlDescription.preferredMaxLayoutWidth = CGRectGetWidth(self.view.frame) - ZDSDKPadding * 2; - [self.scrollViewContent addSubview:urlDescription]; - - urlEntry = [self buildTextFieldWithPlaceholder:@"URL to Zendesk" - keyboardType:UIKeyboardTypeURL - returnKey:UIReturnKeyNext - andTag:1]; - [urlEntry setAccessibilityIdentifier:@"urlEntryField"]; - - [self.scrollViewContent addSubview:urlEntry]; - - // App ID entry - appIdEntry = [self buildTextFieldWithPlaceholder:@"Application ID" - keyboardType:UIKeyboardTypeAlphabet - returnKey:UIReturnKeyNext - andTag:2]; - [appIdEntry setAccessibilityIdentifier:@"appIdEntryField"]; - - [self.scrollViewContent addSubview:appIdEntry]; - - // Client ID entry - clientIdEntry = [self buildTextFieldWithPlaceholder:@"Client ID" - keyboardType:UIKeyboardTypeAlphabet - returnKey:UIReturnKeyNext - andTag:3]; - [clientIdEntry setAccessibilityIdentifier:@"clientIdEntryField"]; - - [self.scrollViewContent addSubview:clientIdEntry]; - - // Url entry - authenticationOption = [self buildLableWithText:@"Select authentication type"]; - authenticationOption.translatesAutoresizingMaskIntoConstraints = NO; - authenticationOption.preferredMaxLayoutWidth = CGRectGetWidth(self.view.frame) - ZDSDKPadding * 2; - [self.scrollViewContent addSubview:authenticationOption]; - - // Authentication switch - authenticationType = [[UISegmentedControl alloc] initWithItems:@[@"JWT",@"Anonymous"]]; - authenticationType.translatesAutoresizingMaskIntoConstraints = NO; - authenticationType.selectedSegmentIndex = 1; - authenticationType.tintColor = [UIColor colorWithRed:0.4705f green:0.6392f blue:0.0f alpha:1.0f]; - - [authenticationType addTarget:self action:@selector(authTypeChanged:) forControlEvents: UIControlEventValueChanged]; - - [authenticationType setAccessibilityIdentifier:@"authenticationType"]; - [self.scrollViewContent addSubview:authenticationType]; - - - // JWT authentication user identifier - userIdentifierEntry = [self buildTextFieldWithPlaceholder:@"JWT user identifier" - keyboardType:UIKeyboardTypeAlphabet - returnKey:UIReturnKeyDone - andTag:4]; - [userIdentifierEntry setAccessibilityIdentifier:@"jwtUserIdField"]; - - userIdentifierEntry.hidden = YES; - - [self.scrollViewContent addSubview:userIdentifierEntry]; - - // Anonymous authentication name - nameEntry = [self buildTextFieldWithPlaceholder:@"Name (optional)" - keyboardType:UIKeyboardTypeAlphabet - returnKey:UIReturnKeyNext - andTag:INT16_MAX]; - [nameEntry setAccessibilityIdentifier:@"anonymousUserNameField"]; - nameEntry.hidden = NO; - - [self.scrollViewContent addSubview:nameEntry]; - - // Anonymous authentication email - emailEntry = [self buildTextFieldWithPlaceholder:@"Email (optional)" - keyboardType:UIKeyboardTypeAlphabet - returnKey:UIReturnKeyNext - andTag:5]; - [emailEntry setAccessibilityIdentifier:@"anonymousEmailField"]; - emailEntry.hidden = NO; - - [self.scrollViewContent addSubview:emailEntry]; - - qrCodeButton = [ZDSampleViewController buildButtonWithFrame:CGRectZero andTitle:@"QR Code"]; - [qrCodeButton setAccessibilityIdentifier:@"QRCodeButton"]; - qrCodeButton.hidden = NO; - qrCodeButton.translatesAutoresizingMaskIntoConstraints = NO; - [qrCodeButton addTarget:self action:@selector(qrButtonAction) forControlEvents:UIControlEventTouchUpInside]; - - [self.scrollViewContent addSubview:qrCodeButton]; - - [self setupConstraints]; - - - NSData *storedConfig = [[NSUserDefaults standardUserDefaults] objectForKey:ZDSDKSampleAppDefaultsKey]; - - if (storedConfig) { - - NSDictionary *config = (NSDictionary *)[NSKeyedUnarchiver unarchiveObjectWithData:storedConfig]; - if (config) { - - urlEntry.text = (NSString *)config[@"url"]; - appIdEntry.text = (NSString *)config[@"appId"]; - clientIdEntry.text = (NSString *)config[@"clientId"]; - userIdentifierEntry.text = (NSString *)config[@"userId"]; - nameEntry.text = (NSString *)config[@"name"]; - emailEntry.text = (NSString *)config[@"email"]; - authenticationType.selectedSegmentIndex = [config[@"authType"] integerValue]; - [self authTypeChanged:authenticationType]; - } - } else { - [urlEntry becomeFirstResponder]; - } - - [self registerForKeyboardNotifications]; -} - -- (void) dealloc -{ - [[NSNotificationCenter defaultCenter] removeObserver:self]; -} - - -- (void) setupConstraints -{ - //auto layout for scroll view - NSDictionary *views = NSDictionaryOfVariableBindings(scrollView); - [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[scrollView]|" options:0 metrics: 0 views:views]]; - [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[scrollView]|" options:0 metrics: 0 views:views]]; - - // auto layout for controls - views = NSDictionaryOfVariableBindings(urlEntry, - urlDescription, - appIdEntry, - clientIdEntry, - authenticationOption, - authenticationType, - userIdentifierEntry, - nameEntry, - emailEntry, qrCodeButton); - - NSDictionary *metrics = @{@"padding":@(ZDSDKPadding), @"height":@(ZDSDKPadding * 2)}; - - - [self.scrollViewContent addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|-padding-[qrCodeButton]-padding-|" - options:NSLayoutFormatAlignmentMask - metrics:metrics - views:views]]; - - - [self.scrollViewContent addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|-[qrCodeButton(<=90)]-[urlDescription(<=90)]-padding-[urlEntry(height)]-padding-[appIdEntry(height)]-padding-[clientIdEntry(height)]-padding-[authenticationOption(<=90)]-padding-[authenticationType(height)]" - options:NSLayoutFormatAlignAllLeft | NSLayoutFormatAlignAllRight - metrics:metrics - views:views]]; - - [self.scrollViewContent addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:[authenticationType(height)]-padding-[userIdentifierEntry(height)]" - options:NSLayoutFormatAlignAllLeft | NSLayoutFormatAlignAllRight - metrics:metrics - views:views]]; - - [self.scrollViewContent addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:[authenticationType(height)]-padding-[nameEntry(height)]-padding-[emailEntry(height)]" - options:NSLayoutFormatAlignAllLeft | NSLayoutFormatAlignAllRight - metrics:metrics - views:views]]; -} - - -#pragma mark - Button Actions - - -- (void) clearButtonPressed { - [[NSUserDefaults standardUserDefaults] removeObjectForKey:ZDSDKSampleAppDefaultsKey]; - [[NSUserDefaults standardUserDefaults] synchronize]; - - urlEntry.text = @""; - appIdEntry.text = @""; - clientIdEntry.text = @""; - userIdentifierEntry.text = @""; - nameEntry.text = @""; - emailEntry.text = @""; -} - - -- (void) doneButtonPressed -{ - - NSMutableDictionary *valuesToSave = [[NSMutableDictionary alloc] initWithCapacity:4]; - [valuesToSave setObject:urlEntry.text ? urlEntry.text : @"" forKey:@"url"]; - [valuesToSave setObject:appIdEntry.text ? appIdEntry.text : @"" forKey:@"appId"]; - [valuesToSave setObject:clientIdEntry.text ? clientIdEntry.text : @"" forKey:@"clientId"]; - [valuesToSave setObject:userIdentifierEntry.text ? userIdentifierEntry.text : @"" forKey:@"userId"]; - [valuesToSave setObject:nameEntry.text ? nameEntry.text : @"" forKey:@"name"]; - [valuesToSave setObject:emailEntry.text ? emailEntry.text : @"" forKey:@"email"]; - [valuesToSave setObject:@(authenticationType.selectedSegmentIndex) forKey:@"authType"]; - - - [self saveSettings:valuesToSave]; - - if (delegate) { - - if (authenticationType.selectedSegmentIndex == ZDSDKAuthJwt) { - - [ZDKConfig instance].userIdentity = [[ZDKJwtIdentity alloc] initWithJwtUserIdentifier:userIdentifierEntry.text]; - - } else { - - ZDKAnonymousIdentity *identity = [ZDKAnonymousIdentity new]; - - identity.name = nameEntry.text; - identity.email = emailEntry.text; - - [ZDKConfig instance].userIdentity = identity; - - } - - [delegate configuration:urlEntry.text withAppId:appIdEntry.text andClientId:clientIdEntry.text]; - } - - [self dismissViewControllerAnimated:YES completion:nil]; -} - - -- (void) saveSettings:(NSDictionary *)config -{ - if (config) { - - [[NSUserDefaults standardUserDefaults] setObject:[NSKeyedArchiver archivedDataWithRootObject:config] - forKey:ZDSDKSampleAppDefaultsKey]; - [[NSUserDefaults standardUserDefaults] synchronize]; - - } -} - - -#pragma mark - Authentication switch - - -- (void) authTypeChanged:(UISegmentedControl *)segment -{ - - if (segment.selectedSegmentIndex == ZDSDKAuthJwt) { - - userIdentifierEntry.hidden = NO; - userIdentifierEntry.tag = 4; - nameEntry.hidden = YES; - nameEntry.tag = INT16_MAX; - emailEntry.hidden = YES; - - } else { - - nameEntry.hidden = NO; - nameEntry.tag = 4; - emailEntry.hidden = NO; - userIdentifierEntry.hidden = YES; - userIdentifierEntry.tag = INT16_MAX; - } -} - - -#pragma mark - Text Field Delegate - - -- (BOOL)textFieldShouldReturn:(UITextField *)textField -{ - - NSInteger nextTag = textField.tag + 1; - // Try to find next responder - UIResponder* nextResponder = [textField.superview viewWithTag:nextTag]; - if (nextResponder) { - // Found next responder, so set it. - [nextResponder becomeFirstResponder]; - } - - if (textField.returnKeyType == UIReturnKeyDone) { - [textField resignFirstResponder]; - [self doneButtonPressed]; - } - - return NO; - -} - - -#pragma mark - Util - - -- (void)keyboardWillBeShown:(NSNotification*)aNotification -{ - [super keyboardWillBeShown:aNotification]; - - CGFloat margin = ZDSDKPadding + authenticationType.frame.size.height + - ZDSDKPadding + nameEntry.frame.size.height + - ZDSDKPadding + emailEntry.frame.size.height + ZDSDKPadding; - - [self.scrollView setContentSize:CGSizeMake(self.view.frame.size.width, self.view.frame.size.height + margin)]; -} - -- (void)keyboardWillBeHidden:(NSNotification*)aNotification -{ - [self.scrollView setContentSize:CGSizeMake(self.view.frame.size.width, self.view.frame.size.height)]; -} - - -- (UITextField *) buildTextFieldWithPlaceholder:(NSString *)placeholder - keyboardType:(UIKeyboardType)keyboard - returnKey:(UIReturnKeyType)key - andTag:(NSInteger)tag -{ - - UITextField *textField = [[UITextField alloc] initWithFrame:CGRectZero]; - textField.keyboardType = keyboard; - textField.font = [UIFont systemFontOfSize:14]; - textField.returnKeyType = key; - textField.tag = tag; - textField.placeholder = placeholder; - textField.delegate = self; - textField.autocapitalizationType = UITextAutocapitalizationTypeNone; - textField.autocorrectionType = UITextAutocorrectionTypeNo; - textField.translatesAutoresizingMaskIntoConstraints = NO; - - - [self applyBackgroundStyling:textField]; - [self addPaddingToTextField:textField]; - - return textField; -} - - -- (UILabel *) buildLableWithText:(NSString *)text -{ - UILabel *label = [[UILabel alloc] initWithFrame:CGRectZero]; - label.lineBreakMode = NSLineBreakByWordWrapping; - label.font = [UIFont systemFontOfSize:14]; - label.numberOfLines = 0; - label.text = text; - - return label; -} - - -- (void) applyBackgroundStyling: (UIView *) view -{ - view.backgroundColor = [UIColor whiteColor]; - view.layer.borderColor = [UIColor colorWithWhite:0.8470f alpha:1.0f].CGColor; - view.layer.borderWidth = 1.0f; - view.layer.cornerRadius = 4.0f; -} - - -- (void) addPaddingToTextField: (UITextField *) textField -{ - UIView *paddingView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 5, 20)]; - - textField.leftView = paddingView; - textField.leftViewMode = UITextFieldViewModeAlways; -} - -#pragma mark - QR code scanner - -- (void) qrButtonAction -{ - ZDSampleAppScanViewController * scanner = [[ZDSampleAppScanViewController alloc] init]; - scanner.delegate = self; - [self presentViewController:scanner animated:YES completion:nil]; -} - -- (void) didScan:(NSString *)result -{ - - NSMutableDictionary *urlDictionary = [[NSMutableDictionary alloc] init]; - //This will blow up if qr code changes. - result = [result componentsSeparatedByString:QR_URL_START][1]; - NSArray *urlComponents = [result componentsSeparatedByString:@"&"]; - - - for (NSString *keyValuePair in urlComponents) - { - NSArray *pairComponents = [keyValuePair componentsSeparatedByString:@"="]; - NSString *key = [[pairComponents firstObject] stringByRemovingPercentEncoding]; - NSString *value = [[pairComponents lastObject] stringByRemovingPercentEncoding]; - value = [value stringByRemovingPercentEncoding]; - - [urlDictionary setObject:value forKey:key]; - } - - [self clearButtonPressed]; - - urlEntry.text = [urlDictionary objectForKey:QR_ZENDESK_URL]; - appIdEntry.text = [urlDictionary objectForKey:QR_APPLICATION_ID]; - clientIdEntry.text = [urlDictionary objectForKey:QR_OAUTH_CLIENT_ID]; - - if ([[urlDictionary objectForKey:QR_AUTH_TYPE] isEqualToString:@"jwt"]){ - userIdentifierEntry.text = [urlDictionary objectForKey:QR_JWT_USER_ID]; - - if( authenticationType.selectedSegmentIndex == ZDSDKAuthAnonymous ) { - authenticationType.selectedSegmentIndex = 0; - [self authTypeChanged:authenticationType]; - } - - } else { - nameEntry.text = [urlDictionary objectForKey:QR_ANON_NAME]; - emailEntry.text = [urlDictionary objectForKey:QR_ANON_EMAIL]; - - if( authenticationType.selectedSegmentIndex == ZDSDKAuthJwt ) { - authenticationType.selectedSegmentIndex = 1; - [self authTypeChanged:authenticationType]; - } - - } - - -} - - -@end diff --git a/SampleApp/SampleApp/ZDSampleAppScanViewController.h b/SampleApp/SampleApp/ZDSampleAppScanViewController.h deleted file mode 100644 index 47f619fa..00000000 --- a/SampleApp/SampleApp/ZDSampleAppScanViewController.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Portions of the software Copyright (c) 2013 Alexander Mack, ama-dev.com - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, - * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial - * portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - * - * Remaining portions of the software Copyright (c) 2015 Zendesk, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * - * ZDSampleAppScanViewController.h - * SampleApp - * - * Created by Zendesk on 3/6/15. - * Based off the work of Alexander Mack on 11.10.13. MIT Licence. - * Copyright (c) 2013 ama-dev.com. All rights reserved - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import - -@protocol ZDSampleAppScanViewControllerDelegate - -@optional - -- (void) didScan:(NSString *)result; - -@end - - -@interface ZDSampleAppScanViewController : UIViewController - -@property (nonatomic, weak) id delegate; - -@end - - - diff --git a/SampleApp/SampleApp/ZDSampleAppScanViewController.m b/SampleApp/SampleApp/ZDSampleAppScanViewController.m deleted file mode 100644 index 786a4a08..00000000 --- a/SampleApp/SampleApp/ZDSampleAppScanViewController.m +++ /dev/null @@ -1,219 +0,0 @@ -/* - * Portions of the software Copyright (c) 2013 Alexander Mack, ama-dev.com - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, - * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial - * portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - * - * Remaining portions of the software Copyright (c) 2015 Zendesk, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * - * ZDSampleAppScanViewController.m - * SampleApp - * - * Created by Zendesk on 3/6/15. - * Based off the work of Alexander Mack on 11.10.13. MIT Licence. - * Copyright (c) 2013 ama-dev.com. All rights reserved - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import "ZDSampleAppScanViewController.h" - -/** - * Small class just to draw a rectangle on the view to provide some indication on where - * the qr code should be. The size of saif rect is "empirically derived". - */ -@interface TargetingView : UIView - -@end - -@implementation TargetingView - - - -- (void)drawRect:(CGRect)rect -{ - CGFloat size = 250.0f; - CGFloat width = self.frame.size.width; - CGFloat height = self.frame.size.height; - UIBezierPath *p= [UIBezierPath bezierPathWithRect:CGRectMake((width / 2) - (size / 2), - (height / 2) - (size / 2) , - size, - size)]; - [[UIColor blackColor] setStroke]; - p.lineWidth = 4.0f; - [p stroke]; -} - -@end - - -@interface ZDSampleAppScanViewController () - -@property (strong, nonatomic) AVCaptureDevice* captureDevice; -@property (strong, nonatomic) AVCaptureDeviceInput* captureInput; -@property (strong, nonatomic) AVCaptureMetadataOutput* captureOutput; -@property (strong, nonatomic) AVCaptureSession* captureSession; -@property (strong, nonatomic) AVCaptureVideoPreviewLayer* cameraStream; - -@end - -@implementation ZDSampleAppScanViewController - - -#pragma mark - UIViewController methods - -- (void)viewWillAppear:(BOOL)animated; -{ - [super viewWillAppear:animated]; - - if([self isCameraAvailable]) { - [self startScanning]; - } else { - [self setupNoCameraView]; - } -} - -- (void)viewDidLoad -{ - [super viewDidLoad]; - - if([self isCameraAvailable]) { - [self setupScanner]; - TargetingView *target = [[TargetingView alloc] initWithFrame:self.view.frame]; - target.backgroundColor = [UIColor clearColor]; - - [self.view addSubview:target]; - } -} - -- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event -{ - [self stopScanning]; - [self dismissViewControllerAnimated:YES completion:nil]; -} - -- (UIInterfaceOrientationMask)supportedInterfaceOrientations; -{ - return UIInterfaceOrientationMaskPortrait; -} - -- (BOOL)shouldAutorotate; -{ - return NO; -} - - -#pragma mark - No Camera - -- (void) setupNoCameraView; -{ - self.view.backgroundColor = [UIColor lightGrayColor]; - UILabel *noCamLabel = [[UILabel alloc] init]; - noCamLabel.text = @"No camera available"; - noCamLabel.textColor = [UIColor blackColor]; - //noCamLabel - [self.view addSubview:noCamLabel]; - - [noCamLabel sizeToFit]; - noCamLabel.center = self.view.center; -} - - -#pragma mark - Setup camera scanner - -- (void) setupScanner; -{ - self.captureDevice = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo]; - self.captureSession = [[AVCaptureSession alloc] init]; - self.captureOutput = [[AVCaptureMetadataOutput alloc] init]; - self.captureInput = [AVCaptureDeviceInput deviceInputWithDevice:self.captureDevice error:nil]; - - [self.captureSession addOutput:self.captureOutput]; - [self.captureSession addInput:self.captureInput]; - - [self.captureOutput setMetadataObjectsDelegate:self queue:dispatch_get_main_queue()]; - self.captureOutput.metadataObjectTypes = @[AVMetadataObjectTypeQRCode]; - - self.cameraStream = [AVCaptureVideoPreviewLayer layerWithSession:self.captureSession]; - self.cameraStream.videoGravity = AVLayerVideoGravityResizeAspectFill; - self.cameraStream.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height); - - AVCaptureConnection *connection = self.cameraStream.connection; - connection.videoOrientation = AVCaptureVideoOrientationPortrait; - - - [self.view.layer insertSublayer:self.cameraStream atIndex:0]; -} - -#pragma mark - Helper Methods - -- (BOOL) isCameraAvailable; -{ - NSArray *captureDevices = [AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo]; - return [captureDevices count] > 0; -} - -- (void)startScanning; -{ - [self.captureSession startRunning]; -} - -- (void) stopScanning; -{ - [self.captureSession stopRunning]; -} - -#pragma mark - AVCaptureMetadataOutputObjectsDelegate - -- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputMetadataObjects:(NSArray *)metadataObjects - fromConnection:(AVCaptureConnection *)connection -{ - for(AVMetadataObject *metaData in metadataObjects) { - if([metaData isKindOfClass:[AVMetadataMachineReadableCodeObject class]]) { - - if([self.delegate respondsToSelector:@selector(didScan:)]) { - NSString *result = [((AVMetadataMachineReadableCodeObject *) metaData) stringValue]; - [self stopScanning]; - [self.delegate didScan:result]; - [self dismissViewControllerAnimated:YES completion:nil]; - } - - } - - } -} - - -@end - - diff --git a/SampleApp/SampleApp/ZDSampleViewController.h b/SampleApp/SampleApp/ZDSampleViewController.h deleted file mode 100644 index 80f2d06e..00000000 --- a/SampleApp/SampleApp/ZDSampleViewController.h +++ /dev/null @@ -1,58 +0,0 @@ -// -// ZDSampleViewController.h -// SampleApp -// -// Created by Zendesk on 25/04/2014. -// Copyright (c) 2014 Zendesk. All rights reserved. -// - - -#import -#import -#import "ZDSampleAppConfigurationViewController.h" - -#define APPLE_PUSH_UUID @"ZDKPushUUIDKey" - - -@interface ZDSampleViewController : ZDKUIViewController - - -@property (nonatomic, strong) UIButton *requestCreationButton; -@property (nonatomic, strong) UIButton *requestListButton; -@property (nonatomic, strong) UITextField *helpCenterLabelsInput; -@property (nonatomic, strong) UIButton *helpCenterButton; -@property (nonatomic, strong) UINavigationController *modalNavController; -@property (nonatomic, strong) UIButton *registerPush; -@property (nonatomic, strong) UIButton *unregisterPush; -@property (nonatomic, strong) UITextField *helpCenterCategoryIdInput; -@property (nonatomic, strong) UITextField *helpCenterSectionIdInput; -@property (nonatomic, strong) UITextField *userTagsInput; -@property (nonatomic, strong) UIButton *addTagsButton; -@property (nonatomic, strong) UIButton *removeTagsButton; - - -/** - * Helper method to build a UITextField with a specified frame. - * - * @param frame Size of text field. - * @param placeholder Placeholder text. - * - * @return A UITextField. - */ -+ (UITextField *) buildTextFieldWithFrame:(CGRect)frame andPlaceholder:(NSString *)placeholder; - -/** - * Helper method to build a UIButton with a specified frame. - * - * @param frame Size of the button. - * @param title Button title. - * - * @return A UIButton. - */ -+ (UIButton *) buildButtonWithFrame:(CGRect)frame andTitle:(NSString*)title; - - - - -@end - diff --git a/SampleApp/SampleApp/ZDSampleViewController.m b/SampleApp/SampleApp/ZDSampleViewController.m deleted file mode 100644 index f61664a4..00000000 --- a/SampleApp/SampleApp/ZDSampleViewController.m +++ /dev/null @@ -1,510 +0,0 @@ -// -// ZDSampleViewController.m -// SampleApp -// -// Created by Zendesk on 25/04/2014. -// Copyright (c) 2014 Zendesk. All rights reserved. -// - - -#import "ZDSampleViewController.h" -#import - - -static CGFloat const PADDING = 15.f; - -@interface ZDSampleViewController () - -@property (nonatomic, strong) UIScrollView* scrollView; - -@property (nonatomic, strong) UIView* scrollViewContent; - -@property (nonatomic, assign) BOOL configPresented; -@property (nonatomic, assign) CGRect originalContentFrame; -@property (nonatomic, assign) CGFloat contentHeight; - -@end - - -@implementation ZDSampleViewController - - -@synthesize requestCreationButton, requestListButton, helpCenterButton, helpCenterLabelsInput, helpCenterCategoryIdInput, helpCenterSectionIdInput; -@synthesize registerPush, unregisterPush; -@synthesize userTagsInput, addTagsButton, removeTagsButton; -@synthesize scrollView, scrollViewContent; - -- (void) viewDidLoad -{ - [super viewDidLoad]; - - self.title = @"SDK Sample"; - - scrollView = [[UIScrollView alloc] initWithFrame:self.view.frame]; - scrollViewContent = [[UIView alloc] initWithFrame:self.view.frame]; - - - [self.contentView addSubview:scrollView]; - [self.scrollView addSubview:scrollViewContent]; - self.scrollView.translatesAutoresizingMaskIntoConstraints = NO; - - requestCreationButton = [ZDSampleViewController buildButtonWithFrame:CGRectZero andTitle:@"Contact Zendesk"]; - requestCreationButton.accessibilityIdentifier = @"contactZendeskButton"; - requestCreationButton.backgroundColor = [UIColor whiteColor]; - [requestCreationButton addTarget:self action:@selector(createRequest) forControlEvents:UIControlEventTouchUpInside]; - [self.scrollViewContent addSubview:requestCreationButton]; - - requestListButton = [ZDSampleViewController buildButtonWithFrame:CGRectZero andTitle:@"Ticket List"]; - requestListButton.accessibilityIdentifier = @"ticketListButton"; - requestListButton.backgroundColor = [UIColor whiteColor]; - [requestListButton addTarget:self action:@selector(requestListView) forControlEvents:UIControlEventTouchUpInside]; - [self.scrollViewContent addSubview:requestListButton]; - - - helpCenterLabelsInput = [ZDSampleViewController buildTextFieldWithFrame:CGRectZero andPlaceholder:@"label1,label2,label3 (optional)"]; - helpCenterLabelsInput.accessibilityIdentifier = @"hcLabelsField"; - helpCenterLabelsInput.backgroundColor = [UIColor whiteColor]; - helpCenterLabelsInput.delegate = self; - //helpCenterButton pulls these out - [self.scrollViewContent addSubview:helpCenterLabelsInput]; - - helpCenterCategoryIdInput = [ZDSampleViewController buildTextFieldWithFrame:CGRectZero andPlaceholder:@"CategoryID,CategoryID,CategoryID"]; - helpCenterCategoryIdInput.accessibilityIdentifier = @"hcCategoryIdField"; - helpCenterCategoryIdInput.backgroundColor = [UIColor whiteColor]; - helpCenterCategoryIdInput.delegate = self; - [self.scrollViewContent addSubview:helpCenterCategoryIdInput]; - - helpCenterSectionIdInput = [ZDSampleViewController buildTextFieldWithFrame:CGRectZero andPlaceholder:@"SectionID,SectionID,SectionID"]; - helpCenterSectionIdInput.accessibilityIdentifier = @"hcSectionIdField"; - helpCenterSectionIdInput.backgroundColor = [UIColor whiteColor]; - helpCenterSectionIdInput.delegate = self; - [self.scrollViewContent addSubview:helpCenterSectionIdInput]; - - - helpCenterButton = [ZDSampleViewController buildButtonWithFrame:CGRectZero andTitle:@"Support"]; - helpCenterButton.accessibilityIdentifier = @"supportButton"; - helpCenterButton.backgroundColor = [UIColor whiteColor]; - [helpCenterButton addTarget:self action:@selector(support) forControlEvents:UIControlEventTouchUpInside]; - [self.scrollViewContent addSubview:helpCenterButton]; - - registerPush = [ZDSampleViewController buildButtonWithFrame:CGRectZero andTitle:@"Register Push"]; - registerPush.accessibilityIdentifier = @"registerButton"; - registerPush.backgroundColor = [UIColor whiteColor]; - [registerPush addTarget:self action:@selector(registerForPush) forControlEvents:UIControlEventTouchUpInside]; - [self.scrollViewContent addSubview:registerPush]; - - unregisterPush = [ZDSampleViewController buildButtonWithFrame:CGRectZero andTitle:@"Unregister Push"]; - unregisterPush.accessibilityIdentifier = @"unregisterButton"; - unregisterPush.backgroundColor = [UIColor whiteColor]; - [unregisterPush addTarget:self action:@selector(unregisterForPush) forControlEvents:UIControlEventTouchUpInside]; - [self.scrollViewContent addSubview:unregisterPush]; - - userTagsInput = [ZDSampleViewController buildTextFieldWithFrame:CGRectZero andPlaceholder:@"User Tags"]; - userTagsInput.accessibilityIdentifier = @"addTagsInput"; - userTagsInput.backgroundColor = [UIColor whiteColor]; - userTagsInput.delegate = self; - [self.scrollViewContent addSubview:userTagsInput]; - - addTagsButton = [ZDSampleViewController buildButtonWithFrame:CGRectZero andTitle:@"Add Tags"]; - addTagsButton.accessibilityIdentifier = @"addTagsButton"; - addTagsButton.backgroundColor = [UIColor whiteColor]; - [addTagsButton addTarget:self action:@selector(addTags) forControlEvents:UIControlEventTouchUpInside]; - [self.scrollViewContent addSubview:addTagsButton]; - - removeTagsButton = [ZDSampleViewController buildButtonWithFrame:CGRectZero andTitle:@"Remove Tags"]; - removeTagsButton.accessibilityIdentifier = @"removeTagsButton"; - removeTagsButton.backgroundColor = [UIColor whiteColor]; - [removeTagsButton addTarget:self action:@selector(removeTags) forControlEvents:UIControlEventTouchUpInside]; - [self.scrollViewContent addSubview:removeTagsButton]; - - - [self setupConstraints]; - - super.layoutGuide = ZDKLayoutRespectTop; - -} - -- (void) viewDidAppear:(BOOL)animated -{ - if ( ! _configPresented ) { - ZDSampleAppConfigurationViewController *configurationVC = [[ZDSampleAppConfigurationViewController alloc] initWithNibName:nil bundle:nil]; - configurationVC.delegate = self; - - UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:configurationVC]; - - [self presentViewController:navController animated:NO completion:^{ - _configPresented = YES; - }]; - - } - - _originalContentFrame = CGRectMake(self.view.frame.origin.x, - self.view.frame.origin.y, - self.view.frame.size.width, - _contentHeight + [self topViewOffset]); - - [self.scrollView setContentSize:_originalContentFrame.size]; - - [self registerForKeyboardNotifications]; -} - -- (void) viewDidDisappear:(BOOL)animated -{ - [self unregisterForKeyboardNotifications]; -} - - -- (void) setupConstraints -{ - NSDictionary *metrics = @{@"padding":@(20), @"height":@(30)}; - - NSDictionary *views = NSDictionaryOfVariableBindings(requestCreationButton, - requestListButton, - helpCenterLabelsInput, - helpCenterCategoryIdInput, - helpCenterSectionIdInput, - helpCenterButton, - registerPush, - unregisterPush, - userTagsInput, - addTagsButton, - removeTagsButton, - scrollViewContent, - scrollView); - - - - [self.contentView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[scrollView]|" options:0 metrics:0 views:views]]; - [self.contentView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[scrollView]|" options:0 metrics:0 views:views]]; - - - [self.scrollViewContent addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|-padding-[requestCreationButton]-padding-|" - options:NSLayoutFormatAlignmentMask - metrics:metrics - views:views]]; - - - - NSArray *contentHeight = [NSLayoutConstraint constraintsWithVisualFormat:@"V:|-padding-[requestCreationButton(height)]-padding-[requestListButton(height)]-padding-[helpCenterLabelsInput(height)]-padding-[helpCenterCategoryIdInput(height)]-padding-[helpCenterSectionIdInput(height)]-padding-[helpCenterButton(height)]-padding-[registerPush(height)]-padding-[unregisterPush(height)]-padding-[userTagsInput(height)]-padding-[addTagsButton(height)]-padding-[removeTagsButton(height)]" - - options:NSLayoutFormatAlignAllLeft | NSLayoutFormatAlignAllRight - metrics:metrics - views:views]; - - - for (NSLayoutConstraint *constraint in contentHeight) - { - _contentHeight += constraint.constant; - } - - [self.scrollViewContent addConstraints:contentHeight]; - - -} - -- (void) layoutContent -{ - [super layoutContent]; - self.scrollViewContent.frame = CGRectMake(self.contentView.frame.origin.x, - self.contentView.frame.origin.y - [self topViewOffset], - self.contentView.frame.size.width, _contentHeight + PADDING); -} - - -#pragma mark - SDK - - -- (void) requestListView -{ - if([ZDKUIUtil isPad]) { - - self.modalPresentationStyle = UIModalPresentationFormSheet; - [ZDKRequests presentRequestListWithViewController:self]; - - } else { - - [ZDKRequests pushRequestListWithNavigationController:self.navigationController]; - } -} - - -- (void) support -{ - ZDKHelpCenterOverviewContentModel *contentModel = [ZDKHelpCenterOverviewContentModel defaultContent]; - - //Labels and section IDs or category IDs - if (helpCenterLabelsInput.hasText) { - NSString *labelString = helpCenterLabelsInput.text; - NSArray *labels = [labelString componentsSeparatedByString:@","]; - contentModel.labels = labels; - - if (helpCenterCategoryIdInput.hasText) { - NSString *categoryIdString = helpCenterCategoryIdInput.text; - NSArray *categoryIdArray = [categoryIdString componentsSeparatedByString:@","]; - contentModel.groupType = ZDKHelpCenterOverviewGroupTypeCategory; - contentModel.groupIds = categoryIdArray; - } else if (helpCenterSectionIdInput.hasText) { - NSString *sectionIdString = helpCenterSectionIdInput.text; - NSArray *sectionIdArray = [sectionIdString componentsSeparatedByString:@","]; - contentModel.groupType = ZDKHelpCenterOverviewGroupTypeSection; - contentModel.groupIds = sectionIdArray; - } - - // category IDs - } else if (helpCenterCategoryIdInput.hasText) { - NSString *categoryIdString = helpCenterCategoryIdInput.text; - NSArray *categoryIdArray = [categoryIdString componentsSeparatedByString:@","]; - contentModel.groupType = ZDKHelpCenterOverviewGroupTypeCategory; - contentModel.groupIds = categoryIdArray; - - // sections IDs - } else if (helpCenterSectionIdInput.hasText) { - NSString *sectionIdString = helpCenterSectionIdInput.text; - NSArray *sectionIdArray = [sectionIdString componentsSeparatedByString:@","]; - contentModel.groupType = ZDKHelpCenterOverviewGroupTypeSection; - contentModel.groupIds = sectionIdArray; - - } - - if ([ZDKUIUtil isPad]) { - - self.modalPresentationStyle = UIModalPresentationFormSheet; - [ZDKHelpCenter presentHelpCenterOverview:self withContentModel:contentModel]; - - } else { - - [ZDKHelpCenter pushHelpCenterOverview:self.navigationController withContentModel:contentModel]; - - } - -} - - -#pragma mark request creation - - -- (void) createRequest -{ - ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - // Show the request creation screen - ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - if([ZDKUIUtil isPad]) { - - self.navigationController.modalPresentationStyle = UIModalPresentationFormSheet; - } - - [ZDKRequests presentRequestCreationWithViewController:self]; -} - -#pragma mark Push notifications - -- (void) registerForPush -{ - - NSString *identifier = [self getDeviceId]; - - [[ZDKConfig instance] enablePushWithDeviceID:identifier callback:^(ZDKPushRegistrationResponse *registrationResponse, NSError *error) { - - NSString *title; - - if (error) { - - title = @"Registration Failed"; - [ZDKLogger e:@"Couldn't register device: %@. Error: %@", identifier, error]; - - } else if (registrationResponse) { - - title = @"Registration Successful"; - [ZDKLogger d:@"Successfully registered device: %@", identifier]; - } - - UIAlertView * alert = [[UIAlertView alloc] initWithTitle:title message:nil delegate:nil cancelButtonTitle:@"OK" otherButtonTitles: nil]; - [alert show]; - }]; -} - -- (void) unregisterForPush -{ - NSString *identifier = [self getDeviceId]; - - [[ZDKConfig instance] disablePush:identifier callback:^(NSNumber *responseCode, NSError *error) { - - NSString *title; - - if (error) { - - title = @"Failed to Unregister"; - [ZDKLogger e:@"Couldn't unregister device: %@. Error: %@", identifier, error]; - - } else if (responseCode) { - - title = @"Unregistered"; - [ZDKLogger d:@"Successfully unregistered device: %@", identifier]; - } - - UIAlertView * alert = [[UIAlertView alloc] initWithTitle:title message:nil delegate:nil cancelButtonTitle:@"OK" otherButtonTitles: nil]; - [alert show]; - }]; - -} - -- (NSString*) getDeviceId -{ - NSString *result = [[NSUserDefaults standardUserDefaults] objectForKey:APPLE_PUSH_UUID]; - - return result; -} - -#pragma mark - User tags - -- (void) addTags -{ - NSString *tagsString = userTagsInput.text; - //Not checking the input as an empty argument acts like a get request. - //No nil check as sending up no tags is effectivly a GET tags request. - NSArray *tags = [tagsString componentsSeparatedByString:@","]; - - [[[ZDKUserProvider alloc] initWithAuthenticationSpace:[ZDKAuthenticationSpace defaultSpace]] - addTags:tags callback:^(NSArray *userTags, NSError *error) { - NSString *tagsResponse = [[userTags valueForKey:@"description"] componentsJoinedByString:@", "]; - [self showAlertWithTitle:@"User Tags" andText:tagsResponse]; - }]; - -} - -- (void) removeTags -{ - NSString *tagsString = userTagsInput.text; - //Nil check as deleteTags without any tags does nothing. - if ( ! [tagsString isEqualToString:@""] ) - { - NSArray *tags = [tagsString componentsSeparatedByString:@","]; - - [[[ZDKUserProvider alloc] initWithAuthenticationSpace:[ZDKAuthenticationSpace defaultSpace]] - deleteTags:tags callback:^(NSArray *userTags, NSError *error) { - NSString *tagsResponse = [[userTags valueForKey:@"description"] componentsJoinedByString:@", "]; - [self showAlertWithTitle:@"User Tags" andText:tagsResponse]; - }]; - - } -} - -#pragma mark - control creation - - -+ (UIControl *) buildControl:(UIControl *) control -{ - control.layer.borderColor = [UIColor colorWithWhite:0.8470f alpha:1.0f].CGColor; - control.translatesAutoresizingMaskIntoConstraints = NO; - control.layer.borderWidth = 1.0f; - control.layer.cornerRadius = 4.0f; - return control; -} - - -+ (UITextField *) buildTextFieldWithFrame:(CGRect)frame andPlaceholder:(NSString *)placeholder -{ - UITextField * textField = [[UITextField alloc] initWithFrame:frame]; - textField = (UITextField *)[self buildControl:textField]; - textField.textAlignment = NSTextAlignmentCenter; - textField.placeholder = placeholder; - - return textField; -} - - -+ (UIButton *) buildButtonWithFrame:(CGRect)frame andTitle:(NSString*)title -{ - UIButton *button = [[UIButton alloc] initWithFrame:frame]; - button = (UIButton *)[self buildControl:button]; - - button.titleLabel.font = [UIFont systemFontOfSize:14]; - [button setTitleColor:[UIColor colorWithWhite:0.2627f alpha:1.0f] forState:UIControlStateNormal]; - [button setTitleColor:[UIColor colorWithWhite:0.2627f alpha:0.3f] forState:UIControlStateHighlighted]; - [button setTitleColor:[UIColor colorWithWhite:0.2627f alpha:0.3f] forState:UIControlStateDisabled]; - [button setTitle:title forState:UIControlStateNormal]; - [button setTitle:title forState:UIControlStateHighlighted]; - button.titleLabel.textAlignment = NSTextAlignmentCenter; - - return button; -} - - -- (void)configuration:(NSString *)url withAppId:(NSString *)appId andClientId:(NSString *)clientId -{ - NSLog(@"configuration made, url: %@, appId: %@ and clientId: %@",url,appId,clientId); - [[ZDKConfig instance] initializeWithAppId:appId zendeskUrl:url clientId:clientId]; -} - - -#pragma mark - Util - -- (void) showAlertWithTitle:(NSString*)title andText:(NSString*) text -{ - UIAlertView *alert = [[UIAlertView alloc] initWithTitle:title - message:text - delegate:nil - cancelButtonTitle:@"OK" - otherButtonTitles:nil]; - [alert show]; -} - - -- (void)keyboardDidShow:(NSNotification *)aNotification -{ - [super keyboardDidShow:aNotification]; - self.scrollView.frame = CGRectMake(self.view.frame.origin.x, - self.view.frame.origin.y, - self.view.frame.size.width, - self.view.frame.size.height - _keyboardHeight - PADDING); - -} - -- (void)keyboardDidHide:(NSNotification*)aNotification -{ - [super keyboardDidHide:aNotification]; - self.scrollView.frame = CGRectMake(self.view.frame.origin.x, - self.view.frame.origin.y, - self.view.frame.size.width, - self.view.frame.size.height - PADDING); -} - -- (void) registerForKeyboard -{ - - - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(keyboardDidShow:) - name:UIKeyboardDidShowNotification - object:nil]; - - - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(keyboardDidHide:) - name:UIKeyboardDidHideNotification - object:nil]; - -} - -- (void) unregisterForKeyboardNotifications -{ - [[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardDidShowNotification object:nil]; - [[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardDidHideNotification object:nil]; -} - - -- (void) dealloc -{ - [[NSNotificationCenter defaultCenter] removeObserver:self]; -} - -#pragma mark - textfield delegate - -- (BOOL)textFieldShouldReturn:(UITextField *)textField { - [textField resignFirstResponder]; - return YES; -} - - -@end diff --git a/SampleApp/SampleApp/main.m b/SampleApp/SampleApp/main.m deleted file mode 100644 index 2db9d5e9..00000000 --- a/SampleApp/SampleApp/main.m +++ /dev/null @@ -1,18 +0,0 @@ -// -// main.m -// SampleApp -// -// Created by Zendesk on 23/04/2014. -// Copyright (c) 2014 Zendesk. All rights reserved. -// - -#import - -#import "ZDAppDelegate.h" - -int main(int argc, char * argv[]) -{ - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([ZDAppDelegate class])); - } -} diff --git a/ZendeskProviderSDK.framework/Headers/ZDKAccount.h b/ZendeskProviderSDK.framework/Headers/ZDKAccount.h deleted file mode 100644 index d2445aad..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKAccount.h +++ /dev/null @@ -1,114 +0,0 @@ -/* - * - * ZDKAccount.h - * ZendeskSDK - * - * Created by Zendesk on 06/06/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - -/** - * An account can be in one of these states. - * - * @since 0.9.3.1 - */ -typedef NS_ENUM(NSInteger, ZDKAccountState) { - - /** - * Account details have not yet been loaded. - * - * @since 0.9.3.1 - */ - ZDKAccountStateUnloaded, - - /** - * Account state is valid. - * - * @since 0.9.3.1 - */ - ZDKAccountStateValid, - - /** - * A defining value has been changed and the account can not be guaranteed to point to the same Zendesk account. - * - * @since 0.9.3.1 - */ - ZDKAccountStateInvalidated -}; - - -/** - * The ZDAccount is a wrapper around the account and - * user details required to interact with your helpdesk. - * - * @since 0.9.3.1 - */ -@interface ZDKAccount : NSObject - - -/** - * The full URL of your Zendesk instance, https://{subdomain}.zendesk.com - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy) NSString *zendeskUrl; - - -/** - * The application id of your SDK app, as found in the web interface. - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy) NSString *applicationId; - - -/** - * The oauth client id that was supplied when you set up oauth in web interface. - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy) NSString *oAuthClientId; - - -/** - * The current Zendesk oauth token. - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy) NSString *oauthToken; - -/** - * Indicates account state and whether the account state has been invalidated by a credential change. - * - * @since 0.9.3.1 - */ -@property (assign) ZDKAccountState state; - - -/** - * create an account - * - * @param zendeskUrl The full URL of your Zendesk instance, https://{subdomain}.zendesk.com - * @param applicationId The application id of your SDK app, as found in the web interface. - * @param clientId The oauth client id that was supplied when you set up oauth in web interface. - */ -- (instancetype)initWithUrl:(NSString *)zendeskUrl - applicationId:(NSString *)applicationId - clientId:(NSString *)clientId NS_DESIGNATED_INITIALIZER; - - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -@end - diff --git a/ZendeskProviderSDK.framework/Headers/ZDKAccountSettings.h b/ZendeskProviderSDK.framework/Headers/ZDKAccountSettings.h deleted file mode 100644 index 2d2e946d..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKAccountSettings.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * - * ZDKAccountSettings.h - * ZendeskSDK - * - * Created by Zendesk on 19/01/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -@class ZDKAttachmentSettings; - -/** - * This class models the Account settings. These settings describe how your Zendesk instance is - + configured so they are really higher level sdk settings. - * - * @see ZDKAppSettings - */ -@interface ZDKAccountSettings : ZDKCoding - -/** - * Gets the attachment settings for the Zendesk instance. - */ -@property (nonatomic, strong, readonly) ZDKAttachmentSettings *attachmentSettings; - - -/** - * Initializes a new instance of ZDKAccountSettings with the contents of the dictionary provided. - * - * @param dictionary A dictionary of the Zendesk instance account settings. - * - * @return An initialzed ZDKAccountSettings object. - */ -- (instancetype) initWithDictionary:(NSDictionary *) dictionary; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKAnonymousIdentity.h b/ZendeskProviderSDK.framework/Headers/ZDKAnonymousIdentity.h deleted file mode 100644 index fb45ba2e..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKAnonymousIdentity.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * - * ZDKAnonymousIdentity.h - * ZendeskSDK - * - * Created by Zendesk on 19/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKIdentity.h" -#import "ZDKCoding.h" - -@interface ZDKAnonymousIdentity : ZDKCoding - -@property (nonatomic, copy) NSString *name; -@property (nonatomic, copy) NSString *email; - - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKAppSettings.h b/ZendeskProviderSDK.framework/Headers/ZDKAppSettings.h deleted file mode 100644 index 3108702c..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKAppSettings.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * - * ZDKAppSettings.h - * ZendeskSDK - * - * Created by Zendesk on 16/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -@class ZDKContactUsSettings, ZDKConversationsSettings, ZDKHelpCenterSettings, ZDKTicketFormsSettings; - - -@interface ZDKAppSettings : ZDKCoding - -/** - * Settings model object associated with the remote configuration of Conversations component within your Zendesk instance. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong, readonly) ZDKConversationsSettings *conversationsSettings; - - -/** - * Settings model object associated with the remote configuration of Contact component within your Zendesk instance. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong, readonly) ZDKContactUsSettings *contactUsSettings; - - -/** - * Settings model object associated with the remote configuration of Help Center component within your Zendesk instance. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong, readonly) ZDKHelpCenterSettings *helpCenterSettings; - - -/** - * Settings model object associated with the remote configuration of Ticket Forms component within your Zendesk instance. - * - * @since 1.9.0.1 - */ -@property (nonatomic, strong, readonly) ZDKTicketFormsSettings *ticketFormsSettings; - - -/** - * Authentication type, anonymous or jwt. - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy, readonly) NSString *authentication; - - -/** - * Initialize with a dictionary representation. - * - * @since 0.9.3.1 - * - * @param dictionary a dictionary with settings data. - * - * @return A new instance. - */ -- (id) initWithDictionary: (NSDictionary *) dictionary; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKAttachmentSettings.h b/ZendeskProviderSDK.framework/Headers/ZDKAttachmentSettings.h deleted file mode 100644 index 17011dce..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKAttachmentSettings.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * ZDKAttachmentSettings.h - * ZendeskSDK - * - * Created by Zendesk on 19/01/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -@interface ZDKAttachmentSettings : ZDKCoding - - -/** - * This setting corresponds to the "Customers can attach files" setting in the Zendesk admin interface. - */ -@property (nonatomic, assign, readonly) BOOL enabled; - -/** - * This setting controls the maximum attachment size that can be uploaded to your Zendesk. - */ -@property (nonatomic, strong, readonly) NSNumber *maxAttachmentSize; - - -/** - * Initializes a new instance of ZDKAccountSettings with the contents of the dictionary provided. - * - * @param dictionary A dictionary of the attachment settings. - * - * @return An initialized ZDKAttachmentSettings object. - */ -- (instancetype) initWithDictionary:(NSDictionary *) dictionary; - - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKAuthenticationSpace.h b/ZendeskProviderSDK.framework/Headers/ZDKAuthenticationSpace.h deleted file mode 100644 index 841b2afa..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKAuthenticationSpace.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * - * ZDKAuthenticationSpace.h - * ZendeskSDK - * - * Created by Zendesk on 31/12/2015. - * - * Copyright (c) 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZendeskSDKConstants.h" -#import "ZDKIdentity.h" -#import "ZDKAccount.h" - - -@class ZDKIdentityStorage; - -/** - * Class that represents the authentication space - * - * @since 1.6.0.1 - */ -@interface ZDKAuthenticationSpace : NSObject - - -/** - * zendesk account to use for requests - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong, readonly) ZDKAccount *account; - -/** - * user identity identity - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong, readonly) id userIdentity; - -/** - * user identity identity storage - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) ZDKIdentityStorage *identityStorage; - -/** - * get the default space - * - * @since 1.6.0.1 - */ -+ (ZDKAuthenticationSpace*)defaultSpace; - -/** - * creates an authentication space - * - * @since 1.6.0.1 - * - * @param account the account to use for the requests - * @param userIdentity the user identity used - */ -- (instancetype)initWithAccount:(ZDKAccount *)account - userIdentity:(id)userIdentity; - - -/** - * Get UUID from local storage or generate if required - * - * @since 1.6.0.1 - * - * @return NSString of UUID that has been generated - */ -- (NSString*)UUID; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKConfig.h b/ZendeskProviderSDK.framework/Headers/ZDKConfig.h deleted file mode 100644 index 88e3c380..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKConfig.h +++ /dev/null @@ -1,203 +0,0 @@ -/* - * - * ZDKConfig.h - * ZendeskSDK - * - * Created by Zendesk on 29/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKIdentity.h" -#import "ZDKPushRegistrationProvider.h" -#import "ZDKDispatcher.h" -#import "ZendeskSDKConstants.h" - - -@class ZDKAppSettings, ZDKAccount, ZDKSdkStorage, ZDKTheme, ZDKCustomField; - -/** - * SDK configuration file found and SDK initialized successfully. - * - * @since 1.3.0.1 - */ -typedef void (^ZDKInitializeSuccess)(void); - - -/* - * ZDKConfig is responsible for initialization of - * the SDK and manages the backend configuration. - * - * @since 0.9.3.1 - */ -@interface ZDKConfig : NSObject - - -/** - * The ZDKAccount for the configuration. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong, readonly) ZDKAccount *account; - - -/** - * The userIdentity for the user is an instance of NSObject that implements the protocol ZDKIdentity - * @since 1.2.0.1 - */ -@property (nonatomic, strong, setter=setUserIdentity:, getter=userIdentity) id userIdentity; - - -/** - * The reload time interval is the maximum frequency with which a reload will be triggered. - * - * Set reload time interval. One hour is the minimum possible value for a reload interval. - * the reload interval. An interval of less than one hour will result in - * a minimum reload interval, e.g.. [ZendeskSDK setReloadInterval:0] results in a reload - * interval of one hour. - * - * @since 1.6.0.1 - */ - -@property (nonatomic, assign, setter=setReloadInterval:, getter=reloadInterval) NSTimeInterval reloadInterval; - - -/** - * The authentication type associated with the current Zendesk SDK user. - * - * @since 1.3.4.1 - */ -@property (nonatomic, assign, readonly) ZDKAuthenticationType authenticationType; - - - -/** - * Override the default locale specified via the SDK admin. - * A request is made to check the language is supported. If it is not supported, or the request fails, the default - * language remains in place. Should be an IETF language tag. - * - * @since 1.1.0.1 - */ -@property (nonatomic, copy) NSString *userLocale; - - -/** - * Sets whether we should enable COPPA mode. If the set ZDKAnonymousIdentity doesn't contain a - * name or email, this method will do nothing. If the set ZDKAnonymousIdentity does contain - * a name or email, this method will clear user storage (such as requests, article votes, identity - * information) and set a new, empty ZDKAnonymousIdentity. - * - * @since 1.1.0.1 - */ -@property (nonatomic, assign) BOOL coppaEnabled __deprecated_msg("as of 1.11.0.1. Consider using an empty ZDKAnonymousIdentity instead."); - -/** - * Enable Help Center article up and down voting in Article UI. - * Default value is true. - * - * @since 1.10.0.1 - */ -@property (nonatomic, assign) BOOL articleVotingEnabled; - - -/** - * Get the API instance (singleton). - * - * @since 0.9.3.1 - * - * @return the API instance - */ -+ (instancetype) instance; - - -/** - * Initialize the SDK. - * - * @since 1.6.0.1 - * - * @param applicationId The application id of your SDK app, as found in the web interface. - * @param zendeskUrl The full URL of your Zendesk instance, https://{subdomain}.zendesk.com - * @param oAuthClientId The oAuthClientId required as part of the authentication process - */ -- (void) initializeWithAppId:(NSString *)applicationId - zendeskUrl:(NSString *)zendeskUrl - clientId:(NSString *)oAuthClientId; - -/** - * Reload the config from the server, reload will be started if a reload - * is not already in progress and the reload interval has passed. This method - * will automatically be invoked when the application enters the foreground to - * check for updates if due. - * - * @since 0.9.3.1 - */ -- (void) reload; - - -/** - * Register the device for push notifications with APNS ID. - * - * @param identifier The APNS device identifier. - * @param callback Callback that will provide a newly created device ZDKPushRegistrationResponse. - * - * @since 1.4.0.1 - */ -- (void) enablePushWithDeviceID:(NSString *)identifier callback:(ZDKPushRegistrationCallback)callback; - - -/** - * Register the device for push notifications with Urban Airship channel ID. - * - * @param identifier The Urban Airship channel ID - * @param callback Callback that will provide a newly created device ZDKPushRegistrationResponse. - * - * @since 1.4.0.1 - */ -- (void) enablePushWithUAChannelID:(NSString *)identifier callback:(ZDKPushRegistrationCallback)callback; - - -/** - * Unregister the device for push notifications. - * - * @since 1.2.0.1 - * - * @param identifier The device identifier - * @param callback Callback that provides the HTTP status code for the deletion request. - */ -- (void) disablePush:(NSString *)identifier callback:(ZDKPushDeletionCallback)callback; - - -#pragma mark - Deprication - - -/** - * An array for custom fields. - * - * @see Custom fields and forms documentation - * - * @since 1.0.0.1 - */ -@property (nonatomic, copy) NSArray *customTicketFields; - - -/** - * Form id for ticket creation. - * - * The ticket form id will be ignored if your Zendesk doesn't support it. Currently - * Enterprise and higher plans support this. - * - * @see Custom fields and forms documentation - * - * @since 1.0.0.1 - */ -@property (nonatomic, strong) NSNumber *ticketFormId; - - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKContactUsSettings.h b/ZendeskProviderSDK.framework/Headers/ZDKContactUsSettings.h deleted file mode 100644 index 893f49d3..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKContactUsSettings.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * ZDKContactUsSettings.h - * ZendeskSDK - * - * Created by Zendesk on 16/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -/** - * Models the Contact Us settings in the admin config panel. - * - * @since 0.9.3.1 - */ -@interface ZDKContactUsSettings : ZDKCoding - -/** - * tags is a list of tags that should be included as part of the ticket creation. - * - * @since 0.9.3.1 - */ -@property (nonatomic, copy, readonly) NSArray *tags; - -/** - * initWithDictionary, passing the NSDictionary of Contact Us settings received from the server. - * - * @since 0.9.3.1 - */ -- (id) initWithDictionary:(NSDictionary *)dictionary ; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKConversationsSettings.h b/ZendeskProviderSDK.framework/Headers/ZDKConversationsSettings.h deleted file mode 100644 index 4d4efe3f..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKConversationsSettings.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * ZDKConversationsSettings.h - * ZendeskSDK - * - * Created by Zendesk on 16/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - - -/** - * Models the Conversations settings in the admin config panel. - * - * @since 0.9.3.1 - */ -@interface ZDKConversationsSettings : ZDKCoding - - -/** - * enabled defines if the conversations component is enabled or not. - * - * @since 0.9.3.1 - */ -@property (nonatomic, assign, readonly) BOOL enabled; - - -/** - * initWithDictionary, passing the NSDictionary of Conversations settings received from the server. - * - * @since 0.9.3.1 - */ -- (id) initWithDictionary:(NSDictionary *)dictionary ; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleViewModel.h b/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleViewModel.h deleted file mode 100644 index 6b9b8baa..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleViewModel.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * - * ZDKHelpCenterArticleViewModel.h - * ZendeskSDK - * - * Created by Zendesk on 11/05/2016. - * - * Copyright © 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKHelpCenterViewModel.h" - -@interface ZDKHelpCenterArticleViewModel : NSObject - -/** - * Article id. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *articleId; - -/** - * Section id. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *sectionId; - -/** - * Article title. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *title; - -/** - * Parses returned json to articles - * - * @param json The Json to be parsed - * - * @return An array of help center articles - */ -+ (NSArray *)parseArticles:(NSDictionary *)json; - -/** - * Parses json to a single article - * - * @param json The json to be parsed - * - * @return a basic article - */ -+ (ZDKHelpCenterArticleViewModel *)parseArticle:(NSDictionary *)json; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategoryViewModel.h b/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategoryViewModel.h deleted file mode 100644 index 3171e43b..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategoryViewModel.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * - * ZDKHelpCenterCategoryViewModel.h - * ZendeskSDK - * - * Created by Zendesk on 11/05/2016. - * - * Copyright © 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKHelpCenterViewModel.h" - -@class ZDKHelpCenterSectionViewModel; - -@interface ZDKHelpCenterCategoryViewModel : NSObject - -/** - * Category id. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *categoryId; - -/** - * Category Name. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *name; - -/** - * An array of sections that are contained within the category. - * - */ -@property (nonatomic, copy) NSArray *sections; - -/** - * Parses returned json to categories - * - * @param json The Json passed into it - * - * @return An array of help center categories - */ -+ (NSArray *)parseCategories:(NSDictionary *)json; - -/** - * Parses Json in a single category - * - * @param json The Json passed in - * - * @return a single category - * - */ -+ (ZDKHelpCenterCategoryViewModel *)parseCategory:(NSDictionary *)json; - -- (void)updateWithSection:(ZDKHelpCenterSectionViewModel*)section; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSectionViewModel.h b/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSectionViewModel.h deleted file mode 100644 index 678afbeb..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSectionViewModel.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * - * ZDKHelpCenterSectionViewModel.h - * ZendeskSDK - * - * Created by Zendesk on 11/05/2016. - * - * Copyright © 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKHelpCenterViewModel.h" - -@class ZDKHelpCenterArticleViewModel; - -@interface ZDKHelpCenterSectionViewModel : NSObject - -/** - * Section id. - */ -@property (nonatomic, copy) NSString *sectionId; - -/** - * Category id for section. - */ -@property (nonatomic, copy) NSString *categoryId; - -/** - * section name. - */ -@property (nonatomic, copy) NSString *name; - -/** - * Total number of articles in the section. - */ -@property (nonatomic, strong) NSNumber *totalNumberOfArticles; - -/** - * Array of articles contained within the section - */ -@property (nonatomic, copy) NSArray *articles; - -/** - * Parses returned json to sections - * - * @param json The Json passed into it - * - * @return An array of help center sections - */ -+ (NSArray *)parseSections:(NSDictionary *)json; - -/** - * Parses json to a single section - * - * @param json The json to be parsed - * - * @return a basic article - */ -+ (ZDKHelpCenterSectionViewModel *)parseSection:(NSDictionary *)json; - - -/** - * Updates the articles in a seciton with the articles param. - * - * @param articles an array of articles. - */ -- (void)updateWithArticles:(NSArray *)articles; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSettings.h b/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSettings.h deleted file mode 100644 index e81169aa..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSettings.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * - * ZDKHelpCenterSettings.h - * ZendeskSDK - * - * Created by Zendesk on 16/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -@interface ZDKHelpCenterSettings : ZDKCoding - - -/** - * enabled defines if the conversations component is enabled or not - */ -@property (nonatomic, assign, readonly) BOOL enabled; - -/** - * String definition of the locale to be used by the help center component - */ -@property (nonatomic, copy, readonly) NSString *locale; - - -/** - * initWithDictionary, passing the NSDictionary of Conversations settings received from the server - */ -- (id) initWithDictionary:(NSDictionary *)dictionary ; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKIdentity.h b/ZendeskProviderSDK.framework/Headers/ZDKIdentity.h deleted file mode 100644 index 021dfc45..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKIdentity.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * - * ZDKIdentity.h - * ZendeskSDK - * - * Created by Zendesk on 19/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@protocol ZDKIdentity - -- (NSDictionary *) toJson; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKIdentityStorage.h b/ZendeskProviderSDK.framework/Headers/ZDKIdentityStorage.h deleted file mode 100644 index 5e42f8bb..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKIdentityStorage.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * - * ZDKIdentityStorage.h - * ZendeskSDK - * - * Created by Zendesk on 25/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKIdentity.h" - - -@interface ZDKIdentityStorage : NSObject - - -/** - * Get UUID from local storage or generate if required - * - * @return NSString of UUID that has been generated - */ -- (NSString *)getUUID; - -/** - * Store object that implements ZDKIdentity protocol in local storage - * - * @param identity NSObject that implements ZDKIdentity protocol - */ -- (void) storeIdentity:(id ) identity; - - -/** - * Fetch stored Identity from local storage - * - * @return instance that implements ZDKIdentity protocol - */ -- (id ) storedIdentity; - - -/** - * Fetch stored OAuth token from local storage - * - * @return NSString OAuth token - */ -- (NSString *) storedOAuthToken; - - -/** - * Stores an OAuth token to be stored - * - * @param oAuthToken NSString of the OAuth to be stored - */ -- (void) storeOAuthToken:(NSString *)oAuthToken; - -/** - * Deletes ALL storage - */ -- (void) deleteStoredData; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKJwtIdentity.h b/ZendeskProviderSDK.framework/Headers/ZDKJwtIdentity.h deleted file mode 100644 index bef23b85..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKJwtIdentity.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * - * ZDKJwtIdentity.h - * ZendeskSDK - * - * Created by Zendesk on 19/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKIdentity.h" -#import "ZDKCoding.h" - -@interface ZDKJwtIdentity : ZDKCoding - -/** - * Init method to set the jwtUserIdentifier for the SDK - * - * @param jwtUserIdentifier NSString which specifies the identifier to be used as part of JWT Authentication - * - * @return instance of ZDKJwtIdentity - */ -- (instancetype) initWithJwtUserIdentifier:(NSString *)jwtUserIdentifier; - - -- (BOOL) hasIdentifer; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKKeychainWrapper.h b/ZendeskProviderSDK.framework/Headers/ZDKKeychainWrapper.h deleted file mode 100644 index b30ce804..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKKeychainWrapper.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - File: KeychainItemWrapper.h - Abstract: - Objective-C wrapper for accessing a single keychain item. - - Version: 1.2 - - Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple - Inc. ("Apple") in consideration of your agreement to the following - terms, and your use, installation, modification or redistribution of - this Apple software constitutes acceptance of these terms. If you do - not agree with these terms, please do not use, install, modify or - redistribute this Apple software. - - In consideration of your agreement to abide by the following terms, and - subject to these terms, Apple grants you a personal, non-exclusive - license, under Apple's copyrights in this original Apple software (the - "Apple Software"), to use, reproduce, modify and redistribute the Apple - Software, with or without modifications, in source and/or binary forms; - provided that if you redistribute the Apple Software in its entirety and - without modifications, you must retain this notice and the following - text and disclaimers in all such redistributions of the Apple Software. - Neither the name, trademarks, service marks or logos of Apple Inc. may - be used to endorse or promote products derived from the Apple Software - without specific prior written permission from Apple. Except as - expressly stated in this notice, no other rights or licenses, express or - implied, are granted by Apple herein, including but not limited to any - patent rights that may be infringed by your derivative works or by other - works in which the Apple Software may be incorporated. - - The Apple Software is provided by Apple on an "AS IS" basis. APPLE - MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION - THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS - FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND - OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. - - IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL - OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, - MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED - AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), - STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - - Copyright (C) 2010 Apple Inc. All Rights Reserved. - - */ - -#import - -/* - The KeychainItemWrapper class is an abstraction layer for the iPhone Keychain communication. It is merely a - simple wrapper to provide a distinct barrier between all the idiosyncrasies involved with the Keychain - CF/NS container objects. - */ -@interface ZDKKeychainWrapper : NSObject -{ - NSMutableDictionary *keychainItemData; // The actual keychain item data backing store. - NSMutableDictionary *genericPasswordQuery; // A placeholder for the generic keychain item query used to locate the item. -} - -@property (nonatomic, retain) NSMutableDictionary *keychainItemData; -@property (nonatomic, retain) NSMutableDictionary *genericPasswordQuery; - -// Designated initializer. -- (id)initWithIdentifier: (NSString *)identifier accessGroup:(NSString *) accessGroup; -- (void)setObject:(id)inObject forKey:(id)key; -- (id)objectForKey:(id)key; - -// Initializes and resets the default generic keychain item data. -- (void)resetKeychainItem; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKLogger.h b/ZendeskProviderSDK.framework/Headers/ZDKLogger.h deleted file mode 100644 index df25e549..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKLogger.h +++ /dev/null @@ -1,151 +0,0 @@ -/* - * - * ZDKLogger.h - * ZendeskSDK - * - * Created by Zendesk on 25/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -/** - * Log level enum. - */ -typedef NS_ENUM(NSUInteger, ZDKLogLevel){ - - /** - * Error logging. - */ - ZDKLogLevelError = 0, - - /** - * Warning logging. - */ - ZDKLogLevelWarn = 1, - - /** - * Info logging. - */ - ZDKLogLevelInfo = 2, - - /** - * Debug logging. - */ - ZDKLogLevelDebug = 3, - - /** - * Verbose logging. - */ - ZDKLogLevelVerbose = 4 -}; - - -/** - * Logger for SDK. - */ -@interface ZDKLogger : NSObject - - -/** - * Log an error message. - * - * @param format format string for log message. - */ -+ (void) e:(NSString *)format, ...; - -/** - * Log an error message. - * - * @param logMessage the string for log message. - */ -+ (void) error:(NSString *)logMessage; - -/** - * Log a warning message. - * - * @param format format string for log message. - */ -+ (void) w:(NSString *)format, ...; - -/** - * Log a warning message. - * - * @param logMessage the string for log message. - */ -+ (void) warn:(NSString *)logMessage; - -/** - * Log an info message. - * - * @param format format string for log message. - */ -+ (void) i:(NSString *)format, ...; - -/** - * Log an info message. - * - * @param logMessage the string for log message. - */ -+ (void) info:(NSString *)logMessage; - -/** - * Log a debug message. - * - * @param format format string for log message. - */ -+ (void) d:(NSString *)format, ...; - -/** - * Log a debug message. - * - * @param logMessage the string for log message. - */ -+ (void) debug:(NSString *)logMessage; - -/** - * Log a verbose message. - * - * @param format format string for log message. - */ -+ (void) v:(NSString *)format, ...; - -/** - * Log a verbose message. - * - * @param logMessage the string for log message. - */ -+ (void) verbose:(NSString *)logMessage; - - -/** - * Set logger enabled - * - * @param enabled enable ZDKLogger with YES, disable with NO. - */ -+ (void) enable:(BOOL)enabled; - - -/** - * Set the log level. - * - * @param level A ZDKLogLevel enum value. - */ -+ (void) setLogLevel:(ZDKLogLevel)level; - -/** - * Get the current log level. - * - * @return The log level, a ZDKLogLevel enum value. - */ -+ (ZDKLogLevel) logLevel; - - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationProvider.h b/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationProvider.h deleted file mode 100644 index 4e5fbeea..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationProvider.h +++ /dev/null @@ -1,103 +0,0 @@ -/* - * - * ZDKPushRegistrationProvider.h - * ZendeskSDK - * - * Created by Zendesk on 04/03/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKProvider.h" - - -@class ZDKPushRegistrationRequest, ZDKPushRegistrationResponse; - - -/** - * A callback for push registration. - * - * @since 1.2.0.1 - * - * @param registrationResponse A model for the response to push registration. - * @param error An error object. Nil unless there was an error. - */ -typedef void (^ZDKPushRegistrationCallback)(ZDKPushRegistrationResponse *registrationResponse, NSError *error); - - -/** - * A callback for unregistration. - * - * @since 1.2.0.1 - * - * @param responseCode A model for the response removing push on a device. - * @param error An error object. Nil unless there was an error. - */ -typedef void (^ZDKPushDeletionCallback)(NSNumber *responseCode, NSError *error); - - -/** - * Provider to register and unregister a device for push notifications. - * - * @since 1.2.0.1 - */ -@interface ZDKPushRegistrationProvider : ZDKProvider - - - -/** - * Calls a push registration end point to register the given APNS device id. - * - * This method stores the `ZDKPushRegistrationResponse` on successful registration. - * Subsequent calls to this method with the same `identifier` bypass calls to the - * network and return the stored `ZDKPushRegistrationResponse` in the `callback`. - * Calling this method with a different `identifier` will remove any stored - * `ZDKPushRegistrationResponse` from storage. - * - * @param identifier The device identifier - * @param locale The preferred device locale - * @param callback Callback that will provide a newly created device ZDKPushRegistrationResponse - * - * @since 1.4.0.1 - */ -- (void) registerForPushWithDeviceID:(NSString *)identifier locale:(NSString *)locale callback:(ZDKPushRegistrationCallback)callback; - - -/** - * Calls a push registration end point to register the given Urban Airship channel id. - * - * This method stores the `ZDKPushRegistrationResponse` on successful registration. - * Subsequent calls to this method with the same `identifier` bypass calls to the - * network and return the stored `ZDKPushRegistrationResponse` in the `callback`. - * Calling this method with a different `identifier` will remove any stored - * `ZDKPushRegistrationResponse` from storage. - * - * @param identifier The channel identifier - * @param locale The preferred device locale - * @param callback Callback that will provide a newly created device ZDKPushRegistrationResponse - * - * @since 1.4.0.1 - */ -- (void) registerForPushWithUAChannelID:(NSString*)identifier local:(NSString *)locale callback:(ZDKPushRegistrationCallback)callback; - - -/** - * Calls a push registration end point to unregister a device to receive push notifications. - * - * Successful calls to this method will remove any stored `ZDKPushRegistrationResponse`. - * - * @since 1.2.0.1 - * - * @param identifier The device identifier - * @param callback Callback that provides the HTTP status code for the deletion request. - */ -- (void) unregisterDevice:(NSString *)identifier callback:(ZDKPushDeletionCallback)callback; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationRequest.h b/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationRequest.h deleted file mode 100644 index a16e894b..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationRequest.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * - * ZDKPushRegistrationRequest.h - * ZendeskSDK - * - * Created by Zendesk on 04/03/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -/** - * Models the api request which is formed when registering a device for push notifications. - * - * @since 1.2.0.1 - */ -@interface ZDKPushRegistrationRequest : NSObject - - -/** - * The device identifier. - * - * @since 1.2.0.1 - */ -@property (nonatomic, copy) NSString *identifier; - - -/** - * The locale of the device in the format of ll-cc. en-us, en-ca. - * - * @since 1.2.0.1 - */ -@property (nonatomic, copy) NSString *locale; - - -/** - * The device type, e.g. iPhone. - * - * @since 1.2.0.1 - */ -@property (nonatomic, copy, readonly) NSString *device_type; - -/** - * Token type, only used to identify Urban Airship channels, nil otherwise. - * - * @since 1.4.0.1 - */ -@property (nonatomic, copy) NSString *token_type; - - -/** - * Returns a dictionary representation of the object. - * - * @return a dictionary with property values keyed by property names. - * - * @since 1.2.0.1 - */ -- (NSMutableDictionary *) toJson; - - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationResponse.h b/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationResponse.h deleted file mode 100644 index e680a1ae..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKPushRegistrationResponse.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * - * ZDKPushRegistrationResponse.h - * ZendeskSDK - * - * Created by Zendesk on 04/03/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -/** - * This is a class model for a response for registering a device for push notifications. - * - * @since 1.2.0.1 - */ -@interface ZDKPushRegistrationResponse : NSObject - - -/** - * The device specific id - * - * @since 1.2.0.1 - */ -@property (nonatomic, copy) NSString *identifier; - - -/** - * Initialize an object with a dictionary. - * - * @since 1.2.0.1 - * - * @param dictionary a dictionary with values for the properties on this class. - * - * @return an initialized object. - */ -- (instancetype)initWithDictionary:(NSDictionary *)dictionary; - - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKRequestStorage.h b/ZendeskProviderSDK.framework/Headers/ZDKRequestStorage.h deleted file mode 100644 index 9b9b10b3..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKRequestStorage.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * - * ZDKRequestStorage.h - * ZendeskSDK - * - * Created by Zendesk on 25/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@interface ZDKRequestStorage : NSObject - - -/** - * Add a requestIdentifier to be stored as a result of a request being created - * - * @param requestIdentifier NSString of request id sourced from creating a new request - */ -- (void) storeRequestIdentifier:(NSString *) requestIdentifier; - - -/** - * Return an NSArray of Strings of request ids that have been stored on this device - * - * @return NSArray of Strings - */ -- (NSArray *) getRequestIdentifiers; - - -/** - * Return an NSArray of Strings of request ids that have been stored on this device - * - * @return NSArray of Strings - * - * @since 1.6.0.1 - */ -- (NSArray *) requestIdentifiers; - - -/** - * Gets the last known comment count for a request. - * - * @param requestId The id of the request. - * - * @return The comment count for the request, nil if not known. - * - * @since 1.4.1.1 - */ -- (NSNumber *) clientCommentCountForRequest:(NSString *)requestId; - - -/** - * Set the comment count for a request. - * - * @param requestId The id of the request. - * @param count The count to store. - * - * @since 1.4.1.1 - */ -- (void) setClientCommentCountForRequest:(NSString *)requestId count:(NSNumber *)count; - - -/** - * Deletes ALL storage - */ -- (void) deleteStoredData; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdates.h b/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdates.h deleted file mode 100644 index 96540c32..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdates.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * - * ZDKRequestUpdates.h - * ZendeskSDK - * - * Created by Zendesk on 19/05/2017. - * - * Copyright (c) 2017 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - - -/** - Returned by ZDKRequsetProvider method getUnreadCount. - */ -@interface ZDKRequestUpdates : NSObject - - -/** - * This will be true if there are any unread comments on for the current - * identity, false otherwises. - * - * @since 1.10.0.1 - */ -@property (nonatomic, readonly) BOOL hasUpdates; - -/** - * Returns an aggregate of unread comment counts. - * - * @since 1.10.0.1 - */ -@property (nonatomic, readonly) NSNumber *updateCount; - - -/** - * A map of request id to unread count. This will be empty if - * hasUnread is false, or totalUnreadCount is 0 - * - * @since 1.10.0.1 - */ -@property (nonatomic, copy, readonly) NSMutableDictionary *requestsWithUpdates; - -+ (instancetype)new NS_UNAVAILABLE; -- (instancetype)init NS_UNAVAILABLE; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdatesProtocol.h b/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdatesProtocol.h deleted file mode 100644 index 41846cd4..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKRequestUpdatesProtocol.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * - * ZDKRequestUpdatesProtocol.h - * ZendeskSDK - * - * Created by Zendesk on 19/05/2017. - * - * Copyright (c) 2017 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - -@protocol ZDKRequestUpdatesProtocol - -- (void) markRequestAsRead:(NSString*)requestId; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKSdkStorage.h b/ZendeskProviderSDK.framework/Headers/ZDKSdkStorage.h deleted file mode 100644 index f967559e..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKSdkStorage.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * ZDKSdkStorage.h - * ZendeskSDK - * - * Created by Zendesk on 25/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@class ZDKRequestStorage, ZDKIdentityStorage, ZDKSettingsStorage, ZDKTicketForm; - -@interface ZDKSdkStorage : NSObject - -@property (nonatomic, strong, readonly) ZDKRequestStorage *requestStorage; -@property (nonatomic, strong, readonly) ZDKIdentityStorage *identityStorage; - - -/** - * Clears user data from storage. - * - * This will only clear data that is associated with a user. - * ZDKSettingsStorage are an example of something that won't be cleared but ZDKRequestStorage will - * be cleared because that is from a user. - * - */ -- (void) clearUserData; - -/** - * Singleton return instance of object - * - * @return instance of ZDKSdkStorage - */ -+ (instancetype) instance; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKSettings.h b/ZendeskProviderSDK.framework/Headers/ZDKSettings.h deleted file mode 100644 index 675e11ae..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKSettings.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * - * ZDKSettings.h - * ZendeskSDK - * - * Created by Zendesk on 19/01/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - -@class ZDKAppSettings, ZDKAccountSettings; - -@interface ZDKSettings : ZDKCoding - -/** - * Gets the app settings. - */ -@property (nonatomic, strong, readonly) ZDKAppSettings *appSettings; - -/** - * Gets the Zendesk account settings. - */ -@property (nonatomic, strong, readonly) ZDKAccountSettings *accountSettings; - - -/** - * Initializes a new instance of ZDKSettings with the contents of the dictionary provided. - * - * @param dictionary A dictionary of the SDK settings. - * - * @return An initialized ZDKSettings object. - */ -- (id) initWithDictionary: (NSDictionary *) dictionary; - - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKSettingsProvider.h b/ZendeskProviderSDK.framework/Headers/ZDKSettingsProvider.h deleted file mode 100644 index ec8151a5..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKSettingsProvider.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * - * ZDKSettingsProvider.h - * ZendeskSDK - * - * Created by Zendesk on 10/11/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKProvider.h" - -@class ZDKAppSettings, ZDKSettings; - -/** - * Block used to pass response from API call - * - * @param settings ZDKAppSettings returned based on applicationId set in ZDKConfig.init, can be nil on error - * @param error NSError passed when an error has occurred, can be nil on success - */ -typedef void (^ZDKSettingsCallback)(ZDKSettings *settings, NSError *error); - -@interface ZDKSettingsProvider : ZDKProvider - -/** - * Get SDK Settings from Zendesk instance - * - * @param callback block callback invoked on success and error states - */ -- (void) getSdkSettingsWithCallback:(ZDKSettingsCallback) callback; - -/** - * Get SDK Settings from Zendesk instance using the specified locale. - * - * @param locale IETF language code. Config returned from server will contain this string if the local is supported, will - * be the default locale otherwise - * @param callback block callback invoked on success and error states - */ -- (void) getSdkSettingsWithLocale:(NSString *)locale andCallback:(ZDKSettingsCallback) callback; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKTicketFormsSettings.h b/ZendeskProviderSDK.framework/Headers/ZDKTicketFormsSettings.h deleted file mode 100644 index e906619d..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKTicketFormsSettings.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * ZDKTicketFormsSettings.h - * ZendeskSDK - * - * Created by Zendesk on 21/09/2016. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Terms - * of Service https://www.zendesk.com/company/terms and Application Developer and API License - * Agreement https://www.zendesk.com/company/application-developer-and-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKCoding.h" - - -/** - * Models the Conversations settings in the admin config panel. - * - * @since 1.9.0.1 - */ -@interface ZDKTicketFormsSettings : ZDKCoding - - -/** - * enabled defines if the conversations component is enabled or not. - * - * @since 1.9.0.1 - */ -@property (nonatomic, assign, readonly) BOOL enabled; - - -/** - * initWithDictionary, passing the NSDictionary of Conversations settings received from the server. - * - * @since 1.9.0.1 - */ -- (id) initWithDictionary:(NSDictionary *)dictionary; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKUserField.h b/ZendeskProviderSDK.framework/Headers/ZDKUserField.h deleted file mode 100644 index b93149d4..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKUserField.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * - * ZDKUserField.h - * ZendeskSDK - * - * Created by Zendesk on 17/08/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@interface ZDKUserField : NSObject - -/** - * User Field ID in zendesk instance. - */ -@property (nonatomic, strong) NSNumber *userFieldId; - -/** - * Title of User Field. - */ -@property (nonatomic, copy) NSString *title; - -/** - * The type of the user field e.g. "checkbox", "text" or "date". - */ -@property (nonatomic, copy) NSString *typeOfField; - -/** - * Description of the user field's purpose. - */ -@property (nonatomic, copy) NSString *fieldDescription; - -/** - * Options for the custom userfield. An array of ZDKCustomField objects(only for "dropdown" type userfields). - */ -@property (nonatomic, copy) NSArray *customFieldOptions; - -/** - * Initialise with dictionary generated from API json. - * - * @param dictionary the user details - */ -- (instancetype)initWithDictionary:(NSDictionary *)dictionary; - -/** - * Parses a json array of user fields into an array of ZDKUserField objects. - * - * @see Developer docs on user fields for more information: https://developer.zendesk.com/rest_api/docs/core/user_fields - * - * @param array The array of API json. - * - * @return An array of ZDKUserField objects. - */ -+ (NSArray*) parseUserFields:(NSArray*)array; - -@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKUserProvider.h b/ZendeskProviderSDK.framework/Headers/ZDKUserProvider.h deleted file mode 100644 index 32ac6afa..00000000 --- a/ZendeskProviderSDK.framework/Headers/ZDKUserProvider.h +++ /dev/null @@ -1,108 +0,0 @@ -/* - * - * ZDKUserProvider.h - * ZendeskSDK - * - * Created by Zendesk on 7/13/15. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - * Setting tags and fields on a user are features. Your plan must support these features in order to - * work with them. - */ - -#import -#import "ZDKUser.h" -#import "ZDKCustomField.h" -#import "ZDKProvider.h" - - -@interface ZDKUserProvider : ZDKProvider - -/** - * Callback for user tags request - * - * @param userTags The updated user tags - * @param error An error object. Nil if no error occurred. - * - * @since 1.4.0.1 - */ -typedef void (^ZDKUserTagsCallback)(NSArray *userTags, NSError *error); -/** - * Callback for get userfields request - * - * @param userfields All the user fields as an array of ZDKUserField objects, currently available in this instance of zendesk - * @param error An error object. Nil if no error occurred. - */ -typedef void (^ZDKUserFieldsCallback)(NSArray *userfields, NSError *error); - -/** - * Callback for set userfields request. - * - * @param userfields The updated userfields as a dictionary with the name of the user field being the key and the corresponding value being the user field value set to the current user. - * @param error An error object. Nil if no error occurred. - */ -typedef void (^ZDKSetUserFieldsCallback)(NSDictionary *userfields, NSError *error); - -/** - * Callback for get user request. - * - * @param user A user object which only contains the user's tags and fields at this time. - * @param error An error object. Nil if no error occurred. - */ -typedef void (^ZDKUserCallback)(ZDKUser *user, NSError *error); - -/** - * Gets a user object of the current user with only the user fields and tags properties populated. - * - * @param callback Callback will return a user object or an error. Can be nil. - * - * @since 1.4.0.1 - */ -- (void) getUser:(ZDKUserCallback)callback; - -/** - * Add tags to the current user. - * - * @param tags The tags to add. - * @param callback Callback will return an array of the tags set to the current user or an error. Can be nil. - * - * @since 1.4.0.1 - */ -- (void) addTags:(NSArray*)tags callback:(ZDKUserTagsCallback)callback; - -/** - * Delete tags from the current user. - * - * @param tags The tags to delete. - * @param callback Callback will return an array of the tags set to the current user or an error. Can be nil. - * - * @since 1.4.0.1 - */ -- (void) deleteTags:(NSArray*)tags callback:(ZDKUserTagsCallback)callback; - -/** - * Set one or more user field values on the current user. To see the fields available for setting use the get User method and inspect the user fields dictionary. - * Values can be cleared by setting them to @p [NSNull null] @p. - * - * @param userFields The user field to set. It expects a dictionary(not a ZDKUserField). The key of this dictionary being the name of the user field and the corresponding value being the user field value to be set for the current user. - * @param callback Callback will return a dictionary of userfields values on the current user. - * - * @since 1.4.0.1 - */ -- (void) setUserFields:(NSDictionary*)userFields callback:(ZDKSetUserFieldsCallback)callback; - -/** - * Gets all user fields available for an account instance. - * - * @param callback The callback will return an array of of ZDKUserField objects or an error. Can be nil. - * - * @since 1.4.0.1 - */ -- (void) getUserFields:(ZDKUserFieldsCallback)callback; -@end diff --git a/ZendeskProviderSDK.framework/Info.plist b/ZendeskProviderSDK.framework/Info.plist deleted file mode 100644 index 284ea3fa..00000000 Binary files a/ZendeskProviderSDK.framework/Info.plist and /dev/null differ diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKAccountAuthHelper.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKAccountAuthHelper.h deleted file mode 100644 index d66d8dc5..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKAccountAuthHelper.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - * - * ZDKAccountAuthHelper.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@class ZDKAccount; - - -/** - * Utility class that helps in some misc tasks with an account - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKAccountAuthHelper : NSObject - -/** - * returns true if the account contains an auth token stored - */ -+ (BOOL)isOauthTokenAvailableForAccount:(ZDKAccount*)account; - - -/** - * creates a new request by adding the auth token from account to the passed request - * - * @param account account to fetch auth token from - * @param request the original request - * - * @return a newly created request that contains the auth headers - */ -+ (NSURLRequest*)requestWithAuthForAccount:(ZDKAccount*)account - withRequest:(NSURLRequest*)request; - -/** - * stores the auth token into the passed account - */ -+ (void)storeAuthToken:(NSString*)authToken andUserId:(NSNumber*)userId toAccount:(ZDKAccount*)account; - - -/** - * check if the data returned from a response contains the auth token - * - * @param data data returned from a login request - * - * @return YES if the data contains auth token, otherwise return no - */ -+ (BOOL)checkResponseContainsAuthToken:(NSData*)data; - -/** - * check if the data returned from a response contains the user id - * - * @param data data returned from a login request - * - * @return YES if the data contains user id, otherwise return no - */ -+ (BOOL)checkResponseContainsUserId:(NSData*)data; - -/** - * returns the auth token from the data passed - * - * @param data data returned from a login request - * - * @return the auth token if the data contains it, otherwise return nil - */ -+ (NSString *__nullable)authTokenWithResponseData:(NSData*)data; - -/** - * returns the user id from the data passed - * - * @param data data returned from a login request - * - * @return the user id if the data contains it, otherwise return nil - */ -+ (NSNumber *__nullable)userIdWithResponseData:(NSData*)data; - - -/** - * check if the account passed has the correct information required to be valid - * - * @param account account to validate - * @param authRequired is auth required - * - * @return YES if the account has all the settings required, otherwise returns NO - */ -+ (BOOL)isAccount:(ZDKAccount*)account validWithAuthRequired:(BOOL)authRequired; - -@end -NS_ASSUME_NONNULL_END diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKErrorParser.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKErrorParser.h deleted file mode 100644 index d2dee5f9..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKErrorParser.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * - * ZDKErrorParser.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -/** - * Parses the response from a request executor - */ -@interface ZDKErrorParser : NSObject - -/** - * Validates the response from an executor and returns an error if appropriate - * - * @param response the URL response from the executor - * @param error the original error - * - * @return error if the response and error pair represent a request error - */ -+ (NSError *__nullable)errorWithURLResponse:(NSURLResponse *__nonnull)response - originalError:(NSError *__nullable)error; - -@end diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequest.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequest.h deleted file mode 100644 index 05745171..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequest.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * ZDKLoginRequest.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZendeskSDKConstants.h" - - -@protocol ZDKIdentity; -@class ZDKRequestExecutor, ZDKAccount, ZDKAuthenticationSpace; - -/** - class that performs the login request and manages the storage of the auth token - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKLoginRequest : NSObject - -/** - * create a new login request - * - * @param requestExecutor executor to use for the request - * @param authenticationSpace authentication space to use with requests - * - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - authenticationSpace:(ZDKAuthenticationSpace*)authenticationSpace NS_DESIGNATED_INITIALIZER; - -/** - * perform the login request - * - * @param completionHandler handler to call when request ends - */ -- (void)loginWithcompletionHandler:(void (^)(NSError *))completionHandler; - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequestPartsFactory.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequestPartsFactory.h deleted file mode 100644 index 503ecbe2..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKLoginRequestPartsFactory.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * - * ZDKLoginRequestPartsFactory.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZendeskProviderSDK.h" - - -@class ZDKAccount; -/** - * class that aids in the creation of the parts of a login request - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKLoginRequestPartsFactory : NSObject - -/** - * returns the URL to use based on the accounts settings - * @param account account to use to get url - * @param identity identity type to get body from - */ -+ (NSURL *_Nullable)loginURLWithAccount:(ZDKAccount*)account identity:(id )identity; - -/** - * returns the HTTP body to send - * @param identity identity type to get body from - */ -+ (NSDictionary *)loginBodyForIdentity:(id )identity; - -/** - * return an error if the stored identity is not valid - * @param identity identity type to get body from - */ -+ (NSError *_Nullable)validateIdentityForSettingsAuthenticationType:(id )identity; - -@end -NS_ASSUME_NONNULL_END diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestExecutor.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestExecutor.h deleted file mode 100644 index 98081bbb..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestExecutor.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * - * ZDKRequestExecutor.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZendeskSDKConstants.h" - - -@class ZDKAccount; -/** - class responsible for performing the request - */ -NS_ASSUME_NONNULL_BEGIN -typedef void (^ZDKAPIRequestBlock)(NSHTTPURLResponse * _Nullable urlResponse, NSData * _Nullable data, NSError * _Nullable error); - -@interface ZDKRequestExecutor : NSObject - -/** - * Init with an account - * - * @param account The account to use for request - */ -- (instancetype)initWithAccount:(ZDKAccount*)account; - -/** - * Creates a ZDKRequestExecutor - * - * @param operationQueue the queue to dispatch the operation on - * @param account The account to use for request - */ -- (instancetype)initWithQueue:(NSOperationQueue*_Nullable)operationQueue account:(ZDKAccount*)account NS_DESIGNATED_INITIALIZER; - -/** - * Execute the request - * - * @param request request to execute - * @param isAuthRequired Is authentication required or not - * @param completionHandler completion handler called when the request ends - */ -- (void)executeRequest:(NSURLRequest *)request - isAuthRequired:(BOOL)isAuthRequired - completionHandler:(ZDKAPIRequestBlock)completionHandler; - -+ (void)handleResponse:(NSURLResponse *)response - date:(NSData *)data - error:(NSError *)connectionError - request:(NSURLRequest*)request - completionHandler:(ZDKAPIRequestBlock)completionHandler; - - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestHelper.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestHelper.h deleted file mode 100644 index c78ea008..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestHelper.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * - * ZDKRequestHelper.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZendeskSDKConstants.h" - - -@protocol ZDKIdentity; -@class ZDKAccount, ZDKAuthenticationSpace; - -NS_ASSUME_NONNULL_BEGIN -@interface ZDKRequestHelper : NSObject - -/** - * Retrurn a dictionary of shared to be sent with the providors requests - * - * @param authenticationSpace Authentication space used - */ -+ (NSDictionary *)sharedHeadersWithAuthenticationSpace:(ZDKAuthenticationSpace*)authenticationSpace; - -/** - * Returns a dictionary that has the Accept-Language header set in it - * - * @param headers the request headers to update - * @param userLocale the user locale to set - * - * @return the updated request header - */ -+ (NSDictionary *)requestHeaders:(NSDictionary*)headers byAddingLocale:(NSString*)userLocale; - -/** - * Returns a String of User Agent Headers appendded together - */ -+ (NSString *)userAgentHeader; - -/** - * Class is not instantiable - */ - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestManager.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestManager.h deleted file mode 100644 index 44aa3f47..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestManager.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * - * ZDKRequestManager.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRequestExecutor.h" -#import "ZDKReachability.h" -#import "ZDKRequestSessionFactory.h" - - -/** - * Main class that handles executing http requests - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKRequestManager : NSObject - -/** - * The current internal request session - */ -@property (nonatomic, strong, readonly) ZDKRequestSession *currentRequestSession; - -/** - * Creates a new ZDKRequestManager - * - * @param reachability rechability instance to specify if internet is reachable - * @param sessionFactory session factory helps in creating different types of sessions - */ -- (instancetype)initWithReachability:(ZDKReachability*)reachability - sessionFactory:(ZDKRequestSessionFactory*)sessionFactory NS_DESIGNATED_INITIALIZER; - -/** - * Executes the HTTP request - * - * @param request the request to execute - * @param isAuthRequired Is authentication required or not - * @param completionHandler handler to call when execution ends - */ -- (void)executeRequest:(NSURLRequest*)request isAuthRequired:(BOOL)isAuthRequired completionHandler:(nonnull ZDKAPIRequestBlock)completionHandler; - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestQueue.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestQueue.h deleted file mode 100644 index 3b83fc71..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestQueue.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * - * ZDKRequestQueue.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRequestExecutor.h" - - -/** - class responsible for storing a list of requests, and perform them later - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKRequestQueue : NSObject - -/** - * create a request queue - * - * @param requestExecutor executor to perfom the requests on - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor NS_DESIGNATED_INITIALIZER; - - -/** - * adds a request to the internally stored ones - * - * @param request request to store - * @param isAuthRequired is auth required for this request - * @param completionHandler the handler to call when the request is executed - */ -- (void)addRequest:(NSURLRequest *)request - isAuthRequired:(BOOL)isAuthRequired - completionHandler:(ZDKAPIRequestBlock)completionHandler; - -/** - * Execute all the stored requests - */ -- (void)executeRequests; - -/** - * Informs the passed blocks about an error - * @param error Error to inform about - */ -- (void)informAboutError:(NSError*)error; - -/** - * return the number of request queued - */ -- (NSInteger)pendingRequestsCount; - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSession.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSession.h deleted file mode 100644 index 06603ec2..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSession.h +++ /dev/null @@ -1,103 +0,0 @@ -/* - * - * ZDKRequestSession.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRequestExecutor.h" - - -@class ZDKRequestSession, ZDKRequestSessionLoggingIn, ZDKRequestExecutor, -ZDKRequestSessionLoggedIn, ZDKRequestSessionNotLoggedIn, ZDKAuthenticationSpace; - -NS_ASSUME_NONNULL_BEGIN -/** - * Session state progression protocol - */ -@protocol ZDKRequestSessionStateDelegate -/** - * Method called from a ZDKRequestSession to inform the delegate about a session change - * - * @param session the current session - * @param newSession the newly created session - * - * The implementer of this delegate will have to maintain a reference to the newly created session - */ -- (void)requestSession:(ZDKRequestSession*)session didChangeToSession:(ZDKRequestSession*)newSession; -@end - -/** - * Helper protocol that aids in creating the different subclasses of ZDKRequestSession - */ -@protocol ZDKRequestSessionCreationDelegate -- (ZDKRequestSessionNotLoggedIn*)requestSessionCreateNotLoggedInSession:(ZDKRequestSession*)session; -- (ZDKRequestSessionLoggingIn*)requestSessionCreateLoggingInSession:(ZDKRequestSession*)session; -- (ZDKRequestSessionLoggedIn*)requestSessionCreateLoggedInSession:(ZDKRequestSession*)session; -@end - - -/** - * A request session represent a state in the state diagram of the a request - * The request starts as not logged in, then it changes to logging in and lastly to logged in - - */ -@interface ZDKRequestSession : NSObject - -/** - * Request executor used internally for executing - */ -@property (nonatomic, strong) ZDKRequestExecutor *requestExecutor; - -/** - * Authentication space to use - */ -@property (nonatomic, strong) ZDKAuthenticationSpace *authenticationSpace; - -/** - * State delegate that will be called when the current state changes to a new one - */ -@property (nonatomic, weak) id delegate; - -/** - * Creation delegate is used internally to create the new session - */ -@property (nonatomic, weak) id creationDelegate; - - -/** - * create a logging in session - * - * @param requestExecutor the executor to use - * @param authenticationSpace authentication space to use with requests - * @param delegate the session progression delegate - * - * The loginRequest and the requestQueue will be set to the default ones - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - authenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace - sessionDelegate:(id)delegate NS_DESIGNATED_INITIALIZER; - -/** - * Executes the HTTP request, the request will finally be forwarded to the requestExecutor - * - * @param request the request to execute - * @param isAuthRequired Is authentication required or not - * @param completionHandler handler to call when execution ends - */ -- (void)executeRequest:(NSURLRequest*)request isAuthRequired:(BOOL)isAuthRequired completionHandler:(ZDKAPIRequestBlock)completionHandler; - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionFactory.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionFactory.h deleted file mode 100644 index 75020517..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionFactory.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * - * ZDKRequestSessionFactory.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKRequestSession.h" - - -@class ZDKRequestExecutor, ZDKAuthenticationSpace; -@protocol ZDKRequestSessionStateDelegate, ZDKIdentity; - -/** - * Factory that aids in the creation of the different types of sessions - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKRequestSessionFactory : NSObject - -/** - * Authentication space to use - */ -@property (nonatomic, strong) ZDKAuthenticationSpace *authenticationSpace; - -/** - * create a factory with an account - * - * @param authenticationSpace authentication space to use with requests - */ -- (instancetype)initWithAuthenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace; - -/** - * creates a factory with an executor - * - * @param requestExecutor the executor, this will be passed to any session the factory creates - * @param authenticationSpace authentication space to use with requests - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - authenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace NS_DESIGNATED_INITIALIZER; - -/** - * creates the initial session based on the values stored in ZDKKAccount - * - * @param delegate session state progression delegate - * - * This method is the only method that the user of the class has to call, after that, the creation of new - * session will be vended by the ZDKRequestSessionCreationDelegate delegate method - * Upon creating any session, factory will set itself as the creation delegate of the created session - */ -- (ZDKRequestSession*)createAndSetupInitialSessionWithDelegate:(id)delegate; - - -- (instancetype)init NS_UNAVAILABLE; - -@end -NS_ASSUME_NONNULL_END diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggedIn.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggedIn.h deleted file mode 100644 index d42d2bce..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggedIn.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * - * ZDKRequestSessionLoggedIn.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import "ZDKRequestSession.h" - -/** - * Request session that handles the requests executed on a logged in session - */ -@interface ZDKRequestSessionLoggedIn: ZDKRequestSession -@end diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggingIn.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggingIn.h deleted file mode 100644 index 3af9cf78..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionLoggingIn.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * - * ZDKRequestSessionLoggingIn.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import "ZDKRequestSession.h" - - -@class ZDKLoginRequest, ZDKRequestQueue; - -/** - * Request session that handles the requests executed on a session that is still logging in - */ -NS_ASSUME_NONNULL_BEGIN -@interface ZDKRequestSessionLoggingIn: ZDKRequestSession - -@property (atomic, assign, readonly) BOOL isLoggingIn; - -/** - * create a logging in session - * - * @param requestExecutor the executor to use - * @param loginRequest the login request to use for logging in - * @param authenticationSpace authentication space to use with requests - * @param delegate the session progression delegate - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - loginRequest:(ZDKLoginRequest*)loginRequest - authenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace - sessionDelegate:(id)delegate; - -/** - * create a logging in session - * - * @param requestExecutor the executor to use - * @param loginRequest the login request to use for logging in - * @param requestQueue the request queue to store the request dispatched while logging in - * @param authenticationSpace authentication space to use with requests - * @param delegate the session progression delegate - */ -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - loginRequest:(ZDKLoginRequest*)loginRequest - requestQueue:(ZDKRequestQueue*)requestQueue - authenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace - sessionDelegate:(id)delegate NS_DESIGNATED_INITIALIZER; - - -- (instancetype)initWithRequestExecutor:(ZDKRequestExecutor*)requestExecutor - authenticationSpace:(ZDKAuthenticationSpace *)authenticationSpace - sessionDelegate:(id)delegate NS_UNAVAILABLE; - - -@end -NS_ASSUME_NONNULL_END diff --git a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionNotLoggedIn.h b/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionNotLoggedIn.h deleted file mode 100644 index 7e080286..00000000 --- a/ZendeskProviderSDK.framework/PrivateHeaders/ZDKRequestSessionNotLoggedIn.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * - * ZDKRequestSessionNotLoggedIn.h - * ZendeskSDK - * - * Created by Zendesk on 14/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRequestSession.h" - -/** - * Request session that handles the requests executed on a not logged in session - */ -@interface ZDKRequestSessionNotLoggedIn: ZDKRequestSession -@end diff --git a/ZendeskProviderSDK.framework/ZendeskProviderSDK b/ZendeskProviderSDK.framework/ZendeskProviderSDK deleted file mode 100644 index 0b12daf2..00000000 Binary files a/ZendeskProviderSDK.framework/ZendeskProviderSDK and /dev/null differ diff --git a/ZendeskSDK.bundle/Info.plist b/ZendeskSDK.bundle/Info.plist deleted file mode 100644 index 2e34b368..00000000 Binary files a/ZendeskSDK.bundle/Info.plist and /dev/null differ diff --git a/ZendeskSDK.bundle/ModelIdentifier.plist b/ZendeskSDK.bundle/ModelIdentifier.plist deleted file mode 100644 index 882e748f..00000000 Binary files a/ZendeskSDK.bundle/ModelIdentifier.plist and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKCreateRequestViewController.nib b/ZendeskSDK.bundle/ZDKCreateRequestViewController.nib deleted file mode 100644 index 71b0dec7..00000000 Binary files a/ZendeskSDK.bundle/ZDKCreateRequestViewController.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib b/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib deleted file mode 100644 index f1d124a3..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/runtime.nib b/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/runtime.nib deleted file mode 100644 index 919ca11e..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterArticleRatingView.nib/runtime.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib deleted file mode 100644 index 78f2e148..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib deleted file mode 100644 index e82f568c..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewController.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewController.nib deleted file mode 100644 index 573be166..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewController.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewFooterView.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewFooterView.nib deleted file mode 100644 index 65c716fc..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewFooterView.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib deleted file mode 100644 index d3550c5d..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib deleted file mode 100644 index 10d11552..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewLoadingTableViewCell.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewLoadingTableViewCell.nib deleted file mode 100644 index ce31143b..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewLoadingTableViewCell.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib deleted file mode 100644 index d438acbb..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib deleted file mode 100644 index 88208cd5..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib deleted file mode 100644 index 5bf4a14a..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib deleted file mode 100644 index 39846d7a..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterOverviewSpacerTableViewCell.nib b/ZendeskSDK.bundle/ZDKHelpCenterOverviewSpacerTableViewCell.nib deleted file mode 100644 index 23d5ece8..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterOverviewSpacerTableViewCell.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterSearchResultTableViewCell.nib b/ZendeskSDK.bundle/ZDKHelpCenterSearchResultTableViewCell.nib deleted file mode 100644 index fdbcebdb..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterSearchResultTableViewCell.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/ZDKHelpCenterSearchResultViewController.nib b/ZendeskSDK.bundle/ZDKHelpCenterSearchResultViewController.nib deleted file mode 100644 index 623a44c0..00000000 Binary files a/ZendeskSDK.bundle/ZDKHelpCenterSearchResultViewController.nib and /dev/null differ diff --git a/ZendeskSDK.bundle/btnAttach.png b/ZendeskSDK.bundle/btnAttach.png deleted file mode 100644 index 4a4f3295..00000000 Binary files a/ZendeskSDK.bundle/btnAttach.png and /dev/null differ diff --git a/ZendeskSDK.bundle/btnAttach@2x.png b/ZendeskSDK.bundle/btnAttach@2x.png deleted file mode 100644 index aa800af6..00000000 Binary files a/ZendeskSDK.bundle/btnAttach@2x.png and /dev/null differ diff --git a/ZendeskSDK.bundle/btnAttach@3x.png b/ZendeskSDK.bundle/btnAttach@3x.png deleted file mode 100644 index f60c06ea..00000000 Binary files a/ZendeskSDK.bundle/btnAttach@3x.png and /dev/null differ diff --git a/ZendeskSDK.bundle/icoAdd.png b/ZendeskSDK.bundle/icoAdd.png deleted file mode 100644 index 12891136..00000000 Binary files a/ZendeskSDK.bundle/icoAdd.png and /dev/null differ diff --git a/ZendeskSDK.bundle/icoAdd@2x.png b/ZendeskSDK.bundle/icoAdd@2x.png deleted file mode 100644 index c37ff527..00000000 Binary files a/ZendeskSDK.bundle/icoAdd@2x.png and /dev/null differ diff --git a/ZendeskSDK.bundle/icoAdd@3x.png b/ZendeskSDK.bundle/icoAdd@3x.png deleted file mode 100644 index 24bab189..00000000 Binary files a/ZendeskSDK.bundle/icoAdd@3x.png and /dev/null differ diff --git a/ZendeskSDK.bundle/icoAttach.png b/ZendeskSDK.bundle/icoAttach.png deleted file mode 100644 index 355212cc..00000000 Binary files a/ZendeskSDK.bundle/icoAttach.png and /dev/null differ diff --git a/ZendeskSDK.bundle/icoAttach@2x.png b/ZendeskSDK.bundle/icoAttach@2x.png deleted file mode 100644 index f9918c39..00000000 Binary files a/ZendeskSDK.bundle/icoAttach@2x.png and /dev/null differ diff --git a/ZendeskSDK.bundle/icoAttach@3x.png b/ZendeskSDK.bundle/icoAttach@3x.png deleted file mode 100644 index 408bb711..00000000 Binary files a/ZendeskSDK.bundle/icoAttach@3x.png and /dev/null differ diff --git a/ZendeskSDK.bundle/icoClose.png b/ZendeskSDK.bundle/icoClose.png deleted file mode 100644 index 9818314b..00000000 Binary files a/ZendeskSDK.bundle/icoClose.png and /dev/null differ diff --git a/ZendeskSDK.bundle/icoClose@2x.png b/ZendeskSDK.bundle/icoClose@2x.png deleted file mode 100644 index 96f0c24b..00000000 Binary files a/ZendeskSDK.bundle/icoClose@2x.png and /dev/null differ diff --git a/ZendeskSDK.bundle/icoClose@3x.png b/ZendeskSDK.bundle/icoClose@3x.png deleted file mode 100644 index 20b7674f..00000000 Binary files a/ZendeskSDK.bundle/icoClose@3x.png and /dev/null differ diff --git a/ZendeskSDK.bundle/ico_coversations.png b/ZendeskSDK.bundle/ico_coversations.png deleted file mode 100644 index 147bd254..00000000 Binary files a/ZendeskSDK.bundle/ico_coversations.png and /dev/null differ diff --git a/ZendeskSDK.bundle/ico_coversations@2x.png b/ZendeskSDK.bundle/ico_coversations@2x.png deleted file mode 100644 index 9875959e..00000000 Binary files a/ZendeskSDK.bundle/ico_coversations@2x.png and /dev/null differ diff --git a/ZendeskSDK.bundle/ico_coversations@3x.png b/ZendeskSDK.bundle/ico_coversations@3x.png deleted file mode 100644 index 4a53ca3e..00000000 Binary files a/ZendeskSDK.bundle/ico_coversations@3x.png and /dev/null differ diff --git a/ZendeskSDK.framework/Headers/ZDKArticleView.h b/ZendeskSDK.framework/Headers/ZDKArticleView.h deleted file mode 100644 index 42e96adb..00000000 --- a/ZendeskSDK.framework/Headers/ZDKArticleView.h +++ /dev/null @@ -1,143 +0,0 @@ -/* - * - * ZDKArticleView.h - * ZendeskSDK - * - * Created by Zendesk on 24/09/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKSpinnerDelegate.h" - -@class ZDKHelpCenterArticle; - -@protocol ZDKHelpCentreArticleViewProtocol - -@optional -/** - * This is delegate method called by the ZDKArticleViewController, it is - * for linking within app to a mail composer view when an email prependded - * with a "mailto:" tag within a help center article is tapped. - * It sets the email as the receiver. If the device, does not have - * email set up, an actionSheet will be shown and the mail comnposer - * will not be. - * - * @param reciever The email that will be set as the receiver in mail composer view. - * - * @since 1.5.0.1 - */ -- (void)openMailWithReciever:(NSString *)reciever; - -/** - * This is a delegate method for linking within app to another help center article. - * It called when an article link is clicked within an ZDKArticleView. It is called by - * recognising the host-mapped URL of the account and other path components within - * that URL to recognise it as a help center article. This is done in a different method - * within the ZDKArticleView. - * - * @param articleId This articleId is the ID of the help center article, which the user - * wants to deeplink to within the SDK. - * - * @since 1.5.0.1 - */ -- (void)openLinkToNewArticle:(NSString *)articleId; - -@end - - - -/** - * A Help Center Article. - * - * @since 0.9.3.1 - */ -@interface ZDKArticleView : UIView - -/** - * Delegate for ZDKHelpArticleViewProtocol. - * - * @since 1.5.0.1 - */ -@property (nonatomic, weak) id delegate; - - -/** - * Scroll view that contains the article webview and attachments table. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong) UIScrollView *article; - -/** - * The article body. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong) UIWebView *articleWebView; - - -/** - * A table for article attachments. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong) UITableView *attachments; - - -/** - * Returns the loading state of the article view. - * - * @since 0.9.3.1 - */ -@property (nonatomic, assign, readonly, getter=isLoading) BOOL loading; - - -/** - * Initializes the article controller with an article. - * - * @since 0.9.3.1 - * - * @param article A help center article. - */ -- (instancetype) initWithArticle:(ZDKHelpCenterArticle *)article; - -/** - * Returns an article View with a loading state - * - * @since 1.7.0.1 - */ -+ (instancetype) loadingArticle; - -/** - * Renders the article passed into it in the view. - * - * @param article A help center article - * - * @since 1.7.0.1 - */ -- (void)renderArticle:(ZDKHelpCenterArticle *)article; - -/** - * Reloads the help center article webview on rotation. - * - * @since 0.9.3.1 - * - */ -- (void) reloadArticleForRotation; - -/** - * Loading spinner for article deeplinking. - * - * @since 1.5.0.1 - */ -@property (nonatomic, strong) UIActivityIndicatorView *deeplinkingSpinner; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKArticleViewController.h b/ZendeskSDK.framework/Headers/ZDKArticleViewController.h deleted file mode 100644 index 40d43e16..00000000 --- a/ZendeskSDK.framework/Headers/ZDKArticleViewController.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * - * ZDKArticleViewController.h - * ZendeskSDK - * - * Created by Zendesk on 24/09/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -#import "ZDKUIViewController.h" -#import "ZDKArticleView.h" -#import -#import - - -@class ZDKArticleView, ZDKHelpCenterArticle, ZDKHelpCenterArticleViewModel; - -/** - * View controller for an article view. - * - * @since 0.9.3.1 - */ -@interface ZDKArticleViewController : ZDKUIViewController - - -/** - * Delegate for right nav bar button. - * - * @since 1.10.0.1 - */ -@property (nonatomic, weak) id uiDelegate; - -/** - * The article view. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong) ZDKArticleView *articleView; - - -/** - * Initializes the article controller with an article. - * - * @since 0.9.3.1 - * - * @param article A help center article. - */ -- (instancetype) initWithArticle:(ZDKHelpCenterArticle *)article; - -/** - * Initializes the article controller with an article view model which trigger a network call - * to fetch the full article model. - * - * @param articleViewModel An articleViewModel - * - * @since 1.7.0.1 - */ -- (instancetype) initWithArticleViewModel:(ZDKHelpCenterArticleViewModel *)articleViewModel; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKAttachmentCollectionViewCell.h b/ZendeskSDK.framework/Headers/ZDKAttachmentCollectionViewCell.h deleted file mode 100644 index c2d07253..00000000 --- a/ZendeskSDK.framework/Headers/ZDKAttachmentCollectionViewCell.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * - * ZDKAttachmentCollectionViewCell.h - * ZendeskSDK - * - * Created by Zendesk on 02/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -/** - * Collection view cell which displays an attachment. - */ -@interface ZDKAttachmentCollectionViewCell : UICollectionViewCell - - -/** - * Prepare cell for display with an image. - * - * @param image an attachment to display. - */ -- (void)prepareWithImage:(UIImage *)image; - - -/** - * Helper method. - * - * @return a reuse identifier. - */ -+ (NSString *) reuseIdentifier; - - -/** - * Returns the preferred size for the view. - */ -+ (CGSize) preferedSize; - - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKAttachmentView.h b/ZendeskSDK.framework/Headers/ZDKAttachmentView.h deleted file mode 100644 index f97c7a4c..00000000 --- a/ZendeskSDK.framework/Headers/ZDKAttachmentView.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * - * ZDKAttachmentView.h - * ZendeskSDK - * - * Created by Zendesk on 03/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -/** - * A small view which displays attachments for a comment being created. - * Allowing end users to add and remove attachments to comments. - */ -@interface ZDKAttachmentView : UIView - - -/** - * Collection view for attachments. - */ -@property (nonatomic, strong, readonly) UICollectionView *attachmentsCollectionView; - - -/** - * Add a target for the close button accion on this view. - * - * @param target the target for the action. - * @param action the action. - */ -- (void) addTarget:(id)target forCloseAction:(SEL)action; - - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKAttachmentViewDataSource.h b/ZendeskSDK.framework/Headers/ZDKAttachmentViewDataSource.h deleted file mode 100644 index 1bf730a8..00000000 --- a/ZendeskSDK.framework/Headers/ZDKAttachmentViewDataSource.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * - * ZDKAttachmentViewDataSource.h - * ZendeskSDK - * - * Created by Zendesk on 02/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -/** - * Collection view data source for ZDKAttachmentView. - */ -@interface ZDKAttachmentViewDataSource : NSObject - - -@property (nonatomic, copy) NSMutableArray *data; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKCommentInputView.h b/ZendeskSDK.framework/Headers/ZDKCommentInputView.h deleted file mode 100644 index e4bef0d7..00000000 --- a/ZendeskSDK.framework/Headers/ZDKCommentInputView.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * - * ZDKCommentInputView.h - * ZendeskSDK - * - * Created by Zendesk on 06/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -@protocol ZDKCommentInputViewDelegate - -@optional - -/** - * Called to determine whether the send action is executed. - * Defaults to yes if not implemented. - * - * @return YES to execute the send action. Return NO to block execution the send action. - */ -- (BOOL) shouldSelectSend; - - -/** - * Called when the send button is pressed. - * - * @param commentBody the comment text. - */ -- (void) didSelectSend:(NSString *)commentBody; - - -/** - * Called to determine whether the attachment action is executed. - * Defaults to yes if not implemented. - * - * @return YES to execute the attachment action. Return NO to block execution the attachment action. - */ -- (BOOL) shouldSelectAttachment; - - -/** - * Called when the attachment button is selected. - */ -- (void) didSelectAttachment; - - -@end - - -@class ZDKUITextView; - - -@interface ZDKCommentInputView : UIView - - -/** - * Create a Comment Input View - * - * @param attachmentEnabled is attachement enabled - */ -- (instancetype)initWithAttachemntEnabled:(BOOL)attachmentEnabled; - - -@property (nonatomic, strong, readonly) ZDKUITextView *textView; - - -@property (nonatomic, strong, readonly) UIButton *sendButton; - -/** - * Returns the preferred height for the input view. - * - * @return the preferred height. - */ -- (CGFloat) preferredHeight; - - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKCommentInputViewController.h b/ZendeskSDK.framework/Headers/ZDKCommentInputViewController.h deleted file mode 100644 index 6e8e4d38..00000000 --- a/ZendeskSDK.framework/Headers/ZDKCommentInputViewController.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * - * ZDKCommentInputViewController.h - * ZendeskSDK - * - * Created by Zendesk on 04/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -@class ZDKCommentInputView, ZDKRequest; - - -@interface ZDKCommentInputViewController : UIViewController - -@property (nonatomic, strong) ZDKCommentInputView *commentInputView; - -- (instancetype)initWithRequest:(ZDKRequest *)request isAttachmentEnabled:(BOOL)isAttachmentEnabled; - -- (CGFloat) preferredHeight; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKCommentsTableViewController.h b/ZendeskSDK.framework/Headers/ZDKCommentsTableViewController.h deleted file mode 100644 index 1b7d415f..00000000 --- a/ZendeskSDK.framework/Headers/ZDKCommentsTableViewController.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * - * ZDKCommentsTableViewController.h - * ZendeskSDK - * - * Created by Zendesk on 04/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRotationForwarding.h" - -@class ZDKRequest, ZDKCommentsTableViewDataSource; - -@interface ZDKCommentsTableViewController : UIViewController - -@property (nonatomic, strong, readonly) ZDKCommentsTableViewDataSource *datasource; - -@property (nonatomic, strong, readonly) UITableView *commentsView; - -@property (nonatomic, assign) id rotationEventDelegate; - -/** - * Init with provided request. - * - * @param request the request object this comments view is for - * @return the instance - */ -- (instancetype) initWithRequest:(ZDKRequest *)request; - - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDataSource.h b/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDataSource.h deleted file mode 100644 index 9618f84e..00000000 --- a/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDataSource.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * - * ZDKCommentsTableViewDataSource.h - * ZendeskSDK - * - * Created by Zendesk on 04/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@class ZDKRequest; - - -extern NSString * const ZDK_RequestCommentsListUpdated; - -/** - * Data source for the comments table view. - */ -@interface ZDKCommentsTableViewDataSource : NSObject - - -/** - * State tracking, if true then a refresh if the request list is in progress. - */ -@property (nonatomic, assign, readonly) BOOL loadingInProgress; - - -/** - * Read-only array of items associated with the data source. - */ -@property (nonatomic, copy, readonly) NSArray *items; - - -/** - * Init with provided request. - * - * @param request the request object this comments view is for - * @return the instance - */ -- (instancetype) initWithRequest:(ZDKRequest*)request; - - -/** - * Retrieves an item for the given index path. - * - * @param indexPath The index path for the item to be retrieved. - * @return An item, depending on the data source this could be a category, section or article. - */ -- (id)itemAtIndexPath:(NSIndexPath *)indexPath; - - -/** - * Reloads the data source. - */ -- (void) reloadData; - - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDelegate.h b/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDelegate.h deleted file mode 100644 index 0d217a87..00000000 --- a/ZendeskSDK.framework/Headers/ZDKCommentsTableViewDelegate.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * - * ZDKCommentsTableViewDelegate.h - * ZendeskSDK - * - * Created by Zendesk on 04/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKRotationForwarding.h" - - -@interface ZDKCommentsTableViewDelegate : NSObject - -@property (nonatomic, assign) id rotationEventDelegate; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKCommentsViewController.h b/ZendeskSDK.framework/Headers/ZDKCommentsViewController.h deleted file mode 100644 index 356c2783..00000000 --- a/ZendeskSDK.framework/Headers/ZDKCommentsViewController.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * - * ZDKCommentsViewController.h - * ZendeskSDK - * - * Created by Zendesk on 04/02/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -#import "ZDKUIViewController.h" -#import "ZDKRotationForwarding.h" - - -@class ZDKRequest; - - -@interface ZDKCommentsViewController : ZDKUIViewController - - -/** - * The original request for the comment stream. - */ -@property (nonatomic, strong, readonly) ZDKRequest *request; - - -/** - * Initialize the comments controller with a request. - * - * @param aRequest A request model. - * - * @return A new instance of ZDKCommentsViewController. - */ -- (instancetype)initWithRequest:(ZDKRequest *)aRequest; - -/** - * Dismiss the controller that was presented modally. - */ -- (void) dismiss; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKCreateRequestView.h b/ZendeskSDK.framework/Headers/ZDKCreateRequestView.h deleted file mode 100644 index 14045afe..00000000 --- a/ZendeskSDK.framework/Headers/ZDKCreateRequestView.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * - * ZDKCoreCreateRequestView.h - * ZendeskSDK - * - * Created by Zendesk on 31/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKSpinnerDelegate.h" - -@class ZDKUITextView; - - -/** - * Request creation view. - * - * @since 0.9.3.1 - */ -@interface ZDKCreateRequestView : UIView - -/** - * Text view for request description. - * - * @since 0.9.3.1 - */ -@property (nonatomic, strong) ZDKUITextView *textView; - -/** - * Text field for email input. Only shown if using anonymous and conversations disabled. - * - * @since 1.4.0.1 - */ -@property (nonatomic, strong) UITextField *emailField; - -/** - * Button to allow user to attach images - * - * @since 1.1.0.1 - */ -@property (nonatomic, strong) UIButton *attachImageButton; - -/** - * Height of the textView frame - * - * @since 1.1.0.1 - */ -@property (nonatomic, readonly, assign) NSInteger textViewHeight; - - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKCreateRequestViewController.h b/ZendeskSDK.framework/Headers/ZDKCreateRequestViewController.h deleted file mode 100644 index eda95723..00000000 --- a/ZendeskSDK.framework/Headers/ZDKCreateRequestViewController.h +++ /dev/null @@ -1,92 +0,0 @@ -/* - * - * ZDKCreateRequestViewController.h - * ZendeskSDK - * - * Created by Zendesk on 22/12/2015 - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import - - -typedef void (^ZDKCreateRequestSuccess) (id result); -typedef void (^ZDKCreateRequestError) (NSError *error); - -@class ZDKReachabilityWrapper, ZDKToastViewWrapper, ZDKCreateRequestViewController, ZDKUITextView; - -/** - * Request creation view controller delegate methods. - * - * @since 1.6.0.1 - */ -@protocol ZDKCreateRequestViewControllerDelegate - -@optional - -/** - * Delegate method called when the create request view controller finishes - * - * @since 1.6.0.1 - * - * @param viewController the create request view controller - */ -- (void)createRequestViewControllerDidFinish:(ZDKCreateRequestViewController*)viewController; - -/** - * Delegate method called when a ticket is created successfully - * - * @since 1.6.0.1 - * - * @param viewController the create request view controller - * @param result the created ticket - */ - -- (void)createRequestViewController:(ZDKCreateRequestViewController*)viewController didCreateTicketWithSuccess:(id)result; - -/** - * Delegate method called when a ticket creation fails - * - * @since 1.6.0.1 - * - * @param viewController the create request view controller - * @param error the error - */ - -- (void)createRequestViewController:(ZDKCreateRequestViewController*)viewController didFailCreateTicketWithError:(NSError*)error; - - -/** - * Dismisses the create request screen. - * - * @since 1.7.2.1 - */ -- (void)dismiss; - -@end - - -/** - * Request creation view controller. - * - * @since 0.9.3.1 - */ -@interface ZDKCreateRequestViewController : UIViewController - - -/** - * Create request view controller delegate - * - * @since 1.6.0.1 - */ -@property (nonatomic, weak) id delegate; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKHelpCenter.h b/ZendeskSDK.framework/Headers/ZDKHelpCenter.h deleted file mode 100644 index 07b3e875..00000000 --- a/ZendeskSDK.framework/Headers/ZDKHelpCenter.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * - * ZDKHelpCenter.h - * ZendeskSDK - * - * Created by Zendesk on 09/09/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import -#import "ZDKUIViewController.h" - -@class ZDKHelpCenterOverviewContentModel; - -/** - * Convenience class for presenting Help Center content. - * - * @since 0.9.3.1 - */ -@interface ZDKHelpCenter : NSObject - -/** - * Pushes a Help Center Overview Screen with content defined by the ZDKHelpCenterOverviewContentModel. - * - * @param navController The navigation controller which to push onto. - * @param helpCenterContentModel A ZDKHelpCenterContentModel object that defines the content shown on screen - * - * @since 1.7.0.1 - */ -+ (void) pushHelpCenterOverview:(UINavigationController *)navController - withContentModel:(ZDKHelpCenterOverviewContentModel *)helpCenterContentModel; - -/** - * Presents a Help Center Overview Screen modally with content defined by the ZDKHelpCenterOverviewContentModel. - * - * @param viewController View Controller from which to present from. - * @param helpCenterContentModel A ZDKHelpCenterContentModel object that defines the content shown on screen - * - * @since 1.7.0.1 - */ -+ (void) presentHelpCenterOverview:(UIViewController *)viewController - withContentModel:(ZDKHelpCenterOverviewContentModel *)helpCenterContentModel; - -/** - * Specify an icon that will be placed in the right nav bar button. - * - * @since 0.9.3.1 - * - * @param name The name of an image in your app bundle. - */ -+ (void) setConversationsBarButtonImage:(NSString *)name __deprecated_msg("Deprecated as of 1.10.0.1, use ZDKHelpCenterConversationsUIDelegate instead."); - - -/** - * Set the nav bar UI type for displaying the conversations screen. - * - * @since 0.9.3.1 - * - * @param uiType A ZDKNavBarConversationsUIType. - */ -+ (void) setNavBarConversationsUIType:(ZDKNavBarConversationsUIType)uiType __deprecated_msg("Deprecated as of 1.10.0.1, use ZDKHelpCenterConversationsUIDelegate instead."); - - -/** - Set a delegate which will be forwarded to Help Center view controllers. - Replaces `setConversationsBarButtonImage:` and `setNavBarConversationsUIType:` - as the means to customize the right navigation bar button functionality. - - @since 1.10.0.1 - - @param delegate Implementation of ZDKHelpCenterConversationsUIDelegate. - */ -+ (void) setUIDelegate:(id)delegate; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKHelpCenterOverviewController.h b/ZendeskSDK.framework/Headers/ZDKHelpCenterOverviewController.h deleted file mode 100644 index 2eba57f6..00000000 --- a/ZendeskSDK.framework/Headers/ZDKHelpCenterOverviewController.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * - * ZDKHelpCenterOverviewController.h - * ZendeskSDK - * - * Created by Zendesk on 27/05/2016. - * - * Copyright © 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import - -@class ZDKHelpCenterOverviewContentModel; - -NS_ASSUME_NONNULL_BEGIN -NS_AVAILABLE_IOS(8_0) - - -/** - * Displays Help Center content. - */ -@interface ZDKHelpCenterOverviewController : UIViewController - -@property (nonatomic, weak) id uiDelegate; - -- (instancetype) initWithHelpCenterOverviewModel:(ZDKHelpCenterOverviewContentModel *)helpCenterContentModel; - -@end -NS_ASSUME_NONNULL_END diff --git a/ZendeskSDK.framework/Headers/ZDKImageViewerViewController.h b/ZendeskSDK.framework/Headers/ZDKImageViewerViewController.h deleted file mode 100644 index 7bd93199..00000000 --- a/ZendeskSDK.framework/Headers/ZDKImageViewerViewController.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * - * ZDKImageViewerViewController.h - * ZendeskSDK - * - * Created by Zendesk on 2/11/15. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -#import "ZDKUIViewController.h" -#import "ZDKRotationForwarding.h" - -@interface ZDKImageViewerViewController : ZDKUIViewController - -@property (nonatomic, assign) id rotationEventDelegate; - -- (instancetype) initWithImage:(UIImage*)image; - -- (void) dismiss; - - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKPushUtil.h b/ZendeskSDK.framework/Headers/ZDKPushUtil.h deleted file mode 100644 index 5aa28f56..00000000 --- a/ZendeskSDK.framework/Headers/ZDKPushUtil.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * - * ZDKPushUtil.h - * ZendeskSDK - * - * Created by Zendesk on 19/03/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -/** - * ZDKPushUtil handles push notifications for Zendesk SDK related notifications. - * - * @since 1.2.0.1 - */ -@interface ZDKPushUtil : NSObject - -/** - * Handles a remote notification for Zendesk SDK related notifications. - * This handler attempt to pull out a request id from the push info - * dictionary and use this to fetch the updated ticket. - * - * @since 1.2.0.1 - * - * @param pushInfo The info dictionary from the app delegate remote notification methods. - * @param application The application. - * @param presentationStyle The presentation style for a modally presented view. - * @param guide A layout guid for the presented view controller. - * @param applicationId The application ID. The same as in the ZDKConfig initialize method. - * @param zendeskUrl Your Zendesk url. The same as in the ZDKConfig initialize method. - * @param oAuthClientId The OAuth client ID. The same as in the ZDKConfig initialize method. - */ -+ (void) handlePush:(NSDictionary *)pushInfo - forApplication:(UIApplication *)application - presentationStyle:(UIModalPresentationStyle)presentationStyle - layoutGuide:(ZDKLayoutGuide)guide - withAppId:(NSString *)applicationId - zendeskUrl:(NSString *)zendeskUrl - clientId:(NSString *)oAuthClientId; - - -/** - * Handles a remote notification for Zendesk SDK related notifications. - * This handler attempt to pull out a request id from the push info - * dictionary and use this to fetch the updated ticket. - * - * @since 1.2.0.1 - * - * @param pushInfo The info dictionary from the app delegate remote notification methods. - * @param application The application. - * @param presentationStyle The presentation style for a modally presented view. - * @param guide A layout guid for the presented view controller. - * @param applicationId The application ID. The same as in the ZDKConfig initialize method. - * @param zendeskUrl Your Zendesk url. The same as in the ZDKConfig initialize method. - * @param oAuthClientId The OAuth client ID. The same as in the ZDKConfig initialize method. - * @param completionHandler The fetch completion handler from the app delegate remote notification method. - */ -+ (void) handlePush:(NSDictionary *)pushInfo - forApplication:(UIApplication *)application - presentationStyle:(UIModalPresentationStyle)presentationStyle - layoutGuide:(ZDKLayoutGuide)guide - withAppId:(NSString *)applicationId - zendeskUrl:(NSString *)zendeskUrl - clientId:(NSString *)oAuthClientId fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKRequestCommentAttachmentLoadingTableCell.h b/ZendeskSDK.framework/Headers/ZDKRequestCommentAttachmentLoadingTableCell.h deleted file mode 100644 index 379428dd..00000000 --- a/ZendeskSDK.framework/Headers/ZDKRequestCommentAttachmentLoadingTableCell.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * - * ZDKRequestCommentAttachmentLoadingTableCell.h - * ZendeskSDK - * - * Created by Zendesk on 26/01/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import "ZDKRequestCommentTableCell.h" - -@interface ZDKRequestCommentAttachmentLoadingTableCell : ZDKRequestCommentTableCell - - -+ (CGFloat) cellHeightForCommentWithAttachment:(CGFloat) width; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKRequestCommentTableCell.h b/ZendeskSDK.framework/Headers/ZDKRequestCommentTableCell.h deleted file mode 100644 index c0b25660..00000000 --- a/ZendeskSDK.framework/Headers/ZDKRequestCommentTableCell.h +++ /dev/null @@ -1,140 +0,0 @@ -/* - * - * ZDKAgentCommentTableCell.h - * ZendeskSDK - * - * Created by Zendesk on 18/06/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKSpinnerDelegate.h" -@class ZDKCommentWithUser; - -/** - * Super class for request comment cells with shared functionality - */ -@interface ZDKRequestCommentTableCell : UITableViewCell - -/** - * The label containing the body of the comment. - */ -@property (nonatomic, strong) UILabel *body; - -/** - * The 'created at' label. - */ -@property (nonatomic, strong) UILabel *timestamp; - -/** - * Setup the cell for rendering with the provided comment. - * - * @param commentWithUser the comment and user for a given comment - */ -- (void) prepareUsingCommentWithUser:(ZDKCommentWithUser *)commentWithUser; - -/** - * Convenience method for cell reuse identifiers. - * - * @return a cell reuse identifier derived from NSStringFromClass. - */ -+ (NSString *) reuseId; - -@end - - -#pragma mark - agent - - - -/** - * Comment cell for rendering agent comments. - */ -@interface ZDKAgentCommentTableCell : ZDKRequestCommentTableCell - - -/** - * A cache of the avatar image being presented in this cell. - */ -@property (nonatomic, copy) NSMutableDictionary *avatarCache; - -/** - * The avatar UIImageView. - */ -@property (nonatomic, strong) UIImageView *avatar; - -/** - * The author label. - */ -@property (nonatomic, strong) UILabel *author; - - -/** - * Returns the cell height for the comment in the specified width. - * - * @param commentWithUser the comment to be evaluated - * @param width the width the cell has available - * @return the resulting cell height - */ -+ (CGFloat) cellHeightForCommentWithUser:(ZDKCommentWithUser*)commentWithUser inWidth:(CGFloat)width; - - -@end - - -#pragma mark - end user - - - -/** - * Comment cell for rendering end user comments. - */ -@interface ZDKEndUserCommentTableCell : ZDKRequestCommentTableCell - - -/** - * Returns the cell height for the comment in the specified width. - * - * @param commentWithUser the comment to be evaluated - * @param width the width the cell has available - * @return the resulting cell height - */ -+ (CGFloat) cellHeightForCommentWithUser:(ZDKCommentWithUser*)commentWithUser inWidth:(CGFloat)width; - -@end - -#pragma mark - - - -/** - * Retry delegate for requesting a refresh. - */ -@protocol ZDKCommentListRetryDelegate - - -/** - * Refresh the request list. - */ -- (void) refresh; - -@end - - -#pragma mark - Loading Cell - - -/** - * Loading state cell for the request list. - */ -@interface ZDKCommentsListLoadingTableCell : UITableViewCell - -@end - diff --git a/ZendeskSDK.framework/Headers/ZDKRequestListTable.h b/ZendeskSDK.framework/Headers/ZDKRequestListTable.h deleted file mode 100644 index 3989c153..00000000 --- a/ZendeskSDK.framework/Headers/ZDKRequestListTable.h +++ /dev/null @@ -1,95 +0,0 @@ -/* - * - * ZDKRequestListTable.h - * ZendeskSDK - * - * Created by Zendesk on 14/06/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - - - - -@class ZDKRequestStorage; - -/** - * UITableView containing the users request list. On init, the list will show a loading indicator - * and refresh the requests from the server, once loaded the list will reload itself and will notify - * that the table has been updated. - */ -@interface ZDKRequestListTable : UITableView - -/** - * The array of requests that is being used to render the table. - */ -@property (nonatomic, copy) NSArray *requests; - -/** - * State tracking, if true then the current state is that the last refresh resulted in an error. - */ -@property (nonatomic, assign) BOOL refreshError; - -/** - * Localized error string for presentation to the user. - */ -@property (nonatomic, copy) NSString *errorString; - -/** - * State tracking, if true then a refresh if the request list is in progress. - */ -@property (nonatomic, assign) BOOL loadingInProgress; - -/** - * create a request list table - * - * @param requestStorage request storage to use - */ -- (instancetype) initWithRequestStorage:(ZDKRequestStorage*)requestStorage NS_DESIGNATED_INITIALIZER; - - -/** - * Returns the height required by the table to display it's contents. - */ -- (CGFloat) tableHeight; - - -/** - * Returns the cell height for the current table state, e.g. loading or loaded. - * - * @return a table cell height. - */ -- (CGFloat) cellHeight; - - -/** - * Register the observer for NSNotification events that the list has been updated. - * - * @param observer the instance to be added as observer - * @param selector the selector to be invoked on the observer on event - */ -- (void) registerForEvents:(id)observer withSelector:(SEL)selector; - - -/** - * Remove the observer, this must always be invoked on observer dealloc. - * - * @param observer the instance to be removed as observer - */ -- (void) unregisterForEvents:(id)observer; - - -- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style NS_UNAVAILABLE; -- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE; - -@end - diff --git a/ZendeskSDK.framework/Headers/ZDKRequestListTableCell.h b/ZendeskSDK.framework/Headers/ZDKRequestListTableCell.h deleted file mode 100644 index 2eb10fb9..00000000 --- a/ZendeskSDK.framework/Headers/ZDKRequestListTableCell.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * - * ZDKRequestListTableCell.h - * ZendeskSDK - * - * Created by Zendesk on 14/06/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKSpinnerDelegate.h" - -@class ZDKRequest; - -static CGFloat const ZDSDK_REQUEST_CELL_VERTICAL_MARGIN = 20.0f; -static CGFloat const ZDSDK_REQUEST_CELL_DESCRIPTION_TS_MARGIN = 5.0f; -static CGFloat const ZDSDK_REQUEST_CELL_LEFT_INSET = 25.0f; - - - -/** - * Request cell for the request list table. - */ -@interface ZDKRequestListTableCell : UITableViewCell - -/** - * The unread indicator view. - */ -@property (nonatomic, strong) UIView *unreadView; - -/** - * The description label. - */ -@property (nonatomic, strong) UILabel *requestDescription; - -/** - * 'The created at' label. - */ -@property (nonatomic, strong) UILabel *updatedAt; - - -/** - * The color of the unread marker. - */ -@property (nonatomic, strong) UIColor *unreadColor UI_APPEARANCE_SELECTOR; - -/** - * Setup the cell with the request info. - */ -- (void) prepareWithRequest:(ZDKRequest*)request isUnread:(BOOL)isUnread; - -@end - - -#pragma mark - - - -/** - * Empty state cell for the request list. - */ -@interface ZDRequestListEmptyTableCell : UITableViewCell - -/** - * Empty cell text label. - */ -@property (nonatomic, strong) UILabel *messageLabel; - -@end - - -#pragma mark - - - -/** - * Loading state cell for the request list. - */ -@interface ZDRequestListLoadingTableCell : UITableViewCell - - -@end - diff --git a/ZendeskSDK.framework/Headers/ZDKRequestListViewController.h b/ZendeskSDK.framework/Headers/ZDKRequestListViewController.h deleted file mode 100644 index 2970e4c4..00000000 --- a/ZendeskSDK.framework/Headers/ZDKRequestListViewController.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * - * ZDKRequestListViewController.h - * ZendeskSDK - * - * Created by Zendesk on 15/10/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import "ZDKUIViewController.h" - -@class ZDKRequestListTable; - -@protocol ZDKCreateRequestUIDelegate; - -@interface ZDKRequestListViewController : ZDKUIViewController - -/** - * Scroll view that contains the ZDKRequestListTable. - */ -@property (nonatomic, strong) UIScrollView *requestListContainer; - -/** - * A table that displays open requests. - */ -@property (nonatomic, strong) ZDKRequestListTable *requestList; - -/** - * Delegate for nav ban button UI. - */ -@property (nonatomic, weak) id delegate; - - -/** - * Dismiss modally presented controller. - * - * @since 1.5.4.1 - */ -- (void) dismiss; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKRequests.h b/ZendeskSDK.framework/Headers/ZDKRequests.h deleted file mode 100644 index 6964eb16..00000000 --- a/ZendeskSDK.framework/Headers/ZDKRequests.h +++ /dev/null @@ -1,173 +0,0 @@ -/* - * - * ZDKRequests.h - * ZendeskSDK - * - * Created by Zendesk on 22/04/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - - -#import "ZDKCreateRequestUIDelegate.h" -#import "ZDKUIViewController.h" - - - -@class ZDKRequestListTable; -@class ZDKAccount; - - -typedef void (^ZDKRequestSuccess) (id result); -typedef void (^ZDKRequestError) (NSError *error); - - -#pragma mark Request creation config - - -/** - * Request creation config object. - */ -@interface ZDKRequestCreationConfig : NSObject { - - NSArray *tags; - NSString *additionalRequestInfo; - NSString *subject; - -} - - -/** - * Tags to be included when creating a request. - */ -@property (copy) NSArray *tags; - - -/** - * Additional free text to be appended to the request description. - */ -@property (copy) NSString *additionalRequestInfo; - -/** - * Request subject. - * - * @since 1.3.0.1 - */ -@property (copy) NSString *subject; - - -/** - * Helper method providing a simple visual separator for request info including line breaks. - * @return @"\n\n"; - */ -- (NSString*) contentSeperator; - - -@end - - -#pragma mark - ZDKRequests - - -/** - * Config block. - * @param account the account on which the subdomain and user can be set - * @param requestCreationConfig the Request creation config which can be updated as desired. - */ -typedef void (^ZDSDKConfigBlock) (ZDKAccount *account, ZDKRequestCreationConfig *requestCreationConfig); - - -/** - * Core SDK class providing access to request deflection, creation and lists. - */ -@interface ZDKRequests : NSObject { - - ZDKRequestCreationConfig *requestCreationConfig; - -} - - -/** - * Request creation config for this instance. - */ -@property (strong) ZDKRequestCreationConfig *requestCreationConfig; - - -/** - * Get the instance of ZDKRequests - * @return ZDKRequests A shared instance of ZDKRequests - */ -+ (instancetype) instance; - - -/** - * Configure the SDK - * @param config the config block with which to setup the SDK. - */ -+ (void) configure:(ZDSDKConfigBlock)config; - -/** - * Presents a simple request creation on top of the provided view controller modally. - * - * @param viewController A view controller frow which to present on. - * - * @since 1.6.0.1 - */ -+ (void) presentRequestCreationWithViewController:(UIViewController *)viewController; - -/** - * Presents a request list view controller modally on top of the provided view controller modally. - * - * @param viewController A view controller frow which to present on. - * - * @since 1.6.0.1 - */ -+ (void) presentRequestListWithViewController:(UIViewController *)viewController; - -/** - * Pushes a request list view controller on top of the navigation stack. - * - * @param navController The UINavitgationController which to push from. - * @param aGuide Should the request list respect top and bottom layout guide? Pass in - * one of the const values, ZDKLayoutRespectAll, ZDKLayoutRespectNone, - * ZDKLayoutRespectTop and ZDKLayoutRespectBottom. - * - * @since 1.6.0.1 - */ -+ (void) pushRequestListWithNavigationController:(UINavigationController *)navController layoutGuide:(ZDKLayoutGuide)aGuide; - -/** - * Pushes a request list view controller on top of the navigation stack. - * - * @param navController The UINavitgationController which to push from. - * - * @since 1.6.0.1 - */ -+ (void) pushRequestListWithNavigationController:(UINavigationController *)navController; - - -/** - * Specify an icon that will be placed in the right nav bar button. - * - * @param name The name of an image in your app bundle. - */ -+ (void) setNewRequestBarButtonImage:(NSString *)name; - - -/** - * Set the nav bar UI type for displaying the create request screen. - * - * @param uiType A ZDKNavBarCreateRequestUIType. - */ -+ (void) setNavBarCreateRequestUIType:(ZDKNavBarCreateRequestUIType)uiType; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKRotationForwarding.h b/ZendeskSDK.framework/Headers/ZDKRotationForwarding.h deleted file mode 100644 index 946db55a..00000000 --- a/ZendeskSDK.framework/Headers/ZDKRotationForwarding.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * - * ZDKRotationForwarding.h - * ZendeskSDK - * - * Created by Zendesk on 3/30/16. - * - * Copyright © 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -@protocol ZDKRotationForwarding - -- (void)orientationWillChange:(UIInterfaceOrientation)toInterfaceOrientation; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKTheme.h b/ZendeskSDK.framework/Headers/ZDKTheme.h deleted file mode 100644 index 4f09c10f..00000000 --- a/ZendeskSDK.framework/Headers/ZDKTheme.h +++ /dev/null @@ -1,135 +0,0 @@ -/* - * - * ZDKTheme.h - * ZendeskSDK - * - * Created by Zendesk on 20/04/2016. - * - * Copyright (c) 2016 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - - -NS_ASSUME_NONNULL_BEGIN - -@interface ZDKTheme : NSObject - -/** - * Primary text color - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *primaryTextColor; - -/** - * Secondary text Color - * - * @since 1.7.0.1 - */ -@property (nonatomic, strong) UIColor *secondaryTextColor; - -/** - * Primary background color. - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *primaryBackgroundColor; - -/** - * Secondary background color, used when a slight contrast is needed against the primary background color, such as an end user comment cell. - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *secondaryBackgroundColor; - -/** - * Empty background color, used when a view is has no content - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *emptyBackgroundColor; - -/** - * Color of any metadata, such as dates or placeholder text - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *metaTextColor; - -/** - * Cell seperator color - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *separatorColor; - -/** - * Color of text for user input in ZDKCreateRequest and ZDKCommentInputView - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *inputFieldTextColor; - -/** - * Background color of ZDKCommentInputView - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong) UIColor *inputFieldBackgroundColor; - -/** - * Font to use in the SDK. This must be a complete font name, not a font family name. - * - * @since 1.6.0.1 - */ -@property (nonatomic, copy) NSString *fontName; - -/** - * Bold font to use in the SDK. - * - * @since 1.7.0.1 - */ -@property (nonatomic, copy) NSString *boldFontName; - -/** - * Apply the theme to the SDK - * - * @since 1.6.0.1 - */ -- (void)apply; - -/** - * Returns a newly created instance filled with values from the Base SDK UI starndard theme. - * - * Theme properties will be set to the standard theme. - * - * @since 1.6.0.1 - */ -+ (instancetype)baseTheme; - -/** - * Get the current theme used in the SDK - * - * @since 1.6.0.1 - */ -+ (instancetype)currentAppliedTheme; - - -/** - * Use +[ZDKTheme baseTheme] instead to return a theme that you can edit - * - * @since 1.6.0.1 - */ -+ (instancetype)new NS_UNAVAILABLE; -- (instancetype)init NS_UNAVAILABLE; - -@end - -NS_ASSUME_NONNULL_END diff --git a/ZendeskSDK.framework/Headers/ZDKToast.h b/ZendeskSDK.framework/Headers/ZDKToast.h deleted file mode 100644 index 2a924528..00000000 --- a/ZendeskSDK.framework/Headers/ZDKToast.h +++ /dev/null @@ -1,190 +0,0 @@ -/* - * - * ZDKToast.h - * ZendeskSDK - * - * Created by Zendesk on 22/04/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKToastStyle.h" -#import "ZDKToastView.h" - - - -/** - * Presents a toast message to the user from the navigation bar of the top most view controller. - * Usage: - * - * @code - * - * // Present from navigation bar. - * [ZDKToast show:@"I'm a toast message!" ofType:ZDKToastUITypeOK inViewController:vc]; - * - * [ZDKToast show:@"I'm another toast message!" ofType:ZDKToastUITypeOK for:3.0f inViewController:vc]; - * - * - * // Present at the top of any view at full width - * [ZDKToast show:@"I'm a toast message!" ofType:ZDKToastUITypeOK in:view]; - * - * [ZDKToast show:@"I'm another toast message!" ofType:ZDKToastUITypeOK in:view at:y for:3.0f]; - * - * @endcode - * - * @discussion Auto dismiss toasts will skip animating out if the toast view has no superview or - * if the toasts superview has no superview. - * - * @since 0.1 - */ -@interface ZDKToast : NSObject - - -#pragma mark show from UINavigationController - - -/** - * Show a full width toast message below the UINavigationBar for the requested duration. - * @param message message to be presented - * @param type ZDKToastUIType specifying the type of toast to be displayed - * @param viewController the view controller in which to present the toast - * @param durationInSeconds total duration the toast will be displayed for including animations - * @param animationBlock block with any UI changes to be performed at the same time as the toast animation - * @param animated YES to animate in - * @since 0.1 - */ -+ (void) showMessage:(NSString*)message - ofType:(ZDKToastUIType)type - inViewController:(UIViewController*)viewController - withDuration:(NSTimeInterval)durationInSeconds - andAnimation:(ZDKToastAnimation)animationBlock - animated:(BOOL)animated; - - -/** - * Show a full width toast message below the UINavigationBar for the requested duration. - * @param message message to be presented - * @param type ZDKToastUIType specifying the type of toast to be displayed - * @param view the view from which the message will animate down - * @param viewController the view controller in which to present the toast - * @param durationInSeconds total duration the toast will be displayed for including animations - * @param animationBlock block with any UI changes to be performed at the same time as the toast animation - * @param animated YES to animate in - * @since 0.2 - */ -+ (void) showMessage:(NSString *)message - ofType:(ZDKToastUIType)type - inView:(UIView *)view - inViewController:(UIViewController *)viewController - withDuration:(NSTimeInterval)durationInSeconds - andAnimation:(ZDKToastAnimation)animationBlock - animated:(BOOL)animated; - - -#pragma mark show in view - - -/** - * Show the toast message in the requested view at location 'y' for the specified duration. - * @param message the message to be presented - * @param type ZDKToastUIType specifying the type of toast to be displayed - * @param view the view from which the message will animate down - * @param initialYPosisition the y position in the view to present from - * @param durationInSeconds total duration the toast will be displayed for including animations - * @param animationBlock block with any UI changes to be performed at the same time as the toast animation - * @param animated YES to animate in - * @since 0.1 - */ -+ (void) showMessage:(NSString*)message - ofType:(ZDKToastUIType)type - inView:(UIView*)view - startingAt:(CGFloat)initialYPosisition - withDuration:(NSTimeInterval)durationInSeconds - andAnimation:(ZDKToastAnimation)animationBlock - animated:(BOOL)animated; - - - - - -#pragma mark with button dismiss - - -/** - * Show a full width toast message below the UINavigationBar using the provided view as content. - * @param message the message to be presented - * @param type ZDKToastUIType specifying the type of toast to be displayed - * @param viewController the view controller in which to present the toast - * @param buttonText text of the button which dismisses the Toast - * @param buttonActionBlock Block to be run when the toast button is pressed. - * @param animationBlock block with any UI changes to be performed at the same time as the toast animation - * @param animated YES to animate in - * @since 0.2 - */ -+ (void) showMessage:(NSString*)message - ofType:(ZDKToastUIType)type - inViewController:(UIViewController*)viewController - withButtonText:(NSString*)buttonText - buttonAction:(ZDKToastButtonAction)buttonActionBlock - andAnimation:(ZDKToastAnimation)animationBlock - animated:(BOOL)animated; - - -/** - * Show the toast message in the provided view at location 'y' for the requested duration. - * @param message the message to be presented - * @param type ZDKToastUIType specifying the type of toast to be displayed - * @param view the view from which the message will animate down - * @param initialYPosisition the y position in the view to present from - * @param buttonText text of the button which dismisses the Toast - * @param buttonActionBlock Block to be run when the toast button is pressed. - * @param animationBlock block with any UI changes to be performed at the same time as the toast animation - * @param animated YES to animate in - * @since 0.2 - */ -+ (void) showMessage:(NSString*)message - ofType:(ZDKToastUIType)type - inView:(UIView*)view - startingAt:(CGFloat)initialYPosisition - withButtonText:(NSString*)buttonText - buttonAction:(ZDKToastButtonAction)buttonActionBlock - andAnimation:(ZDKToastAnimation)animationBlock - animated:(BOOL)animated; - - -#pragma mark - util - - -/** - * Set the animation timing for the presentation of toasts. - * @param durationInSeconds The duration of the animation. - * @since 0.1 - */ -+ (void) setAnimationDuration:(NSTimeInterval)durationInSeconds; - - -/** - * Dismiss all Toast messages for the specified view controller - * @param viewController the view controller the Toast was created on - * @param animate YES to animate the removal of the visible Toast - */ -+ (void) dismissForViewController:(UIViewController*)viewController animate:(BOOL)animate; - - -/** - * Dismiss all Toast messages for the specified view - * @param view the view the Toast was created on - * @param animate YES to animate the removal of the visible Toast - */ -+ (void) dismissForView:(UIView*)view animate:(BOOL)animate; - - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKToastStyle.h b/ZendeskSDK.framework/Headers/ZDKToastStyle.h deleted file mode 100644 index e82dc20d..00000000 --- a/ZendeskSDK.framework/Headers/ZDKToastStyle.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * - * ZDKToastStyle.h - * ZendeskSDK - * - * Created by Zendesk on 13/05/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - - -/** - * Toast types providing specific styling as defined in ZDKToastStyle. - * @since 0.1 - */ -typedef NS_ENUM(NSUInteger, ZDKToastUIType) { - ZDKToastUITypeInfo, - ZDKToastUITypeOK, - ZDKToastUITypeWarning, - ZDKToastUITypeError, - ZDKToastUIType_count -}; - - - - -/** - * Toast styling options. - * @since 0.1 - */ -typedef NS_ENUM(NSUInteger, ZDKToastUIStyle) { - ZDKToastUIStyleBackgroundColor, - ZDKToastUIStyleBorderColor, - ZDKToastUIStyleFontColor, - ZDKToastUIStyleButtonBorderColor, - ZDKToastUIStyleButtonBackgroundColor, - ZDKToastUIStyleButtonFontColor, - ZDKToastUIStyleButtonFontName, - ZDKToastUIStyleButtonFontSize, - ZDKToastUIStyleFontName, - ZDKToastUIStyleFontSize, - ZDKToastUIStyleIconName, // v0.2 - ZDKToastUIStyle_count -}; - - - -/** - * Singleton class holding the styling details for toast messages. - * @since 0.1 - */ -@interface ZDKToastStyle : NSObject - - -/** - * Set the style value for the specified type. - * @param value this should be: UIColor for 'Color' styles, NSString for 'Name' styles and NSNumber for 'Size' styles - * @param type ZDKToastUIType defining the type to be styled - * @param style ZDKToastUIStyle defining the style to be set - * @since 0.1 - */ -+ (void) setValue:(id)value forType:(ZDKToastUIType)type andStyle:(ZDKToastUIStyle)style; - - - -/** - * Get the requested style value for the type. - * @param type ZDKToastUIType defining the style to be retrieved - * @param style ZDKToastUIStyle the style to be retrieved - * @since 0.1 - */ -+ (id) getValueForType:(ZDKToastUIType)type andStyle:(ZDKToastUIStyle)style; - - -@end - diff --git a/ZendeskSDK.framework/Headers/ZDKToastView.h b/ZendeskSDK.framework/Headers/ZDKToastView.h deleted file mode 100644 index 07305236..00000000 --- a/ZendeskSDK.framework/Headers/ZDKToastView.h +++ /dev/null @@ -1,174 +0,0 @@ -/* - * - * ZDKToastView.h - * ZendeskSDK - * - * Created by Zendesk on 12/05/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKToastStyle.h" - - -#import "ZDKToastStyle.h" - - -/** - * Toast animation block. - * @param animatingIn YES if animating in, NO if animating out - * @param height toast message height - */ -typedef void (^ZDKToastAnimation) (BOOL animatingIn, CGFloat height); - - -/** - * Toast button action block. - */ -typedef void (^ZDKToastButtonAction) (void); - - -/** - * Toast button action block. - */ -typedef void (^ZDKToastCompletion) (void); - - -/** - * The view for presenting default toast messages. - * @since 0.1 - */ -@interface ZDKToastView : UIView { - - /** - * The actual toast content. - * @since 0.1 - */ - UIView *toast; - - /** - * Single pixel lower border. - * @since 0.1 - */ - UIView *lowerBorder; - - /** - * The message itself. - * @since 0.1 - */ - UILabel *text; - - /** - * Animation time. - * @since 0.1 - */ - NSTimeInterval animationTime; - - /** - * Presentation time. - * @since 0.1 - */ - NSTimeInterval durationInSeconds; - - /** - * Dismiss button - * @since 0.2 - */ - UIButton *button; - -} - - -#pragma mark - Animation Properties - - -/** - * Timestamp for the point at which the toast has finished animating in. - * @since 0.1 - */ -@property (strong) NSDate *timePresented; - - -/** - * Animation block run when animating in and out. - */ -@property (nonatomic, copy) ZDKToastAnimation animationBlock; - - -/** - * Block to be run when the toast button is pressed. - */ -@property (nonatomic, copy) ZDKToastButtonAction buttonBlock; - - -#pragma mark - Parent View Controller - - -/** - * The parent view controller specified when presenting the toast. - */ -@property (nonatomic, weak) UIViewController *viewController; - - -#pragma mark - Lifecycle - - -/** - * Initialize and animate in a new toast. - * @param view the view in which the toast is to be presented - * @param initialYPosisition the y for the start of the toast frame - * @param message the text to be presented - * @param type the ZDKToastTypeEnum type of the toast - * @param durationInSeconds the duration for which the toast should be fully visible - * @param animationTime the time the toast should spend per animation in/out - * @param animationBlock animations to be run while presenting the Toast - * @param animateIn YES to animate in - * @since 0.1 - */ -- (instancetype) initInView:(UIView*)view - forViewController:(UIViewController*)viewController - atY:(CGFloat)initialYPosisition - withMessage:(NSString*)message - buttonText:(NSString*)buttonText - buttonAction:(ZDKToastButtonAction)buttonActionBlock - andType:(ZDKToastUIType)type - duration:(NSTimeInterval)durationInSeconds - animationTime:(NSTimeInterval)animationTime - animation:(ZDKToastAnimation)animationBlock - animateIn:(BOOL)animateIn; - - -#pragma mark Presentation and Dismissal - - -/** - * Present this toast. - * @param animate if YES animate the dismiss - */ -- (void) present:(BOOL)animate; - - -/** - * Dismiss this toast. - * @param animate if YES animate the dismiss - */ -- (void) dismiss:(BOOL)animate; - - -/** - * Dismiss this toast. - * @param animate if YES animate the dismiss - * @param completion A block that is executed after the toast has been dismissed. - */ -- (void) dismiss:(BOOL)animate comepletion:(ZDKToastCompletion)completion; - - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKUIImageScrollView.h b/ZendeskSDK.framework/Headers/ZDKUIImageScrollView.h deleted file mode 100644 index 7888d32e..00000000 --- a/ZendeskSDK.framework/Headers/ZDKUIImageScrollView.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * - * ZDKUIImageScrollView.h - * ZendeskSDK - * - * Created by Zendesk on 2/12/15. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -@interface ZDKUIImageScrollView : UIScrollView - -@property (nonatomic, strong) UIImageView *imageView; - -- (instancetype) initWithImage:(UIImage*)image; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKUILoadingView.h b/ZendeskSDK.framework/Headers/ZDKUILoadingView.h deleted file mode 100644 index fc24473c..00000000 --- a/ZendeskSDK.framework/Headers/ZDKUILoadingView.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * - * ZDKUILoadingView.h - * ZendeskSDK - * - * Created by Zendesk on 22/01/2015. - * - * Copyright (c) 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -@interface ZDKUILoadingView : UIView - - -/** - * Loading indicator. - */ -@property (nonatomic, strong, readonly) UIActivityIndicatorView *spinner; - - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKUITextViewDelegate.h b/ZendeskSDK.framework/Headers/ZDKUITextViewDelegate.h deleted file mode 100644 index 46d86d59..00000000 --- a/ZendeskSDK.framework/Headers/ZDKUITextViewDelegate.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * - * ZDKUITextViewDelegate.h - * ZendeskSDK - * - * Created by Zendesk on 09/05/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import -@class ZDKUITextView; - -@protocol ZDKUITextViewDelegate - -- (void) caretPosition:(CGRect)caret; - -@optional -- (void) updateTextViewLayout:(ZDKUITextView*)textView; - -@end diff --git a/ZendeskSDK.framework/Headers/ZDKUIViewController.h b/ZendeskSDK.framework/Headers/ZDKUIViewController.h deleted file mode 100644 index a6a7da24..00000000 --- a/ZendeskSDK.framework/Headers/ZDKUIViewController.h +++ /dev/null @@ -1,193 +0,0 @@ -/* - * - * ZDKUIViewController.h - * ZendeskSDK - * - * Created by Zendesk on 29/04/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import - -@class ZDKReachability, ZDKToastView; - - -struct ZDKLayoutGuide { - BOOL layoutTopGuide; - BOOL layoutBottomGuide; -}; - -typedef struct ZDKLayoutGuide ZDKLayoutGuide; - -extern ZDKLayoutGuide const ZDKLayoutRespectAll; -extern ZDKLayoutGuide const ZDKLayoutRespectNone; -extern ZDKLayoutGuide const ZDKLayoutRespectTop; -extern ZDKLayoutGuide const ZDKLayoutRespectBottom; - - -/** - * Base view controller class used by ZD components containing frequently used methods. - */ -@interface ZDKUIViewController : UIViewController { - - UIViewAnimationOptions _animationCurve; - NSTimeInterval _animationDuration; - CGFloat _keyboardHeight; - CGFloat _toastHeight; -} - - -/** - * Should the view controller respect topLayoutGuide and bottomLayoutGuide introduced in iOS7. - */ -@property (nonatomic, assign) ZDKLayoutGuide layoutGuide; - - -/** - * Requires existence of navigation controller in parent view controller. - */ -@property (nonatomic, assign) BOOL requiresNavBar; - - -/** - * The content view for this view controller. Any subviews should be added this. - * - * All subclasses should use this view as a base for their view hierarchy. - */ -@property (nonatomic, strong) UIView *contentView; - - -/** - * A toast for notifying users about network connectivity issues and request errors. - */ -@property (nonatomic, strong) ZDKToastView *toastView; - - -/** - * Used to determine network reachability. - */ -@property (nonatomic, strong, readonly) ZDKReachability *reachable; - - -#pragma mark keyboard event handling - - -/** - * Register the view controller to be notified of keyboard show/hide events. - * Override keyboardWillBeShown: and keyboardWillBeHidden: to handle the events - */ -- (void) registerForKeyboardNotifications; - - -/** - * Called when the keyboard is about to be shown, invoke [super keyboardWillBeShown:] to - * set the currentKeyboardHeight variable with the height of the keyboard. - * @param aNotification the notification - */ -- (void) keyboardWillBeShown:(NSNotification*)aNotification; - - -/** - * Called when the the keyboard has been shown. - * - * @param aNotification the notification - */ -- (void) keyboardDidShow:(NSNotification *)aNotification; - - -/** - * Called when the keyboard is about to be hidden, invoke [super keyboardWillBeShown:] to - * set the currentKeyboardHeight variable with the3 height of the keyboard. - * @param aNotification the notification - */ -- (void) keyboardWillBeHidden:(NSNotification*)aNotification; - - -/** - * Called when the keyboard has hidden. - * - * @param aNotification the notification - */ -- (void) keyboardDidHide:(NSNotification *)aNotification; - -/** - * Updates values associated with the keyboard displaying/dismissing - * - * @param userInfo the user info dictionary from keyboard notifications. - */ -- (void) updateAnimationValuesFromUserInfo:(NSDictionary*)userInfo; - - -#pragma mark Layout - - -/** - * Layout the the view with respect to any ZDKToastView that may be showing. - */ -- (void) layoutContent; - - -#pragma mark offsets - - -/** - * Top offset for IOS7+ transparent status and nav bars - */ -- (CGFloat) topViewOffset; - - -/** - * Bottom offset for IOS7+ transparent toolbars - */ -- (CGFloat) bottomViewOffset; - - -#pragma mark - view controller utils - - -/** - * Gets the active SDK view controller. - * - * @since 1.2.0.1 - * - * @return The current SDK view controller. - */ -+ (ZDKUIViewController *) activeController; - - -/** - * Get the top view controller from the app window. - * - * @return the top view controller for the app. - */ -+ (UIViewController*) topViewController; - - -/** - * Get the top view controller from root controller provided. - * - * @param rootViewController root view controller from which to start looking - * @return the top view controller - */ -+ (UIViewController*) topViewControllerWithRootViewController:(UIViewController*)rootViewController; - - -/** - * Present the view controller. If the current top view controller - * is or has a navigation controller then the view will be pushed on - * to that controller, otherwise a new navigation controller will be - * pushed (vertical transition). - */ -+ (void) presentViewController:(UIViewController*)viewController requiresNavController:(BOOL)requiresNav; - - -@end - diff --git a/ZendeskSDK.framework/Headers/ZendeskSDK.h b/ZendeskSDK.framework/Headers/ZendeskSDK.h deleted file mode 100644 index 791efe83..00000000 --- a/ZendeskSDK.framework/Headers/ZendeskSDK.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * - * ZendeskSDK.h - * ZendeskSDK - * - * Created by Zendesk on 10/25/2017 - * - * Copyright (c) 2017 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -#ifndef ZendeskSDK_h -#define ZendeskSDK_h - - -#import "ZDKArticleView.h" -#import "ZDKArticleViewController.h" -#import "ZDKAttachmentCollectionViewCell.h" -#import "ZDKAttachmentView.h" -#import "ZDKAttachmentViewDataSource.h" -#import "ZDKCommentInputView.h" -#import "ZDKCommentInputViewController.h" -#import "ZDKCommentsTableViewController.h" -#import "ZDKCommentsTableViewDataSource.h" -#import "ZDKCommentsTableViewDelegate.h" -#import "ZDKCommentsViewController.h" -#import "ZDKCreateRequestUIDelegate.h" -#import "ZDKCreateRequestView.h" -#import "ZDKCreateRequestViewController.h" -#import "ZDKHelpCenter.h" -#import "ZDKHelpCenterAttachmentsDataSource.h" -#import "ZDKHelpCenterDataSource.h" -#import "ZDKHelpCenterErrorCodes.h" -#import "ZDKHelpCenterOverviewController.h" -#import "ZDKImageViewerViewController.h" -#import "ZDKPushUtil.h" -#import "ZDKRequestCommentAttachmentLoadingTableCell.h" -#import "ZDKRequestCommentTableCell.h" -#import "ZDKRequestListTable.h" -#import "ZDKRequestListTableCell.h" -#import "ZDKRequestListViewController.h" -#import "ZDKRequests.h" -#import "ZDKRotationForwarding.h" -#import "ZDKSpinnerDelegate.h" -#import "ZDKSupportAttachmentCell.h" -#import "ZDKTheme.h" -#import "ZDKToast.h" -#import "ZDKToastStyle.h" -#import "ZDKToastView.h" -#import "ZDKUIActivityView.h" -#import "ZDKUIImageScrollView.h" -#import "ZDKUILoadingView.h" -#import "ZDKUITextViewDelegate.h" -#import "ZDKUIUtil.h" -#import "ZDKUIViewController.h" -#import "Zendesk.h" - -#if MODULES_DISABLED -#import -#else -@import ZendeskProviderSDK; -#endif - -#endif diff --git a/ZendeskSDK.framework/Info.plist b/ZendeskSDK.framework/Info.plist deleted file mode 100644 index 67d121de..00000000 Binary files a/ZendeskSDK.framework/Info.plist and /dev/null differ diff --git a/ZendeskSDK.framework/Modules/module.modulemap b/ZendeskSDK.framework/Modules/module.modulemap deleted file mode 100644 index 871d925e..00000000 --- a/ZendeskSDK.framework/Modules/module.modulemap +++ /dev/null @@ -1,12 +0,0 @@ -framework module ZendeskSDK { - umbrella header "ZendeskSDK.h" - - export * - module * { export * } - - link framework "CoreFoundation" - link framework "Security" - link framework "SystemConfiguration" - link framework "MobileCoreServices" - link framework "MessageUI" -} diff --git a/ZendeskSDK.framework/PrivateHeaders/ZDKAlertAction.h b/ZendeskSDK.framework/PrivateHeaders/ZDKAlertAction.h deleted file mode 100644 index cfd051fd..00000000 --- a/ZendeskSDK.framework/PrivateHeaders/ZDKAlertAction.h +++ /dev/null @@ -1,101 +0,0 @@ -/* - * - * ZDKAlertAction.h - * ZendeskSDK - * - * Created by Zendesk on 09/11/2015. - * - * Copyright © 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ZDKAlertAction; - -/** - * Style enum for alert actions. - * - * @since 1.5.0.1 - */ -typedef NS_ENUM(NSInteger, ZDKAlertActionStyle){ - /** - * The default UI stlye for an alert action. - * - * @since 1.5.0.1 - */ - ZDKAlertActionStyleDefault = 0, - /** - * Cancel UI stlye for an alert action. - * - * @since 1.5.0.1 - */ - ZDKAlertActionStyleCancel, - /** - * Destructive UI stlye for an alert action. Red text.' - * - * @since 1.5.0.1 - */ - ZDKAlertActionStyleDestructive -}; - -/** - * Block typedef for alert action handlers. - * - * @param action the alert which the handler belongs to. - * - * @since 1.5.0.1 - */ -typedef void (^ZDKAlertActionHandler)(ZDKAlertAction *action); - -/** - * ZDKAlertAction mimics UIAlertAction containing logic for a single alert action and how that action should look. - * - * @since 1.5.0.1 - */ -@interface ZDKAlertAction : NSObject - -/** - * The title for this aciton. - * - * @since 1.5.0.1 - */ -@property (nullable, nonatomic, copy, readonly) NSString *title; - -/** - * The style for this action. - * - * @since 1.5.0.1 - */ -@property (nonatomic, assign, readonly) ZDKAlertActionStyle style; - -/** - * Handler which will be called when the action is chosen. - * - * @since 1.5.0.1 - */ -@property (nullable, nonatomic, copy, readonly) ZDKAlertActionHandler handler; - -/** - * Creates a new ZDKAlertAction with the given paramenters. - * - * @param title The title for this action. - * @param style The style for this action. - * @param handler A handler to which is called when this action is chosen. - * - * @return A new ZDKAlertAction - * - * @since 1.5.0.1 - */ -+ (instancetype)actionWithTitle:(nullable NSString *)title style:(ZDKAlertActionStyle)style handler:(ZDKAlertActionHandler __nullable)handler; - -@end - -NS_ASSUME_NONNULL_END diff --git a/ZendeskSDK.framework/PrivateHeaders/ZDKAlertController.h b/ZendeskSDK.framework/PrivateHeaders/ZDKAlertController.h deleted file mode 100644 index 6d954414..00000000 --- a/ZendeskSDK.framework/PrivateHeaders/ZDKAlertController.h +++ /dev/null @@ -1,134 +0,0 @@ -/* - * - * ZDKAlertController.h - * ZendeskSDK - * - * Created by Zendesk on 09/11/2015. - * - * Copyright © 2015 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - -#import - -#import "ZDKAlertAction.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - * The style of the alert UI when presented. - * - * @since 1.5.0.1 - */ -typedef NS_ENUM(NSInteger, ZDKAlertControllerStyle){ - /** - * Action sheet style UI. - * - * @since 1.5.0.1 - */ - ZDKAlertControllerStyleActionSheet = 0, - /** - * Alert style UI. - * - * @since 1.5.0.1 - */ - ZDKAlertControllerStyleAlert -}; - -/** - * Presents an alert or action sheet. Manages the diferences in how action sheets are presented on older and newer iOS versions. - * - * @since 1.5.0.1 - */ -@interface ZDKAlertController : NSObject - -/** - * The title for the alert where applicable. - * - * @since 1.5.0.1 - */ -@property (nullable, nonatomic, copy) NSString *title; - -/** - * Messages for the alert where applicable. - * - * @since 1.5.0.1 - */ -@property (nullable, nonatomic, copy) NSString *message; - -/** - * Style for the alert. - * - * @since 1.5.0.1 - */ -@property (nonatomic, assign, readonly) ZDKAlertControllerStyle preferredStyle; - -/** - * Array of actions for the alert. - * - * @since 1.5.0.1 - */ -@property (nonatomic, copy, readonly) NSArray *actions; - -/** - * Creates an alert controller with the parameters provided. - * - * @param title title for the alert. - * @param message message for the alert. - * @param preferredStyle style for the alert. - * - * @return A new ZDKAlert - * - * @since 1.5.0.1 - */ -+ (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(ZDKAlertControllerStyle)preferredStyle; - -/** - * Adds an action to the alert controller. - * - * @param action A ZDKAlertAction. - * - * @since 1.5.0.1 - */ -- (void)addAction:(ZDKAlertAction *)action; - -/** - * Presents with the view controller and the assigned ZDKAlertControllerStyle. - * - * @param viewController the view controller which will present the alert. - * - * @since 1.5.0.1 - */ -- (void)presentWithViewController:(UIViewController *)viewController; - -/** - * Presents with the view controller and the assigned ZDKAlertControllerStyle within a - * view for backwards compatability with action sheets. - * - * @param viewController the view controller which will present the alert. - * @param view a view to show the action sheet from in older iOS versions. - * - * @since 1.5.0.1 - */ -- (void)presentWithViewController:(UIViewController *)viewController inView:(UIView *)view; - -/** - * Presents with the view controller and the assigned ZDKAlertControllerStyle within a frame in a - * view for backwards compatability with action sheets. - * - * @param viewController the view controller which will present the alert. - * @param view a view to show the action sheet from in older iOS versions. - * @param fromView the view from which an action sheet will be displayed for newer iOS - * - * @since 1.5.0.1 - */ -- (void)presentWithViewController:(UIViewController *)viewController inView:(UIView *)view fromView:(UIView *)fromView; - -@end - -NS_ASSUME_NONNULL_END diff --git a/ZendeskSDK.framework/PrivateHeaders/ZDKUITextView.h b/ZendeskSDK.framework/PrivateHeaders/ZDKUITextView.h deleted file mode 100644 index 42d052ce..00000000 --- a/ZendeskSDK.framework/PrivateHeaders/ZDKUITextView.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * - * ZDKUITextView.h - * ZendeskSDK - * - * Created by Zendesk on 28/04/2014. - * - * Copyright (c) 2014 Zendesk. All rights reserved. - * - * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - * acknowledge that such terms govern Your use of and access to the Mobile SDK. - * - */ - - -#import -#import "ZDKUITextViewDelegate.h" - - -/** - * A UITextView with a placeholder that is shown when there is no text in the text - * view. Retains all the functionality of a normal UITextView. Setting the font - * on the text view sets the font on the placeholder. The placeholder text color - * is set with the placeholderTextColor property. - */ -@interface ZDKUITextView : UITextView - - -/** - * The placeholder text that is shown when there is no text in the text view. - */ -@property (nonatomic, strong) IBInspectable NSString *placeholderText; - - -/** - * The color of the placeholder that is shown when there is no text in the text view. - */ -@property (nonatomic, strong) IBInspectable UIColor *placeholderTextColor; - - -/** - * Init method for ZDKRMATextView. - * - * @param frame The frame for the text view - * @param placeholderText The text for the placeholder - * @return An initialized ZDKRMATextView object or nil if the object couldn't be created. - * - */ -- (instancetype) initWithFrame:(CGRect)frame andPlaceholder:(NSString*)placeholderText; - - -@end diff --git a/ZendeskSDK.podspec b/ZendeskSDK.podspec deleted file mode 100644 index 4e2742d3..00000000 --- a/ZendeskSDK.podspec +++ /dev/null @@ -1,44 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ZendeskSDK" - s.version = "1.11.2.1" - s.summary = "Zendesk SDK 1.11.2.1" - s.homepage = "https://github.com/zendesk/zendesk_sdk_ios" - s.license = { - :type => 'Copyright', - :text => <<-LICENSE - ZendeskSDK - Created by Zendesk on 3/30/2017 - Copyright (c) 2017 Zendesk. All rights reserved. - By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master - Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License - Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and - acknowledge that such terms govern Your use of and access to the Mobile SDK. - LICENSE - } - s.author = 'Zendesk' - s.source = { :git => "https://github.com/zendesk/zendesk_sdk_ios.git", :tag => s.version } - s.platform = :ios, '9.0' - s.requires_arc = true - s.frameworks = 'MobileCoreServices', 'SystemConfiguration', 'Security', 'MessageUI' - - # Using subspecs to support installation without Localization part - s.default_subspecs = 'UI', 'Providers' - - s.subspec 'UI' do |ss| - ss.platform = :ios, '9.0' - ss.ios.vendored_frameworks = 'ZendeskSDK.framework' - ss.preserve_paths = 'ZendeskSDK.framework' - ss.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '$(inherited)', 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' } - ss.resources = ["ZendeskSDK.bundle", "ZendeskSDKStrings.bundle"] - ss.dependency 'ZendeskSDK/Providers' - end - - s.subspec 'Providers' do |ss| - ss.platform = :ios, '9.0' - ss.ios.vendored_frameworks = 'ZendeskProviderSDK.framework' - ss.preserve_paths = 'ZendeskProviderSDK.framework' - ss.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '$(inherited)', 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' } - ss.resources = ["ZendeskSDK.bundle"] - end - -end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAuthenticationURLProtocol.h b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Headers/ZDKAuthenticationURLProtocol.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAuthenticationURLProtocol.h rename to ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Headers/ZDKAuthenticationURLProtocol.h diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Headers/ZDKIdentityMigrator.h b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Headers/ZDKIdentityMigrator.h new file mode 100644 index 00000000..560e1dc2 --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Headers/ZDKIdentityMigrator.h @@ -0,0 +1,16 @@ +// +// ZDKIdentityMigrator.h +// ZendeskCoreSDK +// +// Created by Ronan Mchugh on 21/02/2018. +// Copyright © 2018 Zendesk. All rights reserved. +// + +#import + +@interface ZDKIdentityMigrator : NSObject + +- (_Nonnull instancetype)init; + + +@end diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK-Swift.h b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK-Swift.h new file mode 100644 index 00000000..42843bf5 --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK-Swift.h @@ -0,0 +1,479 @@ +// Generated by Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_attribute(external_source_symbol) +# define SWIFT_STRINGIFY(str) #str +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) _Pragma(SWIFT_STRINGIFY(clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in=module_name, generated_declaration))), apply_to=any(function, enum, objc_interface, objc_category, objc_protocol)))) +# define SWIFT_MODULE_NAMESPACE_POP _Pragma("clang attribute pop") +#else +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) +# define SWIFT_MODULE_NAMESPACE_POP +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) || __cplusplus < 201103L +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open))) +# else +# define SWIFT_ENUM_ATTR +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if __has_feature(modules) +@import ObjectiveC; +@import Foundation; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +SWIFT_MODULE_NAMESPACE_PUSH("ZendeskCoreSDK") +enum ZDKLogLevel : NSInteger; + +SWIFT_CLASS_NAMED("CoreLogger") +@interface ZDKCoreLogger : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) enum ZDKLogLevel logLevel;) ++ (enum ZDKLogLevel)logLevel SWIFT_WARN_UNUSED_RESULT; ++ (void)setLogLevel:(enum ZDKLogLevel)value; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL enabled;) ++ (BOOL)enabled SWIFT_WARN_UNUSED_RESULT; ++ (void)setEnabled:(BOOL)value; ++ (void)error:(NSString * _Nonnull)message; ++ (void)warn:(NSString * _Nonnull)message; ++ (void)info:(NSString * _Nonnull)message; ++ (void)debug:(NSString * _Nonnull)message; ++ (void)verbose:(NSString * _Nonnull)message; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +@class NSURLRequest; + +/// Utility to add auth headers to content requests for restricted Help Centers +SWIFT_CLASS_NAMED("HelpCenterUtil") +@interface ZDKHelpCenterUtil : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nullable zendeskURL;) ++ (NSString * _Nullable)zendeskURL SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL hasAuth;) ++ (BOOL)hasAuth SWIFT_WARN_UNUSED_RESULT; ++ (NSURLRequest * _Nonnull)canonicalRequestFor:(NSURLRequest * _Nonnull)request SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +typedef SWIFT_ENUM_NAMED(NSInteger, ZDKLogLevel, "LogLevel") { + ZDKLogLevelError = 0, + ZDKLogLevelWarn = 1, + ZDKLogLevelInfo = 2, + ZDKLogLevelDebug = 3, + ZDKLogLevelVerbose = 4, +}; + + + + + + +/// A user in Zendesk. +SWIFT_CLASS_NAMED("User") +@interface ZDKUser : NSObject +/// The user’s id +@property (nonatomic, readonly) NSInteger id; +/// The user’s name +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +/// The users content url +@property (nonatomic, readonly, copy) NSString * _Nonnull content_url; +/// Bool to indicate whether the user is an agent or not +@property (nonatomic, readonly) BOOL agent; +/// Tags associated with the user. +@property (nonatomic, readonly, copy) NSArray * _Nonnull tags; +/// User fields for this user as a dictionary with the key being the name of the user field +/// and the corresponding value being the value of the user field set for this user. +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull user_fields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + +@class ZDKUserFieldOption; + +/// User Field in Zendesk +SWIFT_CLASS_NAMED("UserField") +@interface ZDKUserField : NSObject +/// User Field id +@property (nonatomic, readonly) NSInteger id; +/// Url of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull url; +/// key of the user field +@property (nonatomic, readonly, copy) NSString * _Nonnull key; +/// type of the user field as a string +@property (nonatomic, readonly, copy) NSString * _Nonnull fieldType; +/// title of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull title; +/// raw title of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull raw_title; +/// Description of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull fieldDescription; +/// Raw description of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull raw_description; +/// Position of user field +@property (nonatomic, readonly) NSInteger position; +/// bool indicating if user field is active +@property (nonatomic, readonly) BOOL active; +/// bool indicating if it is a system user fild or not +@property (nonatomic, readonly) BOOL system; +/// regex of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull regexp_for_validation; +/// The timestamp of when the field was created +@property (nonatomic, readonly, copy) NSDate * _Nonnull created_at; +/// The timestamp of when the field was last updated +@property (nonatomic, readonly, copy) NSDate * _Nonnull updated_at; +/// Options for the custom userfield. An array of ZDKCustomField objects +@property (nonatomic, readonly, copy) NSArray * _Nullable custom_field_options; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +/// Dropdown userfields can contain User fields options which describe an option in the +/// dropdown +SWIFT_CLASS_NAMED("UserFieldOption") +@interface ZDKUserFieldOption : NSObject +/// id of option +@property (nonatomic, readonly) NSInteger id; +/// name of option +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +/// position of option +@property (nonatomic, readonly) NSInteger position; +/// raw_name of option +@property (nonatomic, readonly, copy) NSString * _Nonnull raw_name; +/// url of option +@property (nonatomic, readonly, copy) NSString * _Nonnull url; +/// value of option +@property (nonatomic, readonly, copy) NSString * _Nonnull value; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_PROTOCOL("_TtP14ZendeskCoreSDK15ZDKObjCIdentity_") +@protocol ZDKObjCIdentity +@end + + +SWIFT_CLASS("_TtC14ZendeskCoreSDK16ZDKObjCAnonymous") +@interface ZDKObjCAnonymous : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable name; +@property (nonatomic, readonly, copy) NSString * _Nullable email; +- (nonnull instancetype)initWithName:(NSString * _Nullable)name email:(NSString * _Nullable)email OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + +SWIFT_CLASS("_TtC14ZendeskCoreSDK10ZDKObjCJwt") +@interface ZDKObjCJwt : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull token; +- (nonnull instancetype)initWithToken:(NSString * _Nonnull)token OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + +@class ZDKZendesk; + +/// An objective-c visible class for the Push Registration Provider +/// Provider to register and unregister a device for push notifications. +SWIFT_CLASS("_TtC14ZendeskCoreSDK15ZDKPushProvider") +@interface ZDKPushProvider : NSObject +/// Initialize the provider +/// \param zendesk An instance of the zendesk singleton +/// +- (nonnull instancetype)initWithZendesk:(ZDKZendesk * _Nonnull)zendesk OBJC_DESIGNATED_INITIALIZER; +/// Calls a push registration end point to register the given APNS device id. +/// This method stores the response on successful registration. +/// Subsequent calls to this method with the same identifier bypass calls to the +/// network and return the stored response in the completion handler. +/// Calling this method with a different identifier will remove any stored +/// response from storage. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// deviceIdentifier: The device identifier +///
  • +///
  • +/// locale: The preferred device locale +///
  • +///
  • +/// completion: Returns a push response if successful with a nil for the error +///
  • +///
+- (void)registerWithDeviceIdentifier:(NSString * _Nonnull)deviceIdentifier locale:(NSString * _Nonnull)locale completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Calls a push registration end point to register the given Urban Airship channel id. +/// This method stores the response on successful registration. +/// Subsequent calls to this method with the same identifier bypass calls to the +/// network and return the stored response in the completion handler. +/// Calling this method with a different identifier will remove any stored +/// response from storage. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// UAIdentifier: The channel identifier +///
  • +///
  • +/// locale: The preferred device locale +///
  • +///
  • +/// completion: Returns a push response if successful with a nil for the error +///
  • +///
+- (void)registerWithUAIdentifier:(NSString * _Nonnull)UAIdentifier locale:(NSString * _Nonnull)locale completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Calls a push unregister endpoint with the stored device identifier +- (void)unregisterForPush; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +/// An objective-c visible class for the User Provider +SWIFT_CLASS("_TtC14ZendeskCoreSDK15ZDKUserProvider") +@interface ZDKUserProvider : NSObject +/// Initialize the provider +/// \param zendesk An instance of the zendesk singleton +/// +- (nonnull instancetype)initWithZendesk:(ZDKZendesk * _Nonnull)zendesk OBJC_DESIGNATED_INITIALIZER; +/// Gets a user object for the current user with only tags and user fields populated +/// \param completion Returns a user object if successful with a nil for the error +/// +- (void)getUserWithCompletion:(void (^ _Nonnull)(ZDKUser * _Nullable, NSError * _Nullable))completion; +/// Set one or more user field values on the current user. +/// To see the fields available for setting use the get +/// User method and inspect the user fields dictionary. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// userfields: The user field to set. It expects a dictionary(not a ZDKUserField). +/// The key of this dictionary being the name of the user field and the corresponding value +/// being the user field value to be set for the current user. +///
  • +///
  • +/// completion: Returns a user object if successful with a nil for the error +///
  • +///
+- (void)setUserFields:(NSDictionary * _Nonnull)userFields completion:(void (^ _Nonnull)(ZDKUser * _Nullable, NSError * _Nullable))completion; +/// Gets all user fields available for an account instance. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// completion: Returns an array of userfield objects if successful with a nil error. +///
  • +///
+- (void)getUserFieldsWithCompletion:(void (^ _Nonnull)(NSArray * _Nonnull, NSError * _Nullable))completion; +/// Add tags to the current user. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// tags: The tags to be added +///
  • +///
  • +/// completion: Returns an array of tags set on the current user if successful with nil error +///
  • +///
+- (void)addTags:(NSArray * _Nonnull)tags completion:(void (^ _Nonnull)(NSArray * _Nonnull, NSError * _Nullable))completion; +/// Delete tags from the current user. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// tags: The tags to be deleted +///
  • +///
  • +/// completion: Returns an array of tags set on the current user if successful with nil error +///
  • +///
+- (void)deleteTags:(NSArray * _Nonnull)tags completion:(void (^ _Nonnull)(NSArray * _Nonnull, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS_NAMED("Zendesk") +@interface ZDKZendesk : NSObject ++ (void)initializeWithAppId:(NSString * _Nonnull)appId clientId:(NSString * _Nonnull)clientId zendeskUrl:(NSString * _Nonnull)zendeskUrl; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + +@interface ZDKZendesk (SWIFT_EXTENSION(ZendeskCoreSDK)) +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZDKZendesk * _Nullable instance;) ++ (ZDKZendesk * _Nullable)instance SWIFT_WARN_UNUSED_RESULT; +- (void)setIdentity:(id _Nonnull)newIdentity; +- (id _Nullable)objCIdentity SWIFT_WARN_UNUSED_RESULT; +@end + + + +SWIFT_MODULE_NAMESPACE_POP +#pragma clang diagnostic pop diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIImageScrollView.h b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK.h similarity index 62% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIImageScrollView.h rename to ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK.h index 7888d32e..a459879e 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIImageScrollView.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK.h @@ -1,11 +1,11 @@ /* * - * ZDKUIImageScrollView.h - * ZendeskSDK + * ZendeskCoreSDK.h + * ZendeskCoreSDK * - * Created by Zendesk on 2/12/15. + * Created by Zendesk on 10/04/2016 * - * Copyright (c) 2015 Zendesk. All rights reserved. + * Copyright (c) 2016 Zendesk. All rights reserved. * * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License @@ -16,10 +16,10 @@ #import -@interface ZDKUIImageScrollView : UIScrollView +#ifndef ZendeskCoreSDK_h +#define ZendeskCoreSDK_h -@property (nonatomic, strong) UIImageView *imageView; +#import +#import -- (instancetype) initWithImage:(UIImage*)image; - -@end +#endif diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Info.plist b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Info.plist new file mode 100644 index 00000000..2f82724e Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Info.plist differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftdoc new file mode 100644 index 00000000..55c3a140 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftmodule new file mode 100644 index 00000000..f8c0df08 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftdoc new file mode 100644 index 00000000..f8710be3 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftmodule new file mode 100644 index 00000000..c4d2d8c9 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftdoc new file mode 100644 index 00000000..e0213dcf Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftmodule new file mode 100644 index 00000000..20d13847 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftdoc new file mode 100644 index 00000000..873a281d Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftmodule new file mode 100644 index 00000000..f9eea7d1 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/module.modulemap b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/module.modulemap new file mode 100644 index 00000000..ffebfe31 --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module ZendeskCoreSDK { + umbrella header "ZendeskCoreSDK.h" + + export * + module * { export * } +} + +module ZendeskCoreSDK.Swift { + header "ZendeskCoreSDK-Swift.h" + requires objc +} diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/ZendeskCoreSDK b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/ZendeskCoreSDK new file mode 100755 index 00000000..c75a0f00 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/ZendeskCoreSDK differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/strip-frameworks.sh b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/strip-frameworks.sh new file mode 100755 index 00000000..51de6aa9 --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskCoreSDK.framework/strip-frameworks.sh @@ -0,0 +1,80 @@ +################################################################################ +# +# Copyright 2015 Realm Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# +# Modified by Zendesk Inc. +# + + +# This script strips all non-valid architectures from Zendesk SDKs dynamic libraries +# the application's `Frameworks` directory. +# +# The following environment variables are required: +# +# BUILT_PRODUCTS_DIR +# FRAMEWORKS_FOLDER_PATH +# VALID_ARCHS +# EXPANDED_CODE_SIGN_IDENTITY + + +# Signs a framework with the provided identity +code_sign() { + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" +} + +# Set working directory to product’s embedded frameworks +cd "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +if [ "$ACTION" = "install" ]; then + echo "Copy .bcsymbolmap files to .xcarchive" + find . -name '*.bcsymbolmap' -type f -exec mv {} "${CONFIGURATION_BUILD_DIR}" \; +else + # Delete *.bcsymbolmap files from framework bundle unless archiving + find . -name '*.bcsymbolmap' -type f -exec rm -rf "{}" +\; +fi + +echo "Stripping frameworks" + +for file in $(find . -type f -perm +111); do + # Skip non-dynamic libraries + if ! [[ "$(file "$file")" == *"dynamically linked shared library"* ]]; then + continue + fi + # Skip non Zendesk libraries + if ! [[ "$(basename $file)" == *"Zendesk"* ]]; then + continue + fi + # Get architectures for current file + archs="$(lipo -info "${file}" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$file" "$file" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" != "" ]]; then + echo "Stripped $file of architectures:$stripped" + if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then + code_sign "${file}" + fi + fi +done diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAttachment.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKAttachment.h similarity index 89% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAttachment.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKAttachment.h index c80553c9..23518b2e 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAttachment.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKAttachment.h @@ -59,8 +59,14 @@ * * @since 1.1.0.1 */ -@property (nonatomic, copy) NSArray *thumbnails; +@property (nonatomic, copy) NSArray * thumbnails; +/** + * The dimension of the attachment. + * + * @since 2.0.0.1 + */ +@property (nonatomic, assign) CGSize imageDimension; /** * Init with dictionary from API response. diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAttachmentCache.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKAttachmentCache.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAttachmentCache.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKAttachmentCache.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKAvatarProvider.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKAttachmentProvider.h similarity index 78% rename from ZendeskProviderSDK.framework/Headers/ZDKAvatarProvider.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKAttachmentProvider.h index 12836f5b..0320e529 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKAvatarProvider.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKAttachmentProvider.h @@ -1,9 +1,9 @@ /* * - * ZDKAvatarProvider.h + * ZDKAttachmentProvider.h * ZendeskSDK * - * Created by Zendesk on 10/11/2014. + * Created by Zendesk on 10/11/2014. * * Copyright (c) 2014 Zendesk. All rights reserved. * @@ -28,12 +28,17 @@ */ typedef void (^ZDKAvatarCallback)(UIImage *avatar, NSError *error); +/** + * @since X.X.X.X + */ +typedef void (^ZDKDownloadCallback)(NSData *data, NSError *error); + /** * Provider for images/avatars. * * @since 0.9.3.1 */ -@interface ZDKAvatarProvider : ZDKProvider +@interface ZDKAttachmentProvider : ZDKProvider /** * Get the image/avatar data for a given URL @@ -46,4 +51,10 @@ typedef void (^ZDKAvatarCallback)(UIImage *avatar, NSError *error); - (void) getAvatarForUrl:(NSString *)avatarUrl withCallback:(ZDKAvatarCallback)callback; +/** + * @since X.X.X.X + */ +- (void) getAttachmentForUrl:(NSString *)attachmentUrl + withCallback:(ZDKDownloadCallback)callback; + @end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h similarity index 75% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h index bcc22fed..512dc24a 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h @@ -77,16 +77,6 @@ */ + (NSString *) userDefinedHelpCenterCss; -/** - * Get a dictionary of iOS devices. Keys are model identifiers e.g. @"iPhone3,1" - * @see ModelIdentifier.plist in ZendeskSDK.bundle - * - * @since 0.9.3.1 - * - * @return A device model string e.g. iPhone 4s - */ -+ (NSDictionary *) deviceModelIdentifier; - /** * The name of the frameworks strings table @@ -98,35 +88,6 @@ + (NSString *) stringsTableName; -/** - * Returns the conversations image from ZendeskSDK bundle. - * - * @since 0.9.3.1 - * - * @return An image, or nil if the image was not found. - */ -+ (UIImage *) conversationsImage; - - -/** - * Returns the create request image from ZendeskSDK bundle. - * - * @since 0.9.3.1 - * - * @return An image, or nil if the image was not found. - */ -+ (UIImage *) createRequestImage; - -/** - * Returns the attachment image from ZendeskSDK bundle. - * - * @since 1.1.0.1 - * - * @return An image, or nil if the image was not found. - */ -+ (UIImage *) attachmentImage; - - /** * Returns an image resource from ZendeskSDK bundle. * diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKCoding.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKCoding.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKCoding.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKCoding.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKComment.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKComment.h similarity index 74% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKComment.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKComment.h index 0d6da217..52e6cf1a 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKComment.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKComment.h @@ -20,6 +20,7 @@ * * @since 0.9.3.1 */ +@class ZDKAttachment; @interface ZDKComment : NSObject /** @@ -27,7 +28,7 @@ * * @since 0.9.3.1 */ -@property (nonatomic, strong, readonly) NSNumber *commentId; +@property (nonatomic, strong, readonly) NSNumber * commentId; /** * The comment body/text. @@ -36,6 +37,18 @@ */ @property (nonatomic, copy) NSString *body; +/** + * The HTML comment body/text. + * Scrubbed for self-closing and unclosed tags, currently: + *
+ *
+ *
+ * + * + * @since 2.0.0.0 + */ +@property (nonatomic, copy) NSString *htmlBody; + /** * The Zendesk user id of the author. * @@ -55,7 +68,7 @@ * * @since 0.9.3.1 */ -@property (nonatomic, copy) NSArray *attachments; +@property (nonatomic, copy) NSArray * attachments; /** * The request the comment belongs to. @@ -73,6 +86,14 @@ */ - (instancetype) initWithDictionary:(NSDictionary*)dictionary; +/** + * Returns a dictionary with comment details. Used for storing a comment. + * + * @since 2.0.0.1 + * + * @param dictionary the dictionary generated from the API json + */ +- (NSDictionary *)toJson; @end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h similarity index 92% rename from ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h index 09cb8ba7..e1bdd095 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h @@ -15,7 +15,7 @@ */ #import -@class ZDKComment, ZDKUser; +@class ZDKComment, ZDKSupportUser; /** * Aggregate model for comments with users. @@ -36,7 +36,7 @@ * * @since 0.9.3.1 */ -@property (nonatomic, strong, readonly) ZDKUser *user; +@property (nonatomic, strong, readonly) ZDKSupportUser *user; /** * Build an instance with comment and a user. diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKCommentsResponse.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKCommentsResponse.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKCommentsResponse.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKCommentsResponse.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKCreateRequest.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKCreateRequest.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKCreateRequest.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKCreateRequest.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKCustomField.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKCustomField.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKCustomField.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKCustomField.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h similarity index 97% rename from ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h index 1e46c9f0..fe845708 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h @@ -84,6 +84,10 @@ */ + (NSString*) stringFromDate:(NSDate*)date usingFormat:(NSString*)format; +/** + * @since x.x.x.x + */ ++ (NSString*) stringFromDate:(NSDate*)date; /** * Get a cached thread local formatter for the requested date format. diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDeviceInfo.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDeviceInfo.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDeviceInfo.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDeviceInfo.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDictionaryCreatable.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDictionaryCreatable.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDictionaryCreatable.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDictionaryCreatable.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h similarity index 66% rename from ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h index e8366eaf..f1e2a151 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h @@ -34,71 +34,6 @@ typedef void (^ZDKAPISuccess) (id result); typedef void (^ZDKAPIError) (NSError *error); -/** - * ZDKAPI Error codes. - * - * @since 0.9.3.1 - */ -typedef NS_ENUM(NSInteger, ZDKAPIErrorCode) { - - /** - * No internet connection available according to Reachability. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorUnreachable, - - /** - * Connection could not be established. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorConnection, - - /** - * Authentication failed. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorAuth, - - /** - * Request failed. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorRequest, - - /** - * No valid subdomain has been set. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorSubdomain, - - /** - * No sdk client id. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorClientId, - - /** - * No token or user email. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorUserId, - - /** - * Invalid delegate config for request. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorDelegateConfig, -}; - - /** * Convenience method for executing a block on the request queue. * diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDispatcherResponse.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDispatcherResponse.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDispatcherResponse.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKDispatcherResponse.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKETag.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKETag.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKETag.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKETag.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h similarity index 93% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h index 2fb55bad..16382fa6 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h @@ -26,16 +26,16 @@ /** * Article id. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *sid; +@property (nonatomic, copy) NSNumber *identifier; /** * Section id. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *section_id; +@property (nonatomic, copy) NSNumber *section_id; /** * Article title. @@ -62,9 +62,9 @@ /** * Id of the author. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *author_id; +@property (nonatomic, copy) NSNumber *author_id; /** * Appears at the end of an article, contains the author name and creation date. diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h similarity index 93% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h index 0470e6f8..76582d62 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h @@ -29,7 +29,7 @@ * * @since 1.3.0.1 */ -@property (nonatomic, copy) NSString *identifier; +@property (nonatomic, copy) NSNumber *identifier; /** * The API url of this vote @@ -43,7 +43,7 @@ * * @since 1.3.0.1 */ -@property (nonatomic, copy) NSString *userId; +@property (nonatomic, copy) NSNumber *userId; /** * The value of the vote @@ -57,7 +57,7 @@ * * @since 1.3.0.1 */ -@property (nonatomic, copy) NSString *itemId; +@property (nonatomic, copy) NSNumber *itemId; /** * The type of the item. Can be "Article" diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h similarity index 94% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h index 11f10fbe..5877dcda 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h @@ -26,9 +26,9 @@ /** * The id of an attachment. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *sid; +@property (nonatomic, copy) NSNumber *identifier; /** * The url where the attachment can be found. @@ -40,9 +40,9 @@ /** * The id of the article for which an attachment belongs. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *article_id; +@property (nonatomic, copy) NSNumber *article_id; /** * The file name of an attachment. diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h similarity index 97% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h index 4113f7d0..05e9f43f 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h @@ -21,9 +21,9 @@ /** * Category id. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *sid; +@property (nonatomic, copy) NSNumber *identifier; /** * Category Name. diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterDeflection.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterDeflection.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterDeflection.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterDeflection.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterFlatArticle.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterFlatArticle.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterFlatArticle.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterFlatArticle.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterLastSearch.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterLastSearch.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterLastSearch.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterLastSearch.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h similarity index 95% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h index 7fb9cdb7..fa0a6b08 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h @@ -15,7 +15,7 @@ */ #import -#import "ZDKHelpCenterConversationsUIDelegate.h" +#import "ZDKNavBarConversationsUIType.h" /** * Used to specify what type of ids will be supplied. @@ -63,7 +63,7 @@ typedef NS_ENUM(NSUInteger, ZDKHelpCenterOverviewGroupType) { /** * A list of ids. Only show articles contained in the categorys/sections. */ -@property (nonatomic, copy) NSArray *groupIds; +@property (nonatomic, copy) NSArray *groupIds; /** diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h similarity index 69% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h index 0b0e06e9..bc28201c 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h @@ -16,8 +16,6 @@ #import -@class ZDKHelpCenterCategoryViewModel; - /** * A Help Center Parser class containing static and instance methods to parse json to objects. * @@ -25,27 +23,6 @@ */ @interface ZDKHelpCenterParser : NSObject -/** - * An NSDictionary of Sections with the key value sectionId. - * - * @since 1.4.0.1 - */ -@property (nonatomic, copy, readonly) NSDictionary *sectionLookup; - -/** - * An NSDictionary of Users with the key value userId. - * - * @since 1.4.0.1 - */ -@property (nonatomic, copy, readonly) NSDictionary *userLookup; - -/** - * An NSDictionary of Categories with the key value categoryId. - * - * @since 1.4.0.1 - */ -@property (nonatomic, copy, readonly) NSDictionary *categoryLookup; - /** * Creates an ZDKHelpCentreParser object and parses json dictionary into * categoryLookup, sectionLookup and userLookup properties if they exist in the json. @@ -123,28 +100,4 @@ */ - (NSArray *) parseArticleSearchResults:(NSDictionary *)json; - -/** - * Parses a collection of Help Center json categories, sections and articles into - * their hierarchy. i.e. Relevant articles in their sections and relevant sections in their - * categories. - * - * @param json Help Center json categories, sections and articles - * - * @return An array of category view model objects with their relevant sections and articles - * @since 1.7.0.1 - */ -+ (NSArray *) parseHelpCenterOverview:(NSDictionary *)json; - -/** - * Parses a json payload of articles and sections into an array of section view models. - * - * @param json Help Center Articles and Sections json. - * - * @return An array Help Center Section View Models - * - * @since 1.7.0.1 - */ -+ (NSArray *) parseArticlesIntoSection:(NSDictionary *)json; - @end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h similarity index 77% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h index 4e5c7013..c5e7b27d 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h @@ -19,7 +19,7 @@ #import "ZDKHelpCenterDeflection.h" #import "ZDKProvider.h" -@class ZDKHelpCenterCategoryViewModel, ZDKHelpCenterSectionViewModel, ZDKHelpCenterOverviewContentModel, ZDKHelpCenterArticle; +@class ZDKHelpCenterCategoryViewModel, ZDKHelpCenterSectionViewModel, ZDKHelpCenterOverviewContentModel, ZDKHelpCenterArticle, Zendesk; /** @@ -55,7 +55,7 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); - (instancetype)init NS_UNAVAILABLE; -- (instancetype)initWithAuthenticationSpace:(ZDKAuthenticationSpace*)authenticationSpace NS_UNAVAILABLE; +- (instancetype)initWithZendesk:(Zendesk *)zendesk NS_UNAVAILABLE; /** * Creates a Help Center provider. @@ -85,18 +85,31 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); /** * Fetch a list of sections for a given categoryId from a Help Center instance * - * @param categoryId NSString to specify what sections should be returned, only sections belonging to the category will be returned + * @param categoryId NSInteger to specify what sections should be returned, only sections belonging to the category will be returned * @param callback Callback that will deliver a list of sections available on the instance of the Help Center for the provided locale and categoryId */ -- (void) getSectionsForCategoryId: (NSString *) categoryId withCallback:(ZDKHelpCenterCallback) callback; +- (void) getSectionsForCategoryId:(NSInteger) categoryId withCallback:(ZDKHelpCenterCallback)callback; /** * Fetch a list of articles for a given sectionId from a Help Center instance * - * @param sectionId NSString to specify what articles should be returned, only articles belonging to the section will be returned + * @param sectionId NSInteger to specify what articles should be returned, only articles belonging to the section will be returned * @param callback Callback that will deliver a list of articles available on the instance of the Help Center for the provided locale and sectionId + * + * @since 2.0.0 */ -- (void) getArticlesForSectionId:(NSString *) sectionId withCallback: (ZDKHelpCenterCallback) callback; +- (void) getArticlesForSectionId:(NSInteger)sectionId withCallback:(ZDKHelpCenterCallback)callback; + +/** + * Fetch a list of articles for a given sectionId from a Help Center instance + * + * @param sectionId NSInteger to specify what articles should be returned, only articles belonging to the section will be returned + * @param labels an array of labels used to filter articles by + * @param callback Callback that will deliver a list of articles available on the instance of the Help Center for the provided locale and sectionId + * + * @since 2.0.0 + */ +- (void) getArticlesForSectionId:(NSInteger)sectionId labels:(NSArray *)labels withCallback:(ZDKHelpCenterCallback)callback; /** * This method will search articles in your Help Center. @@ -105,7 +118,7 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); * @param query The query text used to perform the search * @param callback The callback which will be called upon a successful or an erroneous response. */ -- (void) searchForArticlesUsingQuery:(NSString *)query withCallback: (ZDKHelpCenterCallback) callback; +- (void) searchForArticlesUsingQuery:(NSString *)query withCallback:(ZDKHelpCenterCallback)callback; /** * This method will search articles in your Help Center filtered by an array of labels @@ -114,7 +127,7 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); * @param labels The array of labels used to filter the search results * @param callback The callback which will be called upon a successful or an erroneous response. */ -- (void) searchForArticlesUsingQuery:(NSString *)query andLabels:(NSArray *)labels withCallback: (ZDKHelpCenterCallback) callback; +- (void) searchForArticlesUsingQuery:(NSString *)query andLabels:(NSArray *)labels withCallback:(ZDKHelpCenterCallback)callback; /** * This method will search articles in your Help Center filtered by the parameters in the given ZDKHelpCenterSearch model. @@ -123,15 +136,17 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); * @param callback The callback which will be called upon a successful or an erroneous response. * @see Searching Help Center. */ -- (void) searchArticles:(ZDKHelpCenterSearch*) search withCallback: (ZDKHelpCenterCallback) callback; +- (void) searchArticles:(ZDKHelpCenterSearch*) search withCallback:(ZDKHelpCenterCallback)callback; /** * This method returns a list of attachments for a single article. * * @param articleId the identifier to be used to retrieve an article from a Help Center instance * @param callback the callback that is invoked when a request is either successful or has errors + * + * @since 2.0.0 */ -- (void) getAttachmentForArticleId:(NSString *)articleId withCallback: (ZDKHelpCenterCallback) callback; +- (void) getAttachmentForArticleId:(NSInteger)articleId withCallback:(ZDKHelpCenterCallback)callback; /** * Fetch a list of articles for a given array of labels from a Help Center instance @@ -139,7 +154,7 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); * @param labels an array of labels used to filter articles by * @param callback the callback that is invoked when a request is either successful or has errors */ -- (void) getArticlesByLabels:(NSArray *)labels withCallback: (ZDKHelpCenterCallback) callback; +- (void) getArticlesByLabels:(NSArray *)labels withCallback:(ZDKHelpCenterCallback)callback; /** * Fetch an article by ID. @@ -147,9 +162,9 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); * @param articleId The ID of the article to fetch. * @param callback The callback that is invoked when a request is either successful or has error. * - * @since 1.3.1.1 + * @since 2.0.0 */ -- (void) getArticleById:(NSString *)articleId withCallback:(ZDKHelpCenterCallback) callback; +- (void) getArticleById:(NSInteger)articleId withCallback:(ZDKHelpCenterCallback)callback; /** @@ -174,22 +189,22 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); /** * Fetches a section object for a particular sectionId. * - * @since 1.4.0.1 + * @since 2.0.0 * * @param sectionId The id of the section to fetch. * @param callback The callback that is invoked when a request is either successful or has error. */ -- (void) getSectionById:(NSString *)sectionId withCallback:(ZDKHelpCenterCallback)callback; +- (void) getSectionById:(NSInteger)sectionId withCallback:(ZDKHelpCenterCallback)callback; /** * Fetches a category object for a particular categoryId. * - * @since 1.4.0.1 + * @since 2.0.0 * * @param categoryId The id of the section to fetch. * @param callback The callback that is invoked when a request is either successful or has error. */ -- (void) getCategoryById:(NSString *)categoryId withCallback:(ZDKHelpCenterCallback)callback; +- (void) getCategoryById:(NSInteger)categoryId withCallback:(ZDKHelpCenterCallback)callback; /** * Used for the purpose of reporting in Zendesk. This will record an article as being viewed by the client. @@ -205,46 +220,33 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); /** * Post an upvote for a given article. If a vote already exists for the source object it is updated. * - * @since 1.3.0.1 + * @since 2.0.0 * * @param articleId The id of the article to upvote. * @param callback The callback that is invoked when a request is either successful or has error. Returns the vote object. */ -- (void) upvoteArticleWithId:(NSString *)articleId withCallback:(ZDKHelpCenterCallback)callback; +- (void) upvoteArticleWithId:(NSInteger)articleId withCallback:(ZDKHelpCenterCallback)callback; /** * Post a downvote for a given article. If a vote already exists for the source object it is updated. * - * @since 1.3.0.1 + * @since 2.0.0 * * @param articleId The id of the article to downvote. * @param callback The callback that is invoked when a request is either successful or has error. Returns the vote object. */ -- (void) downvoteArticleWithId:(NSString *)articleId withCallback:(ZDKHelpCenterCallback)callback; +- (void) downvoteArticleWithId:(NSInteger)articleId withCallback:(ZDKHelpCenterCallback)callback; /** * Deletes a vote for a given id * - * @since 1.3.0.1 + * @since 2.0.0 * * @param voteId The id of the vote to delete * @param callback The callback that is invoked when a request is either successful or has error. Returns a status code */ -- (void) deleteVoteWithId:(NSString*)voteId withCallback:(ZDKHelpCenterGenericCallback)callback; - -/** - * Fetches a section view model object with all of its articles contained within the object - * - * @param sectionId The sectionId you want to fetch. - * @param labels The array of labels used to filter the query - * @param callback The callback that is returned when is either successful or unsuccuessful. It returns a - * array with one section view model in it or an NSError. - * - * @since 1.7.0.1 - */ -- (void) getSectionWithArticlesForSectionId:(NSString *)sectionId labels:(NSArray *)labels callback:(ZDKHelpCenterCallback)callback; - +- (void) deleteVoteWithId:(NSInteger)voteId withCallback:(ZDKHelpCenterGenericCallback)callback; @end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h similarity index 95% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h index fdb2f1f7..82876abd 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h @@ -48,13 +48,13 @@ * This models the "category" parameter. This specifies that the search will be restricted to content that is in the given * array of categories. */ -@property (nonatomic, copy) NSArray *categoryIds; +@property (nonatomic, copy) NSArray *categoryIds; /** * This models the "section" parameter. This specifies that the search will be restricted to content that is in the given * array of sections. */ -@property (nonatomic, copy) NSArray *sectionIds; +@property (nonatomic, copy) NSArray *sectionIds; /** * This models the "page" parameter. This specifies what page of results to return. This is closely tied to the resultsPerPage diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h similarity index 94% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h index 57c89375..d7e55c36 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h @@ -22,16 +22,16 @@ /** * Section id. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *sid; +@property (nonatomic, copy) NSNumber *identifier; /** * Category id for section. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *category_id; +@property (nonatomic, copy) NSNumber *category_id; /** * section name. diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSessionCache.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSessionCache.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSessionCache.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSessionCache.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSimpleArticle.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSimpleArticle.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSimpleArticle.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSimpleArticle.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h similarity index 94% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h index 88780443..8a9371b1 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h @@ -20,7 +20,7 @@ @required -@property (copy, readonly) NSString *title; +@property (copy, readonly) NSString *name; @optional diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h similarity index 87% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h index 73a4d81d..b723e72a 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h @@ -36,6 +36,14 @@ */ + (id) cleanJSONVal:(id)val; +/** + * Checks the return value for NSNull and converts to an empty array if found. + * + * @param json the JSON dictionary from which to get the array + * @param key the key of the object to be retrieved + * @return the value if found and not NSNull, otherwise empty array + */ ++ (id) cleanJSONArrayVal:(NSDictionary*)json key:(NSString*)key; /** * Convert JSON based dictionary to an object of type Class diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKLocalization.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKLocalization.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKLocalization.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKLocalization.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKMobileProvisionAnalyzer.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKMobileProvisionAnalyzer.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKMobileProvisionAnalyzer.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKMobileProvisionAnalyzer.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKNSCodingUtil.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKNSCodingUtil.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKNSCodingUtil.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKNSCodingUtil.h diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKNavBarConversationsUIType.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKNavBarConversationsUIType.h new file mode 100644 index 00000000..41bd1e54 --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKNavBarConversationsUIType.h @@ -0,0 +1,36 @@ +/* + * + * ZDKNavBarConversationsUIType.h.h + * ZendeskSDK + * + * Created by Zendesk on 02/09/2016. + * + * Copyright (c) 2016 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Terms + * of Service https://www.zendesk.com/company/terms and Application Developer and API License + * Agreement https://www.zendesk.com/company/application-developer-and-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + + +#import + +/** + * Enum to describe the types of nav bar button that display conversations. + */ +typedef NS_ENUM(NSUInteger, ZDKNavBarConversationsUIType) { + /** + * Nav bar button with localized label for conversations. + */ + ZDKNavBarConversationsUITypeLocalizedLabel, + /** + * Nav bar button with image for conversations. + */ + ZDKNavBarConversationsUITypeImage, + /** + * No conversations nav bar in Help Center. + */ + ZDKNavBarConversationsUITypeNone, +}; diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKProvider.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKProvider.h similarity index 62% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKProvider.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKProvider.h index b16bb4df..3da02676 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKProvider.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKProvider.h @@ -16,7 +16,7 @@ #import -@class ZDKAuthenticationSpace; +@class ZDKZendesk; /** * ZDKProvider class @@ -25,21 +25,9 @@ */ @interface ZDKProvider : NSObject -/** - * Authentication space to use - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong, readonly) ZDKAuthenticationSpace *authenticationSpace; +@property (nonatomic, strong, readonly) ZDKZendesk *zendesk; -/** - * Creates a provider with an authentication space - * - * @since 1.6.0.1 - * - * @param authenticationSpace authentication space to use with requests - */ -- (instancetype)initWithAuthenticationSpace:(ZDKAuthenticationSpace*)authenticationSpace; +- (instancetype)initWithZendesk:(ZDKZendesk*)zendesk; @end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKReachability.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKReachability.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKReachability.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKReachability.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequest.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequest.h similarity index 59% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequest.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequest.h index a4d5058a..bb68fe22 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequest.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequest.h @@ -15,6 +15,10 @@ */ +@class ZDKComment, ZDKSupportUser; + + +NS_ASSUME_NONNULL_BEGIN /** * Object representing a Zendesk end user request returned by the server. */ @@ -23,7 +27,7 @@ /** * The id of this request in Zendesk. */ -@property (nonatomic, copy) NSString *requestId; +@property (nonatomic, copy) NSString * requestId; /** * The id of the requester in Zendesk. @@ -38,7 +42,7 @@ /** * The subject of the request, if subject is enabled in the account and if a subject was entered. */ -@property (nonatomic, copy) NSString *subject; +@property (nonatomic, copy, nullable) NSString *subject; /** * The original request. @@ -48,7 +52,7 @@ /** * The request type */ -@property (nonatomic, copy) NSString *type; +@property (nonatomic, copy, nullable) NSString *type; /** * The timestamp of the request creation. @@ -63,7 +67,7 @@ /** * The timestamp of the last public update event. */ -@property (nonatomic, strong) NSDate *publicUpdatedAt; +@property (nonatomic, strong, nullable) NSDate *publicUpdatedAt; /** * The number of comments on this ticket. @@ -72,14 +76,47 @@ */ @property (nonatomic, strong) NSNumber *commentCount; +/** + * Last public comment on the request + * + * since 2.0.0.1 + */ +@property (nonatomic, strong, nullable) ZDKComment *lastComment; + +/** + * First public comment on request + * + * @since 2.0.0.1 + */ +@property (nonatomic, strong, nullable) ZDKComment *firstComment; + +/** + * Array of agent ids of whom are currently CC'ed on the ticket + * + * @since 2.0.0.1 + */ +@property (nonatomic, strong, nonnull) NSArray *collaboratingIds; + +/** + * Array of agentd who publically commented on the request + * + * @since 2.0.0.1 + */ +@property (nonatomic, strong, nonnull) NSArray *commentingAgentsIds; /** * Init with dictionary from API response. * * @param dict the dictionary generated from the JSON API response */ -- (instancetype) initWithDict:(NSDictionary*)dict; +- (instancetype _Nullable ) initWithDict:(NSDictionary* _Nullable)dict; +/** + * Returns a dictionary containing Request details. Used for storage + * + * @since 2.0.0.1 + */ +- (NSDictionary *)toJson; @end - +NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h similarity index 72% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h index 315dd170..4eaf05a9 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h @@ -16,9 +16,9 @@ #import #import "ZDKProvider.h" -#import "ZDKRequestUpdatesProtocol.h" -@class ZDKCommentsResponse, ZDKComment, ZDKRequest, ZDKCreateRequest, ZDKTicketForm, ZDKRequestUpdates; + +@class ZDKCommentsResponse, ZDKComment, ZDKRequest, ZDKCreateRequest, ZDKTicketForm, ZDKCommentWithUser, ZDKRequestsWithCommentingAgents; /** @@ -32,12 +32,13 @@ typedef void (^ZDKRequestCallback)(ZDKRequest *request, NSError *error); /** - * Block defined for callback to be used for handling async server responses for fetching a list of requests + * Block defined for callback to be used for handling async server responses for fetching a list of requests and agents that have publically + * commented on them * - * @param items array of items returned as a result of the API request sent to a Zendesk instance + * @param requestsWithCommentingAgnets an object containing an array of requests and users, can be nil on error. * @param error NSError returned as a result of any errors taking place when the request is executed, can be nil on success */ -typedef void (^ZDKRequestListCallback)(NSArray *items, NSError *error); +typedef void (^ZDKRequestListCallback)(ZDKRequestsWithCommentingAgents *requestsWithCommentingAgents ,NSError *error); /** * Block defined for callback to be used for handling async server responses for fetching a list of comments @@ -45,7 +46,7 @@ typedef void (^ZDKRequestListCallback)(NSArray *items, NSError *error); * @param commentsWithUsers array of ZDKCommentWithUser objects as a result of the API request sent to a Zendesk instance, can be nil on error * @param error NSError returned as a result of any errors taking place when the request is executed, can be nil on success */ -typedef void (^ZDKRequestCommentListCallback)(NSArray *commentsWithUsers, NSError *error); +typedef void (^ZDKRequestCommentListCallback)(NSArray * commentsWithUsers, NSError *error); /** * Block defined for callback to be used for handling async server responses for adding a comment to a request @@ -63,15 +64,6 @@ typedef void (^ZDKRequestAddCommentCallback)(ZDKComment *comment, NSError *error */ typedef void (^ZDKCreateRequestCallback)(id result, NSError *error); -/** - * Callback for request updates provider method. - * - * @param requestUpdates model containing any updates. - * @param error NSError returned as a result of any errors taking place when the request is executed, can be nil on success. - * @since 1.10.0.1 - */ -typedef void (^ZDKRequestUpdatesCallback)(ZDKRequestUpdates *requestUpdates, NSError *error); - /** * Callback for ticket form request * @@ -138,6 +130,14 @@ typedef void (^ZDKTicketFormCallback)(NSArray *ticketForms, NSEr */ - (void) getCommentsWithRequestId: (NSString *) requestId withCallback:(ZDKRequestCommentListCallback) callback; +/** + * @since x.x.x.x + */ +- (void) getCommentsWithRequestId: (NSString *) requestId + sinceDate: (NSDate *) sinceDate + onlyAgent: (BOOL) onlyAgent + withCallback: (ZDKRequestCommentListCallback) callback; + /** * Add a comment message to a request. * It will also get an access token if one has not been previously stored. @@ -174,33 +174,4 @@ typedef void (^ZDKTicketFormCallback)(NSArray *ticketForms, NSEr withCallback:(ZDKRequestAddCommentCallback) callback; -/** - * Gets details of any updates to requests for this device. - * - * `ZDKRequestUpdates` are cached for up to one hour. Subsequent calls to this method within - * the hour will return the same object without querying the network. Calling this method once - * the hour has expired will query the network again, and cache the new results for the next - * hour. - * - * If using the Zendesk UI, viewing a request will update the cached `ZDKRequestUpdates` - * to remove the viewed request. If using the providers only, a request can be removed from - * the cached `ZDKRequestUpdates` by calling `markRequestAsRead:` on the returned - * `ZDKRequestUpdatesProtocol` with the request ID. - * - * It is important to note the difference in behaviour of this method users using - * `ZDKAnonymousIdentity` versus users using `ZDKJwtIdentity`. For an - * `ZDKAnonymousIdentity`, this method will only fetch updates - * for requests which were created from this device (since those are all an Anonymous user - * has access to). However, a `ZDKJwtIdentity` will fetch all of - * the user's open requests, regardless of where they were created. Any request created on another - * channel is unknown to this instance of the Support SDK, and as such it will show in the - * resulting `ZDKRequestUpdates` with all of its comments counting as updates. - * - * @since 1.10.0.1 - * - * @param callback supplies a ZDKRequestUpdates object if successful, otherwise an NSError is provided. - * @return An object which should be retained and used to signal when a user has viewed a request with updates. - */ -- (id) getUpdatesForDevice:(ZDKRequestUpdatesCallback)callback; - @end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestWithAttachmentsUtil.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequestWithAttachmentsUtil.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestWithAttachmentsUtil.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequestWithAttachmentsUtil.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h similarity index 75% rename from ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h index 2de84e03..c5b3ff1c 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h @@ -16,8 +16,12 @@ #import +@class ZDKRequest, ZDKSupportUser; + @interface ZDKRequestsResponse : NSObject -+ (NSArray *) parseRequestListWithDictionary:(NSDictionary*)dictionary; ++ (NSArray *) parseRequestListWithDictionary:(NSDictionary*)dictionary; + ++ (NSArray *) parseRequestListAgentsWithDictionary:(NSDictionary*)dictionary; @end diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequestsWithCommentingAgents.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequestsWithCommentingAgents.h new file mode 100644 index 00000000..c845feef --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKRequestsWithCommentingAgents.h @@ -0,0 +1,21 @@ +// +// ZDKRequestsWithCommentingAgents.h +// ZendeskProviderSDK +// +// Created by Ronan Mchugh on 15/12/2017. +// Copyright © 2017 Zendesk. All rights reserved. +// + +#import + +@class ZDKSupportUser, ZDKRequest; + +@interface ZDKRequestsWithCommentingAgents : NSObject + +@property (nonatomic, strong) NSArray *requests; +@property (nonatomic, strong) NSArray *commentingAgents; + + +- (instancetype)initWithRequests:(NSArray *)requests andCommentingAgents:(NSArray *)commentingAgents; + +@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKStringUtil.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKStringUtil.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKStringUtil.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKStringUtil.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUser.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKSupportUser.h similarity index 62% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUser.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKSupportUser.h index eb5a327b..ce1a1443 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUser.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKSupportUser.h @@ -17,55 +17,23 @@ #import +@interface ZDKSupportUser : NSObject -/** - * A user in Zendesk. - */ -@interface ZDKUser : NSObject - -/** - * The users id in Zendesk. - */ @property (nonatomic, strong) NSNumber *userId; -/** - * The users name. - */ @property (nonatomic, copy) NSString *name; -/** - * URL of the users avatar. - */ @property (nonatomic, copy) NSString *avatarURL; -/** - * YES if the user is an agent. - */ @property (nonatomic, assign) BOOL isAgent; -/** - * Tags associated with the user. - * - * @since 1.4.0.1 - */ @property (nonatomic, copy) NSArray *tags; -/** - * User fields for this user as a dictionary with the key being the name of the user field - * and the corresponding value being the value of the user field set for this user. - * - * @since 1.4.0.1 - */ @property (nonatomic, copy) NSDictionary *userFields; - -/** - * Initialize with dictionary generated from API json. - * - * @param dictionary the user details - */ - (instancetype) initWithDictionary:(NSDictionary*)dictionary; +- (NSDictionary *)toJson; @end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKTicketField.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKTicketField.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKTicketField.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKTicketField.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldOption.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldOption.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldOption.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldOption.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldSystemOption.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldSystemOption.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldSystemOption.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldSystemOption.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKTicketForm.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKTicketForm.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKTicketForm.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKTicketForm.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUploadProvider.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKUploadProvider.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUploadProvider.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKUploadProvider.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUploadResponse.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKUploadResponse.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKUploadResponse.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKUploadResponse.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKValidator.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKValidator.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKValidator.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZDKValidator.h diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK-Swift.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK-Swift.h new file mode 100644 index 00000000..5979d106 --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK-Swift.h @@ -0,0 +1,484 @@ +// Generated by Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_attribute(external_source_symbol) +# define SWIFT_STRINGIFY(str) #str +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) _Pragma(SWIFT_STRINGIFY(clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in=module_name, generated_declaration))), apply_to=any(function, enum, objc_interface, objc_category, objc_protocol)))) +# define SWIFT_MODULE_NAMESPACE_POP _Pragma("clang attribute pop") +#else +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) +# define SWIFT_MODULE_NAMESPACE_POP +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) || __cplusplus < 201103L +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open))) +# else +# define SWIFT_ENUM_ATTR +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if __has_feature(modules) +@import ObjectiveC; +@import Foundation; +@import ZendeskCoreSDK; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +SWIFT_MODULE_NAMESPACE_PUSH("ZendeskProviderSDK") + +SWIFT_CLASS_NAMED("AttachmentSettings") +@interface ZDKAttachmentSettings : NSObject +@property (nonatomic, readonly) BOOL enabled; +@property (nonatomic, readonly) NSInteger maxAttachmentSize; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("ContactUsSettings") +@interface ZDKContactUsSettings : NSObject +@property (nonatomic, readonly, copy) NSArray * _Nonnull tags; +- (nonnull instancetype)initWith:(NSArray * _Nonnull)tags OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("ConversationsSettings") +@interface ZDKConversationsSettings : NSObject +@property (nonatomic, readonly) BOOL enabled; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class ZDKZendesk; +@class NSURLResponse; + +SWIFT_CLASS("_TtC18ZendeskProviderSDK17DispatcherAdapter") +@interface DispatcherAdapter : NSObject ++ (void)performRequestWithZendesk:(ZDKZendesk * _Nonnull)zendesk urlRequset:(NSURLRequest * _Nonnull)urlRequset requiresAuth:(BOOL)requiresAuth completionHandler:(void (^ _Nonnull)(NSURLResponse * _Nullable, NSData * _Nullable, NSError * _Nullable))completionHandler; ++ (NSError * _Nullable)convertErrorWithResponse:(NSURLResponse * _Nullable)response originalError:(NSError * _Nullable)error SWIFT_WARN_UNUSED_RESULT; ++ (void)clearSettingsAndSession; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK13HTMLSanitizer") +@interface HTMLSanitizer : NSObject ++ (NSString * _Nonnull)cleanWithHtml:(NSString * _Nonnull)html SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class ZDKHelpCenterArticle; + +SWIFT_CLASS_NAMED("HelpCenterArticleViewModel") +@interface ZDKHelpCenterArticleViewModel : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +@property (nonatomic, readonly) NSInteger id; +@property (nonatomic, readonly) NSInteger section_id; ++ (NSArray * _Nonnull)convertWithArticles:(NSArray * _Nonnull)articles SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS_NAMED("HelpCenterBlips") +@interface ZDKHelpCenterBlips : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + +@class ZDKHelpCenterSectionViewModel; + +SWIFT_CLASS_NAMED("HelpCenterCategoryViewModel") +@interface ZDKHelpCenterCategoryViewModel : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +@property (nonatomic, copy) NSArray * _Nonnull sections; +- (ZDKHelpCenterCategoryViewModel * _Nonnull)updateWithSection:(ZDKHelpCenterSectionViewModel * _Nonnull)newSection SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS_NAMED("HelpCenterCategoryViewModelContainer") +@interface ZDKHelpCenterCategoryViewModelContainer : NSObject ++ (NSArray * _Nullable)parseWithData:(NSData * _Nonnull)data error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS_NAMED("HelpCenterSectionViewModel") +@interface ZDKHelpCenterSectionViewModel : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +@property (nonatomic, readonly, copy) NSArray * _Nonnull articles; +@property (nonatomic, readonly) NSInteger id; +@property (nonatomic, readonly) NSInteger category_id; +@property (nonatomic, readonly) NSInteger article_count; +@property (nonatomic, readonly, copy) NSString * _Nonnull detailTitle; +- (ZDKHelpCenterSectionViewModel * _Nonnull)sectionByReplacingWithArticles:(NSArray * _Nonnull)articles SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS_NAMED("HelpCenterSettings") +@interface ZDKHelpCenterSettings : NSObject +@property (nonatomic, readonly) BOOL helpCenterArticleVotingEnabled; +@property (nonatomic, readonly) BOOL enabled; +@property (nonatomic, readonly, copy) NSString * _Nonnull locale; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class ZDKRequestStorage; + +SWIFT_CLASS_NAMED("LegacyRequestStorageMigrator") +@interface ZDKLegacyRequestStorageMigrator : NSObject +- (nonnull instancetype)initWithRequestStorage:(ZDKRequestStorage * _Nonnull)requestStorage OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + +SWIFT_CLASS_NAMED("RequestBlips") +@interface ZDKRequestBlips : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + +SWIFT_CLASS_NAMED("RequestForStorage") +@interface ZDKRequestForStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + +SWIFT_CLASS_NAMED("RequestStorage") +@interface ZDKRequestStorage : NSObject +- (nonnull instancetype)initWithZendesk:(ZDKZendesk * _Nonnull)zendesk; +- (ZDKRequestForStorage * _Nullable)getRequestForId:(NSString * _Nonnull)requestId SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + +/// RequestUpdates object contains information about +/// unread comments on each request the user has open. +SWIFT_CLASS_NAMED("RequestUpdates") +@interface ZDKRequestUpdates : NSObject +/// Dictionary with requestIds as keys and the unread comment count +/// as values. +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull requestUpdates; +/// The total unread comments on all the user’s requests. +@property (nonatomic, readonly) NSInteger totalUpdates; +/// Method takes a request ID returns a bool indicating +/// whether a request has unread comments or not +/// \param requestId ID of request +/// +/// +/// returns: +/// A Bool indicating whether the request has unread comments +- (BOOL)isRequestUnread:(NSString * _Nonnull)requestId SWIFT_WARN_UNUSED_RESULT; +/// Determines whether the current user has any unread requests +/// +/// returns: +/// A bool indicating whether the user has unread requests +- (BOOL)hasUpdatedRequests SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +/// ZDKSupport is responsible for initialization of +/// the SDK and manages the backend configuration. +SWIFT_CLASS_NAMED("Support") +@interface ZDKSupport : NSObject +/// Initialize the Support singleton with the Zendesk singleton +/// from ZendeskCoreSDK ++ (void)initializeWithZendesk:(ZDKZendesk * _Nullable)zendesk; +/// Get the API instance (singleton). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZDKSupport * _Nullable instance;) ++ (ZDKSupport * _Nullable)instance SWIFT_WARN_UNUSED_RESULT; +/// This method can be used to aid in handling push notifications relating to requests. +/// This method can result in a dynamic update in the request UI. For this occur, +/// the push notification and the on screen request must contain matching request ids. +/// This method will return true only in the case of a successful UI update. +/// A return value of false means that the push notification was unhandled. +/// At this point you can decided how best to update the user based on the contents of the notification. +/// \param requestId The ID of the request to refresh +/// +/// +/// returns: +/// A boolean indicating whether the Request Detail Screen has been refresh or not. +- (BOOL)refreshRequestWithRequestId:(NSString * _Nonnull)requestId SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + +@class ZDKTicketFormsSettings; + +SWIFT_CLASS_NAMED("SupportSettings") +@interface ZDKSupportSettings : NSObject +@property (nonatomic, readonly) BOOL neverRequestEmail; +@property (nonatomic, readonly) BOOL showClosedRequests; +@property (nonatomic, readonly) BOOL showReferrerLogo; +@property (nonatomic, readonly, copy) NSString * _Nonnull referrerUrl; +@property (nonatomic, readonly, copy) NSString * _Nonnull systemMessage; +@property (nonatomic, readonly, strong) ZDKConversationsSettings * _Nonnull conversationSettings; +@property (nonatomic, readonly, strong) ZDKAttachmentSettings * _Nonnull attachmentSettings; +@property (nonatomic, readonly, strong) ZDKTicketFormsSettings * _Nonnull ticketFormsSettings; +@property (nonatomic, readonly, strong) ZDKContactUsSettings * _Nonnull contactUsSettings; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("TicketFormsSettings") +@interface ZDKTicketFormsSettings : NSObject +@property (nonatomic, readonly) BOOL available; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK29ZDKAttachmentSettingsProvider") +@interface ZDKAttachmentSettingsProvider : NSObject ++ (void)getAttachmentSettingsWithCallback:(void (^ _Nonnull)(ZDKAttachmentSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK28ZDKContactUsSettingsProvider") +@interface ZDKContactUsSettingsProvider : NSObject ++ (void)getContactUsSettingsWithCallback:(void (^ _Nonnull)(ZDKContactUsSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK32ZDKConversationsSettingsProvider") +@interface ZDKConversationsSettingsProvider : NSObject ++ (void)getConversationsSettingsWithCallback:(void (^ _Nonnull)(ZDKConversationsSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK29ZDKHelpCenterSettingsProvider") +@interface ZDKHelpCenterSettingsProvider : NSObject ++ (void)getHelpCenterSettingsWithCallback:(void (^ _Nonnull)(ZDKHelpCenterSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class ZDKRequest; + +@interface ZDKRequestProvider (SWIFT_EXTENSION(ZendeskProviderSDK)) +/// Gets details of any updates to requests for this device. +/// ZDKRequestUpdates are cached for up to one hour. Subsequent calls to this method within +/// the hour will return the same object without querying the network. Calling this method once +/// the hour has expired will query the network again, and cache the new results for the next +/// hour. +/// If using the Zendesk UI, viewing a request will update the cached ZDKRequestUpdates +/// to remove the viewed request. If using the providers only, a request can be removed from +/// the cached ZDKRequestUpdates by calling markRequestAsRead:. +/// @since 1.10.0.1 +/// \param callback callback supplies a optional ZDKRequestUpdates object that is either nil if unsuccessful +/// or nonnil if successful. +/// +- (void)getUpdatesForDeviceWithCallback:(void (^ _Nonnull)(ZDKRequestUpdates * _Nullable))callback; +/// Marks all the comments of a request as read +/// by making the commentCount and readCommentCount +/// equal to the commentCount that is passed in. +/// \param requestId ID of request to mark as read +/// +/// \param commentCount This sets both the commentCount and readCommentCount as this number. +/// +- (void)markRequestAsRead:(NSString * _Nonnull)requestId withCommentCount:(NSInteger)commentCount; +/// Marks the request as unread +/// by incrementing the commentCount by one. +/// This should be used when a push notification has been recieved to +/// updated the request as unread. +/// \param requestId ID of request to mark as unread +/// +- (void)markRequestAsUnread:(NSString * _Nonnull)requestId; +- (void)updateRequestStorageWithRequests:(NSArray * _Nonnull)requests; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK26ZDKSupportSettingsProvider") +@interface ZDKSupportSettingsProvider : NSObject ++ (void)getSupportSettingsWithCallback:(void (^ _Nonnull)(ZDKSupportSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK30ZDKTicketFormsSettingsProvider") +@interface ZDKTicketFormsSettingsProvider : NSObject ++ (void)getTicketFormsSettingsWithCallback:(void (^ _Nonnull)(ZDKTicketFormsSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface ZDKZendesk (SWIFT_EXTENSION(ZendeskProviderSDK)) +@property (nonatomic, readonly, copy) NSString * _Nonnull zendeskUrl; +@end + +SWIFT_MODULE_NAMESPACE_POP +#pragma clang diagnostic pop diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h similarity index 64% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h index a255d2f4..6b4bbfc6 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h @@ -3,9 +3,9 @@ * ZendeskProviderSDK.h * ZendeskProviderSDK * - * Created by Zendesk on 10/25/2017 + * Created by Zendesk on 03/22/2018 * - * Copyright (c) 2017 Zendesk. All rights reserved. + * Copyright (c) 2018 Zendesk. All rights reserved. * * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License @@ -20,24 +20,14 @@ #define ZendeskProviderSDK_h -#import "ZDKAccount.h" -#import "ZDKAccountSettings.h" -#import "ZDKAnonymousIdentity.h" -#import "ZDKAppSettings.h" #import "ZDKAttachment.h" #import "ZDKAttachmentCache.h" -#import "ZDKAttachmentSettings.h" -#import "ZDKAuthenticationSpace.h" -#import "ZDKAuthenticationURLProtocol.h" -#import "ZDKAvatarProvider.h" +#import "ZDKAttachmentProvider.h" #import "ZDKBundleUtils.h" #import "ZDKCoding.h" #import "ZDKComment.h" #import "ZDKCommentWithUser.h" #import "ZDKCommentsResponse.h" -#import "ZDKConfig.h" -#import "ZDKContactUsSettings.h" -#import "ZDKConversationsSettings.h" #import "ZDKCreateRequest.h" #import "ZDKCustomField.h" #import "ZDKDateUtil.h" @@ -47,12 +37,9 @@ #import "ZDKDispatcherResponse.h" #import "ZDKETag.h" #import "ZDKHelpCenterArticle.h" -#import "ZDKHelpCenterArticleViewModel.h" #import "ZDKHelpCenterArticleVote.h" #import "ZDKHelpCenterAttachment.h" #import "ZDKHelpCenterCategory.h" -#import "ZDKHelpCenterCategoryViewModel.h" -#import "ZDKHelpCenterConversationsUIDelegate.h" #import "ZDKHelpCenterDeflection.h" #import "ZDKHelpCenterFlatArticle.h" #import "ZDKHelpCenterLastSearch.h" @@ -61,46 +48,29 @@ #import "ZDKHelpCenterProvider.h" #import "ZDKHelpCenterSearch.h" #import "ZDKHelpCenterSection.h" -#import "ZDKHelpCenterSectionViewModel.h" #import "ZDKHelpCenterSessionCache.h" -#import "ZDKHelpCenterSettings.h" #import "ZDKHelpCenterSimpleArticle.h" #import "ZDKHelpCenterViewModel.h" -#import "ZDKIdentity.h" -#import "ZDKIdentityStorage.h" #import "ZDKJsonUtil.h" -#import "ZDKJwtIdentity.h" -#import "ZDKKeychainWrapper.h" #import "ZDKLocalization.h" -#import "ZDKLogger.h" #import "ZDKMobileProvisionAnalyzer.h" #import "ZDKNSCodingUtil.h" +#import "ZDKNavBarConversationsUIType.h" #import "ZDKProvider.h" -#import "ZDKPushRegistrationProvider.h" -#import "ZDKPushRegistrationRequest.h" -#import "ZDKPushRegistrationResponse.h" #import "ZDKReachability.h" #import "ZDKRequest.h" #import "ZDKRequestProvider.h" -#import "ZDKRequestStorage.h" -#import "ZDKRequestUpdates.h" -#import "ZDKRequestUpdatesProtocol.h" #import "ZDKRequestWithAttachmentsUtil.h" #import "ZDKRequestsResponse.h" -#import "ZDKSdkStorage.h" -#import "ZDKSettings.h" -#import "ZDKSettingsProvider.h" +#import "ZDKRequestsWithCommentingAgents.h" #import "ZDKStringUtil.h" #import "ZDKTicketField.h" #import "ZDKTicketFieldOption.h" #import "ZDKTicketFieldSystemOption.h" #import "ZDKTicketForm.h" -#import "ZDKTicketFormsSettings.h" #import "ZDKUploadProvider.h" #import "ZDKUploadResponse.h" -#import "ZDKUser.h" -#import "ZDKUserField.h" -#import "ZDKUserProvider.h" +#import "ZDKSupportUser.h" #import "ZDKValidator.h" #import "ZendeskSDKConstants.h" diff --git a/ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h similarity index 98% rename from ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h index 3f530bea..b2a256a1 100644 --- a/ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h @@ -499,6 +499,16 @@ extern NSString * const ZDD_ERROR_Key; extern NSString * const ZDD_Validator_Error_Key; + +// itunes link formats +extern NSString * const iOS7AppStoreURLFormat; +extern NSString * const iOSAppStoreURLFormat; + +extern NSString * const ZDSDKUserDefaultsKey; + + +// notifications + #pragma mark - Authentication types extern NSString * const ZDK_AUTHENTICATION_JWT; extern NSString * const ZDK_AUTHENTICATION_ANONYMOUS; diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Info.plist b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Info.plist new file mode 100644 index 00000000..434e61e9 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Info.plist differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftdoc new file mode 100644 index 00000000..76fd98ae Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftmodule new file mode 100644 index 00000000..ea7373bd Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftdoc new file mode 100644 index 00000000..27602375 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftmodule new file mode 100644 index 00000000..ecea0a21 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftdoc new file mode 100644 index 00000000..9a39088a Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftmodule new file mode 100644 index 00000000..e4389e81 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftdoc new file mode 100644 index 00000000..dc6f6a0e Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftmodule new file mode 100644 index 00000000..a330304d Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftmodule differ diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Modules/module.modulemap b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/module.modulemap similarity index 55% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Modules/module.modulemap rename to ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/module.modulemap index 40dd9366..44edc29f 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Modules/module.modulemap +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/Modules/module.modulemap @@ -4,3 +4,8 @@ framework module ZendeskProviderSDK { export * module * { export * } } + +module ZendeskProviderSDK.Swift { + header "ZendeskProviderSDK-Swift.h" + requires objc +} diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/PrivateHeaders/ZDKTicketFormUtilities.h b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/PrivateHeaders/ZDKTicketFormUtilities.h new file mode 100644 index 00000000..7f4bb012 --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/PrivateHeaders/ZDKTicketFormUtilities.h @@ -0,0 +1,37 @@ +/* + * + * ZDKTicketFormUtilities.h + * ZendeskSDK + * + * Created by Zendesk on 25/07/2016. + * + * Copyright (c) 2016 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master + * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License + * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + +#import + + +@class ZDKTicketField; +@class ZDKTicketForm; + +@interface ZDKTicketFormUtilities : NSObject + ++ (NSArray*)limitTicketFormIds:(NSArray*)ticketFieldsIds + toMaxCountOf:(NSInteger)ticketForms; + ++ (void)mergeTicketFields:(NSArray*)ticketFields + inTicketForms:(NSArray*)ticketForms; + ++ (NSArray*)parseArrayFromDictionary:(NSDictionary*)json + key:(NSString*)key + class:(Class)theClass; + ++ (BOOL)checkString:(NSString*)string matchesRegularExpression:(NSString*)regex; + +@end diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskProviderSDK b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskProviderSDK new file mode 100755 index 00000000..2fe639b6 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskProviderSDK differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/Info.plist b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/Info.plist new file mode 100644 index 00000000..1cece646 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/Info.plist differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeDirectory b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeDirectory new file mode 100644 index 00000000..d4ba86c7 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeDirectory differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements new file mode 100644 index 00000000..dbf9d614 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements-1 b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements-1 new file mode 100644 index 00000000..3169d5ad Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements-1 differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeResources b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeResources new file mode 100644 index 00000000..88e7a31e --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeResources @@ -0,0 +1,843 @@ + + + + + files + + ar.lproj/Localizable.strings + + hash + + uN/IrDVSbCoewa20+NsPr2bZ8LQ= + + optional + + + bg.lproj/Localizable.strings + + hash + + TT+1vu5gZxU2T4UTCHOwra1gEpQ= + + optional + + + cs.lproj/Localizable.strings + + hash + + osPcusHylaG6I2RN4yBygr0Dw1E= + + optional + + + da.lproj/Localizable.strings + + hash + + D3dWJbPRs2JTfXLhstgCf9Ki1D0= + + optional + + + de.lproj/Localizable.strings + + hash + + q6DPHG1beYyIWZ4GvTkBrYlxPWo= + + optional + + + el.lproj/Localizable.strings + + hash + + sgy3XnueQ125j0VrYPOEhp2JQDg= + + optional + + + en-GB.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + optional + + + en.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + optional + + + es.lproj/Localizable.strings + + hash + + GfCVAirVpy9HAjexNn/opUgd93w= + + optional + + + fi.lproj/Localizable.strings + + hash + + aULqQSaMj1IzeG/KVlveNCLrGaE= + + optional + + + fil.lproj/Localizable.strings + + hash + + 6oePSUSqHCO+ol/a2VShNwcR7Pc= + + optional + + + fr.lproj/Localizable.strings + + hash + + n0Ul+Dgl74iFRxlPo9d08p8KrHg= + + optional + + + he.lproj/Localizable.strings + + hash + + d6Q53H6Paz8EfOQdCtCaWxsXQ/8= + + optional + + + hi.lproj/Localizable.strings + + hash + + 715KOTDfKYQMAK8JrXF9KLhMusI= + + optional + + + hu.lproj/Localizable.strings + + hash + + zyNhb2W6vNCWkqmyBNUfwXhxHQo= + + optional + + + id.lproj/Localizable.strings + + hash + + cP9qm7wXc9EGndNFxtylxg9Z/ys= + + optional + + + it.lproj/Localizable.strings + + hash + + twN1x7YnIAfnQSywcS2uWdRnyQg= + + optional + + + ja.lproj/Localizable.strings + + hash + + CSZqLb1TterhEOyiQBrwI/kX3EU= + + optional + + + ko.lproj/Localizable.strings + + hash + + Sj/mDxVDdOxbZ+CRJ0JnbAsPgc4= + + optional + + + ms.lproj/Localizable.strings + + hash + + 4gbore6DDebXbGhR1sjKZcYZ+zE= + + optional + + + nb.lproj/Localizable.strings + + hash + + Us7uc/ChAesIg4ZMR/Pe8ul1BEc= + + optional + + + nl.lproj/Localizable.strings + + hash + + uCMy52DK5fbexne5JN20XTJQrsc= + + optional + + + pl.lproj/Localizable.strings + + hash + + ostb4bw+10iPXA26DkiTnUJ6Xpg= + + optional + + + pt-BR.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + optional + + + pt.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + optional + + + ro.lproj/Localizable.strings + + hash + + y+hcg+nnxhZJ0ZNMSfxbPe7DMYo= + + optional + + + ru.lproj/Localizable.strings + + hash + + r3AAGRnP5dM8YXLEb6G+BP3zkhQ= + + optional + + + sv.lproj/Localizable.strings + + hash + + 6/j43Ig4hJan7dIHGdVBXt9LfA8= + + optional + + + th.lproj/Localizable.strings + + hash + + TYH29CogIQJhwER3fIGsA1iFx9E= + + optional + + + tr.lproj/Localizable.strings + + hash + + dnzolSydPVNijQp5J2yzEzsiSac= + + optional + + + vi.lproj/Localizable.strings + + hash + + ZpIt9Ec01pYWfSlSLkzbNpHCi8o= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash + + C6mVomx2EKm/5LRYY/HYqQ3i03w= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash + + wTIw0IusNcidkltuIiXMXP0gBsU= + + optional + + + + files2 + + ar.lproj/Localizable.strings + + hash + + uN/IrDVSbCoewa20+NsPr2bZ8LQ= + + hash2 + + kCqt7fo87wmDoxAQK+OBIAqaCqZivuP/FXRORaeEkhU= + + optional + + + bg.lproj/Localizable.strings + + hash + + TT+1vu5gZxU2T4UTCHOwra1gEpQ= + + hash2 + + iutUD3Hvb8uOchja6MEyBMBSDF/PgJFvyIQjsUgKSkQ= + + optional + + + cs.lproj/Localizable.strings + + hash + + osPcusHylaG6I2RN4yBygr0Dw1E= + + hash2 + + AMRxZOuhsYzMcWPMjTm6oTvsRlEfa+cmeNbkBNJlbXM= + + optional + + + da.lproj/Localizable.strings + + hash + + D3dWJbPRs2JTfXLhstgCf9Ki1D0= + + hash2 + + Avn0LQIOtO+bcd3mDovYP5nK6lPZDfSom14+MaEcwLQ= + + optional + + + de.lproj/Localizable.strings + + hash + + q6DPHG1beYyIWZ4GvTkBrYlxPWo= + + hash2 + + pk0jeXWJ8DfzkIUnp/uqUpdw2jz8v4b8DeI8lAvPlbU= + + optional + + + el.lproj/Localizable.strings + + hash + + sgy3XnueQ125j0VrYPOEhp2JQDg= + + hash2 + + 8I0tr4T6HxvbDBPwBAhPD2MLVF3Sx5SVa2mGKmmRgCI= + + optional + + + en-GB.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + hash2 + + Cj2uuq0dNZUutgA3iFlPvY0kEDQd5cVb/JqVtXbENwc= + + optional + + + en.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + hash2 + + Cj2uuq0dNZUutgA3iFlPvY0kEDQd5cVb/JqVtXbENwc= + + optional + + + es.lproj/Localizable.strings + + hash + + GfCVAirVpy9HAjexNn/opUgd93w= + + hash2 + + nL5qPJvIuOUBT4dHhfzqVyerM4GcVgcvjCxCjcLSYMU= + + optional + + + fi.lproj/Localizable.strings + + hash + + aULqQSaMj1IzeG/KVlveNCLrGaE= + + hash2 + + r3jRGPk5ZFJ2sTbOJ1eth5TRqw5Buyc3gC0Q36ar/zk= + + optional + + + fil.lproj/Localizable.strings + + hash + + 6oePSUSqHCO+ol/a2VShNwcR7Pc= + + hash2 + + IaBLeg7zkG0cI6PVSQLMwHWnOwoqa9jQfKVVaDcCc/w= + + optional + + + fr.lproj/Localizable.strings + + hash + + n0Ul+Dgl74iFRxlPo9d08p8KrHg= + + hash2 + + JqSA9ndlPB7O0OUDHsdIi8Ywqk0Lqq2VnBT9q/Yy6hQ= + + optional + + + he.lproj/Localizable.strings + + hash + + d6Q53H6Paz8EfOQdCtCaWxsXQ/8= + + hash2 + + ppSea0ASEpLr7d200okRQmrdT1o573Irmw0HfPkt6zY= + + optional + + + hi.lproj/Localizable.strings + + hash + + 715KOTDfKYQMAK8JrXF9KLhMusI= + + hash2 + + JpnKFJSk24UaA82I5PhEI3dFAulOzdqMQuEhl7ugf+Y= + + optional + + + hu.lproj/Localizable.strings + + hash + + zyNhb2W6vNCWkqmyBNUfwXhxHQo= + + hash2 + + 75OwC1zDAfGxIejNk8mfDLk+WOLcB4ozFRMtw6pEUio= + + optional + + + id.lproj/Localizable.strings + + hash + + cP9qm7wXc9EGndNFxtylxg9Z/ys= + + hash2 + + ezRC4vUisheVr1SvhGBu2QjYXOoJbjXebZINwYNqV0U= + + optional + + + it.lproj/Localizable.strings + + hash + + twN1x7YnIAfnQSywcS2uWdRnyQg= + + hash2 + + EvKQM287VYCwN1ya6ysdFuwF2dFVm+KfZd4qaZS15wg= + + optional + + + ja.lproj/Localizable.strings + + hash + + CSZqLb1TterhEOyiQBrwI/kX3EU= + + hash2 + + Aa/UmPyxj3XJAhsRl4nrGgtiRZqtKjhFVYq2yg2mrOs= + + optional + + + ko.lproj/Localizable.strings + + hash + + Sj/mDxVDdOxbZ+CRJ0JnbAsPgc4= + + hash2 + + oJifq9dlnILHT+MDGPSFW7eTqAegFjPzpPAxscYKDvY= + + optional + + + ms.lproj/Localizable.strings + + hash + + 4gbore6DDebXbGhR1sjKZcYZ+zE= + + hash2 + + dR406t3RDAaje7vcqGyf/jb1/qS8N2Nel1a0CKfr3jQ= + + optional + + + nb.lproj/Localizable.strings + + hash + + Us7uc/ChAesIg4ZMR/Pe8ul1BEc= + + hash2 + + PQwnMwmxUbqJLpba4HlvSzkTLXK1NPJlljxPwi+M0W4= + + optional + + + nl.lproj/Localizable.strings + + hash + + uCMy52DK5fbexne5JN20XTJQrsc= + + hash2 + + XuKtW5SB82t6npQEx3dLADH9/2/3qn4ZovDvw2XZELg= + + optional + + + pl.lproj/Localizable.strings + + hash + + ostb4bw+10iPXA26DkiTnUJ6Xpg= + + hash2 + + v2QqrFqmk4C9aAm9ZuOBOvDE3PMBMWzH5GnmlucE+XA= + + optional + + + pt-BR.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + hash2 + + hNws7HaA/2vxmDcAFTssXZCG5iF80Zz34Q85P4Qvc0U= + + optional + + + pt.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + hash2 + + hNws7HaA/2vxmDcAFTssXZCG5iF80Zz34Q85P4Qvc0U= + + optional + + + ro.lproj/Localizable.strings + + hash + + y+hcg+nnxhZJ0ZNMSfxbPe7DMYo= + + hash2 + + 7C5rBLXHAdd8Nsu0hxX1X0qxZxFalZH4mBJ3ZfNCfn0= + + optional + + + ru.lproj/Localizable.strings + + hash + + r3AAGRnP5dM8YXLEb6G+BP3zkhQ= + + hash2 + + MrfMjR+1DqRkdPmMfIOd161qHXCowhsielhv4uFsEmQ= + + optional + + + sv.lproj/Localizable.strings + + hash + + 6/j43Ig4hJan7dIHGdVBXt9LfA8= + + hash2 + + 7vsLInt/kmddlDML4GHRMeziFGdzQE7E/HtSArHBKxE= + + optional + + + th.lproj/Localizable.strings + + hash + + TYH29CogIQJhwER3fIGsA1iFx9E= + + hash2 + + bca5+j5NPdQxEvBJ6ejJNknv1q8FZ+g+aEiwJyaCadU= + + optional + + + tr.lproj/Localizable.strings + + hash + + dnzolSydPVNijQp5J2yzEzsiSac= + + hash2 + + nCgc4I25gMuMQ/uJ7u3actVIHzQkm1N7WT84gy43Xz0= + + optional + + + vi.lproj/Localizable.strings + + hash + + ZpIt9Ec01pYWfSlSLkzbNpHCi8o= + + hash2 + + gShlteHxyrOO8sNsZ076oKcYMFApd6+bj2psrlmTph4= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash + + C6mVomx2EKm/5LRYY/HYqQ3i03w= + + hash2 + + AFgCLhSybeaS7sL4fXfpr2p+Vc6RqtbXNEv0n1/RY/U= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash + + wTIw0IusNcidkltuIiXMXP0gBsU= + + hash2 + + sVSpYJjGdeVx7Pg+T7FZ/wsehdDS+gBepvu7z7NUiTg= + + optional + + + + rules + + ^ + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^ + + weight + 20 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeSignature b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeSignature new file mode 100644 index 00000000..e69de29b diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings new file mode 100644 index 00000000..9b2b1f43 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings new file mode 100644 index 00000000..24a920d2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings new file mode 100644 index 00000000..fb224d8f Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings new file mode 100644 index 00000000..7ad7a536 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings new file mode 100644 index 00000000..05eac97a Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings new file mode 100644 index 00000000..19f0a38a Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings new file mode 100644 index 00000000..1dea83e2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings new file mode 100644 index 00000000..1dea83e2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings new file mode 100644 index 00000000..9142fe19 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings new file mode 100644 index 00000000..06c5cdf7 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings new file mode 100644 index 00000000..57c658b2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings new file mode 100644 index 00000000..796132ef Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings new file mode 100644 index 00000000..62aae1da Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings new file mode 100644 index 00000000..51173c62 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings new file mode 100644 index 00000000..a4b671fa Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings new file mode 100644 index 00000000..aecb6442 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings new file mode 100644 index 00000000..0ac4b2f2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings new file mode 100644 index 00000000..88168d37 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings new file mode 100644 index 00000000..5332c3a3 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings new file mode 100644 index 00000000..765ec042 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings new file mode 100644 index 00000000..57e6db81 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings new file mode 100644 index 00000000..13f0b360 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings new file mode 100644 index 00000000..6301332d Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings new file mode 100644 index 00000000..33a5531b Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings new file mode 100644 index 00000000..33a5531b Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings new file mode 100644 index 00000000..7dec34c3 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings new file mode 100644 index 00000000..bbe3509b Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings new file mode 100644 index 00000000..1702b9ff Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings new file mode 100644 index 00000000..01c9c5cc Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings new file mode 100644 index 00000000..f6425f1b Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings new file mode 100644 index 00000000..b533eaa4 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings new file mode 100644 index 00000000..b797a773 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings new file mode 100644 index 00000000..15c943dc Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/_CodeSignature/CodeResources b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/_CodeSignature/CodeResources new file mode 100644 index 00000000..870ed8ab --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskProviderSDK.framework/_CodeSignature/CodeResources @@ -0,0 +1,1852 @@ + + + + + files + + Headers/ZDKAttachment.h + + hWaj5VcPanwTa46bdaJLkdPjhH8= + + Headers/ZDKAttachmentCache.h + + xlgCffCdYCv2ATdaOYIH0z3Hlm4= + + Headers/ZDKAttachmentProvider.h + + DfYTwf7MnrTLY/lJElcCNQhmBkA= + + Headers/ZDKBundleUtils.h + + iiHpYnS6CK+rMv3G5wy+cvSFJ+8= + + Headers/ZDKCoding.h + + 2S33MpAFUc3ElG7GUIJEgyghrkM= + + Headers/ZDKComment.h + + xAlHkmpN8JGMVuGEoxGxQzXE/TM= + + Headers/ZDKCommentWithUser.h + + RWOFA54GCiEBuVTpMQdo1ZvE9HQ= + + Headers/ZDKCommentsResponse.h + + IkzbtuZtGBH45coWmhr79r1Gc9Q= + + Headers/ZDKCreateRequest.h + + Pmc92wvMhFsTDQKGtGcj93w6FY4= + + Headers/ZDKCustomField.h + + jmf85nHzd0PoF3gRsLz3gPTEJrk= + + Headers/ZDKDateUtil.h + + 683tYs/iF0aM3Ykn/uGnwyoOXiI= + + Headers/ZDKDeviceInfo.h + + xZhky+B6Iv3/O4Q+2z4Aurfbd54= + + Headers/ZDKDictionaryCreatable.h + + Hx2o6UGHL9mlhg8vcfppg7+KjnU= + + Headers/ZDKDispatcher.h + + wbQHrkVqairmcpTOLIq6IQwty4E= + + Headers/ZDKDispatcherResponse.h + + MDU3R5d01MatKAYWG53GvjwyKnc= + + Headers/ZDKETag.h + + fwwbpiZMX0a9fYdSvBKy0hcp7Zw= + + Headers/ZDKHelpCenterArticle.h + + ttxZZe4YTTagDNpFI1C0rQCvQdY= + + Headers/ZDKHelpCenterArticleVote.h + + k3a50LqzIhSw9W0lBKHKkEesnlc= + + Headers/ZDKHelpCenterAttachment.h + + 2B78fvgkLzbn00VbTprz4Rbd2ro= + + Headers/ZDKHelpCenterCategory.h + + o2zXOK8k40mAvc+H3C4F6cKwSsk= + + Headers/ZDKHelpCenterDeflection.h + + VECQ+SPjHI/ZJoZgY/9VTXRUJZg= + + Headers/ZDKHelpCenterFlatArticle.h + + pjm4a0J5yp7NeKzBtAsSatW/djA= + + Headers/ZDKHelpCenterLastSearch.h + + HrFZKedt/HbCldLSus0pJDTdTc4= + + Headers/ZDKHelpCenterOverviewContentModel.h + + wEHTh3hdwjXWagZaIxRHhJEN82k= + + Headers/ZDKHelpCenterParser.h + + AeUWKIuW405u/3bK8xzTrwE0034= + + Headers/ZDKHelpCenterProvider.h + + Qh2rvYkBDDFhwe5y/Ue8sOGmLrc= + + Headers/ZDKHelpCenterSearch.h + + kFwhor+e2PcfFMvet2lNET40z88= + + Headers/ZDKHelpCenterSection.h + + FbaYXqeMvcM0rbEjBtrmTJAmJ+M= + + Headers/ZDKHelpCenterSessionCache.h + + vbmYjoMztVSZDqzew3qjHDRVxc8= + + Headers/ZDKHelpCenterSimpleArticle.h + + cLXr6F09PozNgG/83zK0YNakrYM= + + Headers/ZDKHelpCenterViewModel.h + + fuOUZTwj8MpNEYTqIUJyj2gTaQU= + + Headers/ZDKJsonUtil.h + + kw579zielTMtt8xReuDs4xG4cmA= + + Headers/ZDKLocalization.h + + Ih821CdkMivhSmWa1d56InUfJEs= + + Headers/ZDKMobileProvisionAnalyzer.h + + K3zxoqjdPbZQothfESQMKp8tbGM= + + Headers/ZDKNSCodingUtil.h + + xlP25wajPAZMqhpcS21hLq24vOU= + + Headers/ZDKNavBarConversationsUIType.h + + Bkoye0hRF+grVqXnkwbKiYHHfRc= + + Headers/ZDKProvider.h + + uPnHswNhpQRWxJYnTxcdl4MeLGg= + + Headers/ZDKReachability.h + + XCW2wVlx3N0sjo8wQYBN1HI4kcc= + + Headers/ZDKRequest.h + + TGj7LezobCGg9RZK6ZvUMVk+iSc= + + Headers/ZDKRequestProvider.h + + mo4CleslZ7XAh/IDnQApCDsb+KM= + + Headers/ZDKRequestWithAttachmentsUtil.h + + Ef0bxz8CmdVOORG6Iy6jgd9pPLE= + + Headers/ZDKRequestsResponse.h + + 7JSIe5Qp4fZ+T1VvgW2X6Eaj1zc= + + Headers/ZDKRequestsWithCommentingAgents.h + + smivM/8FtrYuJvD8MLeuyXlKsfU= + + Headers/ZDKStringUtil.h + + TCCD88NPngTthUqbKVZDJbUckck= + + Headers/ZDKSupportUser.h + + Hr4J9DOLBk7OUebV+73wnakOpx0= + + Headers/ZDKTicketField.h + + pfU9r9ihGKfcwHjgnZGegLOEJtE= + + Headers/ZDKTicketFieldOption.h + + i4094HtdCH9V6f9CmHVy48fG06Q= + + Headers/ZDKTicketFieldSystemOption.h + + 4Ooik8RCY/Nu4nfyCy06qb94Q9s= + + Headers/ZDKTicketForm.h + + sKKQejVzzBi8cdq5JYTocIFKZj8= + + Headers/ZDKUploadProvider.h + + +VCy/paDk/shvLSrdYTtQMNdk2E= + + Headers/ZDKUploadResponse.h + + ZOgj1y1DozLgAL3ZtCP5al+2CZs= + + Headers/ZDKValidator.h + + cgAKigw6nZKp5T4XyRZczbicWEI= + + Headers/ZendeskProviderSDK-Swift.h + + Hx3MoNGT7j9wx9VPbG7uJp9QDlI= + + Headers/ZendeskProviderSDK.h + + +SAqIb71tSCRntPTUcHGwoSkUGk= + + Headers/ZendeskSDKConstants.h + + 9ZxXwMEyUGJi+U5z1atA8cNO8TE= + + Info.plist + + Ur797i5WuEM+9HuM9KAKyAnnNCY= + + Modules/ZendeskProviderSDK.swiftmodule/i386.swiftdoc + + //q8nTl5S8okyh4OihmrThD2KyM= + + Modules/ZendeskProviderSDK.swiftmodule/i386.swiftmodule + + Lky0VSXDS7jqWjFHEwy3k2O9Lis= + + Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftdoc + + SfrzzxzEy24ROKL3rYMg7ofEqqM= + + Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftmodule + + 2OBow2Pwa7tg9KsgvCrEPJt6DCs= + + Modules/module.modulemap + + 9VXMbF9CTqHost5CRFyCcM6ErQA= + + PrivateHeaders/ZDKTicketFormUtilities.h + + MVwCRHZnvxvDaELeHnVO1ka2bq8= + + ZendeskSDKStrings.bundle/Info.plist + + 8zFY+xHmWSd0ATDZUgbzcD9KXhg= + + ZendeskSDKStrings.bundle/_CodeSignature/CodeDirectory + + w0AbAkDgbdhqUx3kAeANr5udQ04= + + ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements + + OnX22wWFKRSOFN1+obRynMCeyXM= + + ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements-1 + + zoP/x2mCcN7FgaITg6XUkk+s+2o= + + ZendeskSDKStrings.bundle/_CodeSignature/CodeResources + + n7Y0hriB4mHYDoail3l+h+pIAVQ= + + ZendeskSDKStrings.bundle/_CodeSignature/CodeSignature + + 2jmj7l5rSw0yVb/vlWAYkK/YBwk= + + ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings + + hash + + uN/IrDVSbCoewa20+NsPr2bZ8LQ= + + optional + + + ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings + + hash + + TT+1vu5gZxU2T4UTCHOwra1gEpQ= + + optional + + + ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings + + hash + + osPcusHylaG6I2RN4yBygr0Dw1E= + + optional + + + ZendeskSDKStrings.bundle/da.lproj/Localizable.strings + + hash + + D3dWJbPRs2JTfXLhstgCf9Ki1D0= + + optional + + + ZendeskSDKStrings.bundle/de.lproj/Localizable.strings + + hash + + q6DPHG1beYyIWZ4GvTkBrYlxPWo= + + optional + + + ZendeskSDKStrings.bundle/el.lproj/Localizable.strings + + hash + + sgy3XnueQ125j0VrYPOEhp2JQDg= + + optional + + + ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + optional + + + ZendeskSDKStrings.bundle/en.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + optional + + + ZendeskSDKStrings.bundle/es.lproj/Localizable.strings + + hash + + GfCVAirVpy9HAjexNn/opUgd93w= + + optional + + + ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings + + hash + + aULqQSaMj1IzeG/KVlveNCLrGaE= + + optional + + + ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings + + hash + + 6oePSUSqHCO+ol/a2VShNwcR7Pc= + + optional + + + ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings + + hash + + n0Ul+Dgl74iFRxlPo9d08p8KrHg= + + optional + + + ZendeskSDKStrings.bundle/he.lproj/Localizable.strings + + hash + + d6Q53H6Paz8EfOQdCtCaWxsXQ/8= + + optional + + + ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings + + hash + + 715KOTDfKYQMAK8JrXF9KLhMusI= + + optional + + + ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings + + hash + + zyNhb2W6vNCWkqmyBNUfwXhxHQo= + + optional + + + ZendeskSDKStrings.bundle/id.lproj/Localizable.strings + + hash + + cP9qm7wXc9EGndNFxtylxg9Z/ys= + + optional + + + ZendeskSDKStrings.bundle/it.lproj/Localizable.strings + + hash + + twN1x7YnIAfnQSywcS2uWdRnyQg= + + optional + + + ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings + + hash + + CSZqLb1TterhEOyiQBrwI/kX3EU= + + optional + + + ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings + + hash + + Sj/mDxVDdOxbZ+CRJ0JnbAsPgc4= + + optional + + + ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings + + hash + + 4gbore6DDebXbGhR1sjKZcYZ+zE= + + optional + + + ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings + + hash + + Us7uc/ChAesIg4ZMR/Pe8ul1BEc= + + optional + + + ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings + + hash + + uCMy52DK5fbexne5JN20XTJQrsc= + + optional + + + ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings + + hash + + ostb4bw+10iPXA26DkiTnUJ6Xpg= + + optional + + + ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + optional + + + ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + optional + + + ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings + + hash + + y+hcg+nnxhZJ0ZNMSfxbPe7DMYo= + + optional + + + ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings + + hash + + r3AAGRnP5dM8YXLEb6G+BP3zkhQ= + + optional + + + ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings + + hash + + 6/j43Ig4hJan7dIHGdVBXt9LfA8= + + optional + + + ZendeskSDKStrings.bundle/th.lproj/Localizable.strings + + hash + + TYH29CogIQJhwER3fIGsA1iFx9E= + + optional + + + ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings + + hash + + dnzolSydPVNijQp5J2yzEzsiSac= + + optional + + + ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings + + hash + + ZpIt9Ec01pYWfSlSLkzbNpHCi8o= + + optional + + + ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings + + hash + + C6mVomx2EKm/5LRYY/HYqQ3i03w= + + optional + + + ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings + + hash + + wTIw0IusNcidkltuIiXMXP0gBsU= + + optional + + + + files2 + + Headers/ZDKAttachment.h + + hash + + hWaj5VcPanwTa46bdaJLkdPjhH8= + + hash2 + + WArfncBf36bRXoABqfxvpF2TDHWxzVHnqIkADX66Qfo= + + + Headers/ZDKAttachmentCache.h + + hash + + xlgCffCdYCv2ATdaOYIH0z3Hlm4= + + hash2 + + d4Ef61hrMBpmvllTE509YOY5NV8roaRufOgXX0MFJ7Q= + + + Headers/ZDKAttachmentProvider.h + + hash + + DfYTwf7MnrTLY/lJElcCNQhmBkA= + + hash2 + + adh6GlnM4ew1JpaGYDWC19CV+OQYUboGo/vEAckm4kQ= + + + Headers/ZDKBundleUtils.h + + hash + + iiHpYnS6CK+rMv3G5wy+cvSFJ+8= + + hash2 + + AdtNO2fAgGPFR7Jc6OEApK7cuH5uS0zKSUyTHHzXkEU= + + + Headers/ZDKCoding.h + + hash + + 2S33MpAFUc3ElG7GUIJEgyghrkM= + + hash2 + + JfCBnzxfFlyw6PIEwAtDbNRrZk4ecGCTnlRl+5HJxEQ= + + + Headers/ZDKComment.h + + hash + + xAlHkmpN8JGMVuGEoxGxQzXE/TM= + + hash2 + + MY2bb/7fb7/I6MQrurqsr2f9fTiYvdpdipp0c0tyU1c= + + + Headers/ZDKCommentWithUser.h + + hash + + RWOFA54GCiEBuVTpMQdo1ZvE9HQ= + + hash2 + + /yDjvqTjSdNykhEtVzizSAVHWit68xQEvakfdLG/HcA= + + + Headers/ZDKCommentsResponse.h + + hash + + IkzbtuZtGBH45coWmhr79r1Gc9Q= + + hash2 + + cyA1mux0X5tpfolJA6JeXjGcSRPYmTp823aHuB7WipI= + + + Headers/ZDKCreateRequest.h + + hash + + Pmc92wvMhFsTDQKGtGcj93w6FY4= + + hash2 + + 90IfKCy+gjmwviY9L7gP/lI/cObv4iqq6irLBc008do= + + + Headers/ZDKCustomField.h + + hash + + jmf85nHzd0PoF3gRsLz3gPTEJrk= + + hash2 + + TPX5zzCLcp0H8q0/zoBhh73rjsKTfipbvBtA0aKNa9s= + + + Headers/ZDKDateUtil.h + + hash + + 683tYs/iF0aM3Ykn/uGnwyoOXiI= + + hash2 + + Wqaz0XvbI8FfQNaqAfqwCA6b5/w6FclRGmOex4Wn6sg= + + + Headers/ZDKDeviceInfo.h + + hash + + xZhky+B6Iv3/O4Q+2z4Aurfbd54= + + hash2 + + UL5+g0KK1zEoIaYiHYtQEKH7hu4AxvR/1RFTFeeYQHg= + + + Headers/ZDKDictionaryCreatable.h + + hash + + Hx2o6UGHL9mlhg8vcfppg7+KjnU= + + hash2 + + 1m/Lk+rpbuTLj0LWtwd07B2VwVkNdmg+GMQOTrivtLY= + + + Headers/ZDKDispatcher.h + + hash + + wbQHrkVqairmcpTOLIq6IQwty4E= + + hash2 + + olAYxgaysOzy+0HIR7Q7O8inWz5KXEjlQ/0Lrb/xqy0= + + + Headers/ZDKDispatcherResponse.h + + hash + + MDU3R5d01MatKAYWG53GvjwyKnc= + + hash2 + + ruuKDJWDLl0bccmC6ihj4NBjTkkv6GALiVL0jUjGyzw= + + + Headers/ZDKETag.h + + hash + + fwwbpiZMX0a9fYdSvBKy0hcp7Zw= + + hash2 + + cFGJVkPev/KS7LmnHk5qqjeo3Ox1WcP42ptws/7jfi4= + + + Headers/ZDKHelpCenterArticle.h + + hash + + ttxZZe4YTTagDNpFI1C0rQCvQdY= + + hash2 + + 9aPMHQyvyyCvxGDQ3ns4PcybYucvjKeCLOKiEWYWgus= + + + Headers/ZDKHelpCenterArticleVote.h + + hash + + k3a50LqzIhSw9W0lBKHKkEesnlc= + + hash2 + + R/0pfTTO4SgSfG3uWVZDJjPHiLG9j0qnHbSM8u5rjvQ= + + + Headers/ZDKHelpCenterAttachment.h + + hash + + 2B78fvgkLzbn00VbTprz4Rbd2ro= + + hash2 + + tndhI1ET73nGPILX8fO7Wb+XbDCZ/W4dErNKNPtGdhY= + + + Headers/ZDKHelpCenterCategory.h + + hash + + o2zXOK8k40mAvc+H3C4F6cKwSsk= + + hash2 + + fVQmGopp6C5z6u39dclFt/iS0ZGhEo2PJeEM0ZvPmdA= + + + Headers/ZDKHelpCenterDeflection.h + + hash + + VECQ+SPjHI/ZJoZgY/9VTXRUJZg= + + hash2 + + Yr4sVrKofkeOovFgE/1DOxZAMZK0JMWCZ7IraO1iVbA= + + + Headers/ZDKHelpCenterFlatArticle.h + + hash + + pjm4a0J5yp7NeKzBtAsSatW/djA= + + hash2 + + 8MeJryQuATvrMhZm9TVsz+/cwVSlbWsUEhhjOAVZGQo= + + + Headers/ZDKHelpCenterLastSearch.h + + hash + + HrFZKedt/HbCldLSus0pJDTdTc4= + + hash2 + + WmUAvl8De9aluonim7uzMEMxdc4DuGHsoBKGHFToDz0= + + + Headers/ZDKHelpCenterOverviewContentModel.h + + hash + + wEHTh3hdwjXWagZaIxRHhJEN82k= + + hash2 + + RW36VMlZNb/3Q79Qov07dA7LyK+JSXsW9Sjgpjo2fjU= + + + Headers/ZDKHelpCenterParser.h + + hash + + AeUWKIuW405u/3bK8xzTrwE0034= + + hash2 + + Ow6HJpJd48cVIKBNtwuxQzbsmZ1FmQgCj7cQOg9eM6w= + + + Headers/ZDKHelpCenterProvider.h + + hash + + Qh2rvYkBDDFhwe5y/Ue8sOGmLrc= + + hash2 + + 7ROMEofAcOHZjD1RPKC2vzJRX+ZVohRDKkQSvL5b4nA= + + + Headers/ZDKHelpCenterSearch.h + + hash + + kFwhor+e2PcfFMvet2lNET40z88= + + hash2 + + 5bZjSi7bu8ERUJJhdrq472v4FghNW9mJG/O4+2N93Ug= + + + Headers/ZDKHelpCenterSection.h + + hash + + FbaYXqeMvcM0rbEjBtrmTJAmJ+M= + + hash2 + + JBqP3S8kT/OM+uOj9A/cWQq6r8IUO9rdK0JvcQKE8vA= + + + Headers/ZDKHelpCenterSessionCache.h + + hash + + vbmYjoMztVSZDqzew3qjHDRVxc8= + + hash2 + + aXkCikb5RRB7tgjVrAkZy/ONGZTExv3hMwYephx+6nw= + + + Headers/ZDKHelpCenterSimpleArticle.h + + hash + + cLXr6F09PozNgG/83zK0YNakrYM= + + hash2 + + 7d7DAjYLL6dvQ3jFBXal94f3skW64hOf7OWriZdPv6U= + + + Headers/ZDKHelpCenterViewModel.h + + hash + + fuOUZTwj8MpNEYTqIUJyj2gTaQU= + + hash2 + + 9g8mSO5Cmq7x7W6Z2/2ly44A2NTBUTO4P2WeaHob4dw= + + + Headers/ZDKJsonUtil.h + + hash + + kw579zielTMtt8xReuDs4xG4cmA= + + hash2 + + zb4qHPqaC1eTodFfvEGXGvvybi5VKbNkcSIips9WNCs= + + + Headers/ZDKLocalization.h + + hash + + Ih821CdkMivhSmWa1d56InUfJEs= + + hash2 + + G/s/FGRqr4ropprJ30VbzoTA8gSOGqamcniBFe+Rwcw= + + + Headers/ZDKMobileProvisionAnalyzer.h + + hash + + K3zxoqjdPbZQothfESQMKp8tbGM= + + hash2 + + oHhvTVuL64RxY4kOHQo7/MaJS20lysYRq3Gh4dkbp6U= + + + Headers/ZDKNSCodingUtil.h + + hash + + xlP25wajPAZMqhpcS21hLq24vOU= + + hash2 + + VX6LhXA8DHVrt7Uod507MR4I5XJ6fQtidBgD9r+RAJU= + + + Headers/ZDKNavBarConversationsUIType.h + + hash + + Bkoye0hRF+grVqXnkwbKiYHHfRc= + + hash2 + + elGOWpY6njOJAZbuz99xiZyQG4uXBoOJoEKkXdeclw0= + + + Headers/ZDKProvider.h + + hash + + uPnHswNhpQRWxJYnTxcdl4MeLGg= + + hash2 + + CTEjbcCZih8HKP8psOfj4ZNtYRGcldGTR0EKtMywHrk= + + + Headers/ZDKReachability.h + + hash + + XCW2wVlx3N0sjo8wQYBN1HI4kcc= + + hash2 + + rzHf7fsgKUtvI+oolVFTK4Dl+BmCI4iggPgJeRGyViQ= + + + Headers/ZDKRequest.h + + hash + + TGj7LezobCGg9RZK6ZvUMVk+iSc= + + hash2 + + s9W6/BcjC9h5TFD2p8ypQbtbcoXD/6RhOjVgQoTjtsU= + + + Headers/ZDKRequestProvider.h + + hash + + mo4CleslZ7XAh/IDnQApCDsb+KM= + + hash2 + + Sg5LBfIvOUEkHoS7px8clYDOhYYCgK+HM21TFH+UiTA= + + + Headers/ZDKRequestWithAttachmentsUtil.h + + hash + + Ef0bxz8CmdVOORG6Iy6jgd9pPLE= + + hash2 + + 3OPYYZ6kw81Bxzb+v0uczo5dKZSfHKA/CEQ/q6lLxzw= + + + Headers/ZDKRequestsResponse.h + + hash + + 7JSIe5Qp4fZ+T1VvgW2X6Eaj1zc= + + hash2 + + 4Xmj1rHDUTderErlKRISvJPdhxzOv8e/ZizA4Nyvw7Y= + + + Headers/ZDKRequestsWithCommentingAgents.h + + hash + + smivM/8FtrYuJvD8MLeuyXlKsfU= + + hash2 + + sUFlEKKLjF9Z3bpO5+zT45jQsgFMASZY/pmaN0Sx0t0= + + + Headers/ZDKStringUtil.h + + hash + + TCCD88NPngTthUqbKVZDJbUckck= + + hash2 + + fayYfoxsa6iiDzNiICWxg/G7yXvqVxS+3eL8RB2rESQ= + + + Headers/ZDKSupportUser.h + + hash + + Hr4J9DOLBk7OUebV+73wnakOpx0= + + hash2 + + LV7Bgs233z/ZGoght7p/VsSxQAOAq1e2bjaNjRKwDZs= + + + Headers/ZDKTicketField.h + + hash + + pfU9r9ihGKfcwHjgnZGegLOEJtE= + + hash2 + + nq0KjviSn8B/IBhS4IY3pT7hwra4qF3zBjcYLWzcUh4= + + + Headers/ZDKTicketFieldOption.h + + hash + + i4094HtdCH9V6f9CmHVy48fG06Q= + + hash2 + + wxLk/ySFHurtC49llQnXrwnYt4fNgRmFHmOJf3AdOjI= + + + Headers/ZDKTicketFieldSystemOption.h + + hash + + 4Ooik8RCY/Nu4nfyCy06qb94Q9s= + + hash2 + + Wj1EMCublnldSvgnzycZ9glZPgs7L1E8tYXbJXbv5H0= + + + Headers/ZDKTicketForm.h + + hash + + sKKQejVzzBi8cdq5JYTocIFKZj8= + + hash2 + + 9JQWtACiY/CwZ0DSVzgz2bHyVGQ7KPyB7C4hTrVajTk= + + + Headers/ZDKUploadProvider.h + + hash + + +VCy/paDk/shvLSrdYTtQMNdk2E= + + hash2 + + eyeuF7M3GRMKREddpR9/+OZFTgunqJGis2kxdjaGO08= + + + Headers/ZDKUploadResponse.h + + hash + + ZOgj1y1DozLgAL3ZtCP5al+2CZs= + + hash2 + + V2xT6lt3VtH8ejX0sPeK3nYQYhWfpUjapE+HDQz2Q8I= + + + Headers/ZDKValidator.h + + hash + + cgAKigw6nZKp5T4XyRZczbicWEI= + + hash2 + + gYJ1vtRbFGFyFmi98LPY8W9BLga4Rl82eE4OUdu8Cfw= + + + Headers/ZendeskProviderSDK-Swift.h + + hash + + Hx3MoNGT7j9wx9VPbG7uJp9QDlI= + + hash2 + + KWTgygRTrj89K/iL909EBaT5vkZDi9rG9gdPjxQyfRE= + + + Headers/ZendeskProviderSDK.h + + hash + + +SAqIb71tSCRntPTUcHGwoSkUGk= + + hash2 + + Jqt/C2JWNChfvnU5eFhtkt6mYaPIYZI/nlhH9oCaidI= + + + Headers/ZendeskSDKConstants.h + + hash + + 9ZxXwMEyUGJi+U5z1atA8cNO8TE= + + hash2 + + Z+0IEOajqiUWb8AZbJAr1lHAsRThfHQCOy1YOi5/pLA= + + + Modules/ZendeskProviderSDK.swiftmodule/i386.swiftdoc + + hash + + //q8nTl5S8okyh4OihmrThD2KyM= + + hash2 + + DSUHptRiLX5+HhPJkdj+NOlFZMb5y1X0ezzkV6ZkpZI= + + + Modules/ZendeskProviderSDK.swiftmodule/i386.swiftmodule + + hash + + Lky0VSXDS7jqWjFHEwy3k2O9Lis= + + hash2 + + sbQUuglWh/SgXsX6nuj/d37w3Vh+/WYt4ou0I5llQgM= + + + Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftdoc + + hash + + SfrzzxzEy24ROKL3rYMg7ofEqqM= + + hash2 + + +1ucyOSL4NmJ4UGlqCFGe6W1ik+TCz4lDOz+0Tk3jRQ= + + + Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftmodule + + hash + + 2OBow2Pwa7tg9KsgvCrEPJt6DCs= + + hash2 + + YRp9LGC6v1EjLoUzyLGJFZOqUGJqJt9aTQ+Uo/Jk59o= + + + Modules/module.modulemap + + hash + + 9VXMbF9CTqHost5CRFyCcM6ErQA= + + hash2 + + t81kr2htUGIn0iqakHC0e2XyElsKDOjgvA39iTF/YS0= + + + PrivateHeaders/ZDKTicketFormUtilities.h + + hash + + MVwCRHZnvxvDaELeHnVO1ka2bq8= + + hash2 + + rUxlKz0rbtXeIjhjTqMqeLx6ra93WrNFOecZIRElUAY= + + + ZendeskSDKStrings.bundle/Info.plist + + hash + + 8zFY+xHmWSd0ATDZUgbzcD9KXhg= + + hash2 + + Y5EaTbwK+Sc1lgsIL4w4mpZtPQqdbgCM5DIUaeOWGoQ= + + + ZendeskSDKStrings.bundle/_CodeSignature/CodeDirectory + + hash + + w0AbAkDgbdhqUx3kAeANr5udQ04= + + hash2 + + nS1JgdNnEIsvDd6qtarPJTt02UtALuC3u9E3Nf8qQ8I= + + + ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements + + hash + + OnX22wWFKRSOFN1+obRynMCeyXM= + + hash2 + + mHkgkE6rZQ51eIwFSqCwUk5qgL/HGqMt+NI3phdD+YY= + + + ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements-1 + + hash + + zoP/x2mCcN7FgaITg6XUkk+s+2o= + + hash2 + + /u/r/WiRIDakaIqHRRNUC3tHTaldj0Z6VjmBZ+C0HYc= + + + ZendeskSDKStrings.bundle/_CodeSignature/CodeResources + + hash + + n7Y0hriB4mHYDoail3l+h+pIAVQ= + + hash2 + + jBVbPWpyzw0q33d0U0wleSxo9OjJc8hbkvUiDHbxcVI= + + + ZendeskSDKStrings.bundle/_CodeSignature/CodeSignature + + hash + + 2jmj7l5rSw0yVb/vlWAYkK/YBwk= + + hash2 + + 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU= + + + ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings + + hash + + uN/IrDVSbCoewa20+NsPr2bZ8LQ= + + hash2 + + kCqt7fo87wmDoxAQK+OBIAqaCqZivuP/FXRORaeEkhU= + + optional + + + ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings + + hash + + TT+1vu5gZxU2T4UTCHOwra1gEpQ= + + hash2 + + iutUD3Hvb8uOchja6MEyBMBSDF/PgJFvyIQjsUgKSkQ= + + optional + + + ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings + + hash + + osPcusHylaG6I2RN4yBygr0Dw1E= + + hash2 + + AMRxZOuhsYzMcWPMjTm6oTvsRlEfa+cmeNbkBNJlbXM= + + optional + + + ZendeskSDKStrings.bundle/da.lproj/Localizable.strings + + hash + + D3dWJbPRs2JTfXLhstgCf9Ki1D0= + + hash2 + + Avn0LQIOtO+bcd3mDovYP5nK6lPZDfSom14+MaEcwLQ= + + optional + + + ZendeskSDKStrings.bundle/de.lproj/Localizable.strings + + hash + + q6DPHG1beYyIWZ4GvTkBrYlxPWo= + + hash2 + + pk0jeXWJ8DfzkIUnp/uqUpdw2jz8v4b8DeI8lAvPlbU= + + optional + + + ZendeskSDKStrings.bundle/el.lproj/Localizable.strings + + hash + + sgy3XnueQ125j0VrYPOEhp2JQDg= + + hash2 + + 8I0tr4T6HxvbDBPwBAhPD2MLVF3Sx5SVa2mGKmmRgCI= + + optional + + + ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + hash2 + + Cj2uuq0dNZUutgA3iFlPvY0kEDQd5cVb/JqVtXbENwc= + + optional + + + ZendeskSDKStrings.bundle/en.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + hash2 + + Cj2uuq0dNZUutgA3iFlPvY0kEDQd5cVb/JqVtXbENwc= + + optional + + + ZendeskSDKStrings.bundle/es.lproj/Localizable.strings + + hash + + GfCVAirVpy9HAjexNn/opUgd93w= + + hash2 + + nL5qPJvIuOUBT4dHhfzqVyerM4GcVgcvjCxCjcLSYMU= + + optional + + + ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings + + hash + + aULqQSaMj1IzeG/KVlveNCLrGaE= + + hash2 + + r3jRGPk5ZFJ2sTbOJ1eth5TRqw5Buyc3gC0Q36ar/zk= + + optional + + + ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings + + hash + + 6oePSUSqHCO+ol/a2VShNwcR7Pc= + + hash2 + + IaBLeg7zkG0cI6PVSQLMwHWnOwoqa9jQfKVVaDcCc/w= + + optional + + + ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings + + hash + + n0Ul+Dgl74iFRxlPo9d08p8KrHg= + + hash2 + + JqSA9ndlPB7O0OUDHsdIi8Ywqk0Lqq2VnBT9q/Yy6hQ= + + optional + + + ZendeskSDKStrings.bundle/he.lproj/Localizable.strings + + hash + + d6Q53H6Paz8EfOQdCtCaWxsXQ/8= + + hash2 + + ppSea0ASEpLr7d200okRQmrdT1o573Irmw0HfPkt6zY= + + optional + + + ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings + + hash + + 715KOTDfKYQMAK8JrXF9KLhMusI= + + hash2 + + JpnKFJSk24UaA82I5PhEI3dFAulOzdqMQuEhl7ugf+Y= + + optional + + + ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings + + hash + + zyNhb2W6vNCWkqmyBNUfwXhxHQo= + + hash2 + + 75OwC1zDAfGxIejNk8mfDLk+WOLcB4ozFRMtw6pEUio= + + optional + + + ZendeskSDKStrings.bundle/id.lproj/Localizable.strings + + hash + + cP9qm7wXc9EGndNFxtylxg9Z/ys= + + hash2 + + ezRC4vUisheVr1SvhGBu2QjYXOoJbjXebZINwYNqV0U= + + optional + + + ZendeskSDKStrings.bundle/it.lproj/Localizable.strings + + hash + + twN1x7YnIAfnQSywcS2uWdRnyQg= + + hash2 + + EvKQM287VYCwN1ya6ysdFuwF2dFVm+KfZd4qaZS15wg= + + optional + + + ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings + + hash + + CSZqLb1TterhEOyiQBrwI/kX3EU= + + hash2 + + Aa/UmPyxj3XJAhsRl4nrGgtiRZqtKjhFVYq2yg2mrOs= + + optional + + + ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings + + hash + + Sj/mDxVDdOxbZ+CRJ0JnbAsPgc4= + + hash2 + + oJifq9dlnILHT+MDGPSFW7eTqAegFjPzpPAxscYKDvY= + + optional + + + ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings + + hash + + 4gbore6DDebXbGhR1sjKZcYZ+zE= + + hash2 + + dR406t3RDAaje7vcqGyf/jb1/qS8N2Nel1a0CKfr3jQ= + + optional + + + ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings + + hash + + Us7uc/ChAesIg4ZMR/Pe8ul1BEc= + + hash2 + + PQwnMwmxUbqJLpba4HlvSzkTLXK1NPJlljxPwi+M0W4= + + optional + + + ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings + + hash + + uCMy52DK5fbexne5JN20XTJQrsc= + + hash2 + + XuKtW5SB82t6npQEx3dLADH9/2/3qn4ZovDvw2XZELg= + + optional + + + ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings + + hash + + ostb4bw+10iPXA26DkiTnUJ6Xpg= + + hash2 + + v2QqrFqmk4C9aAm9ZuOBOvDE3PMBMWzH5GnmlucE+XA= + + optional + + + ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + hash2 + + hNws7HaA/2vxmDcAFTssXZCG5iF80Zz34Q85P4Qvc0U= + + optional + + + ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + hash2 + + hNws7HaA/2vxmDcAFTssXZCG5iF80Zz34Q85P4Qvc0U= + + optional + + + ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings + + hash + + y+hcg+nnxhZJ0ZNMSfxbPe7DMYo= + + hash2 + + 7C5rBLXHAdd8Nsu0hxX1X0qxZxFalZH4mBJ3ZfNCfn0= + + optional + + + ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings + + hash + + r3AAGRnP5dM8YXLEb6G+BP3zkhQ= + + hash2 + + MrfMjR+1DqRkdPmMfIOd161qHXCowhsielhv4uFsEmQ= + + optional + + + ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings + + hash + + 6/j43Ig4hJan7dIHGdVBXt9LfA8= + + hash2 + + 7vsLInt/kmddlDML4GHRMeziFGdzQE7E/HtSArHBKxE= + + optional + + + ZendeskSDKStrings.bundle/th.lproj/Localizable.strings + + hash + + TYH29CogIQJhwER3fIGsA1iFx9E= + + hash2 + + bca5+j5NPdQxEvBJ6ejJNknv1q8FZ+g+aEiwJyaCadU= + + optional + + + ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings + + hash + + dnzolSydPVNijQp5J2yzEzsiSac= + + hash2 + + nCgc4I25gMuMQ/uJ7u3actVIHzQkm1N7WT84gy43Xz0= + + optional + + + ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings + + hash + + ZpIt9Ec01pYWfSlSLkzbNpHCi8o= + + hash2 + + gShlteHxyrOO8sNsZ076oKcYMFApd6+bj2psrlmTph4= + + optional + + + ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings + + hash + + C6mVomx2EKm/5LRYY/HYqQ3i03w= + + hash2 + + AFgCLhSybeaS7sL4fXfpr2p+Vc6RqtbXNEv0n1/RY/U= + + optional + + + ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings + + hash + + wTIw0IusNcidkltuIiXMXP0gBsU= + + hash2 + + sVSpYJjGdeVx7Pg+T7FZ/wsehdDS+gBepvu7z7NUiTg= + + optional + + + + rules + + ^ + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^ + + weight + 20 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Assets.car b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Assets.car new file mode 100644 index 00000000..714b9493 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Assets.car differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/AwesomeImagePicker.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/AwesomeImagePicker.nib/objects-11.0+.nib new file mode 100644 index 00000000..a20112a6 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/AwesomeImagePicker.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/AwesomeImagePicker.nib/runtime.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/AwesomeImagePicker.nib/runtime.nib new file mode 100644 index 00000000..3578fdc1 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/AwesomeImagePicker.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/CameraCell.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/CameraCell.nib new file mode 100644 index 00000000..e64ba729 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/CameraCell.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/CreateRequest.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/CreateRequest.nib/objects-11.0+.nib new file mode 100644 index 00000000..bbd4979b Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/CreateRequest.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/CreateRequest.nib/runtime.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/CreateRequest.nib/runtime.nib new file mode 100644 index 00000000..a9d28a7c Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/CreateRequest.nib/runtime.nib differ diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCreateRequestUIDelegate.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKCreateRequestUIDelegate.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKCreateRequestUIDelegate.h rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKCreateRequestUIDelegate.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIActivityView.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterArticleRatingHandlerProtocol.h similarity index 51% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIActivityView.h rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterArticleRatingHandlerProtocol.h index 3fff9c84..384eab07 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIActivityView.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterArticleRatingHandlerProtocol.h @@ -1,9 +1,9 @@ /* * - * ZDKUIActivityView.h + * ZDKHelpCenterArticleRatingHandlerProtocol.h * ZendeskSDK * - * Created by Zendesk on 01/05/2014. + * Created by Zendesk on 24/09/2014. * * Copyright (c) 2014 Zendesk. All rights reserved. * @@ -14,12 +14,20 @@ * */ +@class ZDKHelpCenterArticleRatingView, ZDKHelpCenterProvider; -#import -#import "ZDKSpinnerDelegate.h" +@protocol ZDKHelpCenterArticleRatingStateProtocol +- (void)updateButtonStatesForButtonAtIndexSelected:(NSUInteger)index; -@interface ZDKUIActivityView : UIImageView +@end +@protocol ZDKHelpCenterArticleRatingHandlerProtocol + +- (NSInteger) currentArticleVote; + +- (void) articleRatingVoteSelected:(id)ratingState atIndex:(NSInteger)index; @end + + diff --git a/ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h similarity index 92% rename from ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h index d9a18a7b..3ce112f0 100644 --- a/ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h @@ -28,13 +28,13 @@ /** * Initializes a data source with a cell identifier, configuration block and a provider. * - * @since 0.9.3.1 + * @since 2.0.0 * * @param articleId The articleId passed as a String, the article to which attachments will be fetched. * * @return A new instance. */ -- (instancetype) initWithArticleId:(NSString *)articleId ; +- (instancetype) initWithArticleId:(NSNumber *)articleId ; @end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h similarity index 81% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h index 143513b9..f0c17a47 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h @@ -15,38 +15,18 @@ */ #import - - -/** - * Enum to describe the types of nav bar button that display conversations. - */ -typedef NS_ENUM(NSUInteger, ZDKNavBarConversationsUIType) { - /** - * Nav bar button with localized label for conversations. - */ - ZDKNavBarConversationsUITypeLocalizedLabel, - /** - * Nav bar button with image for conversations. - */ - ZDKNavBarConversationsUITypeImage, - /** - * No conversations nav bar in Help Center. - */ - ZDKNavBarConversationsUITypeNone, -}; - +#import /** Used to select where conversations nav bar button will be active. - - - ZDKContactUsVisibilityOff: The contact us nav bar button is not visible anywhere. - - ZDKContactUsVisibilityArticleListOnly: The contact us nav bar button is only visible in the article list. - ZDKContactUsVisibilityArticleListAndArticle: The contact us nav bar button is visible in the article list and the article view. + - ZDKContactUsVisibilityArticleListOnly: The contact us nav bar button is only visible in the article list. + - ZDKContactUsVisibilityOff: The contact us nav bar button is not visible anywhere. */ typedef NS_ENUM(NSUInteger, ZDKContactUsVisibility) { - ZDKContactUsVisibilityOff, - ZDKContactUsVisibilityArticleListOnly, ZDKContactUsVisibilityArticleListAndArticle, + ZDKContactUsVisibilityArticleListOnly, + ZDKContactUsVisibilityOff, }; @protocol ZDKHelpCenterConversationsUIDelegate @@ -67,7 +47,6 @@ typedef NS_ENUM(NSUInteger, ZDKContactUsVisibility) { */ - (UIImage *) conversationsBarButtonImage; - /** * Determines where the coversations nav bar button will be displayed. * @@ -84,6 +63,11 @@ typedef NS_ENUM(NSUInteger, ZDKContactUsVisibility) { */ - (NSString *) conversationsBarButtonLocalizedLabel; +@end + +@protocol ZDKHelpCenterDelegate +@property (nonatomic, weak) id uiDelegate; @end + diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenterDataSource.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterDataSource.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenterDataSource.h rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterDataSource.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenterErrorCodes.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterErrorCodes.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenterErrorCodes.h rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterErrorCodes.h diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterUi.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterUi.h new file mode 100644 index 00000000..a6b6c0c9 --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKHelpCenterUi.h @@ -0,0 +1,89 @@ +/* + * + * ZDKHelpCenterUi.h + * ZendeskSDK + * + * Created by Zendesk on 15/03/2018. + * + * Copyright (c) 2018 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master + * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License + * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + + +@import UIKit; + +#import "ZDKHelpCenterConversationsUIDelegate.h" + +@class ZDKHelpCenterArticle; +@protocol ZDKUiConfiguration; + +NS_ASSUME_NONNULL_BEGIN + + +@interface ZDKHelpCenterUi : NSObject + +/** + * Build the Help Center Overview view controller. Displays an overview of your HelpCenter + * + * @since 2.0.0 + */ ++ (UIViewController *) buildHelpCenterOverview; + +/** + * Build the Help Center Overview view controller with a list of ZDKUiConfigurations. + * + * @param configs A list of ZDKUiConfigurations. + * + * @since 2.0.0 + */ ++ (UIViewController *) buildHelpCenterOverviewWithConfigs:(NSArray *)configs; + + +/** + * Build the Help Center Article view controller. Displays a single article. + * + * @param article A ZDKHelpCenterArticle to display. + * + * @since 2.0.0 + */ ++ (UIViewController*) buildHelpCenterArticle:(ZDKHelpCenterArticle *)article; + +/** + * Build the Help Center Article view controller. Displays a single article. + * + * @param article A ZDKHelpCenterArticle to display. + * @param configs A list of ZDKUiConfigurations. + * + * @since 2.0.0 + */ ++ (UIViewController*) buildHelpCenterArticle:(ZDKHelpCenterArticle *)article + andConfigs:(NSArray *)configs; +/** + * Build the Help Center Article view controller. Displays a single article. + * + * @param articleId The ID of a Help Center article. This is fetched and displayed. + * + * @since 2.0.0 + */ ++ (UIViewController*) buildHelpCenterArticleWithArticleId:(NSInteger)articleId; + +/** + * Build the Help Center Article view controller. Displays a single article. + * + * @param articleId The ID of a Help Center article. This is fetched and displayed. + * @param configs A list of ZDKUiConfigurations. + * + * @since 2.0.0 + */ ++ (UIViewController*) buildHelpCenterArticleWithArticleId:(NSInteger)articleId + andConfigs:(NSArray *)configs; + + +@end + +NS_ASSUME_NONNULL_END diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKLayoutGuideApplicator.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKLayoutGuideApplicator.h new file mode 100644 index 00000000..164614da --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKLayoutGuideApplicator.h @@ -0,0 +1,57 @@ +/* + * + * ZDKLayoutGuideApplicator.h + * ZendeskSDK + * + * Created by Zendesk on 22/12/2015 + * + * Copyright (c) 2015 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master + * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License + * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + +#import + + +/** + * Layout guides positions to fix + */ +typedef NS_ENUM(NSUInteger, ZDKLayoutGuideApplicatorPosition) { + /** + * Fix the top guide layout position + */ + ZDKLayoutGuideApplicatorPositionTop, + /** + * Fix the bottom guide layout position + */ + ZDKLayoutGuideApplicatorPositionBottom, +}; + + +NS_ASSUME_NONNULL_BEGIN + +/** + This class tries to fix the layout spacing when using XIB instead of storyboard. + Since we cannot reference the top/bottom layout guids. This class fixes the top/bottom layout to be relative to the guides. + */ +@interface ZDKLayoutGuideApplicator : NSObject + +/** + * Creates an instance + * + * @param viewController the viewcontroller containing the view to fix the layout for + * @param topLevelView the view that is closest to the parent y origin. + * @param position positions to fix + */ +- (instancetype)initWithViewController:(UIViewController *)viewController + topLevelView:(UIView *)topLevelView + layoutPosition:(ZDKLayoutGuideApplicatorPosition)position NS_DESIGNATED_INITIALIZER; + +- (instancetype )init NS_UNAVAILABLE; + +@end +NS_ASSUME_NONNULL_END diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKSpinnerDelegate.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKSpinnerDelegate.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKSpinnerDelegate.h rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKSpinnerDelegate.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKSupportAttachmentCell.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKSupportAttachmentCell.h similarity index 100% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKSupportAttachmentCell.h rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKSupportAttachmentCell.h diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKToastViewWrapper.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKToastViewWrapper.h new file mode 100644 index 00000000..9d534ac5 --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKToastViewWrapper.h @@ -0,0 +1,40 @@ +/* + * + * ZDKToastViewWrapper.h + * ZendeskSDK + * + * Created by Zendesk on 22/12/2015 + * + * Copyright (c) 2015 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master + * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License + * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + +#import + + +@interface ZDKToastViewWrapper : UIView + +@property (nonatomic, readonly) BOOL isVisible; + +- (void)showErrorInViewController:(UIViewController*)viewController + withMessage:(NSString*)message; + +- (void)showErrorInViewController:(UIViewController*)viewController + withMessage:(NSString*)message + duration:(CGFloat)duration; + +- (void)showErrorInViewController:(UIViewController*)viewController + withMessage:(NSString*)message + buttonTitle:(NSString*)buttonTitle + action:(void (^)(void))action; + +- (void)dismiss; + +- (void)hideToastView:(BOOL)hide; + +@end diff --git a/ZendeskSDK.framework/Headers/ZDKUIUtil.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKUIUtil.h similarity index 97% rename from ZendeskSDK.framework/Headers/ZDKUIUtil.h rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKUIUtil.h index 8060d930..1eb6df72 100644 --- a/ZendeskSDK.framework/Headers/ZDKUIUtil.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZDKUIUtil.h @@ -149,12 +149,12 @@ * @param viewController ViewController to check to enable attachments * * - * @return Returns YES if attchments should be enabled. The app must + * @return Returns YES if attchments should be enabled. This is a combination of server config and if the app * supports portrait orientation, as UIImagePicker will crash if it cannot rotate into portrait * * @since 1.5.4.1 */ -+ (BOOL) appSupportsPortrait:(UIViewController *)viewController; ++ (BOOL) shouldEnableAttachments:(UIViewController *)viewController; diff --git a/ZendeskSDK.framework/Headers/Zendesk.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZendeskFabric.h similarity index 80% rename from ZendeskSDK.framework/Headers/Zendesk.h rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZendeskFabric.h index ac6270d0..31a3cf66 100644 --- a/ZendeskSDK.framework/Headers/Zendesk.h +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZendeskFabric.h @@ -3,9 +3,9 @@ * Zendesk.h * ZendeskSDK * - * Created by Zendesk on 12/01/2017. + * Created by Zendesk on 07/03/2018. * - * Copyright (c) 2017 Zendesk. All rights reserved. + * Copyright (c) 2018 Zendesk. All rights reserved. * * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License @@ -16,6 +16,6 @@ #import -@interface Zendesk : NSObject +@interface ZendeskFabric : NSObject @end diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZendeskSDK-Swift.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZendeskSDK-Swift.h new file mode 100644 index 00000000..84c2b239 --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZendeskSDK-Swift.h @@ -0,0 +1,468 @@ +// Generated by Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_attribute(external_source_symbol) +# define SWIFT_STRINGIFY(str) #str +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) _Pragma(SWIFT_STRINGIFY(clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in=module_name, generated_declaration))), apply_to=any(function, enum, objc_interface, objc_category, objc_protocol)))) +# define SWIFT_MODULE_NAMESPACE_POP _Pragma("clang attribute pop") +#else +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) +# define SWIFT_MODULE_NAMESPACE_POP +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) || __cplusplus < 201103L +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open))) +# else +# define SWIFT_ENUM_ATTR +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if __has_feature(modules) +@import AVFoundation; +@import ObjectiveC; +@import ZendeskProviderSDK; +@import Foundation; +@import UIKit; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +SWIFT_MODULE_NAMESPACE_PUSH("ZendeskSDK") + + + + + + +/// Enum that represents the file types that zendesk supports +typedef SWIFT_ENUM_NAMED(NSInteger, ZDKFileType, "FileType") { + ZDKFileTypePng = 0, + ZDKFileTypeJpg = 1, + ZDKFileTypePdf = 2, + ZDKFileTypePlain = 3, + ZDKFileTypeWord = 4, + ZDKFileTypeExcel = 5, + ZDKFileTypePowerpoint = 6, + ZDKFileTypePowerpointX = 7, + ZDKFileTypeKeynote = 8, + ZDKFileTypePages = 9, + ZDKFileTypeNumbers = 10, + ZDKFileTypeBinary = 11, +}; + +@protocol ZDKHelpCenterArticleRatingStateProtocol; + +SWIFT_CLASS("_TtC10ZendeskSDK30HelpCenterArticleVotingHandler") +@interface HelpCenterArticleVotingHandler : NSObject +- (nonnull instancetype)initWithArticleId:(NSInteger)articleId andLocale:(NSString * _Nonnull)locale; +- (void)articleRatingVoteSelected:(id _Nonnull)ratingState atIndex:(NSInteger)index; +- (NSInteger)currentArticleVote SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +/// Configuration for a screen of the SDK +SWIFT_PROTOCOL_NAMED("UiConfiguration") +@protocol ZDKUiConfiguration +- (nonnull instancetype)init; +@end + +@class ZDKHelpCenterOverviewContentModel; + +/// Data class used to configure Help Center +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("HelpCenterUiConfiguration") +@interface ZDKHelpCenterUiConfiguration : NSObject +/// A list of labels to which must be present for an article to show up in the list. +/// The labels combined with AND +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSArray * _Nonnull labels; +/// The type of ids being used. +/// version: +/// 2.0.0 +@property (nonatomic) ZDKHelpCenterOverviewGroupType groupType; +/// Hide the Contact Support button that is displayed upon an empty search in Help Center +/// version: +/// 2.0.0 +@property (nonatomic) BOOL hideContactSupport; +/// A list of ids. Only show articles contained in the categories/sections. +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSArray * _Nonnull groupIds; +@property (nonatomic, readonly, strong) ZDKHelpCenterOverviewContentModel * _Nonnull overviewContentModel; +/// Returns a default model. To customize the content, update properties on a default model. +/// @return A default content model. +/// version: +/// 2.0.0 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + +/// Creates an attachment to be uploaded when a request is created +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("RequestAttachment") +@interface ZDKRequestAttachment : NSObject +/// Name of the file to be uploaded +/// version: +/// 2.0.0 +@property (nonatomic, readonly, copy) NSString * _Nonnull filename; +/// Data of the file contents to be uploaded +/// version: +/// 2.0.0 +@property (nonatomic, readonly, copy) NSData * _Nonnull data; +/// Type of the file to be uploaded +/// version: +/// 2.0.0 +@property (nonatomic, readonly) enum ZDKFileType fileType; +/// Generates a new state from the old state and an action +/// version: +/// 2.0.0 +/// \param filename the name of the file to be uploaded, without the file extension +/// +/// \param data the data of the contents of the file to be uploaded +/// +/// \param fileType the type of the file to be uploaded +/// +/// +/// returns: +/// an instance of RequestAttachment +- (nonnull instancetype)initWithFilename:(NSString * _Nonnull)filename data:(NSData * _Nonnull)data fileType:(enum ZDKFileType)fileType OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + +@class UIViewController; + +/// Used to build view controller for ticketing. The returned objects must be presented inside a UINavigationController. The containing navigation controller can be presented any way you see fit. +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("RequestUi") +@interface ZDKRequestUi : NSObject +/// Build the Request List. This is a list of a users tickets. +/// Conversations must be enabled in your Zendesk SDK admin settings. Conversations are not available on Essential. +/// version: +/// 2.0.0 ++ (UIViewController * _Nonnull)buildRequestList SWIFT_WARN_UNUSED_RESULT; +/// Build the Request List with a list of UiConfigurations. +/// Conversations must be enabled in your Zendesk SDK admin settings. Conversations are not available on Essential. +/// version: +/// 2.0.0 +/// \param configurations A list of UiConfiguration objects. You do not need to configure the controller being presented. +/// ++ (UIViewController * _Nonnull)buildRequestListWith:(NSArray> * _Nonnull)configurations SWIFT_WARN_UNUSED_RESULT; +/// Build the Request Ui. This allows users to create and respond to individual tickets. +/// version: +/// 2.0.0 ++ (UIViewController * _Nonnull)buildRequestUi SWIFT_WARN_UNUSED_RESULT; +/// Build the Request Ui with a list of UiConfigurations. +/// version: +/// 2.0.0 +/// \param configurations A list of UiConfiguration objects. You do not need to configure the controller being presented. +/// ++ (UIViewController * _Nonnull)buildRequestUiWith:(NSArray> * _Nonnull)configurations SWIFT_WARN_UNUSED_RESULT; +/// Build the Request Ui. This allows users to create and respond to individual tickets. +/// version: +/// 2.0.0 +/// \param requestId The ID of the ticket to display. +/// ++ (UIViewController * _Nonnull)buildRequestUiWithRequestId:(NSString * _Nonnull)requestId SWIFT_WARN_UNUSED_RESULT; +/// Build the Request Ui with a list of UiConfigurations. +/// version: +/// 2.0.0 +/// \param requestId The ID of the ticket to display. +/// +/// \param configurations A list of UiConfiguration objects. You do not need to configure the controller being presented. +/// ++ (UIViewController * _Nonnull)buildRequestUiWithRequestId:(NSString * _Nonnull)requestId configurations:(NSArray> * _Nonnull)configurations SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class ZDKCustomField; +@class NSNumber; + +/// Data class used to configure Ticketing +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("RequestUiConfiguration") +@interface ZDKRequestUiConfiguration : NSObject +/// The Subject of any tickets created +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSString * _Nonnull subject; +/// Tags set in any created tickets +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSArray * _Nonnull tags; +/// Custom Fields set in any created tickets +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSArray * _Nonnull fields; +/// The ticket form of any created tickets. +/// If this property is set fields must also be set. Any ticket fields set will be associated with tickerFormID. +/// version: +/// 2.0.0 +@property (nonatomic, strong) NSNumber * _Nullable ticketFormID; +/// A list of RequestAttachments sent with any created tickets. +/// Note: These files are treated as any other. They will be displayed in the UI +/// and the user will be able to remove them. +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSArray * _Nonnull fileAttachments; +/// Returns a default model. To customisze the content, update properties on a default model. +/// version: +/// 2.0.0 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Used to enable Suas logging. +/// Suas drives most of the Ticketing UI so the Suas logs can be useful for debugging it. +/// Enabling the Suas logger produces a lot of information and will slow down the SDK. +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("SuasDebugLogger") +@interface ZDKSuasDebugLogger : NSObject +/// Toggle the Suas debug logging +/// version: +/// 2.0.0 +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL enabled;) ++ (BOOL)enabled SWIFT_WARN_UNUSED_RESULT; ++ (void)setEnabled:(BOOL)newValue; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class UIColor; + +/// Used to style the SDK. +/// Set the currentTheme.primaryColor to style the UI. +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("Theme") +@interface ZDKTheme : NSObject +/// The theme currently applied to the SDK. +/// version: +/// 2.0.0 +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZDKTheme * _Nonnull currentTheme;) ++ (ZDKTheme * _Nonnull)currentTheme SWIFT_WARN_UNUSED_RESULT; +/// The primary color of the SDK. +/// This is applied as a tint to various UI components +/// version: +/// 2.0.0 +@property (nonatomic, strong) UIColor * _Nonnull primaryColor; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + + + + + + + + + + + + + + + + + + + + + + + + +SWIFT_CLASS("_TtC10ZendeskSDK12ZDKConstants") +@interface ZDKConstants : NSObject ++ (UIColor * _Nonnull)colorForToast SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + +/// This class is just a workaround and it should be removed when core provides a way to access the action registry from objective c +SWIFT_CLASS("_TtC10ZendeskSDK17ZendeskWrapperUIX") +@interface ZendeskWrapperUIX : NSObject ++ (void)setupActionHandlers; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +SWIFT_MODULE_NAMESPACE_POP +#pragma clang diagnostic pop diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZendeskSDK.h b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZendeskSDK.h new file mode 100644 index 00000000..88258698 --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Headers/ZendeskSDK.h @@ -0,0 +1,43 @@ +/* + * + * ZendeskSDK.h + * ZendeskSDK + * + * Created by Zendesk on 03/22/2018 + * + * Copyright (c) 2018 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master + * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License + * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + +#import + +#ifndef ZendeskSDK_h +#define ZendeskSDK_h + + +#import "ZDKCreateRequestUIDelegate.h" +#import "ZDKHelpCenterArticleRatingHandlerProtocol.h" +#import "ZDKHelpCenterAttachmentsDataSource.h" +#import "ZDKHelpCenterConversationsUIDelegate.h" +#import "ZDKHelpCenterDataSource.h" +#import "ZDKHelpCenterErrorCodes.h" +#import "ZDKHelpCenterUi.h" +#import "ZDKLayoutGuideApplicator.h" +#import "ZDKSpinnerDelegate.h" +#import "ZDKSupportAttachmentCell.h" +#import "ZDKToastViewWrapper.h" +#import "ZDKUIUtil.h" +#import "ZendeskFabric.h" + +#if MODULES_DISABLED +#import +#else +@import ZendeskProviderSDK; +#endif + +#endif diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ImageCell.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ImageCell.nib new file mode 100644 index 00000000..9d211b9a Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ImageCell.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Info.plist b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Info.plist new file mode 100644 index 00000000..e2d83d2a Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Info.plist differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/InputFileCell.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/InputFileCell.nib new file mode 100644 index 00000000..56ac942a Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/InputFileCell.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/InputImageCell.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/InputImageCell.nib new file mode 100644 index 00000000..44cd12d8 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/InputImageCell.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ModelIdentifier.plist b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ModelIdentifier.plist new file mode 100644 index 00000000..52f3e0b8 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ModelIdentifier.plist differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftdoc new file mode 100644 index 00000000..8fe23a78 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftmodule new file mode 100644 index 00000000..13d8d4e7 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftdoc new file mode 100644 index 00000000..f52879ac Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftmodule new file mode 100644 index 00000000..ed8b1384 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftdoc new file mode 100644 index 00000000..f899a382 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftmodule new file mode 100644 index 00000000..ac5815eb Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftdoc b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftdoc new file mode 100644 index 00000000..0351e3c6 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftmodule b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftmodule new file mode 100644 index 00000000..3e599c1c Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/module.modulemap b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/module.modulemap new file mode 100644 index 00000000..b2d7c2af --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module ZendeskSDK { + umbrella header "ZendeskSDK.h" + + export * + module * { export * } +} + +module ZendeskSDK.Swift { + header "ZendeskSDK-Swift.h" + requires objc +} diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestController.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestController.nib/objects-11.0+.nib new file mode 100644 index 00000000..8a3fe3a3 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestController.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestController.nib/runtime.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestController.nib/runtime.nib new file mode 100644 index 00000000..268affc7 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestController.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestListTableViewCell.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestListTableViewCell.nib new file mode 100644 index 00000000..d6cf6fb2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestListTableViewCell.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestListViewController.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestListViewController.nib/objects-11.0+.nib new file mode 100644 index 00000000..293e0c53 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestListViewController.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestListViewController.nib/runtime.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestListViewController.nib/runtime.nib new file mode 100644 index 00000000..d9abe19e Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/RequestListViewController.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/SidebarCell.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/SidebarCell.nib new file mode 100644 index 00000000..865cfde8 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/SidebarCell.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib new file mode 100644 index 00000000..8853dee2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/runtime.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/runtime.nib new file mode 100644 index 00000000..435d706c Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib new file mode 100644 index 00000000..eb8d462e Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib new file mode 100644 index 00000000..e071f35a Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewController.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewController.nib new file mode 100644 index 00000000..03019c26 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewController.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewFooterView.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewFooterView.nib new file mode 100644 index 00000000..d9c23034 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewFooterView.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib new file mode 100644 index 00000000..d815a1db Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib new file mode 100644 index 00000000..013a0477 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewLoadingTableViewCell.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewLoadingTableViewCell.nib new file mode 100644 index 00000000..6d9fec46 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewLoadingTableViewCell.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib new file mode 100644 index 00000000..5df9f8fc Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib new file mode 100644 index 00000000..95fbc5a3 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib new file mode 100644 index 00000000..7d72074b Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib new file mode 100644 index 00000000..af49911a Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSpacerTableViewCell.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSpacerTableViewCell.nib new file mode 100644 index 00000000..f5cee499 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterOverviewSpacerTableViewCell.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterSearchResultTableViewCell.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterSearchResultTableViewCell.nib new file mode 100644 index 00000000..553e0102 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterSearchResultTableViewCell.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterSearchResultViewController.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterSearchResultViewController.nib new file mode 100644 index 00000000..08eb043d Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZDKHelpCenterSearchResultViewController.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZendeskLogoView.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZendeskLogoView.nib/objects-11.0+.nib new file mode 100644 index 00000000..b7d41194 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZendeskLogoView.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZendeskLogoView.nib/runtime.nib b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZendeskLogoView.nib/runtime.nib new file mode 100644 index 00000000..6c2a2b55 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZendeskLogoView.nib/runtime.nib differ diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/ZendeskSDK b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZendeskSDK old mode 100644 new mode 100755 similarity index 64% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/ZendeskSDK rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZendeskSDK index c7e8d53c..2b1092cc Binary files a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/ZendeskSDK and b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ZendeskSDK differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/_CodeSignature/CodeResources b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/_CodeSignature/CodeResources new file mode 100644 index 00000000..791f73fa --- /dev/null +++ b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/_CodeSignature/CodeResources @@ -0,0 +1,1126 @@ + + + + + files + + Assets.car + + PY19O/9gRUCNcd4xVPvXBfmkrCE= + + AwesomeImagePicker.nib/objects-11.0+.nib + + aTWXQqu3doDmylM4LNM2s25S4qg= + + AwesomeImagePicker.nib/runtime.nib + + brC9kkwVilm8ASfFxnJAPYWhxUo= + + CameraCell.nib + + Q+h0/J17dz4eugc2XJD8nDKf9sg= + + CreateRequest.nib/objects-11.0+.nib + + X141Xkx4hM8nbwJmuiknsVRXjRA= + + CreateRequest.nib/runtime.nib + + e0xWBBzEUytxXBXNnis5SfDpQMQ= + + Headers/ZDKCreateRequestUIDelegate.h + + nC5bnlnqzX8u0pvhy2u1KVWkkyY= + + Headers/ZDKHelpCenterArticleRatingHandlerProtocol.h + + Rl0lmhWsUitCr9zQFKSnZrh4x1M= + + Headers/ZDKHelpCenterAttachmentsDataSource.h + + EpkKx9g+vuWt/2G39Dc5fySdCvg= + + Headers/ZDKHelpCenterConversationsUIDelegate.h + + EqzOboei5LmYeMU3DnT4z/gBZEM= + + Headers/ZDKHelpCenterDataSource.h + + 4b5V+cGn4gztuXXPQ2mw8zlBjcM= + + Headers/ZDKHelpCenterErrorCodes.h + + U9BVtJ8Hl3+nbDGXrhvv7J1LW1I= + + Headers/ZDKHelpCenterUi.h + + erUli2ZfKL68/eNRsNz8Ri8xCx4= + + Headers/ZDKLayoutGuideApplicator.h + + 9oRICxjMsRQUe8XnGp0eEyXX+j0= + + Headers/ZDKSpinnerDelegate.h + + P5k3iTOoL5oAZUn9r9A81KbKm3s= + + Headers/ZDKSupportAttachmentCell.h + + fj+MY0dOWXa/gBa800RiTI2vRKU= + + Headers/ZDKToastViewWrapper.h + + bV/Wc5GFJxeN+nOvaufkO8Ar7Zg= + + Headers/ZDKUIUtil.h + + r7T0c/EQZYQ5sCoTKcizvzUnVvw= + + Headers/ZendeskFabric.h + + lksxG8AopOI767IrUXfPAcPNYBM= + + Headers/ZendeskSDK-Swift.h + + 4PwRvlkMRAV+935c7Aa4lnGYENI= + + Headers/ZendeskSDK.h + + b5mrgD1r9oV8I1UwfJf+WlDN3FU= + + ImageCell.nib + + 1WzOZTtEkSJsO6MbTtXoYu0KbbY= + + Info.plist + + NdTLeTDe7Bfe0LQdVorGyG8ntxI= + + InputFileCell.nib + + zGDe1UyW/72qbR82/fOC6MnUMcw= + + InputImageCell.nib + + 1IjCiazxve1rAzSm5wae7fLjAxA= + + ModelIdentifier.plist + + 3Y2SKkc08JmsRvxiiC0L0L6NCeY= + + Modules/ZendeskSDK.swiftmodule/i386.swiftdoc + + Zh0Ztl6W1zzjzW7uE7ofgdDE2s0= + + Modules/ZendeskSDK.swiftmodule/i386.swiftmodule + + Q9MrMfcy5PHfwwIcpyT3s32Owc4= + + Modules/ZendeskSDK.swiftmodule/x86_64.swiftdoc + + /28JvplGqL5P5aHGCEb9r6CVRK4= + + Modules/ZendeskSDK.swiftmodule/x86_64.swiftmodule + + vmUcq2irlW2jcwJJ6w26RxyDuZI= + + Modules/module.modulemap + + /bgMCzwYw/VmxmGs9fVDOR7XW4E= + + RequestController.nib/objects-11.0+.nib + + sPUba+cijIF5W3W0NsSMakOBzq0= + + RequestController.nib/runtime.nib + + 4sBolRz66Z/6I4WWhyPVT8j+nVw= + + RequestListTableViewCell.nib + + 0jYNwcIGnU5j2NQQ/zkbpNnAgfI= + + RequestListViewController.nib/objects-11.0+.nib + + +rhSP/Qig4whYNUrYSq4cU9LM/c= + + RequestListViewController.nib/runtime.nib + + pwKBma0ioB3NklJkY0IEwM2K6sI= + + SidebarCell.nib + + YYvvjRNXRDOLXjx1FxmVnMvD5Z4= + + ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib + + TXR7VQXCdRuGpxst6jzdn8hfn3g= + + ZDKHelpCenterArticleRatingView.nib/runtime.nib + + byo4k/jFNCYkySCveoCbbDUJODE= + + ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib + + ajPI7BXPcdFbrzxGWNfCVWIly5g= + + ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib + + OUTM6qowiWrUAPyzmgw0E/EJCIE= + + ZDKHelpCenterOverviewController.nib + + Bx1JzkEU5L8yNTZMBjDPjgEqJXM= + + ZDKHelpCenterOverviewFooterView.nib + + fb7Wm96MF3u00mtjszKjedILjds= + + ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib + + JX+uvGGiPjts+fsVX1AfIOpr29E= + + ZDKHelpCenterOverviewHeaderView.nib/runtime.nib + + 6I0B531jiu6tx5cBniGOoGSb+Vs= + + ZDKHelpCenterOverviewLoadingTableViewCell.nib + + MJnS/BIRJj1BjRBcdgLXXvAybrA= + + ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib + + QuQRDD8E4t85XvTBJZ5/QJG+Fbk= + + ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib + + i5B3J7605Gsu7uOpcFMvMkGVxEg= + + ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib + + X7K/MPoSnnCAeb6KfWe9l9u/lH4= + + ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib + + VRfqSFPoddSE+QmfbEC/XjpUgwQ= + + ZDKHelpCenterOverviewSpacerTableViewCell.nib + + nAu60IlUHD/uzM/orxdW7XnStTg= + + ZDKHelpCenterSearchResultTableViewCell.nib + + HqC4xXuMyioGQ6cJ2JPGMUpr7vc= + + ZDKHelpCenterSearchResultViewController.nib + + 4xlNrMWR5PGLr2zsN0kyuixK9zQ= + + ZendeskLogoView.nib/objects-11.0+.nib + + wQSxKCifrPRlav6+62AX0xxoE6s= + + ZendeskLogoView.nib/runtime.nib + + 5O+92OTgcdcUFBH9qCCMehbHIfE= + + help_center_article_style.css + + KXGMYMIyh6yTJ1QUbCt3gvEKM74= + + icoDown.png + + SBuT+PBdgCoC1upVejrhluN4eog= + + icoDown@2x.png + + QZBvc+XaIiFNPNnYGTn9z4i5To4= + + icoDown@3x.png + + uTylllD83viWYzAoOy3lpZ8rpkw= + + icoVoteDown.png + + uGTjk2yHYIKqKTMqwyM5O/JDIfM= + + icoVoteDown@2x.png + + V9FJ0EwuuQCESRmBj0kVuYuEVws= + + icoVoteDown@3x.png + + M+DAEAv7PLQXYnzRiEBhuKhqQ6o= + + icoVoteUp.png + + rMvk1cQdAa2at/mMwDXfqQFodpI= + + icoVoteUp@2x.png + + CYSPRmau2fHyPe2oB00x4ciXWmE= + + icoVoteUp@3x.png + + O5paoCkhrxE7epIVoRJhrZdMeGc= + + ico_newticket.png + + N5HroUPrAOvmsDbGUortxgAVP+A= + + ico_newticket@2x.png + + QWAzuT21nsQUG8QQyi9mPqnhBVQ= + + ico_newticket@3x.png + + u687L/wWYQSF4oga62JCP8sdjp0= + + + files2 + + Assets.car + + hash + + PY19O/9gRUCNcd4xVPvXBfmkrCE= + + hash2 + + 6u5trBl59+xXaGA2NJKsj4lQcGADEx2nYZ4PI6F3oFU= + + + AwesomeImagePicker.nib/objects-11.0+.nib + + hash + + aTWXQqu3doDmylM4LNM2s25S4qg= + + hash2 + + HUSLH5MBytsrg2izKaHfuP/t40WXY7lb04+rFQOW5LQ= + + + AwesomeImagePicker.nib/runtime.nib + + hash + + brC9kkwVilm8ASfFxnJAPYWhxUo= + + hash2 + + 8+zcL3Nku/q5veIxGBr1C0yxRfQ5dT7wE3lp8Q6hX9E= + + + CameraCell.nib + + hash + + Q+h0/J17dz4eugc2XJD8nDKf9sg= + + hash2 + + ZKIz6EsCfVGAAgnlgyyQNB5+4hI/5pFrCK7GVRAK7IU= + + + CreateRequest.nib/objects-11.0+.nib + + hash + + X141Xkx4hM8nbwJmuiknsVRXjRA= + + hash2 + + jFGTQnl1ibEVc2oI6xg084UmyotT7F6Qei13A47kN9k= + + + CreateRequest.nib/runtime.nib + + hash + + e0xWBBzEUytxXBXNnis5SfDpQMQ= + + hash2 + + FNnqLc5a8aGNL/x/GUw9JjFq48ggMrai1T0GHFZhC5c= + + + Headers/ZDKCreateRequestUIDelegate.h + + hash + + nC5bnlnqzX8u0pvhy2u1KVWkkyY= + + hash2 + + EGfi/8cbW1cKoawWjjM81u6I6eD8H/MYdacWgW39PVQ= + + + Headers/ZDKHelpCenterArticleRatingHandlerProtocol.h + + hash + + Rl0lmhWsUitCr9zQFKSnZrh4x1M= + + hash2 + + 5XAQ09/NWKkQvOi6YXO9/DffO/dgGZjfjarwPNnx36I= + + + Headers/ZDKHelpCenterAttachmentsDataSource.h + + hash + + EpkKx9g+vuWt/2G39Dc5fySdCvg= + + hash2 + + LVbWWmb000JQdyVYweDByxYHuDNjmhB5N3rSM0Lkkt4= + + + Headers/ZDKHelpCenterConversationsUIDelegate.h + + hash + + EqzOboei5LmYeMU3DnT4z/gBZEM= + + hash2 + + oLWqBqBJIQaOeEx6NUwos2+XWguYPH7+ak65L5dLXA4= + + + Headers/ZDKHelpCenterDataSource.h + + hash + + 4b5V+cGn4gztuXXPQ2mw8zlBjcM= + + hash2 + + hpj1t0JIF95vVmBqX3oFf1sgll/4EiNSoQijc2sVX4k= + + + Headers/ZDKHelpCenterErrorCodes.h + + hash + + U9BVtJ8Hl3+nbDGXrhvv7J1LW1I= + + hash2 + + Dl0mmAa8tK36NwVRyQLcTfW//FWXEQGulcpSrUFL7RQ= + + + Headers/ZDKHelpCenterUi.h + + hash + + erUli2ZfKL68/eNRsNz8Ri8xCx4= + + hash2 + + f7YwMkiKu9IABoEen/BWCvWF5XWqmUwOrL9WHJr1ttY= + + + Headers/ZDKLayoutGuideApplicator.h + + hash + + 9oRICxjMsRQUe8XnGp0eEyXX+j0= + + hash2 + + SpqjP4brK0w6ff2cYC3H47Z0Ml0cZwCs2t467Eh2+LE= + + + Headers/ZDKSpinnerDelegate.h + + hash + + P5k3iTOoL5oAZUn9r9A81KbKm3s= + + hash2 + + JZzxIhPg6evqSZJvaSdJ1/eCi2nMUdOAe5/8QvYiJeQ= + + + Headers/ZDKSupportAttachmentCell.h + + hash + + fj+MY0dOWXa/gBa800RiTI2vRKU= + + hash2 + + /s66WmvqNbyA3E6w9Nxdpm1BwjkO3Pa1Q/7NNkqwZTI= + + + Headers/ZDKToastViewWrapper.h + + hash + + bV/Wc5GFJxeN+nOvaufkO8Ar7Zg= + + hash2 + + KnlTCgzD6eN+RkZIkeCsDI9c/5nV9lnfcHYoN2yFN6A= + + + Headers/ZDKUIUtil.h + + hash + + r7T0c/EQZYQ5sCoTKcizvzUnVvw= + + hash2 + + xic3bUsmy/IipB7fUZ4B7n8aSC5Vt9L3j9DuuBbIpnw= + + + Headers/ZendeskFabric.h + + hash + + lksxG8AopOI767IrUXfPAcPNYBM= + + hash2 + + l5SUOaHNGNfF8h455qvjFl7FbSIxzvVQsdTx52jHwxc= + + + Headers/ZendeskSDK-Swift.h + + hash + + 4PwRvlkMRAV+935c7Aa4lnGYENI= + + hash2 + + u11sFdXGDj2JDxNDK4gaHW8iGefPmFc9JNO1wqXcQY0= + + + Headers/ZendeskSDK.h + + hash + + b5mrgD1r9oV8I1UwfJf+WlDN3FU= + + hash2 + + 6HIxaQTrokAQNL6tL1xOiqZ1cVf2Rf1hZ3yazHLtBTc= + + + ImageCell.nib + + hash + + 1WzOZTtEkSJsO6MbTtXoYu0KbbY= + + hash2 + + 0uoA97A0kJnawLMSZViZ6GQfZ1PsE7hzHnIRQl6dUZE= + + + InputFileCell.nib + + hash + + zGDe1UyW/72qbR82/fOC6MnUMcw= + + hash2 + + PjEz0UY/1/KoC/Cy5i/KVOtrI1Pciwk+VT3c5rOREEA= + + + InputImageCell.nib + + hash + + 1IjCiazxve1rAzSm5wae7fLjAxA= + + hash2 + + WM8i544d7q8SFQi2shmEAV6oHubqiKeZjbbWTB9+bZs= + + + ModelIdentifier.plist + + hash + + 3Y2SKkc08JmsRvxiiC0L0L6NCeY= + + hash2 + + GX0z+FdHKQ3TRACQtklLs/Ddwiw+wKnW1MNq4CB+LuI= + + + Modules/ZendeskSDK.swiftmodule/i386.swiftdoc + + hash + + Zh0Ztl6W1zzjzW7uE7ofgdDE2s0= + + hash2 + + LL19pSk1iGwCkr4aZ2sIB/JJqSWBdz8ybsEvcDoO9+Y= + + + Modules/ZendeskSDK.swiftmodule/i386.swiftmodule + + hash + + Q9MrMfcy5PHfwwIcpyT3s32Owc4= + + hash2 + + UK9RX1MaBl7kCoXd1CSId37ZmsLRsIJHChtBgJjcYVs= + + + Modules/ZendeskSDK.swiftmodule/x86_64.swiftdoc + + hash + + /28JvplGqL5P5aHGCEb9r6CVRK4= + + hash2 + + bM3sb1hrXWQx7b8cSxDg6cZO6VU1AV8vR9AzuxTVMyU= + + + Modules/ZendeskSDK.swiftmodule/x86_64.swiftmodule + + hash + + vmUcq2irlW2jcwJJ6w26RxyDuZI= + + hash2 + + 2rWK+3t78lIdHFSeRTAsGSRyVBUi1ap5BkCSpq9NUC8= + + + Modules/module.modulemap + + hash + + /bgMCzwYw/VmxmGs9fVDOR7XW4E= + + hash2 + + nTF3DyWqIfyieeAAtmqH8uy6mdQeKG+VpaAumzhL2y4= + + + RequestController.nib/objects-11.0+.nib + + hash + + sPUba+cijIF5W3W0NsSMakOBzq0= + + hash2 + + xyiVoJxSID92GfSJr/3s6607ARQTe5p+ViptOWImhtU= + + + RequestController.nib/runtime.nib + + hash + + 4sBolRz66Z/6I4WWhyPVT8j+nVw= + + hash2 + + Lpc3J9gRf5ms+FYK9RS0Xhtsb4XA5QcZKLV414TK7A0= + + + RequestListTableViewCell.nib + + hash + + 0jYNwcIGnU5j2NQQ/zkbpNnAgfI= + + hash2 + + vloqcyJw8oYfS97fbo4HDvpbmLjsKYxX08MkSbB0j4Y= + + + RequestListViewController.nib/objects-11.0+.nib + + hash + + +rhSP/Qig4whYNUrYSq4cU9LM/c= + + hash2 + + dvcjJ7AK9YlmhFIuAT87BYWuSNZSZiZL6ubd9w+sGXo= + + + RequestListViewController.nib/runtime.nib + + hash + + pwKBma0ioB3NklJkY0IEwM2K6sI= + + hash2 + + L/VqNR+a7VjZ5gaf8lqZogzZb3pKj65aH5EzDRZ55eg= + + + SidebarCell.nib + + hash + + YYvvjRNXRDOLXjx1FxmVnMvD5Z4= + + hash2 + + stWcTm6LGPFF4K5Oeoiel32gk6P6GqIa1WpjBR5rOJE= + + + ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib + + hash + + TXR7VQXCdRuGpxst6jzdn8hfn3g= + + hash2 + + lSbhE0wkmLNSc+VnutHr7mNnIqNWnd7XREA/wwy2eYM= + + + ZDKHelpCenterArticleRatingView.nib/runtime.nib + + hash + + byo4k/jFNCYkySCveoCbbDUJODE= + + hash2 + + iS2o/tkF1vjOtPOoof432JO3o768Wfc7KsC02MTs4oA= + + + ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib + + hash + + ajPI7BXPcdFbrzxGWNfCVWIly5g= + + hash2 + + FTHGbQ8B2zIkNTSvQXkD+Mc/IFoNwLyuYGMztvxpIdM= + + + ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib + + hash + + OUTM6qowiWrUAPyzmgw0E/EJCIE= + + hash2 + + Bwmk8HAwyT51Q7Wiv+jb7KaEh/p3av9wy7XMNnteyPg= + + + ZDKHelpCenterOverviewController.nib + + hash + + Bx1JzkEU5L8yNTZMBjDPjgEqJXM= + + hash2 + + vGMLFjHEFt63G5Qx/fLfWOmXYvr6BY++i/DfPzLvknE= + + + ZDKHelpCenterOverviewFooterView.nib + + hash + + fb7Wm96MF3u00mtjszKjedILjds= + + hash2 + + lqwuiUtIctg6eFqN/uQ5DFzlB9ZpUvyn4mwZLEU45l4= + + + ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib + + hash + + JX+uvGGiPjts+fsVX1AfIOpr29E= + + hash2 + + WCdyboBDhAGLd/wA+MyfFpAgVCGTjdEnuhumpeAd/Xo= + + + ZDKHelpCenterOverviewHeaderView.nib/runtime.nib + + hash + + 6I0B531jiu6tx5cBniGOoGSb+Vs= + + hash2 + + xEF0K59ZkcAnfSYD2ug/1K1L6qxU1eYq0YmpmojCaEM= + + + ZDKHelpCenterOverviewLoadingTableViewCell.nib + + hash + + MJnS/BIRJj1BjRBcdgLXXvAybrA= + + hash2 + + ws+SyEiH4BuTBOQ0JoIBzoosIq4abYJVd8g+i4NM+DM= + + + ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib + + hash + + QuQRDD8E4t85XvTBJZ5/QJG+Fbk= + + hash2 + + wdJe03BS86Wt+22xPXSXvYAAQzt5zBWhTlpyIt+K4CU= + + + ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib + + hash + + i5B3J7605Gsu7uOpcFMvMkGVxEg= + + hash2 + + N0keqDsbR+kZyI6b6QNbWzjDsPiy1uMXaCu6RnzXXXc= + + + ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib + + hash + + X7K/MPoSnnCAeb6KfWe9l9u/lH4= + + hash2 + + 7DCflrcEpeIuF1SHaKfYrjSKYKCsFWY9wEMA84TEXxQ= + + + ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib + + hash + + VRfqSFPoddSE+QmfbEC/XjpUgwQ= + + hash2 + + QVioYtM840ScS8+DflgESIx8XkAEEmKzilezVFGwd3A= + + + ZDKHelpCenterOverviewSpacerTableViewCell.nib + + hash + + nAu60IlUHD/uzM/orxdW7XnStTg= + + hash2 + + QjILL3ubNZMmL4vHUjMRO9oWzEimpDdKESZVzA371CM= + + + ZDKHelpCenterSearchResultTableViewCell.nib + + hash + + HqC4xXuMyioGQ6cJ2JPGMUpr7vc= + + hash2 + + G7vz7UgZ20i+FPAcb8Yl7WGfyCbvTVdFzsS+YGJfJm4= + + + ZDKHelpCenterSearchResultViewController.nib + + hash + + 4xlNrMWR5PGLr2zsN0kyuixK9zQ= + + hash2 + + EBkOjwqoBnGEBeutWjG16YcT4QJ2FoIX8qYkxyLmaM0= + + + ZendeskLogoView.nib/objects-11.0+.nib + + hash + + wQSxKCifrPRlav6+62AX0xxoE6s= + + hash2 + + t5Wz/IcIgoWH6f9ZW6CQS1WhDn3AU7LORkGmReZuDF8= + + + ZendeskLogoView.nib/runtime.nib + + hash + + 5O+92OTgcdcUFBH9qCCMehbHIfE= + + hash2 + + SYZy2xJrHBUwwcCGz5gniu5zlr8HAzS1yL4i41fJsdY= + + + help_center_article_style.css + + hash + + KXGMYMIyh6yTJ1QUbCt3gvEKM74= + + hash2 + + 9HRF5nq6tj+aZm3WcYVg50D8GP4xr/xM4idFQqt92wE= + + + icoDown.png + + hash + + SBuT+PBdgCoC1upVejrhluN4eog= + + hash2 + + A9NUhV1f0kJFZh5zzg9yc7nhZY/Mx+YDPkB6oOM0JyM= + + + icoDown@2x.png + + hash + + QZBvc+XaIiFNPNnYGTn9z4i5To4= + + hash2 + + TDnfXNwnceYj/+ylNrDBNi1tymcHmNgQV+j+1YtzYgY= + + + icoDown@3x.png + + hash + + uTylllD83viWYzAoOy3lpZ8rpkw= + + hash2 + + /Qq2dM3i0vc5LhvbjnBEJKHCC3CsXDjknS39nXNMp34= + + + icoVoteDown.png + + hash + + uGTjk2yHYIKqKTMqwyM5O/JDIfM= + + hash2 + + KlVVS4MsR981E9geLHz8In7CVMuyW9jIwZDqiMgidOY= + + + icoVoteDown@2x.png + + hash + + V9FJ0EwuuQCESRmBj0kVuYuEVws= + + hash2 + + yFfelMOGUC9wZV4tB8Vjq4qcUd6kO7xZehaTBjC3KgU= + + + icoVoteDown@3x.png + + hash + + M+DAEAv7PLQXYnzRiEBhuKhqQ6o= + + hash2 + + 1BZ1qLYYqHPOT9jFgzZ1k+p2avvN3hjTOw7p9BmJ2Rc= + + + icoVoteUp.png + + hash + + rMvk1cQdAa2at/mMwDXfqQFodpI= + + hash2 + + nAtu9Q6vZVn/ezVnACdmEEcz1TstYSxskxWFnnrBMtI= + + + icoVoteUp@2x.png + + hash + + CYSPRmau2fHyPe2oB00x4ciXWmE= + + hash2 + + d+0qyAkKaDEOnrhHm+oKOIFlI1lEcrZJPKRYKTXZKHM= + + + icoVoteUp@3x.png + + hash + + O5paoCkhrxE7epIVoRJhrZdMeGc= + + hash2 + + RkT+UUGUMVu+4gnffpbLcHlRrKy+dlEJUR4r0iByQCQ= + + + ico_newticket.png + + hash + + N5HroUPrAOvmsDbGUortxgAVP+A= + + hash2 + + 6ncuiBUPqaxvsxiBtGpT2Xnbzhta2DbyFimH7e070SE= + + + ico_newticket@2x.png + + hash + + QWAzuT21nsQUG8QQyi9mPqnhBVQ= + + hash2 + + iMjGXfbtG7JyKrQBy6guDkdLCJKLhUb1oz3nAXHhm2c= + + + ico_newticket@3x.png + + hash + + u687L/wWYQSF4oga62JCP8sdjp0= + + hash2 + + sZiEjJ7V+qzve3Kg/hdWv/ZpVxkv/t61Fl40QsSvOtU= + + + + rules + + ^ + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^ + + weight + 20 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/help_center_article_style.css b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/help_center_article_style.css similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/help_center_article_style.css rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/help_center_article_style.css diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoDown.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoDown.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoDown.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoDown.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoDown@2x.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoDown@2x.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoDown@2x.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoDown@2x.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoDown@3x.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoDown@3x.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoDown@3x.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoDown@3x.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteDown.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteDown.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteDown.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteDown.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteDown@2x.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteDown@2x.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteDown@2x.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteDown@2x.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteDown@3x.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteDown@3x.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteDown@3x.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteDown@3x.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteUp.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteUp.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteUp.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteUp.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteUp@2x.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteUp@2x.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteUp@2x.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteUp@2x.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteUp@3x.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteUp@3x.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/icoVoteUp@3x.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/icoVoteUp@3x.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_newticket.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ico_newticket.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_newticket.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ico_newticket.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_newticket@2x.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ico_newticket@2x.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_newticket@2x.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ico_newticket@2x.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_newticket@3x.png b/ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ico_newticket@3x.png similarity index 100% rename from SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/ico_newticket@3x.png rename to ZendeskSDK/Swift-4.0.2/ZendeskSDK.framework/ico_newticket@3x.png diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/Info.plist b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/Info.plist new file mode 100644 index 00000000..1cece646 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/Info.plist differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings new file mode 100644 index 00000000..9b2b1f43 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings new file mode 100644 index 00000000..24a920d2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings new file mode 100644 index 00000000..fb224d8f Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings new file mode 100644 index 00000000..7ad7a536 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings new file mode 100644 index 00000000..05eac97a Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings new file mode 100644 index 00000000..19f0a38a Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings new file mode 100644 index 00000000..1dea83e2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings new file mode 100644 index 00000000..1dea83e2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings new file mode 100644 index 00000000..9142fe19 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings new file mode 100644 index 00000000..06c5cdf7 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings new file mode 100644 index 00000000..57c658b2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings new file mode 100644 index 00000000..796132ef Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings new file mode 100644 index 00000000..62aae1da Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings new file mode 100644 index 00000000..51173c62 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings new file mode 100644 index 00000000..a4b671fa Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings new file mode 100644 index 00000000..aecb6442 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings new file mode 100644 index 00000000..0ac4b2f2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings new file mode 100644 index 00000000..88168d37 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings new file mode 100644 index 00000000..5332c3a3 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings new file mode 100644 index 00000000..765ec042 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings new file mode 100644 index 00000000..57e6db81 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings new file mode 100644 index 00000000..13f0b360 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings new file mode 100644 index 00000000..6301332d Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings new file mode 100644 index 00000000..33a5531b Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings new file mode 100644 index 00000000..33a5531b Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings new file mode 100644 index 00000000..7dec34c3 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings new file mode 100644 index 00000000..bbe3509b Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings new file mode 100644 index 00000000..1702b9ff Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings new file mode 100644 index 00000000..01c9c5cc Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings new file mode 100644 index 00000000..f6425f1b Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings new file mode 100644 index 00000000..b533eaa4 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings new file mode 100644 index 00000000..b797a773 Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings new file mode 100644 index 00000000..15c943dc Binary files /dev/null and b/ZendeskSDK/Swift-4.0.2/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings differ diff --git a/ZendeskProviderSDK.framework/Headers/ZDKAuthenticationURLProtocol.h b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Headers/ZDKAuthenticationURLProtocol.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKAuthenticationURLProtocol.h rename to ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Headers/ZDKAuthenticationURLProtocol.h diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Headers/ZDKIdentityMigrator.h b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Headers/ZDKIdentityMigrator.h new file mode 100644 index 00000000..560e1dc2 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Headers/ZDKIdentityMigrator.h @@ -0,0 +1,16 @@ +// +// ZDKIdentityMigrator.h +// ZendeskCoreSDK +// +// Created by Ronan Mchugh on 21/02/2018. +// Copyright © 2018 Zendesk. All rights reserved. +// + +#import + +@interface ZDKIdentityMigrator : NSObject + +- (_Nonnull instancetype)init; + + +@end diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK-Swift.h b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK-Swift.h new file mode 100644 index 00000000..12510f67 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK-Swift.h @@ -0,0 +1,479 @@ +// Generated by Apple Swift version 4.0 (swiftlang-900.0.65 clang-900.0.37) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_attribute(external_source_symbol) +# define SWIFT_STRINGIFY(str) #str +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) _Pragma(SWIFT_STRINGIFY(clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in=module_name, generated_declaration))), apply_to=any(function, enum, objc_interface, objc_category, objc_protocol)))) +# define SWIFT_MODULE_NAMESPACE_POP _Pragma("clang attribute pop") +#else +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) +# define SWIFT_MODULE_NAMESPACE_POP +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) || __cplusplus < 201103L +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open))) +# else +# define SWIFT_ENUM_ATTR +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if __has_feature(modules) +@import ObjectiveC; +@import Foundation; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +SWIFT_MODULE_NAMESPACE_PUSH("ZendeskCoreSDK") +enum ZDKLogLevel : NSInteger; + +SWIFT_CLASS_NAMED("CoreLogger") +@interface ZDKCoreLogger : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) enum ZDKLogLevel logLevel;) ++ (enum ZDKLogLevel)logLevel SWIFT_WARN_UNUSED_RESULT; ++ (void)setLogLevel:(enum ZDKLogLevel)value; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL enabled;) ++ (BOOL)enabled SWIFT_WARN_UNUSED_RESULT; ++ (void)setEnabled:(BOOL)value; ++ (void)error:(NSString * _Nonnull)message; ++ (void)warn:(NSString * _Nonnull)message; ++ (void)info:(NSString * _Nonnull)message; ++ (void)debug:(NSString * _Nonnull)message; ++ (void)verbose:(NSString * _Nonnull)message; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +@class NSURLRequest; + +/// Utility to add auth headers to content requests for restricted Help Centers +SWIFT_CLASS_NAMED("HelpCenterUtil") +@interface ZDKHelpCenterUtil : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nullable zendeskURL;) ++ (NSString * _Nullable)zendeskURL SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL hasAuth;) ++ (BOOL)hasAuth SWIFT_WARN_UNUSED_RESULT; ++ (NSURLRequest * _Nonnull)canonicalRequestFor:(NSURLRequest * _Nonnull)request SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +typedef SWIFT_ENUM_NAMED(NSInteger, ZDKLogLevel, "LogLevel") { + ZDKLogLevelError = 0, + ZDKLogLevelWarn = 1, + ZDKLogLevelInfo = 2, + ZDKLogLevelDebug = 3, + ZDKLogLevelVerbose = 4, +}; + + + + + + +/// A user in Zendesk. +SWIFT_CLASS_NAMED("User") +@interface ZDKUser : NSObject +/// The user’s id +@property (nonatomic, readonly) NSInteger id; +/// The user’s name +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +/// The users content url +@property (nonatomic, readonly, copy) NSString * _Nonnull content_url; +/// Bool to indicate whether the user is an agent or not +@property (nonatomic, readonly) BOOL agent; +/// Tags associated with the user. +@property (nonatomic, readonly, copy) NSArray * _Nonnull tags; +/// User fields for this user as a dictionary with the key being the name of the user field +/// and the corresponding value being the value of the user field set for this user. +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull user_fields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + +@class ZDKUserFieldOption; + +/// User Field in Zendesk +SWIFT_CLASS_NAMED("UserField") +@interface ZDKUserField : NSObject +/// User Field id +@property (nonatomic, readonly) NSInteger id; +/// Url of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull url; +/// key of the user field +@property (nonatomic, readonly, copy) NSString * _Nonnull key; +/// type of the user field as a string +@property (nonatomic, readonly, copy) NSString * _Nonnull fieldType; +/// title of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull title; +/// raw title of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull raw_title; +/// Description of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull fieldDescription; +/// Raw description of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull raw_description; +/// Position of user field +@property (nonatomic, readonly) NSInteger position; +/// bool indicating if user field is active +@property (nonatomic, readonly) BOOL active; +/// bool indicating if it is a system user fild or not +@property (nonatomic, readonly) BOOL system; +/// regex of user field +@property (nonatomic, readonly, copy) NSString * _Nonnull regexp_for_validation; +/// The timestamp of when the field was created +@property (nonatomic, readonly, copy) NSDate * _Nonnull created_at; +/// The timestamp of when the field was last updated +@property (nonatomic, readonly, copy) NSDate * _Nonnull updated_at; +/// Options for the custom userfield. An array of ZDKCustomField objects +@property (nonatomic, readonly, copy) NSArray * _Nullable custom_field_options; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +/// Dropdown userfields can contain User fields options which describe an option in the +/// dropdown +SWIFT_CLASS_NAMED("UserFieldOption") +@interface ZDKUserFieldOption : NSObject +/// id of option +@property (nonatomic, readonly) NSInteger id; +/// name of option +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +/// position of option +@property (nonatomic, readonly) NSInteger position; +/// raw_name of option +@property (nonatomic, readonly, copy) NSString * _Nonnull raw_name; +/// url of option +@property (nonatomic, readonly, copy) NSString * _Nonnull url; +/// value of option +@property (nonatomic, readonly, copy) NSString * _Nonnull value; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_PROTOCOL("_TtP14ZendeskCoreSDK15ZDKObjCIdentity_") +@protocol ZDKObjCIdentity +@end + + +SWIFT_CLASS("_TtC14ZendeskCoreSDK16ZDKObjCAnonymous") +@interface ZDKObjCAnonymous : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable name; +@property (nonatomic, readonly, copy) NSString * _Nullable email; +- (nonnull instancetype)initWithName:(NSString * _Nullable)name email:(NSString * _Nullable)email OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + +SWIFT_CLASS("_TtC14ZendeskCoreSDK10ZDKObjCJwt") +@interface ZDKObjCJwt : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull token; +- (nonnull instancetype)initWithToken:(NSString * _Nonnull)token OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + +@class ZDKZendesk; + +/// An objective-c visible class for the Push Registration Provider +/// Provider to register and unregister a device for push notifications. +SWIFT_CLASS("_TtC14ZendeskCoreSDK15ZDKPushProvider") +@interface ZDKPushProvider : NSObject +/// Initialize the provider +/// \param zendesk An instance of the zendesk singleton +/// +- (nonnull instancetype)initWithZendesk:(ZDKZendesk * _Nonnull)zendesk OBJC_DESIGNATED_INITIALIZER; +/// Calls a push registration end point to register the given APNS device id. +/// This method stores the response on successful registration. +/// Subsequent calls to this method with the same identifier bypass calls to the +/// network and return the stored response in the completion handler. +/// Calling this method with a different identifier will remove any stored +/// response from storage. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// deviceIdentifier: The device identifier +///
  • +///
  • +/// locale: The preferred device locale +///
  • +///
  • +/// completion: Returns a push response if successful with a nil for the error +///
  • +///
+- (void)registerWithDeviceIdentifier:(NSString * _Nonnull)deviceIdentifier locale:(NSString * _Nonnull)locale completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Calls a push registration end point to register the given Urban Airship channel id. +/// This method stores the response on successful registration. +/// Subsequent calls to this method with the same identifier bypass calls to the +/// network and return the stored response in the completion handler. +/// Calling this method with a different identifier will remove any stored +/// response from storage. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// UAIdentifier: The channel identifier +///
  • +///
  • +/// locale: The preferred device locale +///
  • +///
  • +/// completion: Returns a push response if successful with a nil for the error +///
  • +///
+- (void)registerWithUAIdentifier:(NSString * _Nonnull)UAIdentifier locale:(NSString * _Nonnull)locale completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Calls a push unregister endpoint with the stored device identifier +- (void)unregisterForPush; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +/// An objective-c visible class for the User Provider +SWIFT_CLASS("_TtC14ZendeskCoreSDK15ZDKUserProvider") +@interface ZDKUserProvider : NSObject +/// Initialize the provider +/// \param zendesk An instance of the zendesk singleton +/// +- (nonnull instancetype)initWithZendesk:(ZDKZendesk * _Nonnull)zendesk OBJC_DESIGNATED_INITIALIZER; +/// Gets a user object for the current user with only tags and user fields populated +/// \param completion Returns a user object if successful with a nil for the error +/// +- (void)getUserWithCompletion:(void (^ _Nonnull)(ZDKUser * _Nullable, NSError * _Nullable))completion; +/// Set one or more user field values on the current user. +/// To see the fields available for setting use the get +/// User method and inspect the user fields dictionary. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// userfields: The user field to set. It expects a dictionary(not a ZDKUserField). +/// The key of this dictionary being the name of the user field and the corresponding value +/// being the user field value to be set for the current user. +///
  • +///
  • +/// completion: Returns a user object if successful with a nil for the error +///
  • +///
+- (void)setUserFields:(NSDictionary * _Nonnull)userFields completion:(void (^ _Nonnull)(ZDKUser * _Nullable, NSError * _Nullable))completion; +/// Gets all user fields available for an account instance. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// completion: Returns an array of userfield objects if successful with a nil error. +///
  • +///
+- (void)getUserFieldsWithCompletion:(void (^ _Nonnull)(NSArray * _Nonnull, NSError * _Nullable))completion; +/// Add tags to the current user. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// tags: The tags to be added +///
  • +///
  • +/// completion: Returns an array of tags set on the current user if successful with nil error +///
  • +///
+- (void)addTags:(NSArray * _Nonnull)tags completion:(void (^ _Nonnull)(NSArray * _Nonnull, NSError * _Nullable))completion; +/// Delete tags from the current user. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// tags: The tags to be deleted +///
  • +///
  • +/// completion: Returns an array of tags set on the current user if successful with nil error +///
  • +///
+- (void)deleteTags:(NSArray * _Nonnull)tags completion:(void (^ _Nonnull)(NSArray * _Nonnull, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS_NAMED("Zendesk") +@interface ZDKZendesk : NSObject ++ (void)initializeWithAppId:(NSString * _Nonnull)appId clientId:(NSString * _Nonnull)clientId zendeskUrl:(NSString * _Nonnull)zendeskUrl; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + +@interface ZDKZendesk (SWIFT_EXTENSION(ZendeskCoreSDK)) +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZDKZendesk * _Nullable instance;) ++ (ZDKZendesk * _Nullable)instance SWIFT_WARN_UNUSED_RESULT; +- (void)setIdentity:(id _Nonnull)newIdentity; +- (id _Nullable)objCIdentity SWIFT_WARN_UNUSED_RESULT; +@end + + + +SWIFT_MODULE_NAMESPACE_POP +#pragma clang diagnostic pop diff --git a/ZendeskSDK.framework/Headers/ZDKUIActivityView.h b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK.h similarity index 62% rename from ZendeskSDK.framework/Headers/ZDKUIActivityView.h rename to ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK.h index 3fff9c84..a459879e 100644 --- a/ZendeskSDK.framework/Headers/ZDKUIActivityView.h +++ b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Headers/ZendeskCoreSDK.h @@ -1,11 +1,11 @@ /* * - * ZDKUIActivityView.h - * ZendeskSDK + * ZendeskCoreSDK.h + * ZendeskCoreSDK * - * Created by Zendesk on 01/05/2014. + * Created by Zendesk on 10/04/2016 * - * Copyright (c) 2014 Zendesk. All rights reserved. + * Copyright (c) 2016 Zendesk. All rights reserved. * * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License @@ -14,12 +14,12 @@ * */ - #import -#import "ZDKSpinnerDelegate.h" - -@interface ZDKUIActivityView : UIImageView +#ifndef ZendeskCoreSDK_h +#define ZendeskCoreSDK_h +#import +#import -@end +#endif diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Info.plist b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Info.plist new file mode 100644 index 00000000..528b47b9 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Info.plist differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftdoc new file mode 100644 index 00000000..1adc4115 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftmodule new file mode 100644 index 00000000..e4cdae93 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftdoc new file mode 100644 index 00000000..09f1981a Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftmodule new file mode 100644 index 00000000..b7de29e8 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/arm64.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftdoc new file mode 100644 index 00000000..2e529eef Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftmodule new file mode 100644 index 00000000..1bf40665 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/i386.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftdoc new file mode 100644 index 00000000..d00e6e9b Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftmodule new file mode 100644 index 00000000..dfcf0a16 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/module.modulemap b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/module.modulemap new file mode 100644 index 00000000..ffebfe31 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module ZendeskCoreSDK { + umbrella header "ZendeskCoreSDK.h" + + export * + module * { export * } +} + +module ZendeskCoreSDK.Swift { + header "ZendeskCoreSDK-Swift.h" + requires objc +} diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/ZendeskCoreSDK b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/ZendeskCoreSDK new file mode 100755 index 00000000..b9f6eec5 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/ZendeskCoreSDK differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/strip-frameworks.sh b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/strip-frameworks.sh new file mode 100755 index 00000000..51de6aa9 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskCoreSDK.framework/strip-frameworks.sh @@ -0,0 +1,80 @@ +################################################################################ +# +# Copyright 2015 Realm Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# +# Modified by Zendesk Inc. +# + + +# This script strips all non-valid architectures from Zendesk SDKs dynamic libraries +# the application's `Frameworks` directory. +# +# The following environment variables are required: +# +# BUILT_PRODUCTS_DIR +# FRAMEWORKS_FOLDER_PATH +# VALID_ARCHS +# EXPANDED_CODE_SIGN_IDENTITY + + +# Signs a framework with the provided identity +code_sign() { + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" +} + +# Set working directory to product’s embedded frameworks +cd "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +if [ "$ACTION" = "install" ]; then + echo "Copy .bcsymbolmap files to .xcarchive" + find . -name '*.bcsymbolmap' -type f -exec mv {} "${CONFIGURATION_BUILD_DIR}" \; +else + # Delete *.bcsymbolmap files from framework bundle unless archiving + find . -name '*.bcsymbolmap' -type f -exec rm -rf "{}" +\; +fi + +echo "Stripping frameworks" + +for file in $(find . -type f -perm +111); do + # Skip non-dynamic libraries + if ! [[ "$(file "$file")" == *"dynamically linked shared library"* ]]; then + continue + fi + # Skip non Zendesk libraries + if ! [[ "$(basename $file)" == *"Zendesk"* ]]; then + continue + fi + # Get architectures for current file + archs="$(lipo -info "${file}" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$file" "$file" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" != "" ]]; then + echo "Stripped $file of architectures:$stripped" + if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then + code_sign "${file}" + fi + fi +done diff --git a/ZendeskProviderSDK.framework/Headers/ZDKAttachment.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKAttachment.h similarity index 89% rename from ZendeskProviderSDK.framework/Headers/ZDKAttachment.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKAttachment.h index c80553c9..23518b2e 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKAttachment.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKAttachment.h @@ -59,8 +59,14 @@ * * @since 1.1.0.1 */ -@property (nonatomic, copy) NSArray *thumbnails; +@property (nonatomic, copy) NSArray * thumbnails; +/** + * The dimension of the attachment. + * + * @since 2.0.0.1 + */ +@property (nonatomic, assign) CGSize imageDimension; /** * Init with dictionary from API response. diff --git a/ZendeskProviderSDK.framework/Headers/ZDKAttachmentCache.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKAttachmentCache.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKAttachmentCache.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKAttachmentCache.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAvatarProvider.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKAttachmentProvider.h similarity index 78% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAvatarProvider.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKAttachmentProvider.h index 12836f5b..0320e529 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKAvatarProvider.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKAttachmentProvider.h @@ -1,9 +1,9 @@ /* * - * ZDKAvatarProvider.h + * ZDKAttachmentProvider.h * ZendeskSDK * - * Created by Zendesk on 10/11/2014. + * Created by Zendesk on 10/11/2014. * * Copyright (c) 2014 Zendesk. All rights reserved. * @@ -28,12 +28,17 @@ */ typedef void (^ZDKAvatarCallback)(UIImage *avatar, NSError *error); +/** + * @since X.X.X.X + */ +typedef void (^ZDKDownloadCallback)(NSData *data, NSError *error); + /** * Provider for images/avatars. * * @since 0.9.3.1 */ -@interface ZDKAvatarProvider : ZDKProvider +@interface ZDKAttachmentProvider : ZDKProvider /** * Get the image/avatar data for a given URL @@ -46,4 +51,10 @@ typedef void (^ZDKAvatarCallback)(UIImage *avatar, NSError *error); - (void) getAvatarForUrl:(NSString *)avatarUrl withCallback:(ZDKAvatarCallback)callback; +/** + * @since X.X.X.X + */ +- (void) getAttachmentForUrl:(NSString *)attachmentUrl + withCallback:(ZDKDownloadCallback)callback; + @end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h similarity index 75% rename from ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h index bcc22fed..512dc24a 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKBundleUtils.h @@ -77,16 +77,6 @@ */ + (NSString *) userDefinedHelpCenterCss; -/** - * Get a dictionary of iOS devices. Keys are model identifiers e.g. @"iPhone3,1" - * @see ModelIdentifier.plist in ZendeskSDK.bundle - * - * @since 0.9.3.1 - * - * @return A device model string e.g. iPhone 4s - */ -+ (NSDictionary *) deviceModelIdentifier; - /** * The name of the frameworks strings table @@ -98,35 +88,6 @@ + (NSString *) stringsTableName; -/** - * Returns the conversations image from ZendeskSDK bundle. - * - * @since 0.9.3.1 - * - * @return An image, or nil if the image was not found. - */ -+ (UIImage *) conversationsImage; - - -/** - * Returns the create request image from ZendeskSDK bundle. - * - * @since 0.9.3.1 - * - * @return An image, or nil if the image was not found. - */ -+ (UIImage *) createRequestImage; - -/** - * Returns the attachment image from ZendeskSDK bundle. - * - * @since 1.1.0.1 - * - * @return An image, or nil if the image was not found. - */ -+ (UIImage *) attachmentImage; - - /** * Returns an image resource from ZendeskSDK bundle. * diff --git a/ZendeskProviderSDK.framework/Headers/ZDKCoding.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKCoding.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKCoding.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKCoding.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKComment.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKComment.h similarity index 74% rename from ZendeskProviderSDK.framework/Headers/ZDKComment.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKComment.h index 0d6da217..52e6cf1a 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKComment.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKComment.h @@ -20,6 +20,7 @@ * * @since 0.9.3.1 */ +@class ZDKAttachment; @interface ZDKComment : NSObject /** @@ -27,7 +28,7 @@ * * @since 0.9.3.1 */ -@property (nonatomic, strong, readonly) NSNumber *commentId; +@property (nonatomic, strong, readonly) NSNumber * commentId; /** * The comment body/text. @@ -36,6 +37,18 @@ */ @property (nonatomic, copy) NSString *body; +/** + * The HTML comment body/text. + * Scrubbed for self-closing and unclosed tags, currently: + *
+ *
+ *
+ * + * + * @since 2.0.0.0 + */ +@property (nonatomic, copy) NSString *htmlBody; + /** * The Zendesk user id of the author. * @@ -55,7 +68,7 @@ * * @since 0.9.3.1 */ -@property (nonatomic, copy) NSArray *attachments; +@property (nonatomic, copy) NSArray * attachments; /** * The request the comment belongs to. @@ -73,6 +86,14 @@ */ - (instancetype) initWithDictionary:(NSDictionary*)dictionary; +/** + * Returns a dictionary with comment details. Used for storing a comment. + * + * @since 2.0.0.1 + * + * @param dictionary the dictionary generated from the API json + */ +- (NSDictionary *)toJson; @end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h similarity index 92% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h index 09cb8ba7..e1bdd095 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKCommentWithUser.h @@ -15,7 +15,7 @@ */ #import -@class ZDKComment, ZDKUser; +@class ZDKComment, ZDKSupportUser; /** * Aggregate model for comments with users. @@ -36,7 +36,7 @@ * * @since 0.9.3.1 */ -@property (nonatomic, strong, readonly) ZDKUser *user; +@property (nonatomic, strong, readonly) ZDKSupportUser *user; /** * Build an instance with comment and a user. diff --git a/ZendeskProviderSDK.framework/Headers/ZDKCommentsResponse.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKCommentsResponse.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKCommentsResponse.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKCommentsResponse.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKCreateRequest.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKCreateRequest.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKCreateRequest.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKCreateRequest.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKCustomField.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKCustomField.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKCustomField.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKCustomField.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h similarity index 97% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h index 1e46c9f0..fe845708 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDateUtil.h @@ -84,6 +84,10 @@ */ + (NSString*) stringFromDate:(NSDate*)date usingFormat:(NSString*)format; +/** + * @since x.x.x.x + */ ++ (NSString*) stringFromDate:(NSDate*)date; /** * Get a cached thread local formatter for the requested date format. diff --git a/ZendeskProviderSDK.framework/Headers/ZDKDeviceInfo.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDeviceInfo.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKDeviceInfo.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDeviceInfo.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKDictionaryCreatable.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDictionaryCreatable.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKDictionaryCreatable.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDictionaryCreatable.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h similarity index 66% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h index e8366eaf..f1e2a151 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDispatcher.h @@ -34,71 +34,6 @@ typedef void (^ZDKAPISuccess) (id result); typedef void (^ZDKAPIError) (NSError *error); -/** - * ZDKAPI Error codes. - * - * @since 0.9.3.1 - */ -typedef NS_ENUM(NSInteger, ZDKAPIErrorCode) { - - /** - * No internet connection available according to Reachability. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorUnreachable, - - /** - * Connection could not be established. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorConnection, - - /** - * Authentication failed. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorAuth, - - /** - * Request failed. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorRequest, - - /** - * No valid subdomain has been set. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorSubdomain, - - /** - * No sdk client id. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorClientId, - - /** - * No token or user email. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorUserId, - - /** - * Invalid delegate config for request. - * - * @since 0.9.3.1 - */ - ZDKAPIErrorDelegateConfig, -}; - - /** * Convenience method for executing a block on the request queue. * diff --git a/ZendeskProviderSDK.framework/Headers/ZDKDispatcherResponse.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDispatcherResponse.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKDispatcherResponse.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKDispatcherResponse.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKETag.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKETag.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKETag.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKETag.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h similarity index 93% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h index 2fb55bad..16382fa6 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticle.h @@ -26,16 +26,16 @@ /** * Article id. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *sid; +@property (nonatomic, copy) NSNumber *identifier; /** * Section id. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *section_id; +@property (nonatomic, copy) NSNumber *section_id; /** * Article title. @@ -62,9 +62,9 @@ /** * Id of the author. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *author_id; +@property (nonatomic, copy) NSNumber *author_id; /** * Appears at the end of an article, contains the author name and creation date. diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h similarity index 93% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h index 0470e6f8..76582d62 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterArticleVote.h @@ -29,7 +29,7 @@ * * @since 1.3.0.1 */ -@property (nonatomic, copy) NSString *identifier; +@property (nonatomic, copy) NSNumber *identifier; /** * The API url of this vote @@ -43,7 +43,7 @@ * * @since 1.3.0.1 */ -@property (nonatomic, copy) NSString *userId; +@property (nonatomic, copy) NSNumber *userId; /** * The value of the vote @@ -57,7 +57,7 @@ * * @since 1.3.0.1 */ -@property (nonatomic, copy) NSString *itemId; +@property (nonatomic, copy) NSNumber *itemId; /** * The type of the item. Can be "Article" diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h similarity index 94% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h index 11f10fbe..5877dcda 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterAttachment.h @@ -26,9 +26,9 @@ /** * The id of an attachment. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *sid; +@property (nonatomic, copy) NSNumber *identifier; /** * The url where the attachment can be found. @@ -40,9 +40,9 @@ /** * The id of the article for which an attachment belongs. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *article_id; +@property (nonatomic, copy) NSNumber *article_id; /** * The file name of an attachment. diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h similarity index 97% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h index 4113f7d0..05e9f43f 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterCategory.h @@ -21,9 +21,9 @@ /** * Category id. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *sid; +@property (nonatomic, copy) NSNumber *identifier; /** * Category Name. diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterDeflection.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterDeflection.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterDeflection.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterDeflection.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterFlatArticle.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterFlatArticle.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterFlatArticle.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterFlatArticle.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterLastSearch.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterLastSearch.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterLastSearch.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterLastSearch.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h similarity index 95% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h index 7fb9cdb7..fa0a6b08 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterOverviewContentModel.h @@ -15,7 +15,7 @@ */ #import -#import "ZDKHelpCenterConversationsUIDelegate.h" +#import "ZDKNavBarConversationsUIType.h" /** * Used to specify what type of ids will be supplied. @@ -63,7 +63,7 @@ typedef NS_ENUM(NSUInteger, ZDKHelpCenterOverviewGroupType) { /** * A list of ids. Only show articles contained in the categorys/sections. */ -@property (nonatomic, copy) NSArray *groupIds; +@property (nonatomic, copy) NSArray *groupIds; /** diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h similarity index 69% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h index 0b0e06e9..bc28201c 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterParser.h @@ -16,8 +16,6 @@ #import -@class ZDKHelpCenterCategoryViewModel; - /** * A Help Center Parser class containing static and instance methods to parse json to objects. * @@ -25,27 +23,6 @@ */ @interface ZDKHelpCenterParser : NSObject -/** - * An NSDictionary of Sections with the key value sectionId. - * - * @since 1.4.0.1 - */ -@property (nonatomic, copy, readonly) NSDictionary *sectionLookup; - -/** - * An NSDictionary of Users with the key value userId. - * - * @since 1.4.0.1 - */ -@property (nonatomic, copy, readonly) NSDictionary *userLookup; - -/** - * An NSDictionary of Categories with the key value categoryId. - * - * @since 1.4.0.1 - */ -@property (nonatomic, copy, readonly) NSDictionary *categoryLookup; - /** * Creates an ZDKHelpCentreParser object and parses json dictionary into * categoryLookup, sectionLookup and userLookup properties if they exist in the json. @@ -123,28 +100,4 @@ */ - (NSArray *) parseArticleSearchResults:(NSDictionary *)json; - -/** - * Parses a collection of Help Center json categories, sections and articles into - * their hierarchy. i.e. Relevant articles in their sections and relevant sections in their - * categories. - * - * @param json Help Center json categories, sections and articles - * - * @return An array of category view model objects with their relevant sections and articles - * @since 1.7.0.1 - */ -+ (NSArray *) parseHelpCenterOverview:(NSDictionary *)json; - -/** - * Parses a json payload of articles and sections into an array of section view models. - * - * @param json Help Center Articles and Sections json. - * - * @return An array Help Center Section View Models - * - * @since 1.7.0.1 - */ -+ (NSArray *) parseArticlesIntoSection:(NSDictionary *)json; - @end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h similarity index 77% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h index 4e5c7013..c5e7b27d 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterProvider.h @@ -19,7 +19,7 @@ #import "ZDKHelpCenterDeflection.h" #import "ZDKProvider.h" -@class ZDKHelpCenterCategoryViewModel, ZDKHelpCenterSectionViewModel, ZDKHelpCenterOverviewContentModel, ZDKHelpCenterArticle; +@class ZDKHelpCenterCategoryViewModel, ZDKHelpCenterSectionViewModel, ZDKHelpCenterOverviewContentModel, ZDKHelpCenterArticle, Zendesk; /** @@ -55,7 +55,7 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); - (instancetype)init NS_UNAVAILABLE; -- (instancetype)initWithAuthenticationSpace:(ZDKAuthenticationSpace*)authenticationSpace NS_UNAVAILABLE; +- (instancetype)initWithZendesk:(Zendesk *)zendesk NS_UNAVAILABLE; /** * Creates a Help Center provider. @@ -85,18 +85,31 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); /** * Fetch a list of sections for a given categoryId from a Help Center instance * - * @param categoryId NSString to specify what sections should be returned, only sections belonging to the category will be returned + * @param categoryId NSInteger to specify what sections should be returned, only sections belonging to the category will be returned * @param callback Callback that will deliver a list of sections available on the instance of the Help Center for the provided locale and categoryId */ -- (void) getSectionsForCategoryId: (NSString *) categoryId withCallback:(ZDKHelpCenterCallback) callback; +- (void) getSectionsForCategoryId:(NSInteger) categoryId withCallback:(ZDKHelpCenterCallback)callback; /** * Fetch a list of articles for a given sectionId from a Help Center instance * - * @param sectionId NSString to specify what articles should be returned, only articles belonging to the section will be returned + * @param sectionId NSInteger to specify what articles should be returned, only articles belonging to the section will be returned * @param callback Callback that will deliver a list of articles available on the instance of the Help Center for the provided locale and sectionId + * + * @since 2.0.0 */ -- (void) getArticlesForSectionId:(NSString *) sectionId withCallback: (ZDKHelpCenterCallback) callback; +- (void) getArticlesForSectionId:(NSInteger)sectionId withCallback:(ZDKHelpCenterCallback)callback; + +/** + * Fetch a list of articles for a given sectionId from a Help Center instance + * + * @param sectionId NSInteger to specify what articles should be returned, only articles belonging to the section will be returned + * @param labels an array of labels used to filter articles by + * @param callback Callback that will deliver a list of articles available on the instance of the Help Center for the provided locale and sectionId + * + * @since 2.0.0 + */ +- (void) getArticlesForSectionId:(NSInteger)sectionId labels:(NSArray *)labels withCallback:(ZDKHelpCenterCallback)callback; /** * This method will search articles in your Help Center. @@ -105,7 +118,7 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); * @param query The query text used to perform the search * @param callback The callback which will be called upon a successful or an erroneous response. */ -- (void) searchForArticlesUsingQuery:(NSString *)query withCallback: (ZDKHelpCenterCallback) callback; +- (void) searchForArticlesUsingQuery:(NSString *)query withCallback:(ZDKHelpCenterCallback)callback; /** * This method will search articles in your Help Center filtered by an array of labels @@ -114,7 +127,7 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); * @param labels The array of labels used to filter the search results * @param callback The callback which will be called upon a successful or an erroneous response. */ -- (void) searchForArticlesUsingQuery:(NSString *)query andLabels:(NSArray *)labels withCallback: (ZDKHelpCenterCallback) callback; +- (void) searchForArticlesUsingQuery:(NSString *)query andLabels:(NSArray *)labels withCallback:(ZDKHelpCenterCallback)callback; /** * This method will search articles in your Help Center filtered by the parameters in the given ZDKHelpCenterSearch model. @@ -123,15 +136,17 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); * @param callback The callback which will be called upon a successful or an erroneous response. * @see Searching Help Center. */ -- (void) searchArticles:(ZDKHelpCenterSearch*) search withCallback: (ZDKHelpCenterCallback) callback; +- (void) searchArticles:(ZDKHelpCenterSearch*) search withCallback:(ZDKHelpCenterCallback)callback; /** * This method returns a list of attachments for a single article. * * @param articleId the identifier to be used to retrieve an article from a Help Center instance * @param callback the callback that is invoked when a request is either successful or has errors + * + * @since 2.0.0 */ -- (void) getAttachmentForArticleId:(NSString *)articleId withCallback: (ZDKHelpCenterCallback) callback; +- (void) getAttachmentForArticleId:(NSInteger)articleId withCallback:(ZDKHelpCenterCallback)callback; /** * Fetch a list of articles for a given array of labels from a Help Center instance @@ -139,7 +154,7 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); * @param labels an array of labels used to filter articles by * @param callback the callback that is invoked when a request is either successful or has errors */ -- (void) getArticlesByLabels:(NSArray *)labels withCallback: (ZDKHelpCenterCallback) callback; +- (void) getArticlesByLabels:(NSArray *)labels withCallback:(ZDKHelpCenterCallback)callback; /** * Fetch an article by ID. @@ -147,9 +162,9 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); * @param articleId The ID of the article to fetch. * @param callback The callback that is invoked when a request is either successful or has error. * - * @since 1.3.1.1 + * @since 2.0.0 */ -- (void) getArticleById:(NSString *)articleId withCallback:(ZDKHelpCenterCallback) callback; +- (void) getArticleById:(NSInteger)articleId withCallback:(ZDKHelpCenterCallback)callback; /** @@ -174,22 +189,22 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); /** * Fetches a section object for a particular sectionId. * - * @since 1.4.0.1 + * @since 2.0.0 * * @param sectionId The id of the section to fetch. * @param callback The callback that is invoked when a request is either successful or has error. */ -- (void) getSectionById:(NSString *)sectionId withCallback:(ZDKHelpCenterCallback)callback; +- (void) getSectionById:(NSInteger)sectionId withCallback:(ZDKHelpCenterCallback)callback; /** * Fetches a category object for a particular categoryId. * - * @since 1.4.0.1 + * @since 2.0.0 * * @param categoryId The id of the section to fetch. * @param callback The callback that is invoked when a request is either successful or has error. */ -- (void) getCategoryById:(NSString *)categoryId withCallback:(ZDKHelpCenterCallback)callback; +- (void) getCategoryById:(NSInteger)categoryId withCallback:(ZDKHelpCenterCallback)callback; /** * Used for the purpose of reporting in Zendesk. This will record an article as being viewed by the client. @@ -205,46 +220,33 @@ typedef void (^ZDKHelpCenterGenericCallback)(id response, NSError *error); /** * Post an upvote for a given article. If a vote already exists for the source object it is updated. * - * @since 1.3.0.1 + * @since 2.0.0 * * @param articleId The id of the article to upvote. * @param callback The callback that is invoked when a request is either successful or has error. Returns the vote object. */ -- (void) upvoteArticleWithId:(NSString *)articleId withCallback:(ZDKHelpCenterCallback)callback; +- (void) upvoteArticleWithId:(NSInteger)articleId withCallback:(ZDKHelpCenterCallback)callback; /** * Post a downvote for a given article. If a vote already exists for the source object it is updated. * - * @since 1.3.0.1 + * @since 2.0.0 * * @param articleId The id of the article to downvote. * @param callback The callback that is invoked when a request is either successful or has error. Returns the vote object. */ -- (void) downvoteArticleWithId:(NSString *)articleId withCallback:(ZDKHelpCenterCallback)callback; +- (void) downvoteArticleWithId:(NSInteger)articleId withCallback:(ZDKHelpCenterCallback)callback; /** * Deletes a vote for a given id * - * @since 1.3.0.1 + * @since 2.0.0 * * @param voteId The id of the vote to delete * @param callback The callback that is invoked when a request is either successful or has error. Returns a status code */ -- (void) deleteVoteWithId:(NSString*)voteId withCallback:(ZDKHelpCenterGenericCallback)callback; - -/** - * Fetches a section view model object with all of its articles contained within the object - * - * @param sectionId The sectionId you want to fetch. - * @param labels The array of labels used to filter the query - * @param callback The callback that is returned when is either successful or unsuccuessful. It returns a - * array with one section view model in it or an NSError. - * - * @since 1.7.0.1 - */ -- (void) getSectionWithArticlesForSectionId:(NSString *)sectionId labels:(NSArray *)labels callback:(ZDKHelpCenterCallback)callback; - +- (void) deleteVoteWithId:(NSInteger)voteId withCallback:(ZDKHelpCenterGenericCallback)callback; @end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h similarity index 95% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h index fdb2f1f7..82876abd 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSearch.h @@ -48,13 +48,13 @@ * This models the "category" parameter. This specifies that the search will be restricted to content that is in the given * array of categories. */ -@property (nonatomic, copy) NSArray *categoryIds; +@property (nonatomic, copy) NSArray *categoryIds; /** * This models the "section" parameter. This specifies that the search will be restricted to content that is in the given * array of sections. */ -@property (nonatomic, copy) NSArray *sectionIds; +@property (nonatomic, copy) NSArray *sectionIds; /** * This models the "page" parameter. This specifies what page of results to return. This is closely tied to the resultsPerPage diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h similarity index 94% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h index 57c89375..d7e55c36 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSection.h @@ -22,16 +22,16 @@ /** * Section id. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *sid; +@property (nonatomic, copy) NSNumber *identifier; /** * Category id for section. * - * @since 0.9.3.1 + * @since 2.0.0 */ -@property (nonatomic, copy) NSString *category_id; +@property (nonatomic, copy) NSNumber *category_id; /** * section name. diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSessionCache.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSessionCache.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSessionCache.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSessionCache.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSimpleArticle.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSimpleArticle.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSimpleArticle.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterSimpleArticle.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h similarity index 94% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h index 88780443..8a9371b1 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterViewModel.h @@ -20,7 +20,7 @@ @required -@property (copy, readonly) NSString *title; +@property (copy, readonly) NSString *name; @optional diff --git a/ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h similarity index 87% rename from ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h index 73a4d81d..b723e72a 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKJsonUtil.h @@ -36,6 +36,14 @@ */ + (id) cleanJSONVal:(id)val; +/** + * Checks the return value for NSNull and converts to an empty array if found. + * + * @param json the JSON dictionary from which to get the array + * @param key the key of the object to be retrieved + * @return the value if found and not NSNull, otherwise empty array + */ ++ (id) cleanJSONArrayVal:(NSDictionary*)json key:(NSString*)key; /** * Convert JSON based dictionary to an object of type Class diff --git a/ZendeskProviderSDK.framework/Headers/ZDKLocalization.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKLocalization.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKLocalization.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKLocalization.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKMobileProvisionAnalyzer.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKMobileProvisionAnalyzer.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKMobileProvisionAnalyzer.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKMobileProvisionAnalyzer.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKNSCodingUtil.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKNSCodingUtil.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKNSCodingUtil.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKNSCodingUtil.h diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKNavBarConversationsUIType.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKNavBarConversationsUIType.h new file mode 100644 index 00000000..41bd1e54 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKNavBarConversationsUIType.h @@ -0,0 +1,36 @@ +/* + * + * ZDKNavBarConversationsUIType.h.h + * ZendeskSDK + * + * Created by Zendesk on 02/09/2016. + * + * Copyright (c) 2016 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Terms + * of Service https://www.zendesk.com/company/terms and Application Developer and API License + * Agreement https://www.zendesk.com/company/application-developer-and-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + + +#import + +/** + * Enum to describe the types of nav bar button that display conversations. + */ +typedef NS_ENUM(NSUInteger, ZDKNavBarConversationsUIType) { + /** + * Nav bar button with localized label for conversations. + */ + ZDKNavBarConversationsUITypeLocalizedLabel, + /** + * Nav bar button with image for conversations. + */ + ZDKNavBarConversationsUITypeImage, + /** + * No conversations nav bar in Help Center. + */ + ZDKNavBarConversationsUITypeNone, +}; diff --git a/ZendeskProviderSDK.framework/Headers/ZDKProvider.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKProvider.h similarity index 62% rename from ZendeskProviderSDK.framework/Headers/ZDKProvider.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKProvider.h index b16bb4df..3da02676 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKProvider.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKProvider.h @@ -16,7 +16,7 @@ #import -@class ZDKAuthenticationSpace; +@class ZDKZendesk; /** * ZDKProvider class @@ -25,21 +25,9 @@ */ @interface ZDKProvider : NSObject -/** - * Authentication space to use - * - * @since 1.6.0.1 - */ -@property (nonatomic, strong, readonly) ZDKAuthenticationSpace *authenticationSpace; +@property (nonatomic, strong, readonly) ZDKZendesk *zendesk; -/** - * Creates a provider with an authentication space - * - * @since 1.6.0.1 - * - * @param authenticationSpace authentication space to use with requests - */ -- (instancetype)initWithAuthenticationSpace:(ZDKAuthenticationSpace*)authenticationSpace; +- (instancetype)initWithZendesk:(ZDKZendesk*)zendesk; @end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKReachability.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKReachability.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKReachability.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKReachability.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKRequest.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequest.h similarity index 59% rename from ZendeskProviderSDK.framework/Headers/ZDKRequest.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequest.h index a4d5058a..bb68fe22 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKRequest.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequest.h @@ -15,6 +15,10 @@ */ +@class ZDKComment, ZDKSupportUser; + + +NS_ASSUME_NONNULL_BEGIN /** * Object representing a Zendesk end user request returned by the server. */ @@ -23,7 +27,7 @@ /** * The id of this request in Zendesk. */ -@property (nonatomic, copy) NSString *requestId; +@property (nonatomic, copy) NSString * requestId; /** * The id of the requester in Zendesk. @@ -38,7 +42,7 @@ /** * The subject of the request, if subject is enabled in the account and if a subject was entered. */ -@property (nonatomic, copy) NSString *subject; +@property (nonatomic, copy, nullable) NSString *subject; /** * The original request. @@ -48,7 +52,7 @@ /** * The request type */ -@property (nonatomic, copy) NSString *type; +@property (nonatomic, copy, nullable) NSString *type; /** * The timestamp of the request creation. @@ -63,7 +67,7 @@ /** * The timestamp of the last public update event. */ -@property (nonatomic, strong) NSDate *publicUpdatedAt; +@property (nonatomic, strong, nullable) NSDate *publicUpdatedAt; /** * The number of comments on this ticket. @@ -72,14 +76,47 @@ */ @property (nonatomic, strong) NSNumber *commentCount; +/** + * Last public comment on the request + * + * since 2.0.0.1 + */ +@property (nonatomic, strong, nullable) ZDKComment *lastComment; + +/** + * First public comment on request + * + * @since 2.0.0.1 + */ +@property (nonatomic, strong, nullable) ZDKComment *firstComment; + +/** + * Array of agent ids of whom are currently CC'ed on the ticket + * + * @since 2.0.0.1 + */ +@property (nonatomic, strong, nonnull) NSArray *collaboratingIds; + +/** + * Array of agentd who publically commented on the request + * + * @since 2.0.0.1 + */ +@property (nonatomic, strong, nonnull) NSArray *commentingAgentsIds; /** * Init with dictionary from API response. * * @param dict the dictionary generated from the JSON API response */ -- (instancetype) initWithDict:(NSDictionary*)dict; +- (instancetype _Nullable ) initWithDict:(NSDictionary* _Nullable)dict; +/** + * Returns a dictionary containing Request details. Used for storage + * + * @since 2.0.0.1 + */ +- (NSDictionary *)toJson; @end - +NS_ASSUME_NONNULL_END diff --git a/ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h similarity index 72% rename from ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h index 315dd170..4eaf05a9 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequestProvider.h @@ -16,9 +16,9 @@ #import #import "ZDKProvider.h" -#import "ZDKRequestUpdatesProtocol.h" -@class ZDKCommentsResponse, ZDKComment, ZDKRequest, ZDKCreateRequest, ZDKTicketForm, ZDKRequestUpdates; + +@class ZDKCommentsResponse, ZDKComment, ZDKRequest, ZDKCreateRequest, ZDKTicketForm, ZDKCommentWithUser, ZDKRequestsWithCommentingAgents; /** @@ -32,12 +32,13 @@ typedef void (^ZDKRequestCallback)(ZDKRequest *request, NSError *error); /** - * Block defined for callback to be used for handling async server responses for fetching a list of requests + * Block defined for callback to be used for handling async server responses for fetching a list of requests and agents that have publically + * commented on them * - * @param items array of items returned as a result of the API request sent to a Zendesk instance + * @param requestsWithCommentingAgnets an object containing an array of requests and users, can be nil on error. * @param error NSError returned as a result of any errors taking place when the request is executed, can be nil on success */ -typedef void (^ZDKRequestListCallback)(NSArray *items, NSError *error); +typedef void (^ZDKRequestListCallback)(ZDKRequestsWithCommentingAgents *requestsWithCommentingAgents ,NSError *error); /** * Block defined for callback to be used for handling async server responses for fetching a list of comments @@ -45,7 +46,7 @@ typedef void (^ZDKRequestListCallback)(NSArray *items, NSError *error); * @param commentsWithUsers array of ZDKCommentWithUser objects as a result of the API request sent to a Zendesk instance, can be nil on error * @param error NSError returned as a result of any errors taking place when the request is executed, can be nil on success */ -typedef void (^ZDKRequestCommentListCallback)(NSArray *commentsWithUsers, NSError *error); +typedef void (^ZDKRequestCommentListCallback)(NSArray * commentsWithUsers, NSError *error); /** * Block defined for callback to be used for handling async server responses for adding a comment to a request @@ -63,15 +64,6 @@ typedef void (^ZDKRequestAddCommentCallback)(ZDKComment *comment, NSError *error */ typedef void (^ZDKCreateRequestCallback)(id result, NSError *error); -/** - * Callback for request updates provider method. - * - * @param requestUpdates model containing any updates. - * @param error NSError returned as a result of any errors taking place when the request is executed, can be nil on success. - * @since 1.10.0.1 - */ -typedef void (^ZDKRequestUpdatesCallback)(ZDKRequestUpdates *requestUpdates, NSError *error); - /** * Callback for ticket form request * @@ -138,6 +130,14 @@ typedef void (^ZDKTicketFormCallback)(NSArray *ticketForms, NSEr */ - (void) getCommentsWithRequestId: (NSString *) requestId withCallback:(ZDKRequestCommentListCallback) callback; +/** + * @since x.x.x.x + */ +- (void) getCommentsWithRequestId: (NSString *) requestId + sinceDate: (NSDate *) sinceDate + onlyAgent: (BOOL) onlyAgent + withCallback: (ZDKRequestCommentListCallback) callback; + /** * Add a comment message to a request. * It will also get an access token if one has not been previously stored. @@ -174,33 +174,4 @@ typedef void (^ZDKTicketFormCallback)(NSArray *ticketForms, NSEr withCallback:(ZDKRequestAddCommentCallback) callback; -/** - * Gets details of any updates to requests for this device. - * - * `ZDKRequestUpdates` are cached for up to one hour. Subsequent calls to this method within - * the hour will return the same object without querying the network. Calling this method once - * the hour has expired will query the network again, and cache the new results for the next - * hour. - * - * If using the Zendesk UI, viewing a request will update the cached `ZDKRequestUpdates` - * to remove the viewed request. If using the providers only, a request can be removed from - * the cached `ZDKRequestUpdates` by calling `markRequestAsRead:` on the returned - * `ZDKRequestUpdatesProtocol` with the request ID. - * - * It is important to note the difference in behaviour of this method users using - * `ZDKAnonymousIdentity` versus users using `ZDKJwtIdentity`. For an - * `ZDKAnonymousIdentity`, this method will only fetch updates - * for requests which were created from this device (since those are all an Anonymous user - * has access to). However, a `ZDKJwtIdentity` will fetch all of - * the user's open requests, regardless of where they were created. Any request created on another - * channel is unknown to this instance of the Support SDK, and as such it will show in the - * resulting `ZDKRequestUpdates` with all of its comments counting as updates. - * - * @since 1.10.0.1 - * - * @param callback supplies a ZDKRequestUpdates object if successful, otherwise an NSError is provided. - * @return An object which should be retained and used to signal when a user has viewed a request with updates. - */ -- (id) getUpdatesForDevice:(ZDKRequestUpdatesCallback)callback; - @end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKRequestWithAttachmentsUtil.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequestWithAttachmentsUtil.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKRequestWithAttachmentsUtil.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequestWithAttachmentsUtil.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h similarity index 75% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h index 2de84e03..c5b3ff1c 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequestsResponse.h @@ -16,8 +16,12 @@ #import +@class ZDKRequest, ZDKSupportUser; + @interface ZDKRequestsResponse : NSObject -+ (NSArray *) parseRequestListWithDictionary:(NSDictionary*)dictionary; ++ (NSArray *) parseRequestListWithDictionary:(NSDictionary*)dictionary; + ++ (NSArray *) parseRequestListAgentsWithDictionary:(NSDictionary*)dictionary; @end diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequestsWithCommentingAgents.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequestsWithCommentingAgents.h new file mode 100644 index 00000000..c845feef --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKRequestsWithCommentingAgents.h @@ -0,0 +1,21 @@ +// +// ZDKRequestsWithCommentingAgents.h +// ZendeskProviderSDK +// +// Created by Ronan Mchugh on 15/12/2017. +// Copyright © 2017 Zendesk. All rights reserved. +// + +#import + +@class ZDKSupportUser, ZDKRequest; + +@interface ZDKRequestsWithCommentingAgents : NSObject + +@property (nonatomic, strong) NSArray *requests; +@property (nonatomic, strong) NSArray *commentingAgents; + + +- (instancetype)initWithRequests:(NSArray *)requests andCommentingAgents:(NSArray *)commentingAgents; + +@end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKStringUtil.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKStringUtil.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKStringUtil.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKStringUtil.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKUser.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKSupportUser.h similarity index 62% rename from ZendeskProviderSDK.framework/Headers/ZDKUser.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKSupportUser.h index eb5a327b..ce1a1443 100644 --- a/ZendeskProviderSDK.framework/Headers/ZDKUser.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKSupportUser.h @@ -17,55 +17,23 @@ #import +@interface ZDKSupportUser : NSObject -/** - * A user in Zendesk. - */ -@interface ZDKUser : NSObject - -/** - * The users id in Zendesk. - */ @property (nonatomic, strong) NSNumber *userId; -/** - * The users name. - */ @property (nonatomic, copy) NSString *name; -/** - * URL of the users avatar. - */ @property (nonatomic, copy) NSString *avatarURL; -/** - * YES if the user is an agent. - */ @property (nonatomic, assign) BOOL isAgent; -/** - * Tags associated with the user. - * - * @since 1.4.0.1 - */ @property (nonatomic, copy) NSArray *tags; -/** - * User fields for this user as a dictionary with the key being the name of the user field - * and the corresponding value being the value of the user field set for this user. - * - * @since 1.4.0.1 - */ @property (nonatomic, copy) NSDictionary *userFields; - -/** - * Initialize with dictionary generated from API json. - * - * @param dictionary the user details - */ - (instancetype) initWithDictionary:(NSDictionary*)dictionary; +- (NSDictionary *)toJson; @end diff --git a/ZendeskProviderSDK.framework/Headers/ZDKTicketField.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKTicketField.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKTicketField.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKTicketField.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldOption.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldOption.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKTicketFieldOption.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldOption.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldSystemOption.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldSystemOption.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKTicketFieldSystemOption.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKTicketFieldSystemOption.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKTicketForm.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKTicketForm.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKTicketForm.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKTicketForm.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKUploadProvider.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKUploadProvider.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKUploadProvider.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKUploadProvider.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKUploadResponse.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKUploadResponse.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKUploadResponse.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKUploadResponse.h diff --git a/ZendeskProviderSDK.framework/Headers/ZDKValidator.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKValidator.h similarity index 100% rename from ZendeskProviderSDK.framework/Headers/ZDKValidator.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZDKValidator.h diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK-Swift.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK-Swift.h new file mode 100644 index 00000000..9caf7594 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK-Swift.h @@ -0,0 +1,484 @@ +// Generated by Apple Swift version 4.0 (swiftlang-900.0.65 clang-900.0.37) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_attribute(external_source_symbol) +# define SWIFT_STRINGIFY(str) #str +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) _Pragma(SWIFT_STRINGIFY(clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in=module_name, generated_declaration))), apply_to=any(function, enum, objc_interface, objc_category, objc_protocol)))) +# define SWIFT_MODULE_NAMESPACE_POP _Pragma("clang attribute pop") +#else +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) +# define SWIFT_MODULE_NAMESPACE_POP +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) || __cplusplus < 201103L +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open))) +# else +# define SWIFT_ENUM_ATTR +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if __has_feature(modules) +@import ObjectiveC; +@import Foundation; +@import ZendeskCoreSDK; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +SWIFT_MODULE_NAMESPACE_PUSH("ZendeskProviderSDK") + +SWIFT_CLASS_NAMED("AttachmentSettings") +@interface ZDKAttachmentSettings : NSObject +@property (nonatomic, readonly) BOOL enabled; +@property (nonatomic, readonly) NSInteger maxAttachmentSize; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("ContactUsSettings") +@interface ZDKContactUsSettings : NSObject +@property (nonatomic, readonly, copy) NSArray * _Nonnull tags; +- (nonnull instancetype)initWith:(NSArray * _Nonnull)tags OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("ConversationsSettings") +@interface ZDKConversationsSettings : NSObject +@property (nonatomic, readonly) BOOL enabled; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class ZDKZendesk; +@class NSURLResponse; + +SWIFT_CLASS("_TtC18ZendeskProviderSDK17DispatcherAdapter") +@interface DispatcherAdapter : NSObject ++ (void)performRequestWithZendesk:(ZDKZendesk * _Nonnull)zendesk urlRequset:(NSURLRequest * _Nonnull)urlRequset requiresAuth:(BOOL)requiresAuth completionHandler:(void (^ _Nonnull)(NSURLResponse * _Nullable, NSData * _Nullable, NSError * _Nullable))completionHandler; ++ (NSError * _Nullable)convertErrorWithResponse:(NSURLResponse * _Nullable)response originalError:(NSError * _Nullable)error SWIFT_WARN_UNUSED_RESULT; ++ (void)clearSettingsAndSession; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK13HTMLSanitizer") +@interface HTMLSanitizer : NSObject ++ (NSString * _Nonnull)cleanWithHtml:(NSString * _Nonnull)html SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class ZDKHelpCenterArticle; + +SWIFT_CLASS_NAMED("HelpCenterArticleViewModel") +@interface ZDKHelpCenterArticleViewModel : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +@property (nonatomic, readonly) NSInteger id; +@property (nonatomic, readonly) NSInteger section_id; ++ (NSArray * _Nonnull)convertWithArticles:(NSArray * _Nonnull)articles SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS_NAMED("HelpCenterBlips") +@interface ZDKHelpCenterBlips : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + +@class ZDKHelpCenterSectionViewModel; + +SWIFT_CLASS_NAMED("HelpCenterCategoryViewModel") +@interface ZDKHelpCenterCategoryViewModel : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +@property (nonatomic, copy) NSArray * _Nonnull sections; +- (ZDKHelpCenterCategoryViewModel * _Nonnull)updateWithSection:(ZDKHelpCenterSectionViewModel * _Nonnull)newSection SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS_NAMED("HelpCenterCategoryViewModelContainer") +@interface ZDKHelpCenterCategoryViewModelContainer : NSObject ++ (NSArray * _Nullable)parseWithData:(NSData * _Nonnull)data error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS_NAMED("HelpCenterSectionViewModel") +@interface ZDKHelpCenterSectionViewModel : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +@property (nonatomic, readonly, copy) NSArray * _Nonnull articles; +@property (nonatomic, readonly) NSInteger id; +@property (nonatomic, readonly) NSInteger category_id; +@property (nonatomic, readonly) NSInteger article_count; +@property (nonatomic, readonly, copy) NSString * _Nonnull detailTitle; +- (ZDKHelpCenterSectionViewModel * _Nonnull)sectionByReplacingWithArticles:(NSArray * _Nonnull)articles SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS_NAMED("HelpCenterSettings") +@interface ZDKHelpCenterSettings : NSObject +@property (nonatomic, readonly) BOOL helpCenterArticleVotingEnabled; +@property (nonatomic, readonly) BOOL enabled; +@property (nonatomic, readonly, copy) NSString * _Nonnull locale; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class ZDKRequestStorage; + +SWIFT_CLASS_NAMED("LegacyRequestStorageMigrator") +@interface ZDKLegacyRequestStorageMigrator : NSObject +- (nonnull instancetype)initWithRequestStorage:(ZDKRequestStorage * _Nonnull)requestStorage OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + +SWIFT_CLASS_NAMED("RequestBlips") +@interface ZDKRequestBlips : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + +SWIFT_CLASS_NAMED("RequestForStorage") +@interface ZDKRequestForStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + +SWIFT_CLASS_NAMED("RequestStorage") +@interface ZDKRequestStorage : NSObject +- (nonnull instancetype)initWithZendesk:(ZDKZendesk * _Nonnull)zendesk; +- (ZDKRequestForStorage * _Nullable)getRequestForId:(NSString * _Nonnull)requestId SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + +/// RequestUpdates object contains information about +/// unread comments on each request the user has open. +SWIFT_CLASS_NAMED("RequestUpdates") +@interface ZDKRequestUpdates : NSObject +/// Dictionary with requestIds as keys and the unread comment count +/// as values. +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull requestUpdates; +/// The total unread comments on all the user’s requests. +@property (nonatomic, readonly) NSInteger totalUpdates; +/// Method takes a request ID returns a bool indicating +/// whether a request has unread comments or not +/// \param requestId ID of request +/// +/// +/// returns: +/// A Bool indicating whether the request has unread comments +- (BOOL)isRequestUnread:(NSString * _Nonnull)requestId SWIFT_WARN_UNUSED_RESULT; +/// Determines whether the current user has any unread requests +/// +/// returns: +/// A bool indicating whether the user has unread requests +- (BOOL)hasUpdatedRequests SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +/// ZDKSupport is responsible for initialization of +/// the SDK and manages the backend configuration. +SWIFT_CLASS_NAMED("Support") +@interface ZDKSupport : NSObject +/// Initialize the Support singleton with the Zendesk singleton +/// from ZendeskCoreSDK ++ (void)initializeWithZendesk:(ZDKZendesk * _Nullable)zendesk; +/// Get the API instance (singleton). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZDKSupport * _Nullable instance;) ++ (ZDKSupport * _Nullable)instance SWIFT_WARN_UNUSED_RESULT; +/// This method can be used to aid in handling push notifications relating to requests. +/// This method can result in a dynamic update in the request UI. For this occur, +/// the push notification and the on screen request must contain matching request ids. +/// This method will return true only in the case of a successful UI update. +/// A return value of false means that the push notification was unhandled. +/// At this point you can decided how best to update the user based on the contents of the notification. +/// \param requestId The ID of the request to refresh +/// +/// +/// returns: +/// A boolean indicating whether the Request Detail Screen has been refresh or not. +- (BOOL)refreshRequestWithRequestId:(NSString * _Nonnull)requestId SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + +@class ZDKTicketFormsSettings; + +SWIFT_CLASS_NAMED("SupportSettings") +@interface ZDKSupportSettings : NSObject +@property (nonatomic, readonly) BOOL neverRequestEmail; +@property (nonatomic, readonly) BOOL showClosedRequests; +@property (nonatomic, readonly) BOOL showReferrerLogo; +@property (nonatomic, readonly, copy) NSString * _Nonnull referrerUrl; +@property (nonatomic, readonly, copy) NSString * _Nonnull systemMessage; +@property (nonatomic, readonly, strong) ZDKConversationsSettings * _Nonnull conversationSettings; +@property (nonatomic, readonly, strong) ZDKAttachmentSettings * _Nonnull attachmentSettings; +@property (nonatomic, readonly, strong) ZDKTicketFormsSettings * _Nonnull ticketFormsSettings; +@property (nonatomic, readonly, strong) ZDKContactUsSettings * _Nonnull contactUsSettings; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("TicketFormsSettings") +@interface ZDKTicketFormsSettings : NSObject +@property (nonatomic, readonly) BOOL available; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK29ZDKAttachmentSettingsProvider") +@interface ZDKAttachmentSettingsProvider : NSObject ++ (void)getAttachmentSettingsWithCallback:(void (^ _Nonnull)(ZDKAttachmentSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK28ZDKContactUsSettingsProvider") +@interface ZDKContactUsSettingsProvider : NSObject ++ (void)getContactUsSettingsWithCallback:(void (^ _Nonnull)(ZDKContactUsSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK32ZDKConversationsSettingsProvider") +@interface ZDKConversationsSettingsProvider : NSObject ++ (void)getConversationsSettingsWithCallback:(void (^ _Nonnull)(ZDKConversationsSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK29ZDKHelpCenterSettingsProvider") +@interface ZDKHelpCenterSettingsProvider : NSObject ++ (void)getHelpCenterSettingsWithCallback:(void (^ _Nonnull)(ZDKHelpCenterSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class ZDKRequest; + +@interface ZDKRequestProvider (SWIFT_EXTENSION(ZendeskProviderSDK)) +/// Gets details of any updates to requests for this device. +/// ZDKRequestUpdates are cached for up to one hour. Subsequent calls to this method within +/// the hour will return the same object without querying the network. Calling this method once +/// the hour has expired will query the network again, and cache the new results for the next +/// hour. +/// If using the Zendesk UI, viewing a request will update the cached ZDKRequestUpdates +/// to remove the viewed request. If using the providers only, a request can be removed from +/// the cached ZDKRequestUpdates by calling markRequestAsRead:. +/// @since 1.10.0.1 +/// \param callback callback supplies a optional ZDKRequestUpdates object that is either nil if unsuccessful +/// or nonnil if successful. +/// +- (void)getUpdatesForDeviceWithCallback:(void (^ _Nonnull)(ZDKRequestUpdates * _Nullable))callback; +/// Marks all the comments of a request as read +/// by making the commentCount and readCommentCount +/// equal to the commentCount that is passed in. +/// \param requestId ID of request to mark as read +/// +/// \param commentCount This sets both the commentCount and readCommentCount as this number. +/// +- (void)markRequestAsRead:(NSString * _Nonnull)requestId withCommentCount:(NSInteger)commentCount; +/// Marks the request as unread +/// by incrementing the commentCount by one. +/// This should be used when a push notification has been recieved to +/// updated the request as unread. +/// \param requestId ID of request to mark as unread +/// +- (void)markRequestAsUnread:(NSString * _Nonnull)requestId; +- (void)updateRequestStorageWithRequests:(NSArray * _Nonnull)requests; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK26ZDKSupportSettingsProvider") +@interface ZDKSupportSettingsProvider : NSObject ++ (void)getSupportSettingsWithCallback:(void (^ _Nonnull)(ZDKSupportSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC18ZendeskProviderSDK30ZDKTicketFormsSettingsProvider") +@interface ZDKTicketFormsSettingsProvider : NSObject ++ (void)getTicketFormsSettingsWithCallback:(void (^ _Nonnull)(ZDKTicketFormsSettings * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface ZDKZendesk (SWIFT_EXTENSION(ZendeskProviderSDK)) +@property (nonatomic, readonly, copy) NSString * _Nonnull zendeskUrl; +@end + +SWIFT_MODULE_NAMESPACE_POP +#pragma clang diagnostic pop diff --git a/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h similarity index 64% rename from ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h index a255d2f4..6b4bbfc6 100644 --- a/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZendeskProviderSDK.h @@ -3,9 +3,9 @@ * ZendeskProviderSDK.h * ZendeskProviderSDK * - * Created by Zendesk on 10/25/2017 + * Created by Zendesk on 03/22/2018 * - * Copyright (c) 2017 Zendesk. All rights reserved. + * Copyright (c) 2018 Zendesk. All rights reserved. * * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License @@ -20,24 +20,14 @@ #define ZendeskProviderSDK_h -#import "ZDKAccount.h" -#import "ZDKAccountSettings.h" -#import "ZDKAnonymousIdentity.h" -#import "ZDKAppSettings.h" #import "ZDKAttachment.h" #import "ZDKAttachmentCache.h" -#import "ZDKAttachmentSettings.h" -#import "ZDKAuthenticationSpace.h" -#import "ZDKAuthenticationURLProtocol.h" -#import "ZDKAvatarProvider.h" +#import "ZDKAttachmentProvider.h" #import "ZDKBundleUtils.h" #import "ZDKCoding.h" #import "ZDKComment.h" #import "ZDKCommentWithUser.h" #import "ZDKCommentsResponse.h" -#import "ZDKConfig.h" -#import "ZDKContactUsSettings.h" -#import "ZDKConversationsSettings.h" #import "ZDKCreateRequest.h" #import "ZDKCustomField.h" #import "ZDKDateUtil.h" @@ -47,12 +37,9 @@ #import "ZDKDispatcherResponse.h" #import "ZDKETag.h" #import "ZDKHelpCenterArticle.h" -#import "ZDKHelpCenterArticleViewModel.h" #import "ZDKHelpCenterArticleVote.h" #import "ZDKHelpCenterAttachment.h" #import "ZDKHelpCenterCategory.h" -#import "ZDKHelpCenterCategoryViewModel.h" -#import "ZDKHelpCenterConversationsUIDelegate.h" #import "ZDKHelpCenterDeflection.h" #import "ZDKHelpCenterFlatArticle.h" #import "ZDKHelpCenterLastSearch.h" @@ -61,46 +48,29 @@ #import "ZDKHelpCenterProvider.h" #import "ZDKHelpCenterSearch.h" #import "ZDKHelpCenterSection.h" -#import "ZDKHelpCenterSectionViewModel.h" #import "ZDKHelpCenterSessionCache.h" -#import "ZDKHelpCenterSettings.h" #import "ZDKHelpCenterSimpleArticle.h" #import "ZDKHelpCenterViewModel.h" -#import "ZDKIdentity.h" -#import "ZDKIdentityStorage.h" #import "ZDKJsonUtil.h" -#import "ZDKJwtIdentity.h" -#import "ZDKKeychainWrapper.h" #import "ZDKLocalization.h" -#import "ZDKLogger.h" #import "ZDKMobileProvisionAnalyzer.h" #import "ZDKNSCodingUtil.h" +#import "ZDKNavBarConversationsUIType.h" #import "ZDKProvider.h" -#import "ZDKPushRegistrationProvider.h" -#import "ZDKPushRegistrationRequest.h" -#import "ZDKPushRegistrationResponse.h" #import "ZDKReachability.h" #import "ZDKRequest.h" #import "ZDKRequestProvider.h" -#import "ZDKRequestStorage.h" -#import "ZDKRequestUpdates.h" -#import "ZDKRequestUpdatesProtocol.h" #import "ZDKRequestWithAttachmentsUtil.h" #import "ZDKRequestsResponse.h" -#import "ZDKSdkStorage.h" -#import "ZDKSettings.h" -#import "ZDKSettingsProvider.h" +#import "ZDKRequestsWithCommentingAgents.h" #import "ZDKStringUtil.h" #import "ZDKTicketField.h" #import "ZDKTicketFieldOption.h" #import "ZDKTicketFieldSystemOption.h" #import "ZDKTicketForm.h" -#import "ZDKTicketFormsSettings.h" #import "ZDKUploadProvider.h" #import "ZDKUploadResponse.h" -#import "ZDKUser.h" -#import "ZDKUserField.h" -#import "ZDKUserProvider.h" +#import "ZDKSupportUser.h" #import "ZDKValidator.h" #import "ZendeskSDKConstants.h" diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h similarity index 98% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h index 3f530bea..b2a256a1 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Headers/ZendeskSDKConstants.h @@ -499,6 +499,16 @@ extern NSString * const ZDD_ERROR_Key; extern NSString * const ZDD_Validator_Error_Key; + +// itunes link formats +extern NSString * const iOS7AppStoreURLFormat; +extern NSString * const iOSAppStoreURLFormat; + +extern NSString * const ZDSDKUserDefaultsKey; + + +// notifications + #pragma mark - Authentication types extern NSString * const ZDK_AUTHENTICATION_JWT; extern NSString * const ZDK_AUTHENTICATION_ANONYMOUS; diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Info.plist b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Info.plist new file mode 100644 index 00000000..04bba5ed Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Info.plist differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftdoc new file mode 100644 index 00000000..ccf6474c Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftmodule new file mode 100644 index 00000000..126ff09e Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftdoc new file mode 100644 index 00000000..88ce7317 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftmodule new file mode 100644 index 00000000..680503b8 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/arm64.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftdoc new file mode 100644 index 00000000..62e38638 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftmodule new file mode 100644 index 00000000..fbf669be Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/i386.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftdoc new file mode 100644 index 00000000..2601c9d2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftmodule new file mode 100644 index 00000000..7e0d4002 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftmodule differ diff --git a/ZendeskProviderSDK.framework/Modules/module.modulemap b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/module.modulemap similarity index 55% rename from ZendeskProviderSDK.framework/Modules/module.modulemap rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/module.modulemap index 40dd9366..44edc29f 100644 --- a/ZendeskProviderSDK.framework/Modules/module.modulemap +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/Modules/module.modulemap @@ -4,3 +4,8 @@ framework module ZendeskProviderSDK { export * module * { export * } } + +module ZendeskProviderSDK.Swift { + header "ZendeskProviderSDK-Swift.h" + requires objc +} diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/PrivateHeaders/ZDKTicketFormUtilities.h b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/PrivateHeaders/ZDKTicketFormUtilities.h new file mode 100644 index 00000000..7f4bb012 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/PrivateHeaders/ZDKTicketFormUtilities.h @@ -0,0 +1,37 @@ +/* + * + * ZDKTicketFormUtilities.h + * ZendeskSDK + * + * Created by Zendesk on 25/07/2016. + * + * Copyright (c) 2016 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master + * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License + * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + +#import + + +@class ZDKTicketField; +@class ZDKTicketForm; + +@interface ZDKTicketFormUtilities : NSObject + ++ (NSArray*)limitTicketFormIds:(NSArray*)ticketFieldsIds + toMaxCountOf:(NSInteger)ticketForms; + ++ (void)mergeTicketFields:(NSArray*)ticketFields + inTicketForms:(NSArray*)ticketForms; + ++ (NSArray*)parseArrayFromDictionary:(NSDictionary*)json + key:(NSString*)key + class:(Class)theClass; + ++ (BOOL)checkString:(NSString*)string matchesRegularExpression:(NSString*)regex; + +@end diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskProviderSDK b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskProviderSDK new file mode 100755 index 00000000..4cf5a58f Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskProviderSDK differ diff --git a/ZendeskSDKStrings.bundle/Info.plist b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/Info.plist similarity index 62% rename from ZendeskSDKStrings.bundle/Info.plist rename to ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/Info.plist index 3a4578eb..6ca0534a 100644 Binary files a/ZendeskSDKStrings.bundle/Info.plist and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/Info.plist differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeDirectory b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeDirectory new file mode 100644 index 00000000..b657fa17 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeDirectory differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements new file mode 100644 index 00000000..dbf9d614 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements-1 b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements-1 new file mode 100644 index 00000000..f1953927 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements-1 differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeResources b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeResources new file mode 100644 index 00000000..88e7a31e --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeResources @@ -0,0 +1,843 @@ + + + + + files + + ar.lproj/Localizable.strings + + hash + + uN/IrDVSbCoewa20+NsPr2bZ8LQ= + + optional + + + bg.lproj/Localizable.strings + + hash + + TT+1vu5gZxU2T4UTCHOwra1gEpQ= + + optional + + + cs.lproj/Localizable.strings + + hash + + osPcusHylaG6I2RN4yBygr0Dw1E= + + optional + + + da.lproj/Localizable.strings + + hash + + D3dWJbPRs2JTfXLhstgCf9Ki1D0= + + optional + + + de.lproj/Localizable.strings + + hash + + q6DPHG1beYyIWZ4GvTkBrYlxPWo= + + optional + + + el.lproj/Localizable.strings + + hash + + sgy3XnueQ125j0VrYPOEhp2JQDg= + + optional + + + en-GB.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + optional + + + en.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + optional + + + es.lproj/Localizable.strings + + hash + + GfCVAirVpy9HAjexNn/opUgd93w= + + optional + + + fi.lproj/Localizable.strings + + hash + + aULqQSaMj1IzeG/KVlveNCLrGaE= + + optional + + + fil.lproj/Localizable.strings + + hash + + 6oePSUSqHCO+ol/a2VShNwcR7Pc= + + optional + + + fr.lproj/Localizable.strings + + hash + + n0Ul+Dgl74iFRxlPo9d08p8KrHg= + + optional + + + he.lproj/Localizable.strings + + hash + + d6Q53H6Paz8EfOQdCtCaWxsXQ/8= + + optional + + + hi.lproj/Localizable.strings + + hash + + 715KOTDfKYQMAK8JrXF9KLhMusI= + + optional + + + hu.lproj/Localizable.strings + + hash + + zyNhb2W6vNCWkqmyBNUfwXhxHQo= + + optional + + + id.lproj/Localizable.strings + + hash + + cP9qm7wXc9EGndNFxtylxg9Z/ys= + + optional + + + it.lproj/Localizable.strings + + hash + + twN1x7YnIAfnQSywcS2uWdRnyQg= + + optional + + + ja.lproj/Localizable.strings + + hash + + CSZqLb1TterhEOyiQBrwI/kX3EU= + + optional + + + ko.lproj/Localizable.strings + + hash + + Sj/mDxVDdOxbZ+CRJ0JnbAsPgc4= + + optional + + + ms.lproj/Localizable.strings + + hash + + 4gbore6DDebXbGhR1sjKZcYZ+zE= + + optional + + + nb.lproj/Localizable.strings + + hash + + Us7uc/ChAesIg4ZMR/Pe8ul1BEc= + + optional + + + nl.lproj/Localizable.strings + + hash + + uCMy52DK5fbexne5JN20XTJQrsc= + + optional + + + pl.lproj/Localizable.strings + + hash + + ostb4bw+10iPXA26DkiTnUJ6Xpg= + + optional + + + pt-BR.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + optional + + + pt.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + optional + + + ro.lproj/Localizable.strings + + hash + + y+hcg+nnxhZJ0ZNMSfxbPe7DMYo= + + optional + + + ru.lproj/Localizable.strings + + hash + + r3AAGRnP5dM8YXLEb6G+BP3zkhQ= + + optional + + + sv.lproj/Localizable.strings + + hash + + 6/j43Ig4hJan7dIHGdVBXt9LfA8= + + optional + + + th.lproj/Localizable.strings + + hash + + TYH29CogIQJhwER3fIGsA1iFx9E= + + optional + + + tr.lproj/Localizable.strings + + hash + + dnzolSydPVNijQp5J2yzEzsiSac= + + optional + + + vi.lproj/Localizable.strings + + hash + + ZpIt9Ec01pYWfSlSLkzbNpHCi8o= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash + + C6mVomx2EKm/5LRYY/HYqQ3i03w= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash + + wTIw0IusNcidkltuIiXMXP0gBsU= + + optional + + + + files2 + + ar.lproj/Localizable.strings + + hash + + uN/IrDVSbCoewa20+NsPr2bZ8LQ= + + hash2 + + kCqt7fo87wmDoxAQK+OBIAqaCqZivuP/FXRORaeEkhU= + + optional + + + bg.lproj/Localizable.strings + + hash + + TT+1vu5gZxU2T4UTCHOwra1gEpQ= + + hash2 + + iutUD3Hvb8uOchja6MEyBMBSDF/PgJFvyIQjsUgKSkQ= + + optional + + + cs.lproj/Localizable.strings + + hash + + osPcusHylaG6I2RN4yBygr0Dw1E= + + hash2 + + AMRxZOuhsYzMcWPMjTm6oTvsRlEfa+cmeNbkBNJlbXM= + + optional + + + da.lproj/Localizable.strings + + hash + + D3dWJbPRs2JTfXLhstgCf9Ki1D0= + + hash2 + + Avn0LQIOtO+bcd3mDovYP5nK6lPZDfSom14+MaEcwLQ= + + optional + + + de.lproj/Localizable.strings + + hash + + q6DPHG1beYyIWZ4GvTkBrYlxPWo= + + hash2 + + pk0jeXWJ8DfzkIUnp/uqUpdw2jz8v4b8DeI8lAvPlbU= + + optional + + + el.lproj/Localizable.strings + + hash + + sgy3XnueQ125j0VrYPOEhp2JQDg= + + hash2 + + 8I0tr4T6HxvbDBPwBAhPD2MLVF3Sx5SVa2mGKmmRgCI= + + optional + + + en-GB.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + hash2 + + Cj2uuq0dNZUutgA3iFlPvY0kEDQd5cVb/JqVtXbENwc= + + optional + + + en.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + hash2 + + Cj2uuq0dNZUutgA3iFlPvY0kEDQd5cVb/JqVtXbENwc= + + optional + + + es.lproj/Localizable.strings + + hash + + GfCVAirVpy9HAjexNn/opUgd93w= + + hash2 + + nL5qPJvIuOUBT4dHhfzqVyerM4GcVgcvjCxCjcLSYMU= + + optional + + + fi.lproj/Localizable.strings + + hash + + aULqQSaMj1IzeG/KVlveNCLrGaE= + + hash2 + + r3jRGPk5ZFJ2sTbOJ1eth5TRqw5Buyc3gC0Q36ar/zk= + + optional + + + fil.lproj/Localizable.strings + + hash + + 6oePSUSqHCO+ol/a2VShNwcR7Pc= + + hash2 + + IaBLeg7zkG0cI6PVSQLMwHWnOwoqa9jQfKVVaDcCc/w= + + optional + + + fr.lproj/Localizable.strings + + hash + + n0Ul+Dgl74iFRxlPo9d08p8KrHg= + + hash2 + + JqSA9ndlPB7O0OUDHsdIi8Ywqk0Lqq2VnBT9q/Yy6hQ= + + optional + + + he.lproj/Localizable.strings + + hash + + d6Q53H6Paz8EfOQdCtCaWxsXQ/8= + + hash2 + + ppSea0ASEpLr7d200okRQmrdT1o573Irmw0HfPkt6zY= + + optional + + + hi.lproj/Localizable.strings + + hash + + 715KOTDfKYQMAK8JrXF9KLhMusI= + + hash2 + + JpnKFJSk24UaA82I5PhEI3dFAulOzdqMQuEhl7ugf+Y= + + optional + + + hu.lproj/Localizable.strings + + hash + + zyNhb2W6vNCWkqmyBNUfwXhxHQo= + + hash2 + + 75OwC1zDAfGxIejNk8mfDLk+WOLcB4ozFRMtw6pEUio= + + optional + + + id.lproj/Localizable.strings + + hash + + cP9qm7wXc9EGndNFxtylxg9Z/ys= + + hash2 + + ezRC4vUisheVr1SvhGBu2QjYXOoJbjXebZINwYNqV0U= + + optional + + + it.lproj/Localizable.strings + + hash + + twN1x7YnIAfnQSywcS2uWdRnyQg= + + hash2 + + EvKQM287VYCwN1ya6ysdFuwF2dFVm+KfZd4qaZS15wg= + + optional + + + ja.lproj/Localizable.strings + + hash + + CSZqLb1TterhEOyiQBrwI/kX3EU= + + hash2 + + Aa/UmPyxj3XJAhsRl4nrGgtiRZqtKjhFVYq2yg2mrOs= + + optional + + + ko.lproj/Localizable.strings + + hash + + Sj/mDxVDdOxbZ+CRJ0JnbAsPgc4= + + hash2 + + oJifq9dlnILHT+MDGPSFW7eTqAegFjPzpPAxscYKDvY= + + optional + + + ms.lproj/Localizable.strings + + hash + + 4gbore6DDebXbGhR1sjKZcYZ+zE= + + hash2 + + dR406t3RDAaje7vcqGyf/jb1/qS8N2Nel1a0CKfr3jQ= + + optional + + + nb.lproj/Localizable.strings + + hash + + Us7uc/ChAesIg4ZMR/Pe8ul1BEc= + + hash2 + + PQwnMwmxUbqJLpba4HlvSzkTLXK1NPJlljxPwi+M0W4= + + optional + + + nl.lproj/Localizable.strings + + hash + + uCMy52DK5fbexne5JN20XTJQrsc= + + hash2 + + XuKtW5SB82t6npQEx3dLADH9/2/3qn4ZovDvw2XZELg= + + optional + + + pl.lproj/Localizable.strings + + hash + + ostb4bw+10iPXA26DkiTnUJ6Xpg= + + hash2 + + v2QqrFqmk4C9aAm9ZuOBOvDE3PMBMWzH5GnmlucE+XA= + + optional + + + pt-BR.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + hash2 + + hNws7HaA/2vxmDcAFTssXZCG5iF80Zz34Q85P4Qvc0U= + + optional + + + pt.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + hash2 + + hNws7HaA/2vxmDcAFTssXZCG5iF80Zz34Q85P4Qvc0U= + + optional + + + ro.lproj/Localizable.strings + + hash + + y+hcg+nnxhZJ0ZNMSfxbPe7DMYo= + + hash2 + + 7C5rBLXHAdd8Nsu0hxX1X0qxZxFalZH4mBJ3ZfNCfn0= + + optional + + + ru.lproj/Localizable.strings + + hash + + r3AAGRnP5dM8YXLEb6G+BP3zkhQ= + + hash2 + + MrfMjR+1DqRkdPmMfIOd161qHXCowhsielhv4uFsEmQ= + + optional + + + sv.lproj/Localizable.strings + + hash + + 6/j43Ig4hJan7dIHGdVBXt9LfA8= + + hash2 + + 7vsLInt/kmddlDML4GHRMeziFGdzQE7E/HtSArHBKxE= + + optional + + + th.lproj/Localizable.strings + + hash + + TYH29CogIQJhwER3fIGsA1iFx9E= + + hash2 + + bca5+j5NPdQxEvBJ6ejJNknv1q8FZ+g+aEiwJyaCadU= + + optional + + + tr.lproj/Localizable.strings + + hash + + dnzolSydPVNijQp5J2yzEzsiSac= + + hash2 + + nCgc4I25gMuMQ/uJ7u3actVIHzQkm1N7WT84gy43Xz0= + + optional + + + vi.lproj/Localizable.strings + + hash + + ZpIt9Ec01pYWfSlSLkzbNpHCi8o= + + hash2 + + gShlteHxyrOO8sNsZ076oKcYMFApd6+bj2psrlmTph4= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash + + C6mVomx2EKm/5LRYY/HYqQ3i03w= + + hash2 + + AFgCLhSybeaS7sL4fXfpr2p+Vc6RqtbXNEv0n1/RY/U= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash + + wTIw0IusNcidkltuIiXMXP0gBsU= + + hash2 + + sVSpYJjGdeVx7Pg+T7FZ/wsehdDS+gBepvu7z7NUiTg= + + optional + + + + rules + + ^ + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^ + + weight + 20 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeSignature b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/_CodeSignature/CodeSignature new file mode 100644 index 00000000..e69de29b diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings new file mode 100644 index 00000000..9b2b1f43 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings new file mode 100644 index 00000000..24a920d2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings new file mode 100644 index 00000000..fb224d8f Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings new file mode 100644 index 00000000..7ad7a536 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings new file mode 100644 index 00000000..05eac97a Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings new file mode 100644 index 00000000..19f0a38a Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings new file mode 100644 index 00000000..1dea83e2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings new file mode 100644 index 00000000..1dea83e2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings new file mode 100644 index 00000000..9142fe19 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings new file mode 100644 index 00000000..06c5cdf7 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings new file mode 100644 index 00000000..57c658b2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings new file mode 100644 index 00000000..796132ef Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings new file mode 100644 index 00000000..62aae1da Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings new file mode 100644 index 00000000..51173c62 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings new file mode 100644 index 00000000..a4b671fa Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings new file mode 100644 index 00000000..aecb6442 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings new file mode 100644 index 00000000..0ac4b2f2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings new file mode 100644 index 00000000..88168d37 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings new file mode 100644 index 00000000..5332c3a3 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings new file mode 100644 index 00000000..765ec042 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings new file mode 100644 index 00000000..57e6db81 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings new file mode 100644 index 00000000..13f0b360 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings new file mode 100644 index 00000000..6301332d Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings new file mode 100644 index 00000000..33a5531b Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings new file mode 100644 index 00000000..33a5531b Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings new file mode 100644 index 00000000..7dec34c3 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings new file mode 100644 index 00000000..bbe3509b Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings new file mode 100644 index 00000000..1702b9ff Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings new file mode 100644 index 00000000..01c9c5cc Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings new file mode 100644 index 00000000..f6425f1b Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings new file mode 100644 index 00000000..b533eaa4 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings new file mode 100644 index 00000000..b797a773 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings new file mode 100644 index 00000000..15c943dc Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/_CodeSignature/CodeResources b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/_CodeSignature/CodeResources new file mode 100644 index 00000000..41004f64 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskProviderSDK.framework/_CodeSignature/CodeResources @@ -0,0 +1,1852 @@ + + + + + files + + Headers/ZDKAttachment.h + + hWaj5VcPanwTa46bdaJLkdPjhH8= + + Headers/ZDKAttachmentCache.h + + xlgCffCdYCv2ATdaOYIH0z3Hlm4= + + Headers/ZDKAttachmentProvider.h + + DfYTwf7MnrTLY/lJElcCNQhmBkA= + + Headers/ZDKBundleUtils.h + + iiHpYnS6CK+rMv3G5wy+cvSFJ+8= + + Headers/ZDKCoding.h + + 2S33MpAFUc3ElG7GUIJEgyghrkM= + + Headers/ZDKComment.h + + xAlHkmpN8JGMVuGEoxGxQzXE/TM= + + Headers/ZDKCommentWithUser.h + + RWOFA54GCiEBuVTpMQdo1ZvE9HQ= + + Headers/ZDKCommentsResponse.h + + IkzbtuZtGBH45coWmhr79r1Gc9Q= + + Headers/ZDKCreateRequest.h + + Pmc92wvMhFsTDQKGtGcj93w6FY4= + + Headers/ZDKCustomField.h + + jmf85nHzd0PoF3gRsLz3gPTEJrk= + + Headers/ZDKDateUtil.h + + 683tYs/iF0aM3Ykn/uGnwyoOXiI= + + Headers/ZDKDeviceInfo.h + + xZhky+B6Iv3/O4Q+2z4Aurfbd54= + + Headers/ZDKDictionaryCreatable.h + + Hx2o6UGHL9mlhg8vcfppg7+KjnU= + + Headers/ZDKDispatcher.h + + wbQHrkVqairmcpTOLIq6IQwty4E= + + Headers/ZDKDispatcherResponse.h + + MDU3R5d01MatKAYWG53GvjwyKnc= + + Headers/ZDKETag.h + + fwwbpiZMX0a9fYdSvBKy0hcp7Zw= + + Headers/ZDKHelpCenterArticle.h + + ttxZZe4YTTagDNpFI1C0rQCvQdY= + + Headers/ZDKHelpCenterArticleVote.h + + k3a50LqzIhSw9W0lBKHKkEesnlc= + + Headers/ZDKHelpCenterAttachment.h + + 2B78fvgkLzbn00VbTprz4Rbd2ro= + + Headers/ZDKHelpCenterCategory.h + + o2zXOK8k40mAvc+H3C4F6cKwSsk= + + Headers/ZDKHelpCenterDeflection.h + + VECQ+SPjHI/ZJoZgY/9VTXRUJZg= + + Headers/ZDKHelpCenterFlatArticle.h + + pjm4a0J5yp7NeKzBtAsSatW/djA= + + Headers/ZDKHelpCenterLastSearch.h + + HrFZKedt/HbCldLSus0pJDTdTc4= + + Headers/ZDKHelpCenterOverviewContentModel.h + + wEHTh3hdwjXWagZaIxRHhJEN82k= + + Headers/ZDKHelpCenterParser.h + + AeUWKIuW405u/3bK8xzTrwE0034= + + Headers/ZDKHelpCenterProvider.h + + Qh2rvYkBDDFhwe5y/Ue8sOGmLrc= + + Headers/ZDKHelpCenterSearch.h + + kFwhor+e2PcfFMvet2lNET40z88= + + Headers/ZDKHelpCenterSection.h + + FbaYXqeMvcM0rbEjBtrmTJAmJ+M= + + Headers/ZDKHelpCenterSessionCache.h + + vbmYjoMztVSZDqzew3qjHDRVxc8= + + Headers/ZDKHelpCenterSimpleArticle.h + + cLXr6F09PozNgG/83zK0YNakrYM= + + Headers/ZDKHelpCenterViewModel.h + + fuOUZTwj8MpNEYTqIUJyj2gTaQU= + + Headers/ZDKJsonUtil.h + + kw579zielTMtt8xReuDs4xG4cmA= + + Headers/ZDKLocalization.h + + Ih821CdkMivhSmWa1d56InUfJEs= + + Headers/ZDKMobileProvisionAnalyzer.h + + K3zxoqjdPbZQothfESQMKp8tbGM= + + Headers/ZDKNSCodingUtil.h + + xlP25wajPAZMqhpcS21hLq24vOU= + + Headers/ZDKNavBarConversationsUIType.h + + Bkoye0hRF+grVqXnkwbKiYHHfRc= + + Headers/ZDKProvider.h + + uPnHswNhpQRWxJYnTxcdl4MeLGg= + + Headers/ZDKReachability.h + + XCW2wVlx3N0sjo8wQYBN1HI4kcc= + + Headers/ZDKRequest.h + + TGj7LezobCGg9RZK6ZvUMVk+iSc= + + Headers/ZDKRequestProvider.h + + mo4CleslZ7XAh/IDnQApCDsb+KM= + + Headers/ZDKRequestWithAttachmentsUtil.h + + Ef0bxz8CmdVOORG6Iy6jgd9pPLE= + + Headers/ZDKRequestsResponse.h + + 7JSIe5Qp4fZ+T1VvgW2X6Eaj1zc= + + Headers/ZDKRequestsWithCommentingAgents.h + + smivM/8FtrYuJvD8MLeuyXlKsfU= + + Headers/ZDKStringUtil.h + + TCCD88NPngTthUqbKVZDJbUckck= + + Headers/ZDKSupportUser.h + + Hr4J9DOLBk7OUebV+73wnakOpx0= + + Headers/ZDKTicketField.h + + pfU9r9ihGKfcwHjgnZGegLOEJtE= + + Headers/ZDKTicketFieldOption.h + + i4094HtdCH9V6f9CmHVy48fG06Q= + + Headers/ZDKTicketFieldSystemOption.h + + 4Ooik8RCY/Nu4nfyCy06qb94Q9s= + + Headers/ZDKTicketForm.h + + sKKQejVzzBi8cdq5JYTocIFKZj8= + + Headers/ZDKUploadProvider.h + + +VCy/paDk/shvLSrdYTtQMNdk2E= + + Headers/ZDKUploadResponse.h + + ZOgj1y1DozLgAL3ZtCP5al+2CZs= + + Headers/ZDKValidator.h + + cgAKigw6nZKp5T4XyRZczbicWEI= + + Headers/ZendeskProviderSDK-Swift.h + + kIbsWdN9PUJiNZvYATk5x3A4CjU= + + Headers/ZendeskProviderSDK.h + + +SAqIb71tSCRntPTUcHGwoSkUGk= + + Headers/ZendeskSDKConstants.h + + 9ZxXwMEyUGJi+U5z1atA8cNO8TE= + + Info.plist + + 8Nj7qgwiZ2NOYEFvVlZK1l0wPg8= + + Modules/ZendeskProviderSDK.swiftmodule/i386.swiftdoc + + AP+2R9qPBTASUSpp1+eZ7zxwUUE= + + Modules/ZendeskProviderSDK.swiftmodule/i386.swiftmodule + + yg+e5xQ6XUrR7u6OjvgOD2UcJSM= + + Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftdoc + + +C7TJON81BK5cufhi9xbpiT63kg= + + Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftmodule + + huy5xVhY6SkVbmTWeIrlvcFPdHc= + + Modules/module.modulemap + + 9VXMbF9CTqHost5CRFyCcM6ErQA= + + PrivateHeaders/ZDKTicketFormUtilities.h + + MVwCRHZnvxvDaELeHnVO1ka2bq8= + + ZendeskSDKStrings.bundle/Info.plist + + 1yfsExaxEoQgnJA1DNXKveqTkro= + + ZendeskSDKStrings.bundle/_CodeSignature/CodeDirectory + + QRzjuH2iXeBjXNKRlLCv4mqlh2w= + + ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements + + OnX22wWFKRSOFN1+obRynMCeyXM= + + ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements-1 + + vnY9i0084eiAl9wKcrFDMR6ikFw= + + ZendeskSDKStrings.bundle/_CodeSignature/CodeResources + + n7Y0hriB4mHYDoail3l+h+pIAVQ= + + ZendeskSDKStrings.bundle/_CodeSignature/CodeSignature + + 2jmj7l5rSw0yVb/vlWAYkK/YBwk= + + ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings + + hash + + uN/IrDVSbCoewa20+NsPr2bZ8LQ= + + optional + + + ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings + + hash + + TT+1vu5gZxU2T4UTCHOwra1gEpQ= + + optional + + + ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings + + hash + + osPcusHylaG6I2RN4yBygr0Dw1E= + + optional + + + ZendeskSDKStrings.bundle/da.lproj/Localizable.strings + + hash + + D3dWJbPRs2JTfXLhstgCf9Ki1D0= + + optional + + + ZendeskSDKStrings.bundle/de.lproj/Localizable.strings + + hash + + q6DPHG1beYyIWZ4GvTkBrYlxPWo= + + optional + + + ZendeskSDKStrings.bundle/el.lproj/Localizable.strings + + hash + + sgy3XnueQ125j0VrYPOEhp2JQDg= + + optional + + + ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + optional + + + ZendeskSDKStrings.bundle/en.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + optional + + + ZendeskSDKStrings.bundle/es.lproj/Localizable.strings + + hash + + GfCVAirVpy9HAjexNn/opUgd93w= + + optional + + + ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings + + hash + + aULqQSaMj1IzeG/KVlveNCLrGaE= + + optional + + + ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings + + hash + + 6oePSUSqHCO+ol/a2VShNwcR7Pc= + + optional + + + ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings + + hash + + n0Ul+Dgl74iFRxlPo9d08p8KrHg= + + optional + + + ZendeskSDKStrings.bundle/he.lproj/Localizable.strings + + hash + + d6Q53H6Paz8EfOQdCtCaWxsXQ/8= + + optional + + + ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings + + hash + + 715KOTDfKYQMAK8JrXF9KLhMusI= + + optional + + + ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings + + hash + + zyNhb2W6vNCWkqmyBNUfwXhxHQo= + + optional + + + ZendeskSDKStrings.bundle/id.lproj/Localizable.strings + + hash + + cP9qm7wXc9EGndNFxtylxg9Z/ys= + + optional + + + ZendeskSDKStrings.bundle/it.lproj/Localizable.strings + + hash + + twN1x7YnIAfnQSywcS2uWdRnyQg= + + optional + + + ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings + + hash + + CSZqLb1TterhEOyiQBrwI/kX3EU= + + optional + + + ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings + + hash + + Sj/mDxVDdOxbZ+CRJ0JnbAsPgc4= + + optional + + + ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings + + hash + + 4gbore6DDebXbGhR1sjKZcYZ+zE= + + optional + + + ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings + + hash + + Us7uc/ChAesIg4ZMR/Pe8ul1BEc= + + optional + + + ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings + + hash + + uCMy52DK5fbexne5JN20XTJQrsc= + + optional + + + ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings + + hash + + ostb4bw+10iPXA26DkiTnUJ6Xpg= + + optional + + + ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + optional + + + ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + optional + + + ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings + + hash + + y+hcg+nnxhZJ0ZNMSfxbPe7DMYo= + + optional + + + ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings + + hash + + r3AAGRnP5dM8YXLEb6G+BP3zkhQ= + + optional + + + ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings + + hash + + 6/j43Ig4hJan7dIHGdVBXt9LfA8= + + optional + + + ZendeskSDKStrings.bundle/th.lproj/Localizable.strings + + hash + + TYH29CogIQJhwER3fIGsA1iFx9E= + + optional + + + ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings + + hash + + dnzolSydPVNijQp5J2yzEzsiSac= + + optional + + + ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings + + hash + + ZpIt9Ec01pYWfSlSLkzbNpHCi8o= + + optional + + + ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings + + hash + + C6mVomx2EKm/5LRYY/HYqQ3i03w= + + optional + + + ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings + + hash + + wTIw0IusNcidkltuIiXMXP0gBsU= + + optional + + + + files2 + + Headers/ZDKAttachment.h + + hash + + hWaj5VcPanwTa46bdaJLkdPjhH8= + + hash2 + + WArfncBf36bRXoABqfxvpF2TDHWxzVHnqIkADX66Qfo= + + + Headers/ZDKAttachmentCache.h + + hash + + xlgCffCdYCv2ATdaOYIH0z3Hlm4= + + hash2 + + d4Ef61hrMBpmvllTE509YOY5NV8roaRufOgXX0MFJ7Q= + + + Headers/ZDKAttachmentProvider.h + + hash + + DfYTwf7MnrTLY/lJElcCNQhmBkA= + + hash2 + + adh6GlnM4ew1JpaGYDWC19CV+OQYUboGo/vEAckm4kQ= + + + Headers/ZDKBundleUtils.h + + hash + + iiHpYnS6CK+rMv3G5wy+cvSFJ+8= + + hash2 + + AdtNO2fAgGPFR7Jc6OEApK7cuH5uS0zKSUyTHHzXkEU= + + + Headers/ZDKCoding.h + + hash + + 2S33MpAFUc3ElG7GUIJEgyghrkM= + + hash2 + + JfCBnzxfFlyw6PIEwAtDbNRrZk4ecGCTnlRl+5HJxEQ= + + + Headers/ZDKComment.h + + hash + + xAlHkmpN8JGMVuGEoxGxQzXE/TM= + + hash2 + + MY2bb/7fb7/I6MQrurqsr2f9fTiYvdpdipp0c0tyU1c= + + + Headers/ZDKCommentWithUser.h + + hash + + RWOFA54GCiEBuVTpMQdo1ZvE9HQ= + + hash2 + + /yDjvqTjSdNykhEtVzizSAVHWit68xQEvakfdLG/HcA= + + + Headers/ZDKCommentsResponse.h + + hash + + IkzbtuZtGBH45coWmhr79r1Gc9Q= + + hash2 + + cyA1mux0X5tpfolJA6JeXjGcSRPYmTp823aHuB7WipI= + + + Headers/ZDKCreateRequest.h + + hash + + Pmc92wvMhFsTDQKGtGcj93w6FY4= + + hash2 + + 90IfKCy+gjmwviY9L7gP/lI/cObv4iqq6irLBc008do= + + + Headers/ZDKCustomField.h + + hash + + jmf85nHzd0PoF3gRsLz3gPTEJrk= + + hash2 + + TPX5zzCLcp0H8q0/zoBhh73rjsKTfipbvBtA0aKNa9s= + + + Headers/ZDKDateUtil.h + + hash + + 683tYs/iF0aM3Ykn/uGnwyoOXiI= + + hash2 + + Wqaz0XvbI8FfQNaqAfqwCA6b5/w6FclRGmOex4Wn6sg= + + + Headers/ZDKDeviceInfo.h + + hash + + xZhky+B6Iv3/O4Q+2z4Aurfbd54= + + hash2 + + UL5+g0KK1zEoIaYiHYtQEKH7hu4AxvR/1RFTFeeYQHg= + + + Headers/ZDKDictionaryCreatable.h + + hash + + Hx2o6UGHL9mlhg8vcfppg7+KjnU= + + hash2 + + 1m/Lk+rpbuTLj0LWtwd07B2VwVkNdmg+GMQOTrivtLY= + + + Headers/ZDKDispatcher.h + + hash + + wbQHrkVqairmcpTOLIq6IQwty4E= + + hash2 + + olAYxgaysOzy+0HIR7Q7O8inWz5KXEjlQ/0Lrb/xqy0= + + + Headers/ZDKDispatcherResponse.h + + hash + + MDU3R5d01MatKAYWG53GvjwyKnc= + + hash2 + + ruuKDJWDLl0bccmC6ihj4NBjTkkv6GALiVL0jUjGyzw= + + + Headers/ZDKETag.h + + hash + + fwwbpiZMX0a9fYdSvBKy0hcp7Zw= + + hash2 + + cFGJVkPev/KS7LmnHk5qqjeo3Ox1WcP42ptws/7jfi4= + + + Headers/ZDKHelpCenterArticle.h + + hash + + ttxZZe4YTTagDNpFI1C0rQCvQdY= + + hash2 + + 9aPMHQyvyyCvxGDQ3ns4PcybYucvjKeCLOKiEWYWgus= + + + Headers/ZDKHelpCenterArticleVote.h + + hash + + k3a50LqzIhSw9W0lBKHKkEesnlc= + + hash2 + + R/0pfTTO4SgSfG3uWVZDJjPHiLG9j0qnHbSM8u5rjvQ= + + + Headers/ZDKHelpCenterAttachment.h + + hash + + 2B78fvgkLzbn00VbTprz4Rbd2ro= + + hash2 + + tndhI1ET73nGPILX8fO7Wb+XbDCZ/W4dErNKNPtGdhY= + + + Headers/ZDKHelpCenterCategory.h + + hash + + o2zXOK8k40mAvc+H3C4F6cKwSsk= + + hash2 + + fVQmGopp6C5z6u39dclFt/iS0ZGhEo2PJeEM0ZvPmdA= + + + Headers/ZDKHelpCenterDeflection.h + + hash + + VECQ+SPjHI/ZJoZgY/9VTXRUJZg= + + hash2 + + Yr4sVrKofkeOovFgE/1DOxZAMZK0JMWCZ7IraO1iVbA= + + + Headers/ZDKHelpCenterFlatArticle.h + + hash + + pjm4a0J5yp7NeKzBtAsSatW/djA= + + hash2 + + 8MeJryQuATvrMhZm9TVsz+/cwVSlbWsUEhhjOAVZGQo= + + + Headers/ZDKHelpCenterLastSearch.h + + hash + + HrFZKedt/HbCldLSus0pJDTdTc4= + + hash2 + + WmUAvl8De9aluonim7uzMEMxdc4DuGHsoBKGHFToDz0= + + + Headers/ZDKHelpCenterOverviewContentModel.h + + hash + + wEHTh3hdwjXWagZaIxRHhJEN82k= + + hash2 + + RW36VMlZNb/3Q79Qov07dA7LyK+JSXsW9Sjgpjo2fjU= + + + Headers/ZDKHelpCenterParser.h + + hash + + AeUWKIuW405u/3bK8xzTrwE0034= + + hash2 + + Ow6HJpJd48cVIKBNtwuxQzbsmZ1FmQgCj7cQOg9eM6w= + + + Headers/ZDKHelpCenterProvider.h + + hash + + Qh2rvYkBDDFhwe5y/Ue8sOGmLrc= + + hash2 + + 7ROMEofAcOHZjD1RPKC2vzJRX+ZVohRDKkQSvL5b4nA= + + + Headers/ZDKHelpCenterSearch.h + + hash + + kFwhor+e2PcfFMvet2lNET40z88= + + hash2 + + 5bZjSi7bu8ERUJJhdrq472v4FghNW9mJG/O4+2N93Ug= + + + Headers/ZDKHelpCenterSection.h + + hash + + FbaYXqeMvcM0rbEjBtrmTJAmJ+M= + + hash2 + + JBqP3S8kT/OM+uOj9A/cWQq6r8IUO9rdK0JvcQKE8vA= + + + Headers/ZDKHelpCenterSessionCache.h + + hash + + vbmYjoMztVSZDqzew3qjHDRVxc8= + + hash2 + + aXkCikb5RRB7tgjVrAkZy/ONGZTExv3hMwYephx+6nw= + + + Headers/ZDKHelpCenterSimpleArticle.h + + hash + + cLXr6F09PozNgG/83zK0YNakrYM= + + hash2 + + 7d7DAjYLL6dvQ3jFBXal94f3skW64hOf7OWriZdPv6U= + + + Headers/ZDKHelpCenterViewModel.h + + hash + + fuOUZTwj8MpNEYTqIUJyj2gTaQU= + + hash2 + + 9g8mSO5Cmq7x7W6Z2/2ly44A2NTBUTO4P2WeaHob4dw= + + + Headers/ZDKJsonUtil.h + + hash + + kw579zielTMtt8xReuDs4xG4cmA= + + hash2 + + zb4qHPqaC1eTodFfvEGXGvvybi5VKbNkcSIips9WNCs= + + + Headers/ZDKLocalization.h + + hash + + Ih821CdkMivhSmWa1d56InUfJEs= + + hash2 + + G/s/FGRqr4ropprJ30VbzoTA8gSOGqamcniBFe+Rwcw= + + + Headers/ZDKMobileProvisionAnalyzer.h + + hash + + K3zxoqjdPbZQothfESQMKp8tbGM= + + hash2 + + oHhvTVuL64RxY4kOHQo7/MaJS20lysYRq3Gh4dkbp6U= + + + Headers/ZDKNSCodingUtil.h + + hash + + xlP25wajPAZMqhpcS21hLq24vOU= + + hash2 + + VX6LhXA8DHVrt7Uod507MR4I5XJ6fQtidBgD9r+RAJU= + + + Headers/ZDKNavBarConversationsUIType.h + + hash + + Bkoye0hRF+grVqXnkwbKiYHHfRc= + + hash2 + + elGOWpY6njOJAZbuz99xiZyQG4uXBoOJoEKkXdeclw0= + + + Headers/ZDKProvider.h + + hash + + uPnHswNhpQRWxJYnTxcdl4MeLGg= + + hash2 + + CTEjbcCZih8HKP8psOfj4ZNtYRGcldGTR0EKtMywHrk= + + + Headers/ZDKReachability.h + + hash + + XCW2wVlx3N0sjo8wQYBN1HI4kcc= + + hash2 + + rzHf7fsgKUtvI+oolVFTK4Dl+BmCI4iggPgJeRGyViQ= + + + Headers/ZDKRequest.h + + hash + + TGj7LezobCGg9RZK6ZvUMVk+iSc= + + hash2 + + s9W6/BcjC9h5TFD2p8ypQbtbcoXD/6RhOjVgQoTjtsU= + + + Headers/ZDKRequestProvider.h + + hash + + mo4CleslZ7XAh/IDnQApCDsb+KM= + + hash2 + + Sg5LBfIvOUEkHoS7px8clYDOhYYCgK+HM21TFH+UiTA= + + + Headers/ZDKRequestWithAttachmentsUtil.h + + hash + + Ef0bxz8CmdVOORG6Iy6jgd9pPLE= + + hash2 + + 3OPYYZ6kw81Bxzb+v0uczo5dKZSfHKA/CEQ/q6lLxzw= + + + Headers/ZDKRequestsResponse.h + + hash + + 7JSIe5Qp4fZ+T1VvgW2X6Eaj1zc= + + hash2 + + 4Xmj1rHDUTderErlKRISvJPdhxzOv8e/ZizA4Nyvw7Y= + + + Headers/ZDKRequestsWithCommentingAgents.h + + hash + + smivM/8FtrYuJvD8MLeuyXlKsfU= + + hash2 + + sUFlEKKLjF9Z3bpO5+zT45jQsgFMASZY/pmaN0Sx0t0= + + + Headers/ZDKStringUtil.h + + hash + + TCCD88NPngTthUqbKVZDJbUckck= + + hash2 + + fayYfoxsa6iiDzNiICWxg/G7yXvqVxS+3eL8RB2rESQ= + + + Headers/ZDKSupportUser.h + + hash + + Hr4J9DOLBk7OUebV+73wnakOpx0= + + hash2 + + LV7Bgs233z/ZGoght7p/VsSxQAOAq1e2bjaNjRKwDZs= + + + Headers/ZDKTicketField.h + + hash + + pfU9r9ihGKfcwHjgnZGegLOEJtE= + + hash2 + + nq0KjviSn8B/IBhS4IY3pT7hwra4qF3zBjcYLWzcUh4= + + + Headers/ZDKTicketFieldOption.h + + hash + + i4094HtdCH9V6f9CmHVy48fG06Q= + + hash2 + + wxLk/ySFHurtC49llQnXrwnYt4fNgRmFHmOJf3AdOjI= + + + Headers/ZDKTicketFieldSystemOption.h + + hash + + 4Ooik8RCY/Nu4nfyCy06qb94Q9s= + + hash2 + + Wj1EMCublnldSvgnzycZ9glZPgs7L1E8tYXbJXbv5H0= + + + Headers/ZDKTicketForm.h + + hash + + sKKQejVzzBi8cdq5JYTocIFKZj8= + + hash2 + + 9JQWtACiY/CwZ0DSVzgz2bHyVGQ7KPyB7C4hTrVajTk= + + + Headers/ZDKUploadProvider.h + + hash + + +VCy/paDk/shvLSrdYTtQMNdk2E= + + hash2 + + eyeuF7M3GRMKREddpR9/+OZFTgunqJGis2kxdjaGO08= + + + Headers/ZDKUploadResponse.h + + hash + + ZOgj1y1DozLgAL3ZtCP5al+2CZs= + + hash2 + + V2xT6lt3VtH8ejX0sPeK3nYQYhWfpUjapE+HDQz2Q8I= + + + Headers/ZDKValidator.h + + hash + + cgAKigw6nZKp5T4XyRZczbicWEI= + + hash2 + + gYJ1vtRbFGFyFmi98LPY8W9BLga4Rl82eE4OUdu8Cfw= + + + Headers/ZendeskProviderSDK-Swift.h + + hash + + kIbsWdN9PUJiNZvYATk5x3A4CjU= + + hash2 + + MORmvbDdgMSiTGC7YC3KxaTulMzvskq7fMOm8G1aE0g= + + + Headers/ZendeskProviderSDK.h + + hash + + +SAqIb71tSCRntPTUcHGwoSkUGk= + + hash2 + + Jqt/C2JWNChfvnU5eFhtkt6mYaPIYZI/nlhH9oCaidI= + + + Headers/ZendeskSDKConstants.h + + hash + + 9ZxXwMEyUGJi+U5z1atA8cNO8TE= + + hash2 + + Z+0IEOajqiUWb8AZbJAr1lHAsRThfHQCOy1YOi5/pLA= + + + Modules/ZendeskProviderSDK.swiftmodule/i386.swiftdoc + + hash + + AP+2R9qPBTASUSpp1+eZ7zxwUUE= + + hash2 + + 8xlq7l1N3NjvC3q/8Vt2bq5n+qEnPZKkP1bLT+f9r9g= + + + Modules/ZendeskProviderSDK.swiftmodule/i386.swiftmodule + + hash + + yg+e5xQ6XUrR7u6OjvgOD2UcJSM= + + hash2 + + h92Z37GytNs1xn0A7aRcVpweE36vZG6C0sDa+f69fo8= + + + Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftdoc + + hash + + +C7TJON81BK5cufhi9xbpiT63kg= + + hash2 + + aVs4Yvt3UahrGPyhrIu4384OsH6yrvncku0FmTEcM7w= + + + Modules/ZendeskProviderSDK.swiftmodule/x86_64.swiftmodule + + hash + + huy5xVhY6SkVbmTWeIrlvcFPdHc= + + hash2 + + Z8QoOKYhROe/WrHIJgelqfW3dUoLdGFEVZLFOaiQdk8= + + + Modules/module.modulemap + + hash + + 9VXMbF9CTqHost5CRFyCcM6ErQA= + + hash2 + + t81kr2htUGIn0iqakHC0e2XyElsKDOjgvA39iTF/YS0= + + + PrivateHeaders/ZDKTicketFormUtilities.h + + hash + + MVwCRHZnvxvDaELeHnVO1ka2bq8= + + hash2 + + rUxlKz0rbtXeIjhjTqMqeLx6ra93WrNFOecZIRElUAY= + + + ZendeskSDKStrings.bundle/Info.plist + + hash + + 1yfsExaxEoQgnJA1DNXKveqTkro= + + hash2 + + Tux1w1+UVNjiEXQaUNOXj3lHRngmgBRsGMFxh0D5bL8= + + + ZendeskSDKStrings.bundle/_CodeSignature/CodeDirectory + + hash + + QRzjuH2iXeBjXNKRlLCv4mqlh2w= + + hash2 + + WfS+KQxoW5FuvS5UqkXx5MdDZSmDjHzQOzH6VCuC1fo= + + + ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements + + hash + + OnX22wWFKRSOFN1+obRynMCeyXM= + + hash2 + + mHkgkE6rZQ51eIwFSqCwUk5qgL/HGqMt+NI3phdD+YY= + + + ZendeskSDKStrings.bundle/_CodeSignature/CodeRequirements-1 + + hash + + vnY9i0084eiAl9wKcrFDMR6ikFw= + + hash2 + + JR2Q4+OkqiwMkJ03n9BsVbRnMRXYz9401rkbz/MqbbY= + + + ZendeskSDKStrings.bundle/_CodeSignature/CodeResources + + hash + + n7Y0hriB4mHYDoail3l+h+pIAVQ= + + hash2 + + jBVbPWpyzw0q33d0U0wleSxo9OjJc8hbkvUiDHbxcVI= + + + ZendeskSDKStrings.bundle/_CodeSignature/CodeSignature + + hash + + 2jmj7l5rSw0yVb/vlWAYkK/YBwk= + + hash2 + + 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU= + + + ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings + + hash + + uN/IrDVSbCoewa20+NsPr2bZ8LQ= + + hash2 + + kCqt7fo87wmDoxAQK+OBIAqaCqZivuP/FXRORaeEkhU= + + optional + + + ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings + + hash + + TT+1vu5gZxU2T4UTCHOwra1gEpQ= + + hash2 + + iutUD3Hvb8uOchja6MEyBMBSDF/PgJFvyIQjsUgKSkQ= + + optional + + + ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings + + hash + + osPcusHylaG6I2RN4yBygr0Dw1E= + + hash2 + + AMRxZOuhsYzMcWPMjTm6oTvsRlEfa+cmeNbkBNJlbXM= + + optional + + + ZendeskSDKStrings.bundle/da.lproj/Localizable.strings + + hash + + D3dWJbPRs2JTfXLhstgCf9Ki1D0= + + hash2 + + Avn0LQIOtO+bcd3mDovYP5nK6lPZDfSom14+MaEcwLQ= + + optional + + + ZendeskSDKStrings.bundle/de.lproj/Localizable.strings + + hash + + q6DPHG1beYyIWZ4GvTkBrYlxPWo= + + hash2 + + pk0jeXWJ8DfzkIUnp/uqUpdw2jz8v4b8DeI8lAvPlbU= + + optional + + + ZendeskSDKStrings.bundle/el.lproj/Localizable.strings + + hash + + sgy3XnueQ125j0VrYPOEhp2JQDg= + + hash2 + + 8I0tr4T6HxvbDBPwBAhPD2MLVF3Sx5SVa2mGKmmRgCI= + + optional + + + ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + hash2 + + Cj2uuq0dNZUutgA3iFlPvY0kEDQd5cVb/JqVtXbENwc= + + optional + + + ZendeskSDKStrings.bundle/en.lproj/Localizable.strings + + hash + + wTovWhm69xorYaG3k4cUVqo9rN8= + + hash2 + + Cj2uuq0dNZUutgA3iFlPvY0kEDQd5cVb/JqVtXbENwc= + + optional + + + ZendeskSDKStrings.bundle/es.lproj/Localizable.strings + + hash + + GfCVAirVpy9HAjexNn/opUgd93w= + + hash2 + + nL5qPJvIuOUBT4dHhfzqVyerM4GcVgcvjCxCjcLSYMU= + + optional + + + ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings + + hash + + aULqQSaMj1IzeG/KVlveNCLrGaE= + + hash2 + + r3jRGPk5ZFJ2sTbOJ1eth5TRqw5Buyc3gC0Q36ar/zk= + + optional + + + ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings + + hash + + 6oePSUSqHCO+ol/a2VShNwcR7Pc= + + hash2 + + IaBLeg7zkG0cI6PVSQLMwHWnOwoqa9jQfKVVaDcCc/w= + + optional + + + ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings + + hash + + n0Ul+Dgl74iFRxlPo9d08p8KrHg= + + hash2 + + JqSA9ndlPB7O0OUDHsdIi8Ywqk0Lqq2VnBT9q/Yy6hQ= + + optional + + + ZendeskSDKStrings.bundle/he.lproj/Localizable.strings + + hash + + d6Q53H6Paz8EfOQdCtCaWxsXQ/8= + + hash2 + + ppSea0ASEpLr7d200okRQmrdT1o573Irmw0HfPkt6zY= + + optional + + + ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings + + hash + + 715KOTDfKYQMAK8JrXF9KLhMusI= + + hash2 + + JpnKFJSk24UaA82I5PhEI3dFAulOzdqMQuEhl7ugf+Y= + + optional + + + ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings + + hash + + zyNhb2W6vNCWkqmyBNUfwXhxHQo= + + hash2 + + 75OwC1zDAfGxIejNk8mfDLk+WOLcB4ozFRMtw6pEUio= + + optional + + + ZendeskSDKStrings.bundle/id.lproj/Localizable.strings + + hash + + cP9qm7wXc9EGndNFxtylxg9Z/ys= + + hash2 + + ezRC4vUisheVr1SvhGBu2QjYXOoJbjXebZINwYNqV0U= + + optional + + + ZendeskSDKStrings.bundle/it.lproj/Localizable.strings + + hash + + twN1x7YnIAfnQSywcS2uWdRnyQg= + + hash2 + + EvKQM287VYCwN1ya6ysdFuwF2dFVm+KfZd4qaZS15wg= + + optional + + + ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings + + hash + + CSZqLb1TterhEOyiQBrwI/kX3EU= + + hash2 + + Aa/UmPyxj3XJAhsRl4nrGgtiRZqtKjhFVYq2yg2mrOs= + + optional + + + ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings + + hash + + Sj/mDxVDdOxbZ+CRJ0JnbAsPgc4= + + hash2 + + oJifq9dlnILHT+MDGPSFW7eTqAegFjPzpPAxscYKDvY= + + optional + + + ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings + + hash + + 4gbore6DDebXbGhR1sjKZcYZ+zE= + + hash2 + + dR406t3RDAaje7vcqGyf/jb1/qS8N2Nel1a0CKfr3jQ= + + optional + + + ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings + + hash + + Us7uc/ChAesIg4ZMR/Pe8ul1BEc= + + hash2 + + PQwnMwmxUbqJLpba4HlvSzkTLXK1NPJlljxPwi+M0W4= + + optional + + + ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings + + hash + + uCMy52DK5fbexne5JN20XTJQrsc= + + hash2 + + XuKtW5SB82t6npQEx3dLADH9/2/3qn4ZovDvw2XZELg= + + optional + + + ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings + + hash + + ostb4bw+10iPXA26DkiTnUJ6Xpg= + + hash2 + + v2QqrFqmk4C9aAm9ZuOBOvDE3PMBMWzH5GnmlucE+XA= + + optional + + + ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + hash2 + + hNws7HaA/2vxmDcAFTssXZCG5iF80Zz34Q85P4Qvc0U= + + optional + + + ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings + + hash + + FUeDYuBruidd2EQaMF7VWqafy0Q= + + hash2 + + hNws7HaA/2vxmDcAFTssXZCG5iF80Zz34Q85P4Qvc0U= + + optional + + + ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings + + hash + + y+hcg+nnxhZJ0ZNMSfxbPe7DMYo= + + hash2 + + 7C5rBLXHAdd8Nsu0hxX1X0qxZxFalZH4mBJ3ZfNCfn0= + + optional + + + ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings + + hash + + r3AAGRnP5dM8YXLEb6G+BP3zkhQ= + + hash2 + + MrfMjR+1DqRkdPmMfIOd161qHXCowhsielhv4uFsEmQ= + + optional + + + ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings + + hash + + 6/j43Ig4hJan7dIHGdVBXt9LfA8= + + hash2 + + 7vsLInt/kmddlDML4GHRMeziFGdzQE7E/HtSArHBKxE= + + optional + + + ZendeskSDKStrings.bundle/th.lproj/Localizable.strings + + hash + + TYH29CogIQJhwER3fIGsA1iFx9E= + + hash2 + + bca5+j5NPdQxEvBJ6ejJNknv1q8FZ+g+aEiwJyaCadU= + + optional + + + ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings + + hash + + dnzolSydPVNijQp5J2yzEzsiSac= + + hash2 + + nCgc4I25gMuMQ/uJ7u3actVIHzQkm1N7WT84gy43Xz0= + + optional + + + ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings + + hash + + ZpIt9Ec01pYWfSlSLkzbNpHCi8o= + + hash2 + + gShlteHxyrOO8sNsZ076oKcYMFApd6+bj2psrlmTph4= + + optional + + + ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings + + hash + + C6mVomx2EKm/5LRYY/HYqQ3i03w= + + hash2 + + AFgCLhSybeaS7sL4fXfpr2p+Vc6RqtbXNEv0n1/RY/U= + + optional + + + ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings + + hash + + wTIw0IusNcidkltuIiXMXP0gBsU= + + hash2 + + sVSpYJjGdeVx7Pg+T7FZ/wsehdDS+gBepvu7z7NUiTg= + + optional + + + + rules + + ^ + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^ + + weight + 20 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Assets.car b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Assets.car new file mode 100644 index 00000000..a883a832 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Assets.car differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/AwesomeImagePicker.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/AwesomeImagePicker.nib/objects-11.0+.nib new file mode 100644 index 00000000..be7db337 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/AwesomeImagePicker.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/AwesomeImagePicker.nib/runtime.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/AwesomeImagePicker.nib/runtime.nib new file mode 100644 index 00000000..dd376b38 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/AwesomeImagePicker.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/CameraCell.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/CameraCell.nib new file mode 100644 index 00000000..71323b7d Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/CameraCell.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/CreateRequest.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/CreateRequest.nib/objects-11.0+.nib new file mode 100644 index 00000000..be81ead5 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/CreateRequest.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/CreateRequest.nib/runtime.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/CreateRequest.nib/runtime.nib new file mode 100644 index 00000000..34cb375e Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/CreateRequest.nib/runtime.nib differ diff --git a/ZendeskSDK.framework/Headers/ZDKCreateRequestUIDelegate.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKCreateRequestUIDelegate.h similarity index 100% rename from ZendeskSDK.framework/Headers/ZDKCreateRequestUIDelegate.h rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKCreateRequestUIDelegate.h diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUITextViewDelegate.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterArticleRatingHandlerProtocol.h similarity index 51% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUITextViewDelegate.h rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterArticleRatingHandlerProtocol.h index 46d86d59..384eab07 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUITextViewDelegate.h +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterArticleRatingHandlerProtocol.h @@ -1,9 +1,9 @@ /* * - * ZDKUITextViewDelegate.h + * ZDKHelpCenterArticleRatingHandlerProtocol.h * ZendeskSDK * - * Created by Zendesk on 09/05/2014. + * Created by Zendesk on 24/09/2014. * * Copyright (c) 2014 Zendesk. All rights reserved. * @@ -14,14 +14,20 @@ * */ -#import -@class ZDKUITextView; +@class ZDKHelpCenterArticleRatingView, ZDKHelpCenterProvider; -@protocol ZDKUITextViewDelegate +@protocol ZDKHelpCenterArticleRatingStateProtocol -- (void) caretPosition:(CGRect)caret; +- (void)updateButtonStatesForButtonAtIndexSelected:(NSUInteger)index; -@optional -- (void) updateTextViewLayout:(ZDKUITextView*)textView; +@end + +@protocol ZDKHelpCenterArticleRatingHandlerProtocol + +- (NSInteger) currentArticleVote; + +- (void) articleRatingVoteSelected:(id)ratingState atIndex:(NSInteger)index; @end + + diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h similarity index 92% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h index d9a18a7b..3ce112f0 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterAttachmentsDataSource.h @@ -28,13 +28,13 @@ /** * Initializes a data source with a cell identifier, configuration block and a provider. * - * @since 0.9.3.1 + * @since 2.0.0 * * @param articleId The articleId passed as a String, the article to which attachments will be fetched. * * @return A new instance. */ -- (instancetype) initWithArticleId:(NSString *)articleId ; +- (instancetype) initWithArticleId:(NSNumber *)articleId ; @end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h similarity index 81% rename from SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h index 143513b9..f0c17a47 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskProviderSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterConversationsUIDelegate.h @@ -15,38 +15,18 @@ */ #import - - -/** - * Enum to describe the types of nav bar button that display conversations. - */ -typedef NS_ENUM(NSUInteger, ZDKNavBarConversationsUIType) { - /** - * Nav bar button with localized label for conversations. - */ - ZDKNavBarConversationsUITypeLocalizedLabel, - /** - * Nav bar button with image for conversations. - */ - ZDKNavBarConversationsUITypeImage, - /** - * No conversations nav bar in Help Center. - */ - ZDKNavBarConversationsUITypeNone, -}; - +#import /** Used to select where conversations nav bar button will be active. - - - ZDKContactUsVisibilityOff: The contact us nav bar button is not visible anywhere. - - ZDKContactUsVisibilityArticleListOnly: The contact us nav bar button is only visible in the article list. - ZDKContactUsVisibilityArticleListAndArticle: The contact us nav bar button is visible in the article list and the article view. + - ZDKContactUsVisibilityArticleListOnly: The contact us nav bar button is only visible in the article list. + - ZDKContactUsVisibilityOff: The contact us nav bar button is not visible anywhere. */ typedef NS_ENUM(NSUInteger, ZDKContactUsVisibility) { - ZDKContactUsVisibilityOff, - ZDKContactUsVisibilityArticleListOnly, ZDKContactUsVisibilityArticleListAndArticle, + ZDKContactUsVisibilityArticleListOnly, + ZDKContactUsVisibilityOff, }; @protocol ZDKHelpCenterConversationsUIDelegate @@ -67,7 +47,6 @@ typedef NS_ENUM(NSUInteger, ZDKContactUsVisibility) { */ - (UIImage *) conversationsBarButtonImage; - /** * Determines where the coversations nav bar button will be displayed. * @@ -84,6 +63,11 @@ typedef NS_ENUM(NSUInteger, ZDKContactUsVisibility) { */ - (NSString *) conversationsBarButtonLocalizedLabel; +@end + +@protocol ZDKHelpCenterDelegate +@property (nonatomic, weak) id uiDelegate; @end + diff --git a/ZendeskSDK.framework/Headers/ZDKHelpCenterDataSource.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterDataSource.h similarity index 100% rename from ZendeskSDK.framework/Headers/ZDKHelpCenterDataSource.h rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterDataSource.h diff --git a/ZendeskSDK.framework/Headers/ZDKHelpCenterErrorCodes.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterErrorCodes.h similarity index 100% rename from ZendeskSDK.framework/Headers/ZDKHelpCenterErrorCodes.h rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterErrorCodes.h diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterUi.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterUi.h new file mode 100644 index 00000000..a6b6c0c9 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKHelpCenterUi.h @@ -0,0 +1,89 @@ +/* + * + * ZDKHelpCenterUi.h + * ZendeskSDK + * + * Created by Zendesk on 15/03/2018. + * + * Copyright (c) 2018 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master + * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License + * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + + +@import UIKit; + +#import "ZDKHelpCenterConversationsUIDelegate.h" + +@class ZDKHelpCenterArticle; +@protocol ZDKUiConfiguration; + +NS_ASSUME_NONNULL_BEGIN + + +@interface ZDKHelpCenterUi : NSObject + +/** + * Build the Help Center Overview view controller. Displays an overview of your HelpCenter + * + * @since 2.0.0 + */ ++ (UIViewController *) buildHelpCenterOverview; + +/** + * Build the Help Center Overview view controller with a list of ZDKUiConfigurations. + * + * @param configs A list of ZDKUiConfigurations. + * + * @since 2.0.0 + */ ++ (UIViewController *) buildHelpCenterOverviewWithConfigs:(NSArray *)configs; + + +/** + * Build the Help Center Article view controller. Displays a single article. + * + * @param article A ZDKHelpCenterArticle to display. + * + * @since 2.0.0 + */ ++ (UIViewController*) buildHelpCenterArticle:(ZDKHelpCenterArticle *)article; + +/** + * Build the Help Center Article view controller. Displays a single article. + * + * @param article A ZDKHelpCenterArticle to display. + * @param configs A list of ZDKUiConfigurations. + * + * @since 2.0.0 + */ ++ (UIViewController*) buildHelpCenterArticle:(ZDKHelpCenterArticle *)article + andConfigs:(NSArray *)configs; +/** + * Build the Help Center Article view controller. Displays a single article. + * + * @param articleId The ID of a Help Center article. This is fetched and displayed. + * + * @since 2.0.0 + */ ++ (UIViewController*) buildHelpCenterArticleWithArticleId:(NSInteger)articleId; + +/** + * Build the Help Center Article view controller. Displays a single article. + * + * @param articleId The ID of a Help Center article. This is fetched and displayed. + * @param configs A list of ZDKUiConfigurations. + * + * @since 2.0.0 + */ ++ (UIViewController*) buildHelpCenterArticleWithArticleId:(NSInteger)articleId + andConfigs:(NSArray *)configs; + + +@end + +NS_ASSUME_NONNULL_END diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKLayoutGuideApplicator.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKLayoutGuideApplicator.h new file mode 100644 index 00000000..164614da --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKLayoutGuideApplicator.h @@ -0,0 +1,57 @@ +/* + * + * ZDKLayoutGuideApplicator.h + * ZendeskSDK + * + * Created by Zendesk on 22/12/2015 + * + * Copyright (c) 2015 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master + * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License + * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + +#import + + +/** + * Layout guides positions to fix + */ +typedef NS_ENUM(NSUInteger, ZDKLayoutGuideApplicatorPosition) { + /** + * Fix the top guide layout position + */ + ZDKLayoutGuideApplicatorPositionTop, + /** + * Fix the bottom guide layout position + */ + ZDKLayoutGuideApplicatorPositionBottom, +}; + + +NS_ASSUME_NONNULL_BEGIN + +/** + This class tries to fix the layout spacing when using XIB instead of storyboard. + Since we cannot reference the top/bottom layout guids. This class fixes the top/bottom layout to be relative to the guides. + */ +@interface ZDKLayoutGuideApplicator : NSObject + +/** + * Creates an instance + * + * @param viewController the viewcontroller containing the view to fix the layout for + * @param topLevelView the view that is closest to the parent y origin. + * @param position positions to fix + */ +- (instancetype)initWithViewController:(UIViewController *)viewController + topLevelView:(UIView *)topLevelView + layoutPosition:(ZDKLayoutGuideApplicatorPosition)position NS_DESIGNATED_INITIALIZER; + +- (instancetype )init NS_UNAVAILABLE; + +@end +NS_ASSUME_NONNULL_END diff --git a/ZendeskSDK.framework/Headers/ZDKSpinnerDelegate.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKSpinnerDelegate.h similarity index 100% rename from ZendeskSDK.framework/Headers/ZDKSpinnerDelegate.h rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKSpinnerDelegate.h diff --git a/ZendeskSDK.framework/Headers/ZDKSupportAttachmentCell.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKSupportAttachmentCell.h similarity index 100% rename from ZendeskSDK.framework/Headers/ZDKSupportAttachmentCell.h rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKSupportAttachmentCell.h diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKToastViewWrapper.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKToastViewWrapper.h new file mode 100644 index 00000000..9d534ac5 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKToastViewWrapper.h @@ -0,0 +1,40 @@ +/* + * + * ZDKToastViewWrapper.h + * ZendeskSDK + * + * Created by Zendesk on 22/12/2015 + * + * Copyright (c) 2015 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master + * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License + * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + +#import + + +@interface ZDKToastViewWrapper : UIView + +@property (nonatomic, readonly) BOOL isVisible; + +- (void)showErrorInViewController:(UIViewController*)viewController + withMessage:(NSString*)message; + +- (void)showErrorInViewController:(UIViewController*)viewController + withMessage:(NSString*)message + duration:(CGFloat)duration; + +- (void)showErrorInViewController:(UIViewController*)viewController + withMessage:(NSString*)message + buttonTitle:(NSString*)buttonTitle + action:(void (^)(void))action; + +- (void)dismiss; + +- (void)hideToastView:(BOOL)hide; + +@end diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIUtil.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKUIUtil.h similarity index 97% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIUtil.h rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKUIUtil.h index 8060d930..1eb6df72 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/ZDKUIUtil.h +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZDKUIUtil.h @@ -149,12 +149,12 @@ * @param viewController ViewController to check to enable attachments * * - * @return Returns YES if attchments should be enabled. The app must + * @return Returns YES if attchments should be enabled. This is a combination of server config and if the app * supports portrait orientation, as UIImagePicker will crash if it cannot rotate into portrait * * @since 1.5.4.1 */ -+ (BOOL) appSupportsPortrait:(UIViewController *)viewController; ++ (BOOL) shouldEnableAttachments:(UIViewController *)viewController; diff --git a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/Zendesk.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZendeskFabric.h similarity index 80% rename from SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/Zendesk.h rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZendeskFabric.h index ac6270d0..31a3cf66 100644 --- a/SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Headers/Zendesk.h +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZendeskFabric.h @@ -3,9 +3,9 @@ * Zendesk.h * ZendeskSDK * - * Created by Zendesk on 12/01/2017. + * Created by Zendesk on 07/03/2018. * - * Copyright (c) 2017 Zendesk. All rights reserved. + * Copyright (c) 2018 Zendesk. All rights reserved. * * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License @@ -16,6 +16,6 @@ #import -@interface Zendesk : NSObject +@interface ZendeskFabric : NSObject @end diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZendeskSDK-Swift.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZendeskSDK-Swift.h new file mode 100644 index 00000000..4b735c84 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZendeskSDK-Swift.h @@ -0,0 +1,468 @@ +// Generated by Apple Swift version 4.0 (swiftlang-900.0.65 clang-900.0.37) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_attribute(external_source_symbol) +# define SWIFT_STRINGIFY(str) #str +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) _Pragma(SWIFT_STRINGIFY(clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in=module_name, generated_declaration))), apply_to=any(function, enum, objc_interface, objc_category, objc_protocol)))) +# define SWIFT_MODULE_NAMESPACE_POP _Pragma("clang attribute pop") +#else +# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) +# define SWIFT_MODULE_NAMESPACE_POP +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) || __cplusplus < 201103L +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open))) +# else +# define SWIFT_ENUM_ATTR +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if __has_feature(modules) +@import AVFoundation; +@import ObjectiveC; +@import ZendeskProviderSDK; +@import Foundation; +@import UIKit; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +SWIFT_MODULE_NAMESPACE_PUSH("ZendeskSDK") + + + + + + +/// Enum that represents the file types that zendesk supports +typedef SWIFT_ENUM_NAMED(NSInteger, ZDKFileType, "FileType") { + ZDKFileTypePng = 0, + ZDKFileTypeJpg = 1, + ZDKFileTypePdf = 2, + ZDKFileTypePlain = 3, + ZDKFileTypeWord = 4, + ZDKFileTypeExcel = 5, + ZDKFileTypePowerpoint = 6, + ZDKFileTypePowerpointX = 7, + ZDKFileTypeKeynote = 8, + ZDKFileTypePages = 9, + ZDKFileTypeNumbers = 10, + ZDKFileTypeBinary = 11, +}; + +@protocol ZDKHelpCenterArticleRatingStateProtocol; + +SWIFT_CLASS("_TtC10ZendeskSDK30HelpCenterArticleVotingHandler") +@interface HelpCenterArticleVotingHandler : NSObject +- (nonnull instancetype)initWithArticleId:(NSInteger)articleId andLocale:(NSString * _Nonnull)locale; +- (void)articleRatingVoteSelected:(id _Nonnull)ratingState atIndex:(NSInteger)index; +- (NSInteger)currentArticleVote SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + +/// Configuration for a screen of the SDK +SWIFT_PROTOCOL_NAMED("UiConfiguration") +@protocol ZDKUiConfiguration +- (nonnull instancetype)init; +@end + +@class ZDKHelpCenterOverviewContentModel; + +/// Data class used to configure Help Center +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("HelpCenterUiConfiguration") +@interface ZDKHelpCenterUiConfiguration : NSObject +/// A list of labels to which must be present for an article to show up in the list. +/// The labels combined with AND +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSArray * _Nonnull labels; +/// The type of ids being used. +/// version: +/// 2.0.0 +@property (nonatomic) ZDKHelpCenterOverviewGroupType groupType; +/// Hide the Contact Support button that is displayed upon an empty search in Help Center +/// version: +/// 2.0.0 +@property (nonatomic) BOOL hideContactSupport; +/// A list of ids. Only show articles contained in the categories/sections. +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSArray * _Nonnull groupIds; +@property (nonatomic, readonly, strong) ZDKHelpCenterOverviewContentModel * _Nonnull overviewContentModel; +/// Returns a default model. To customize the content, update properties on a default model. +/// @return A default content model. +/// version: +/// 2.0.0 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + +/// Creates an attachment to be uploaded when a request is created +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("RequestAttachment") +@interface ZDKRequestAttachment : NSObject +/// Name of the file to be uploaded +/// version: +/// 2.0.0 +@property (nonatomic, readonly, copy) NSString * _Nonnull filename; +/// Data of the file contents to be uploaded +/// version: +/// 2.0.0 +@property (nonatomic, readonly, copy) NSData * _Nonnull data; +/// Type of the file to be uploaded +/// version: +/// 2.0.0 +@property (nonatomic, readonly) enum ZDKFileType fileType; +/// Generates a new state from the old state and an action +/// version: +/// 2.0.0 +/// \param filename the name of the file to be uploaded, without the file extension +/// +/// \param data the data of the contents of the file to be uploaded +/// +/// \param fileType the type of the file to be uploaded +/// +/// +/// returns: +/// an instance of RequestAttachment +- (nonnull instancetype)initWithFilename:(NSString * _Nonnull)filename data:(NSData * _Nonnull)data fileType:(enum ZDKFileType)fileType OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + +@class UIViewController; + +/// Used to build view controller for ticketing. The returned objects must be presented inside a UINavigationController. The containing navigation controller can be presented any way you see fit. +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("RequestUi") +@interface ZDKRequestUi : NSObject +/// Build the Request List. This is a list of a users tickets. +/// Conversations must be enabled in your Zendesk SDK admin settings. Conversations are not available on Essential. +/// version: +/// 2.0.0 ++ (UIViewController * _Nonnull)buildRequestList SWIFT_WARN_UNUSED_RESULT; +/// Build the Request List with a list of UiConfigurations. +/// Conversations must be enabled in your Zendesk SDK admin settings. Conversations are not available on Essential. +/// version: +/// 2.0.0 +/// \param configurations A list of UiConfiguration objects. You do not need to configure the controller being presented. +/// ++ (UIViewController * _Nonnull)buildRequestListWith:(NSArray> * _Nonnull)configurations SWIFT_WARN_UNUSED_RESULT; +/// Build the Request Ui. This allows users to create and respond to individual tickets. +/// version: +/// 2.0.0 ++ (UIViewController * _Nonnull)buildRequestUi SWIFT_WARN_UNUSED_RESULT; +/// Build the Request Ui with a list of UiConfigurations. +/// version: +/// 2.0.0 +/// \param configurations A list of UiConfiguration objects. You do not need to configure the controller being presented. +/// ++ (UIViewController * _Nonnull)buildRequestUiWith:(NSArray> * _Nonnull)configurations SWIFT_WARN_UNUSED_RESULT; +/// Build the Request Ui. This allows users to create and respond to individual tickets. +/// version: +/// 2.0.0 +/// \param requestId The ID of the ticket to display. +/// ++ (UIViewController * _Nonnull)buildRequestUiWithRequestId:(NSString * _Nonnull)requestId SWIFT_WARN_UNUSED_RESULT; +/// Build the Request Ui with a list of UiConfigurations. +/// version: +/// 2.0.0 +/// \param requestId The ID of the ticket to display. +/// +/// \param configurations A list of UiConfiguration objects. You do not need to configure the controller being presented. +/// ++ (UIViewController * _Nonnull)buildRequestUiWithRequestId:(NSString * _Nonnull)requestId configurations:(NSArray> * _Nonnull)configurations SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class ZDKCustomField; +@class NSNumber; + +/// Data class used to configure Ticketing +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("RequestUiConfiguration") +@interface ZDKRequestUiConfiguration : NSObject +/// The Subject of any tickets created +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSString * _Nonnull subject; +/// Tags set in any created tickets +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSArray * _Nonnull tags; +/// Custom Fields set in any created tickets +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSArray * _Nonnull fields; +/// The ticket form of any created tickets. +/// If this property is set fields must also be set. Any ticket fields set will be associated with tickerFormID. +/// version: +/// 2.0.0 +@property (nonatomic, strong) NSNumber * _Nullable ticketFormID; +/// A list of RequestAttachments sent with any created tickets. +/// Note: These files are treated as any other. They will be displayed in the UI +/// and the user will be able to remove them. +/// version: +/// 2.0.0 +@property (nonatomic, copy) NSArray * _Nonnull fileAttachments; +/// Returns a default model. To customisze the content, update properties on a default model. +/// version: +/// 2.0.0 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Used to enable Suas logging. +/// Suas drives most of the Ticketing UI so the Suas logs can be useful for debugging it. +/// Enabling the Suas logger produces a lot of information and will slow down the SDK. +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("SuasDebugLogger") +@interface ZDKSuasDebugLogger : NSObject +/// Toggle the Suas debug logging +/// version: +/// 2.0.0 +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL enabled;) ++ (BOOL)enabled SWIFT_WARN_UNUSED_RESULT; ++ (void)setEnabled:(BOOL)newValue; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class UIColor; + +/// Used to style the SDK. +/// Set the currentTheme.primaryColor to style the UI. +/// version: +/// 2.0.0 +SWIFT_CLASS_NAMED("Theme") +@interface ZDKTheme : NSObject +/// The theme currently applied to the SDK. +/// version: +/// 2.0.0 +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZDKTheme * _Nonnull currentTheme;) ++ (ZDKTheme * _Nonnull)currentTheme SWIFT_WARN_UNUSED_RESULT; +/// The primary color of the SDK. +/// This is applied as a tint to various UI components +/// version: +/// 2.0.0 +@property (nonatomic, strong) UIColor * _Nonnull primaryColor; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + + + + + + + + + + + + + + + + + + + + + + + + + + + +SWIFT_CLASS("_TtC10ZendeskSDK12ZDKConstants") +@interface ZDKConstants : NSObject ++ (UIColor * _Nonnull)colorForToast SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + +/// This class is just a workaround and it should be removed when core provides a way to access the action registry from objective c +SWIFT_CLASS("_TtC10ZendeskSDK17ZendeskWrapperUIX") +@interface ZendeskWrapperUIX : NSObject ++ (void)setupActionHandlers; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +SWIFT_MODULE_NAMESPACE_POP +#pragma clang diagnostic pop diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZendeskSDK.h b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZendeskSDK.h new file mode 100644 index 00000000..88258698 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Headers/ZendeskSDK.h @@ -0,0 +1,43 @@ +/* + * + * ZendeskSDK.h + * ZendeskSDK + * + * Created by Zendesk on 03/22/2018 + * + * Copyright (c) 2018 Zendesk. All rights reserved. + * + * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master + * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License + * Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and + * acknowledge that such terms govern Your use of and access to the Mobile SDK. + * + */ + +#import + +#ifndef ZendeskSDK_h +#define ZendeskSDK_h + + +#import "ZDKCreateRequestUIDelegate.h" +#import "ZDKHelpCenterArticleRatingHandlerProtocol.h" +#import "ZDKHelpCenterAttachmentsDataSource.h" +#import "ZDKHelpCenterConversationsUIDelegate.h" +#import "ZDKHelpCenterDataSource.h" +#import "ZDKHelpCenterErrorCodes.h" +#import "ZDKHelpCenterUi.h" +#import "ZDKLayoutGuideApplicator.h" +#import "ZDKSpinnerDelegate.h" +#import "ZDKSupportAttachmentCell.h" +#import "ZDKToastViewWrapper.h" +#import "ZDKUIUtil.h" +#import "ZendeskFabric.h" + +#if MODULES_DISABLED +#import +#else +@import ZendeskProviderSDK; +#endif + +#endif diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ImageCell.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ImageCell.nib new file mode 100644 index 00000000..8552558c Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ImageCell.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Info.plist b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Info.plist new file mode 100644 index 00000000..cb7c92a4 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Info.plist differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/InputFileCell.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/InputFileCell.nib new file mode 100644 index 00000000..a0e388d8 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/InputFileCell.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/InputImageCell.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/InputImageCell.nib new file mode 100644 index 00000000..911f0c24 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/InputImageCell.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ModelIdentifier.plist b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ModelIdentifier.plist new file mode 100644 index 00000000..52f3e0b8 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ModelIdentifier.plist differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftdoc new file mode 100644 index 00000000..6064b1bf Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftmodule new file mode 100644 index 00000000..75ae4530 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftdoc new file mode 100644 index 00000000..a898f31c Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftmodule new file mode 100644 index 00000000..e0383a49 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/arm64.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftdoc new file mode 100644 index 00000000..36081933 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftmodule new file mode 100644 index 00000000..d47a0d88 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/i386.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftdoc b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftdoc new file mode 100644 index 00000000..0f93c857 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftdoc differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftmodule b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftmodule new file mode 100644 index 00000000..f346c739 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/ZendeskSDK.swiftmodule/x86_64.swiftmodule differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/module.modulemap b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/module.modulemap new file mode 100644 index 00000000..b2d7c2af --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module ZendeskSDK { + umbrella header "ZendeskSDK.h" + + export * + module * { export * } +} + +module ZendeskSDK.Swift { + header "ZendeskSDK-Swift.h" + requires objc +} diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestController.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestController.nib/objects-11.0+.nib new file mode 100644 index 00000000..8abf33c8 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestController.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestController.nib/runtime.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestController.nib/runtime.nib new file mode 100644 index 00000000..b16ac951 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestController.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestListTableViewCell.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestListTableViewCell.nib new file mode 100644 index 00000000..64039950 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestListTableViewCell.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestListViewController.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestListViewController.nib/objects-11.0+.nib new file mode 100644 index 00000000..63715e58 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestListViewController.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestListViewController.nib/runtime.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestListViewController.nib/runtime.nib new file mode 100644 index 00000000..9d4c7e4b Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/RequestListViewController.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/SidebarCell.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/SidebarCell.nib new file mode 100644 index 00000000..db0a6d3a Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/SidebarCell.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib new file mode 100644 index 00000000..46a76c2a Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/runtime.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/runtime.nib new file mode 100644 index 00000000..294ada16 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterArticleRatingView.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib new file mode 100644 index 00000000..315dcf05 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib new file mode 100644 index 00000000..a7f8d7c0 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewController.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewController.nib new file mode 100644 index 00000000..59c115ba Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewController.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewFooterView.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewFooterView.nib new file mode 100644 index 00000000..b820b9c7 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewFooterView.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib new file mode 100644 index 00000000..c5880e86 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib new file mode 100644 index 00000000..edfc24cd Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewHeaderView.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewLoadingTableViewCell.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewLoadingTableViewCell.nib new file mode 100644 index 00000000..53957e28 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewLoadingTableViewCell.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib new file mode 100644 index 00000000..1f5b044e Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib new file mode 100644 index 00000000..9cf12ba5 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib new file mode 100644 index 00000000..c14862d1 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib new file mode 100644 index 00000000..4ce739f0 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSpacerTableViewCell.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSpacerTableViewCell.nib new file mode 100644 index 00000000..690f9c12 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterOverviewSpacerTableViewCell.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterSearchResultTableViewCell.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterSearchResultTableViewCell.nib new file mode 100644 index 00000000..b884dece Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterSearchResultTableViewCell.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterSearchResultViewController.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterSearchResultViewController.nib new file mode 100644 index 00000000..87642808 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZDKHelpCenterSearchResultViewController.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZendeskLogoView.nib/objects-11.0+.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZendeskLogoView.nib/objects-11.0+.nib new file mode 100644 index 00000000..5ea9f6fa Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZendeskLogoView.nib/objects-11.0+.nib differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZendeskLogoView.nib/runtime.nib b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZendeskLogoView.nib/runtime.nib new file mode 100644 index 00000000..ca8bda31 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZendeskLogoView.nib/runtime.nib differ diff --git a/ZendeskSDK.framework/ZendeskSDK b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZendeskSDK old mode 100644 new mode 100755 similarity index 64% rename from ZendeskSDK.framework/ZendeskSDK rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZendeskSDK index c7e8d53c..2564b566 Binary files a/ZendeskSDK.framework/ZendeskSDK and b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ZendeskSDK differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/_CodeSignature/CodeResources b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/_CodeSignature/CodeResources new file mode 100644 index 00000000..665571d3 --- /dev/null +++ b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/_CodeSignature/CodeResources @@ -0,0 +1,1126 @@ + + + + + files + + Assets.car + + DRbYnAbQh1sM2BcRP6N0QvnPZZY= + + AwesomeImagePicker.nib/objects-11.0+.nib + + nOa8QGU54gPF8HQWMJIPeiaFTcI= + + AwesomeImagePicker.nib/runtime.nib + + TCo7Se2SNylzpOZb5BDNRJAba5U= + + CameraCell.nib + + RAzPlb2psl+u3NQbqRIcTIpZcPw= + + CreateRequest.nib/objects-11.0+.nib + + ml+xf0bVi3c8ykXLx+Q/qpaQyHQ= + + CreateRequest.nib/runtime.nib + + uwiIDCVd3qpTXPxHRbizPcX+sdo= + + Headers/ZDKCreateRequestUIDelegate.h + + nC5bnlnqzX8u0pvhy2u1KVWkkyY= + + Headers/ZDKHelpCenterArticleRatingHandlerProtocol.h + + Rl0lmhWsUitCr9zQFKSnZrh4x1M= + + Headers/ZDKHelpCenterAttachmentsDataSource.h + + EpkKx9g+vuWt/2G39Dc5fySdCvg= + + Headers/ZDKHelpCenterConversationsUIDelegate.h + + EqzOboei5LmYeMU3DnT4z/gBZEM= + + Headers/ZDKHelpCenterDataSource.h + + 4b5V+cGn4gztuXXPQ2mw8zlBjcM= + + Headers/ZDKHelpCenterErrorCodes.h + + U9BVtJ8Hl3+nbDGXrhvv7J1LW1I= + + Headers/ZDKHelpCenterUi.h + + erUli2ZfKL68/eNRsNz8Ri8xCx4= + + Headers/ZDKLayoutGuideApplicator.h + + 9oRICxjMsRQUe8XnGp0eEyXX+j0= + + Headers/ZDKSpinnerDelegate.h + + P5k3iTOoL5oAZUn9r9A81KbKm3s= + + Headers/ZDKSupportAttachmentCell.h + + fj+MY0dOWXa/gBa800RiTI2vRKU= + + Headers/ZDKToastViewWrapper.h + + bV/Wc5GFJxeN+nOvaufkO8Ar7Zg= + + Headers/ZDKUIUtil.h + + r7T0c/EQZYQ5sCoTKcizvzUnVvw= + + Headers/ZendeskFabric.h + + lksxG8AopOI767IrUXfPAcPNYBM= + + Headers/ZendeskSDK-Swift.h + + 59S5GmBL+1B1RlNJP5gULO3ACnk= + + Headers/ZendeskSDK.h + + b5mrgD1r9oV8I1UwfJf+WlDN3FU= + + ImageCell.nib + + Iv7ecdO7jXKdIBn3vFt0U4cGQj8= + + Info.plist + + l31F2LaBpVW2D8sSkL0cdYK9p7M= + + InputFileCell.nib + + lJyngvsUh4WXAoAqk/qNqyWN12o= + + InputImageCell.nib + + +wxgS4FZkh2Y7xxS9JpqXIstyic= + + ModelIdentifier.plist + + 3Y2SKkc08JmsRvxiiC0L0L6NCeY= + + Modules/ZendeskSDK.swiftmodule/i386.swiftdoc + + wpmY2RdXPhsVehlSUDZ4Uv2LQ9E= + + Modules/ZendeskSDK.swiftmodule/i386.swiftmodule + + ZLddDWXyOZty4eaMNJz3QDJOlM4= + + Modules/ZendeskSDK.swiftmodule/x86_64.swiftdoc + + 3T1zNgXWjkpZatYmj8PYmFQ9vtI= + + Modules/ZendeskSDK.swiftmodule/x86_64.swiftmodule + + KO+5DmeQCEKUeeMsKNVn168PV4I= + + Modules/module.modulemap + + /bgMCzwYw/VmxmGs9fVDOR7XW4E= + + RequestController.nib/objects-11.0+.nib + + JhZ/6j6Vy1qNJxwE+zt4s3lzI/w= + + RequestController.nib/runtime.nib + + 2EqXdcp8PcDrIr3p4NxjSXRAeG4= + + RequestListTableViewCell.nib + + 9pntPkHtpfrjwEwTHUNFKBBCKmw= + + RequestListViewController.nib/objects-11.0+.nib + + u3x/+u+M9KicFIIgzap5i+b2QAE= + + RequestListViewController.nib/runtime.nib + + wF5YGQxv+K6UQNCawGLmb529a4o= + + SidebarCell.nib + + 3ppNsM/ZN1fINL2ToWmVR8MDcxU= + + ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib + + ZZ6Dpkz9Gz20KDEVPvJJ4eJywjo= + + ZDKHelpCenterArticleRatingView.nib/runtime.nib + + IfN3nH9ZZoLaKjHEGmWEYbGt+WY= + + ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib + + oQSTLmBbh4zAJBLbtAS/DzFRaZs= + + ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib + + f2VdkKS3h6ZavPeVgQnFdFwSqmI= + + ZDKHelpCenterOverviewController.nib + + 0WxlhPBVpxC6BHX/PfQp0Z4g69I= + + ZDKHelpCenterOverviewFooterView.nib + + aBuVamZAJasbwd2ry6vtq4Xia2w= + + ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib + + rA5A76S80H9AkkZFfG2hWjteTlA= + + ZDKHelpCenterOverviewHeaderView.nib/runtime.nib + + +9AC87b11JhZTi5aw7GK5tgPr5M= + + ZDKHelpCenterOverviewLoadingTableViewCell.nib + + gJYSHMq7zrytlhgWdWntoUkwBnM= + + ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib + + HSuspMIzLI+NwzWjW7tP1MAT99k= + + ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib + + WFSuTjrmCPTn/chVax1LIzYoDW4= + + ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib + + J10aPta4O+w7AYPwU+rK/PmAWJo= + + ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib + + SIcIF5jXKAY1HsXkLZ0Vc+6rLUs= + + ZDKHelpCenterOverviewSpacerTableViewCell.nib + + v9n09UtoPIo3OzB41UCtGLeAfXA= + + ZDKHelpCenterSearchResultTableViewCell.nib + + wG7Gny1MvEfZ51YNCShhRrvBMOQ= + + ZDKHelpCenterSearchResultViewController.nib + + 72cBqoKFdbK3qm1I0jVCtNOlHwg= + + ZendeskLogoView.nib/objects-11.0+.nib + + ENiq0MwxxsiQIuGIDSRWcddXsps= + + ZendeskLogoView.nib/runtime.nib + + 4M5RrVlqb46ypVW6ZJKu5AeYitk= + + help_center_article_style.css + + KXGMYMIyh6yTJ1QUbCt3gvEKM74= + + icoDown.png + + SBuT+PBdgCoC1upVejrhluN4eog= + + icoDown@2x.png + + QZBvc+XaIiFNPNnYGTn9z4i5To4= + + icoDown@3x.png + + uTylllD83viWYzAoOy3lpZ8rpkw= + + icoVoteDown.png + + uGTjk2yHYIKqKTMqwyM5O/JDIfM= + + icoVoteDown@2x.png + + V9FJ0EwuuQCESRmBj0kVuYuEVws= + + icoVoteDown@3x.png + + M+DAEAv7PLQXYnzRiEBhuKhqQ6o= + + icoVoteUp.png + + rMvk1cQdAa2at/mMwDXfqQFodpI= + + icoVoteUp@2x.png + + CYSPRmau2fHyPe2oB00x4ciXWmE= + + icoVoteUp@3x.png + + O5paoCkhrxE7epIVoRJhrZdMeGc= + + ico_newticket.png + + N5HroUPrAOvmsDbGUortxgAVP+A= + + ico_newticket@2x.png + + QWAzuT21nsQUG8QQyi9mPqnhBVQ= + + ico_newticket@3x.png + + u687L/wWYQSF4oga62JCP8sdjp0= + + + files2 + + Assets.car + + hash + + DRbYnAbQh1sM2BcRP6N0QvnPZZY= + + hash2 + + usVIvaEaZkPIoE9xFEXQFUT1HhF/Q0eL5KuHQ40j9D0= + + + AwesomeImagePicker.nib/objects-11.0+.nib + + hash + + nOa8QGU54gPF8HQWMJIPeiaFTcI= + + hash2 + + M8AF2azxFI/ENUkrQxMNKmD+tWcPHMvXyDavYWNJ/Yo= + + + AwesomeImagePicker.nib/runtime.nib + + hash + + TCo7Se2SNylzpOZb5BDNRJAba5U= + + hash2 + + JEQ4PHGZCiYfvesu94olRvcpw9b07/ZfXazgq7L8gtI= + + + CameraCell.nib + + hash + + RAzPlb2psl+u3NQbqRIcTIpZcPw= + + hash2 + + xnn612cN1Ek6TRCvcQAZEj2RLvlJNGBUdMG/VAVO5mg= + + + CreateRequest.nib/objects-11.0+.nib + + hash + + ml+xf0bVi3c8ykXLx+Q/qpaQyHQ= + + hash2 + + 7ie6eM5rNuQGzlMgsdz8xCnNc3k5Cs2eGOCNsDjWNng= + + + CreateRequest.nib/runtime.nib + + hash + + uwiIDCVd3qpTXPxHRbizPcX+sdo= + + hash2 + + 0NC922zjyimKohut2sdQQIzi0tiVwyrnXM8jFkoYw84= + + + Headers/ZDKCreateRequestUIDelegate.h + + hash + + nC5bnlnqzX8u0pvhy2u1KVWkkyY= + + hash2 + + EGfi/8cbW1cKoawWjjM81u6I6eD8H/MYdacWgW39PVQ= + + + Headers/ZDKHelpCenterArticleRatingHandlerProtocol.h + + hash + + Rl0lmhWsUitCr9zQFKSnZrh4x1M= + + hash2 + + 5XAQ09/NWKkQvOi6YXO9/DffO/dgGZjfjarwPNnx36I= + + + Headers/ZDKHelpCenterAttachmentsDataSource.h + + hash + + EpkKx9g+vuWt/2G39Dc5fySdCvg= + + hash2 + + LVbWWmb000JQdyVYweDByxYHuDNjmhB5N3rSM0Lkkt4= + + + Headers/ZDKHelpCenterConversationsUIDelegate.h + + hash + + EqzOboei5LmYeMU3DnT4z/gBZEM= + + hash2 + + oLWqBqBJIQaOeEx6NUwos2+XWguYPH7+ak65L5dLXA4= + + + Headers/ZDKHelpCenterDataSource.h + + hash + + 4b5V+cGn4gztuXXPQ2mw8zlBjcM= + + hash2 + + hpj1t0JIF95vVmBqX3oFf1sgll/4EiNSoQijc2sVX4k= + + + Headers/ZDKHelpCenterErrorCodes.h + + hash + + U9BVtJ8Hl3+nbDGXrhvv7J1LW1I= + + hash2 + + Dl0mmAa8tK36NwVRyQLcTfW//FWXEQGulcpSrUFL7RQ= + + + Headers/ZDKHelpCenterUi.h + + hash + + erUli2ZfKL68/eNRsNz8Ri8xCx4= + + hash2 + + f7YwMkiKu9IABoEen/BWCvWF5XWqmUwOrL9WHJr1ttY= + + + Headers/ZDKLayoutGuideApplicator.h + + hash + + 9oRICxjMsRQUe8XnGp0eEyXX+j0= + + hash2 + + SpqjP4brK0w6ff2cYC3H47Z0Ml0cZwCs2t467Eh2+LE= + + + Headers/ZDKSpinnerDelegate.h + + hash + + P5k3iTOoL5oAZUn9r9A81KbKm3s= + + hash2 + + JZzxIhPg6evqSZJvaSdJ1/eCi2nMUdOAe5/8QvYiJeQ= + + + Headers/ZDKSupportAttachmentCell.h + + hash + + fj+MY0dOWXa/gBa800RiTI2vRKU= + + hash2 + + /s66WmvqNbyA3E6w9Nxdpm1BwjkO3Pa1Q/7NNkqwZTI= + + + Headers/ZDKToastViewWrapper.h + + hash + + bV/Wc5GFJxeN+nOvaufkO8Ar7Zg= + + hash2 + + KnlTCgzD6eN+RkZIkeCsDI9c/5nV9lnfcHYoN2yFN6A= + + + Headers/ZDKUIUtil.h + + hash + + r7T0c/EQZYQ5sCoTKcizvzUnVvw= + + hash2 + + xic3bUsmy/IipB7fUZ4B7n8aSC5Vt9L3j9DuuBbIpnw= + + + Headers/ZendeskFabric.h + + hash + + lksxG8AopOI767IrUXfPAcPNYBM= + + hash2 + + l5SUOaHNGNfF8h455qvjFl7FbSIxzvVQsdTx52jHwxc= + + + Headers/ZendeskSDK-Swift.h + + hash + + 59S5GmBL+1B1RlNJP5gULO3ACnk= + + hash2 + + 3EKTWQWdOLW8P4XJ68AEWcSOkF+L+Ix3+U7PUaHD8IE= + + + Headers/ZendeskSDK.h + + hash + + b5mrgD1r9oV8I1UwfJf+WlDN3FU= + + hash2 + + 6HIxaQTrokAQNL6tL1xOiqZ1cVf2Rf1hZ3yazHLtBTc= + + + ImageCell.nib + + hash + + Iv7ecdO7jXKdIBn3vFt0U4cGQj8= + + hash2 + + imIGQ6mKDaAute2M7nFj75MR7qZoII4a2cea1h+FO7c= + + + InputFileCell.nib + + hash + + lJyngvsUh4WXAoAqk/qNqyWN12o= + + hash2 + + tRqfb1KeV2UDXUSPPhaj2s7lV6qRHaJo6NcOJqBF1UY= + + + InputImageCell.nib + + hash + + +wxgS4FZkh2Y7xxS9JpqXIstyic= + + hash2 + + PVqvpQp6WvaR9agKIp1CXjLQP6u9pghAT3Jyub/w8aQ= + + + ModelIdentifier.plist + + hash + + 3Y2SKkc08JmsRvxiiC0L0L6NCeY= + + hash2 + + GX0z+FdHKQ3TRACQtklLs/Ddwiw+wKnW1MNq4CB+LuI= + + + Modules/ZendeskSDK.swiftmodule/i386.swiftdoc + + hash + + wpmY2RdXPhsVehlSUDZ4Uv2LQ9E= + + hash2 + + ucusmIUXSXzA9doPgGgId3P+icFVPaW2XSeL2cdlecE= + + + Modules/ZendeskSDK.swiftmodule/i386.swiftmodule + + hash + + ZLddDWXyOZty4eaMNJz3QDJOlM4= + + hash2 + + 4jyKgx2uwSGr390dktLMoZFsOyyG3zBdtbVEk1ERKfU= + + + Modules/ZendeskSDK.swiftmodule/x86_64.swiftdoc + + hash + + 3T1zNgXWjkpZatYmj8PYmFQ9vtI= + + hash2 + + a80FKqVGxGdRiPVNrJeCO9lZjGKAlfcCE5jvrfFRn2g= + + + Modules/ZendeskSDK.swiftmodule/x86_64.swiftmodule + + hash + + KO+5DmeQCEKUeeMsKNVn168PV4I= + + hash2 + + leGbcCtF0UX3PmplAzBxq2hAr9uaNk7OyeZvSf0OQ0I= + + + Modules/module.modulemap + + hash + + /bgMCzwYw/VmxmGs9fVDOR7XW4E= + + hash2 + + nTF3DyWqIfyieeAAtmqH8uy6mdQeKG+VpaAumzhL2y4= + + + RequestController.nib/objects-11.0+.nib + + hash + + JhZ/6j6Vy1qNJxwE+zt4s3lzI/w= + + hash2 + + AwtHZOHsQPvvEPMMWh15wtGBmNioFeckty3ipU+rIX0= + + + RequestController.nib/runtime.nib + + hash + + 2EqXdcp8PcDrIr3p4NxjSXRAeG4= + + hash2 + + vFypC7cHwXszBOhnDFPrFamubmVt9/8oIOrycO9zct4= + + + RequestListTableViewCell.nib + + hash + + 9pntPkHtpfrjwEwTHUNFKBBCKmw= + + hash2 + + gFnU/CpyPvU2z1DBKpgjLFpT5PQiuJAlMpsxHpFLGkg= + + + RequestListViewController.nib/objects-11.0+.nib + + hash + + u3x/+u+M9KicFIIgzap5i+b2QAE= + + hash2 + + yIbnca8XInj1ylSBo8akFtcql5Z1UXyIrJwu9W/ngis= + + + RequestListViewController.nib/runtime.nib + + hash + + wF5YGQxv+K6UQNCawGLmb529a4o= + + hash2 + + k7C/7+gmyWwA8N0fSsco77QdG0ZMpXlUzujTWzMYFpw= + + + SidebarCell.nib + + hash + + 3ppNsM/ZN1fINL2ToWmVR8MDcxU= + + hash2 + + RUmyuTatR4yfq4dcEywOG2D1BDfdZrfdX+QunSkO6gw= + + + ZDKHelpCenterArticleRatingView.nib/objects-11.0+.nib + + hash + + ZZ6Dpkz9Gz20KDEVPvJJ4eJywjo= + + hash2 + + MJdiQEUA6bJJipFJ7t+UW7PlLo3rCxo6wEpZ1kCAW+E= + + + ZDKHelpCenterArticleRatingView.nib/runtime.nib + + hash + + IfN3nH9ZZoLaKjHEGmWEYbGt+WY= + + hash2 + + RuWul0yDDtdMRlmHeYqM4zREfCZ74GyN3cghole1MxA= + + + ZDKHelpCenterOverviewArticleTableViewCell.nib/objects-11.0+.nib + + hash + + oQSTLmBbh4zAJBLbtAS/DzFRaZs= + + hash2 + + oWN4+nL/DFREvv5HDix5IOn+TYWs4BN/SoXyQDhJw8g= + + + ZDKHelpCenterOverviewArticleTableViewCell.nib/runtime.nib + + hash + + f2VdkKS3h6ZavPeVgQnFdFwSqmI= + + hash2 + + tT7IRooDbt7ddPvHeTN23tSKQ2Vd+M0JC1s3E+4UIcE= + + + ZDKHelpCenterOverviewController.nib + + hash + + 0WxlhPBVpxC6BHX/PfQp0Z4g69I= + + hash2 + + V458EaboSQk7neN4OJh2U14+Puf0Lg0V1iOq4bwZn4A= + + + ZDKHelpCenterOverviewFooterView.nib + + hash + + aBuVamZAJasbwd2ry6vtq4Xia2w= + + hash2 + + Hhxzd+SCO5Wv6o8oeLUzbFiJdcjaAyhl46YxJadqtVM= + + + ZDKHelpCenterOverviewHeaderView.nib/objects-11.0+.nib + + hash + + rA5A76S80H9AkkZFfG2hWjteTlA= + + hash2 + + 3EMmhuPRWgXPY+tlj/hkxVioiPu5n0v0po2JzPKYeVM= + + + ZDKHelpCenterOverviewHeaderView.nib/runtime.nib + + hash + + +9AC87b11JhZTi5aw7GK5tgPr5M= + + hash2 + + tf6p7Ojyd7WTAphukFNYZGSoVcVx9qZ/0Qu6g4hCy9g= + + + ZDKHelpCenterOverviewLoadingTableViewCell.nib + + hash + + gJYSHMq7zrytlhgWdWntoUkwBnM= + + hash2 + + g9riTCp5znefGurYU44QqoJyyxBUBdDpfkcPjaMsGYk= + + + ZDKHelpCenterOverviewSectionTableViewCell.nib/objects-11.0+.nib + + hash + + HSuspMIzLI+NwzWjW7tP1MAT99k= + + hash2 + + +jnutL2HFh/84SMq9cSqvEH7Egn5SacSUTMxO/Yy1ZE= + + + ZDKHelpCenterOverviewSectionTableViewCell.nib/runtime.nib + + hash + + WFSuTjrmCPTn/chVax1LIzYoDW4= + + hash2 + + rFVDRF1zgNqkZ1hoig3HnnutphPJBY9+n9EdUAPPeBE= + + + ZDKHelpCenterOverviewSeeAllTableViewCell.nib/objects-11.0+.nib + + hash + + J10aPta4O+w7AYPwU+rK/PmAWJo= + + hash2 + + TER6obo92aqg/jzzm0TYtSbAYBes9wVnkoRGzeSgoOA= + + + ZDKHelpCenterOverviewSeeAllTableViewCell.nib/runtime.nib + + hash + + SIcIF5jXKAY1HsXkLZ0Vc+6rLUs= + + hash2 + + QheaVy0zfi7XLY3x1kfip6J9P43yulk8znU0sTrwjFY= + + + ZDKHelpCenterOverviewSpacerTableViewCell.nib + + hash + + v9n09UtoPIo3OzB41UCtGLeAfXA= + + hash2 + + a8H7kGiHvovznZhRlGv+m8RKWB40dr3+kimh9MPuK88= + + + ZDKHelpCenterSearchResultTableViewCell.nib + + hash + + wG7Gny1MvEfZ51YNCShhRrvBMOQ= + + hash2 + + bCPRAVkAvBy8XbZDAyQ+qmx2Zq/WfjUF99w4lQUA7u4= + + + ZDKHelpCenterSearchResultViewController.nib + + hash + + 72cBqoKFdbK3qm1I0jVCtNOlHwg= + + hash2 + + OJ10s7GJvypjsyvSb7jOTkg+G9L0DtcUuoXEhOnOXy0= + + + ZendeskLogoView.nib/objects-11.0+.nib + + hash + + ENiq0MwxxsiQIuGIDSRWcddXsps= + + hash2 + + BSiD4iuDXXPQiiAVsImmLaEAduiZJtrhFrWMcN4ba9U= + + + ZendeskLogoView.nib/runtime.nib + + hash + + 4M5RrVlqb46ypVW6ZJKu5AeYitk= + + hash2 + + NAdlpq/iO9bIIf1g1sNfrBxYw9oQgFDX7PA509MC+RE= + + + help_center_article_style.css + + hash + + KXGMYMIyh6yTJ1QUbCt3gvEKM74= + + hash2 + + 9HRF5nq6tj+aZm3WcYVg50D8GP4xr/xM4idFQqt92wE= + + + icoDown.png + + hash + + SBuT+PBdgCoC1upVejrhluN4eog= + + hash2 + + A9NUhV1f0kJFZh5zzg9yc7nhZY/Mx+YDPkB6oOM0JyM= + + + icoDown@2x.png + + hash + + QZBvc+XaIiFNPNnYGTn9z4i5To4= + + hash2 + + TDnfXNwnceYj/+ylNrDBNi1tymcHmNgQV+j+1YtzYgY= + + + icoDown@3x.png + + hash + + uTylllD83viWYzAoOy3lpZ8rpkw= + + hash2 + + /Qq2dM3i0vc5LhvbjnBEJKHCC3CsXDjknS39nXNMp34= + + + icoVoteDown.png + + hash + + uGTjk2yHYIKqKTMqwyM5O/JDIfM= + + hash2 + + KlVVS4MsR981E9geLHz8In7CVMuyW9jIwZDqiMgidOY= + + + icoVoteDown@2x.png + + hash + + V9FJ0EwuuQCESRmBj0kVuYuEVws= + + hash2 + + yFfelMOGUC9wZV4tB8Vjq4qcUd6kO7xZehaTBjC3KgU= + + + icoVoteDown@3x.png + + hash + + M+DAEAv7PLQXYnzRiEBhuKhqQ6o= + + hash2 + + 1BZ1qLYYqHPOT9jFgzZ1k+p2avvN3hjTOw7p9BmJ2Rc= + + + icoVoteUp.png + + hash + + rMvk1cQdAa2at/mMwDXfqQFodpI= + + hash2 + + nAtu9Q6vZVn/ezVnACdmEEcz1TstYSxskxWFnnrBMtI= + + + icoVoteUp@2x.png + + hash + + CYSPRmau2fHyPe2oB00x4ciXWmE= + + hash2 + + d+0qyAkKaDEOnrhHm+oKOIFlI1lEcrZJPKRYKTXZKHM= + + + icoVoteUp@3x.png + + hash + + O5paoCkhrxE7epIVoRJhrZdMeGc= + + hash2 + + RkT+UUGUMVu+4gnffpbLcHlRrKy+dlEJUR4r0iByQCQ= + + + ico_newticket.png + + hash + + N5HroUPrAOvmsDbGUortxgAVP+A= + + hash2 + + 6ncuiBUPqaxvsxiBtGpT2Xnbzhta2DbyFimH7e070SE= + + + ico_newticket@2x.png + + hash + + QWAzuT21nsQUG8QQyi9mPqnhBVQ= + + hash2 + + iMjGXfbtG7JyKrQBy6guDkdLCJKLhUb1oz3nAXHhm2c= + + + ico_newticket@3x.png + + hash + + u687L/wWYQSF4oga62JCP8sdjp0= + + hash2 + + sZiEjJ7V+qzve3Kg/hdWv/ZpVxkv/t61Fl40QsSvOtU= + + + + rules + + ^ + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^ + + weight + 20 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/ZendeskSDK.bundle/help_center_article_style.css b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/help_center_article_style.css similarity index 100% rename from ZendeskSDK.bundle/help_center_article_style.css rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/help_center_article_style.css diff --git a/ZendeskSDK.bundle/icoDown.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoDown.png similarity index 100% rename from ZendeskSDK.bundle/icoDown.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoDown.png diff --git a/ZendeskSDK.bundle/icoDown@2x.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoDown@2x.png similarity index 100% rename from ZendeskSDK.bundle/icoDown@2x.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoDown@2x.png diff --git a/ZendeskSDK.bundle/icoDown@3x.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoDown@3x.png similarity index 100% rename from ZendeskSDK.bundle/icoDown@3x.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoDown@3x.png diff --git a/ZendeskSDK.bundle/icoVoteDown.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteDown.png similarity index 100% rename from ZendeskSDK.bundle/icoVoteDown.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteDown.png diff --git a/ZendeskSDK.bundle/icoVoteDown@2x.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteDown@2x.png similarity index 100% rename from ZendeskSDK.bundle/icoVoteDown@2x.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteDown@2x.png diff --git a/ZendeskSDK.bundle/icoVoteDown@3x.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteDown@3x.png similarity index 100% rename from ZendeskSDK.bundle/icoVoteDown@3x.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteDown@3x.png diff --git a/ZendeskSDK.bundle/icoVoteUp.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteUp.png similarity index 100% rename from ZendeskSDK.bundle/icoVoteUp.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteUp.png diff --git a/ZendeskSDK.bundle/icoVoteUp@2x.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteUp@2x.png similarity index 100% rename from ZendeskSDK.bundle/icoVoteUp@2x.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteUp@2x.png diff --git a/ZendeskSDK.bundle/icoVoteUp@3x.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteUp@3x.png similarity index 100% rename from ZendeskSDK.bundle/icoVoteUp@3x.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/icoVoteUp@3x.png diff --git a/ZendeskSDK.bundle/ico_newticket.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ico_newticket.png similarity index 100% rename from ZendeskSDK.bundle/ico_newticket.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ico_newticket.png diff --git a/ZendeskSDK.bundle/ico_newticket@2x.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ico_newticket@2x.png similarity index 100% rename from ZendeskSDK.bundle/ico_newticket@2x.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ico_newticket@2x.png diff --git a/ZendeskSDK.bundle/ico_newticket@3x.png b/ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ico_newticket@3x.png similarity index 100% rename from ZendeskSDK.bundle/ico_newticket@3x.png rename to ZendeskSDK/Swift-4.0/ZendeskSDK.framework/ico_newticket@3x.png diff --git a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/Info.plist b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/Info.plist similarity index 62% rename from SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/Info.plist rename to ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/Info.plist index 3a4578eb..6ca0534a 100644 Binary files a/SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/Info.plist and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/Info.plist differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings new file mode 100644 index 00000000..9b2b1f43 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ar.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings new file mode 100644 index 00000000..24a920d2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/bg.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings new file mode 100644 index 00000000..fb224d8f Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/cs.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings new file mode 100644 index 00000000..7ad7a536 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings new file mode 100644 index 00000000..05eac97a Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings new file mode 100644 index 00000000..19f0a38a Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/el.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings new file mode 100644 index 00000000..1dea83e2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings new file mode 100644 index 00000000..1dea83e2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings new file mode 100644 index 00000000..9142fe19 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings new file mode 100644 index 00000000..06c5cdf7 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings new file mode 100644 index 00000000..57c658b2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/fil.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings new file mode 100644 index 00000000..796132ef Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings new file mode 100644 index 00000000..62aae1da Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/he.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings new file mode 100644 index 00000000..51173c62 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/hi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings new file mode 100644 index 00000000..a4b671fa Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/hu.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings new file mode 100644 index 00000000..aecb6442 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/id.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings new file mode 100644 index 00000000..0ac4b2f2 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings new file mode 100644 index 00000000..88168d37 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings new file mode 100644 index 00000000..5332c3a3 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings new file mode 100644 index 00000000..765ec042 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ms.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings new file mode 100644 index 00000000..57e6db81 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings new file mode 100644 index 00000000..13f0b360 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings new file mode 100644 index 00000000..6301332d Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings new file mode 100644 index 00000000..33a5531b Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/pt-BR.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings new file mode 100644 index 00000000..33a5531b Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings new file mode 100644 index 00000000..7dec34c3 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ro.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings new file mode 100644 index 00000000..bbe3509b Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings new file mode 100644 index 00000000..1702b9ff Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings new file mode 100644 index 00000000..01c9c5cc Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/th.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings new file mode 100644 index 00000000..f6425f1b Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings new file mode 100644 index 00000000..b533eaa4 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/vi.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings new file mode 100644 index 00000000..b797a773 Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings differ diff --git a/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings new file mode 100644 index 00000000..15c943dc Binary files /dev/null and b/ZendeskSDK/Swift-4.0/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings differ diff --git a/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings deleted file mode 100644 index 4e61b4fc..00000000 Binary files a/ZendeskSDKStrings.bundle/da.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings deleted file mode 100644 index f27dd85a..00000000 Binary files a/ZendeskSDKStrings.bundle/de.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings deleted file mode 100644 index 092b7940..00000000 Binary files a/ZendeskSDKStrings.bundle/en-GB.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings deleted file mode 100644 index ec6aa5d0..00000000 Binary files a/ZendeskSDKStrings.bundle/en.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings deleted file mode 100644 index cb307088..00000000 Binary files a/ZendeskSDKStrings.bundle/es.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings deleted file mode 100644 index ec683569..00000000 Binary files a/ZendeskSDKStrings.bundle/fi.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings deleted file mode 100644 index f1290bac..00000000 Binary files a/ZendeskSDKStrings.bundle/fr.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings deleted file mode 100644 index e773bc56..00000000 Binary files a/ZendeskSDKStrings.bundle/it.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings deleted file mode 100644 index da335ca7..00000000 Binary files a/ZendeskSDKStrings.bundle/ja.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings deleted file mode 100644 index d5ed7340..00000000 Binary files a/ZendeskSDKStrings.bundle/ko.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings deleted file mode 100644 index 18f2e4d3..00000000 Binary files a/ZendeskSDKStrings.bundle/nb.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings deleted file mode 100644 index cff74ffe..00000000 Binary files a/ZendeskSDKStrings.bundle/nl.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings deleted file mode 100644 index 696e1980..00000000 Binary files a/ZendeskSDKStrings.bundle/pl.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings deleted file mode 100644 index b3cfa8ab..00000000 Binary files a/ZendeskSDKStrings.bundle/pt.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings deleted file mode 100644 index 6da8ca09..00000000 Binary files a/ZendeskSDKStrings.bundle/ru.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings deleted file mode 100644 index 0379514d..00000000 Binary files a/ZendeskSDKStrings.bundle/sv.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings deleted file mode 100644 index b34c8975..00000000 Binary files a/ZendeskSDKStrings.bundle/tr.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings deleted file mode 100644 index 056ec7fc..00000000 Binary files a/ZendeskSDKStrings.bundle/zh-Hans.lproj/Localizable.strings and /dev/null differ diff --git a/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings b/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings deleted file mode 100644 index f88525ed..00000000 Binary files a/ZendeskSDKStrings.bundle/zh-Hant.lproj/Localizable.strings and /dev/null differ