From 96c78d249f083dd7751558ef9de4605511ff5620 Mon Sep 17 00:00:00 2001 From: Matthew Pierce Date: Thu, 23 Jun 2022 15:12:28 +0100 Subject: [PATCH] Removed unused headers, private headers, config.yml, and private modulemap --- .../Headers/ICMActiveAdminsAvatarView.h | 19 - .../Headers/ICMAdminBlockAppearance.h | 13 - .../Headers/ICMArticleWebViewController.h | 20 - .../Intercom.framework/Headers/ICMAssets.h | 107 -- .../Headers/ICMAutoLayout.h | 193 --- .../Intercom.framework/Headers/ICMAvatar.h | 11 - .../Headers/ICMAvatarView.h | 25 - .../Headers/ICMBlockAppearance.h | 16 - .../Headers/ICMBlockLoader.h | 17 - .../Intercom.framework/Headers/ICMButton.h | 47 - .../Headers/ICMCarouselBlockAppearance.h | 18 - .../Intercom.framework/Headers/ICMColor.h | 103 -- .../Intercom.framework/Headers/ICMConfig.h | 84 - .../Headers/ICMContentStackView.h | 29 - .../Headers/ICMContentViewController.h | 25 - .../ICMContentViewControllerDelegate.h | 33 - .../Headers/ICMCountLimitInputValidator.h | 20 - .../Headers/ICMDataManager.h | 38 - .../Headers/ICMDataManagerProtocol.h | 24 - .../Headers/ICMEmailTextField.h | 17 - .../Headers/ICMEmptyInputValidator.h | 18 - .../Intercom.framework/Headers/ICMEngine.h | 23 - .../Headers/ICMErrorViewController.h | 25 - .../Headers/ICMErrorViewDelegate.h | 20 - .../Headers/ICMFeedbackGenerator.h | 22 - .../Headers/ICMFormAttribute.h | 46 - .../Headers/ICMHTTPClient.h | 196 --- .../Headers/ICMHTTPClientProtocol.h | 98 -- .../Headers/ICMHelpCenterTranslationManager.h | 19 - .../Headers/ICMInAppsViewController.h | 68 - .../Headers/ICMInputViewProtocol.h | 33 - .../Headers/ICMIntegerTextField.h | 17 - .../Headers/ICMLinkOpener.h | 20 - .../Headers/ICMLoadingViewController.h | 10 - .../Intercom.framework/Headers/ICMMetric.h | 28 - .../Headers/ICMMetricEvent.h | 267 ---- .../Headers/ICMMultipleAvatarView.h | 15 - .../Headers/ICMNavigationBarCloseButton.h | 25 - .../Headers/ICMNavigationController.h | 33 - .../Headers/ICMParticipant.h | 21 - .../Headers/ICMParticipatingAdmin.h | 22 - .../Headers/ICMPhoneTextField.h | 17 - .../Headers/ICMPickerTextField.h | 18 - .../Headers/ICMPresentationManager.h | 55 - .../ICMRecentConversationsViewController.h | 23 - .../Headers/ICMRootViewController.h | 70 - .../Headers/ICMSafeNetworkModel.h | 13 - .../Headers/ICMStartConversationButton.h | 20 - .../ICMSurveyQuestionBlockAppearance.h | 19 - .../Headers/ICMSurveyStepBlockAppearance.h | 19 - .../Headers/ICMTeamPresence.h | 31 - .../Headers/ICMTeammatePresenceView.h | 17 - .../Intercom.framework/Headers/ICMTextField.h | 36 - .../Headers/ICMTimestampCalculator.h | 39 - .../Headers/ICMTranslationKeys.h | 184 --- .../Headers/ICMTranslationManager.h | 16 - .../Headers/ICMUnreadManager.h | 23 - .../Headers/ICMUserAttributesValidation.h | 30 - .../Intercom.framework/Headers/ICMUtils.h | 120 -- .../Intercom.framework/Headers/ICMValidator.h | 22 - .../Headers/ICMValidatorProtocol.h | 21 - .../Intercom.framework/Headers/ICMWindow.h | 11 - .../Headers/ICMWindowProvider.h | 10 - .../Intercom.framework/Headers/ITBBlock.h | 117 -- .../Headers/ITBBlockAppearance.h | 86 - .../Headers/ITBImageLoader.h | 23 - .../Headers/ITBLoadingView.h | 26 - .../Headers/Intercom-Swift.h | 692 -------- .../Headers/IntercomConversationCustomCell.h | 17 - .../Headers/IntercomConversationPart.h | 33 - .../Headers/UIImage+ICMImageUtils.h | 15 - .../Modules/module.private.modulemap | 40 - .../ICMActiveAdminsAvatarView.h | 19 - .../ICMArticleWebViewController.h | 20 - .../PrivateHeaders/ICMAssets.h | 99 -- .../PrivateHeaders/ICMAutoLayout.h | 193 --- .../PrivateHeaders/ICMAvatar.h | 11 - .../PrivateHeaders/ICMColor.h | 95 -- .../PrivateHeaders/ICMConfig.h | 82 - .../PrivateHeaders/ICMContentViewController.h | 27 - .../ICMContentViewControllerDelegate.h | 26 - .../PrivateHeaders/ICMDataManager.h | 38 - .../PrivateHeaders/ICMDataManagerProtocol.h | 24 - .../PrivateHeaders/ICMEngine.h | 20 - .../PrivateHeaders/ICMErrorViewController.h | 24 - .../PrivateHeaders/ICMErrorViewDelegate.h | 20 - .../PrivateHeaders/ICMFeedbackGenerator.h | 22 - .../PrivateHeaders/ICMHTTPClient.h | 183 --- .../PrivateHeaders/ICMHTTPClientProtocol.h | 66 - .../ICMHelpCenterTranslationManager.h | 19 - .../PrivateHeaders/ICMLoadingViewController.h | 10 - .../PrivateHeaders/ICMMetric.h | 24 - .../PrivateHeaders/ICMMetricEvent.h | 207 --- .../PrivateHeaders/ICMMultipleAvatarView.h | 15 - .../ICMNavigationBarCloseButton.h | 25 - .../PrivateHeaders/ICMNavigationController.h | 33 - .../PrivateHeaders/ICMParticipant.h | 21 - .../PrivateHeaders/ICMParticipatingAdmin.h | 22 - .../PrivateHeaders/ICMPresentationManager.h | 53 - .../ICMRecentConversationsViewController.h | 23 - .../PrivateHeaders/ICMSafeNetworkModel.h | 13 - .../ICMStartConversationButton.h | 20 - .../PrivateHeaders/ICMTeamPresence.h | 31 - .../PrivateHeaders/ICMTimestampCalculator.h | 39 - .../PrivateHeaders/ICMTranslationKeys.h | 158 -- .../PrivateHeaders/ICMTranslationManager.h | 16 - .../PrivateHeaders/ICMUnreadManager.h | 23 - .../PrivateHeaders/ICMUtils.h | 115 -- .../PrivateHeaders/UIImage+ICMImageUtils.h | 15 - .../ios-arm64/Intercom.framework/config.yml | 901 ----------- .../Headers/ICMActiveAdminsAvatarView.h | 19 - .../Headers/ICMAdminBlockAppearance.h | 13 - .../Headers/ICMArticleWebViewController.h | 20 - .../Intercom.framework/Headers/ICMAssets.h | 107 -- .../Headers/ICMAutoLayout.h | 193 --- .../Intercom.framework/Headers/ICMAvatar.h | 11 - .../Headers/ICMAvatarView.h | 25 - .../Headers/ICMBlockAppearance.h | 16 - .../Headers/ICMBlockLoader.h | 17 - .../Intercom.framework/Headers/ICMButton.h | 47 - .../Headers/ICMCarouselBlockAppearance.h | 18 - .../Intercom.framework/Headers/ICMColor.h | 103 -- .../Intercom.framework/Headers/ICMConfig.h | 84 - .../Headers/ICMContentStackView.h | 29 - .../Headers/ICMContentViewController.h | 25 - .../ICMContentViewControllerDelegate.h | 33 - .../Headers/ICMCountLimitInputValidator.h | 20 - .../Headers/ICMDataManager.h | 38 - .../Headers/ICMDataManagerProtocol.h | 24 - .../Headers/ICMEmailTextField.h | 17 - .../Headers/ICMEmptyInputValidator.h | 18 - .../Intercom.framework/Headers/ICMEngine.h | 23 - .../Headers/ICMErrorViewController.h | 25 - .../Headers/ICMErrorViewDelegate.h | 20 - .../Headers/ICMFeedbackGenerator.h | 22 - .../Headers/ICMFormAttribute.h | 46 - .../Headers/ICMHTTPClient.h | 196 --- .../Headers/ICMHTTPClientProtocol.h | 98 -- .../Headers/ICMHelpCenterTranslationManager.h | 19 - .../Headers/ICMInAppsViewController.h | 68 - .../Headers/ICMInputViewProtocol.h | 33 - .../Headers/ICMIntegerTextField.h | 17 - .../Headers/ICMLinkOpener.h | 20 - .../Headers/ICMLoadingViewController.h | 10 - .../Intercom.framework/Headers/ICMMetric.h | 28 - .../Headers/ICMMetricEvent.h | 267 ---- .../Headers/ICMMultipleAvatarView.h | 15 - .../Headers/ICMNavigationBarCloseButton.h | 25 - .../Headers/ICMNavigationController.h | 33 - .../Headers/ICMParticipant.h | 21 - .../Headers/ICMParticipatingAdmin.h | 22 - .../Headers/ICMPhoneTextField.h | 17 - .../Headers/ICMPickerTextField.h | 18 - .../Headers/ICMPresentationManager.h | 55 - .../ICMRecentConversationsViewController.h | 23 - .../Headers/ICMRootViewController.h | 70 - .../Headers/ICMSafeNetworkModel.h | 13 - .../Headers/ICMStartConversationButton.h | 20 - .../ICMSurveyQuestionBlockAppearance.h | 19 - .../Headers/ICMSurveyStepBlockAppearance.h | 19 - .../Headers/ICMTeamPresence.h | 31 - .../Headers/ICMTeammatePresenceView.h | 17 - .../Intercom.framework/Headers/ICMTextField.h | 36 - .../Headers/ICMTimestampCalculator.h | 39 - .../Headers/ICMTranslationKeys.h | 184 --- .../Headers/ICMTranslationManager.h | 16 - .../Headers/ICMUnreadManager.h | 23 - .../Headers/ICMUserAttributesValidation.h | 30 - .../Intercom.framework/Headers/ICMUtils.h | 120 -- .../Intercom.framework/Headers/ICMValidator.h | 22 - .../Headers/ICMValidatorProtocol.h | 21 - .../Intercom.framework/Headers/ICMWindow.h | 11 - .../Headers/ICMWindowProvider.h | 10 - .../Intercom.framework/Headers/ITBBlock.h | 117 -- .../Headers/ITBBlockAppearance.h | 86 - .../Headers/ITBImageLoader.h | 23 - .../Headers/ITBLoadingView.h | 26 - .../Headers/Intercom-Swift.h | 1390 ----------------- .../Headers/IntercomConversationCustomCell.h | 17 - .../Headers/IntercomConversationPart.h | 33 - .../Headers/UIImage+ICMImageUtils.h | 15 - .../Modules/module.private.modulemap | 40 - .../ICMActiveAdminsAvatarView.h | 19 - .../ICMArticleWebViewController.h | 20 - .../PrivateHeaders/ICMAssets.h | 99 -- .../PrivateHeaders/ICMAutoLayout.h | 193 --- .../PrivateHeaders/ICMAvatar.h | 11 - .../PrivateHeaders/ICMColor.h | 95 -- .../PrivateHeaders/ICMConfig.h | 82 - .../PrivateHeaders/ICMContentViewController.h | 27 - .../ICMContentViewControllerDelegate.h | 26 - .../PrivateHeaders/ICMDataManager.h | 38 - .../PrivateHeaders/ICMDataManagerProtocol.h | 24 - .../PrivateHeaders/ICMEngine.h | 20 - .../PrivateHeaders/ICMErrorViewController.h | 24 - .../PrivateHeaders/ICMErrorViewDelegate.h | 20 - .../PrivateHeaders/ICMFeedbackGenerator.h | 22 - .../PrivateHeaders/ICMHTTPClient.h | 183 --- .../PrivateHeaders/ICMHTTPClientProtocol.h | 66 - .../ICMHelpCenterTranslationManager.h | 19 - .../PrivateHeaders/ICMLoadingViewController.h | 10 - .../PrivateHeaders/ICMMetric.h | 24 - .../PrivateHeaders/ICMMetricEvent.h | 207 --- .../PrivateHeaders/ICMMultipleAvatarView.h | 15 - .../ICMNavigationBarCloseButton.h | 25 - .../PrivateHeaders/ICMNavigationController.h | 33 - .../PrivateHeaders/ICMParticipant.h | 21 - .../PrivateHeaders/ICMParticipatingAdmin.h | 22 - .../PrivateHeaders/ICMPresentationManager.h | 53 - .../ICMRecentConversationsViewController.h | 23 - .../PrivateHeaders/ICMSafeNetworkModel.h | 13 - .../ICMStartConversationButton.h | 20 - .../PrivateHeaders/ICMTeamPresence.h | 31 - .../PrivateHeaders/ICMTimestampCalculator.h | 39 - .../PrivateHeaders/ICMTranslationKeys.h | 158 -- .../PrivateHeaders/ICMTranslationManager.h | 16 - .../PrivateHeaders/ICMUnreadManager.h | 23 - .../PrivateHeaders/ICMUtils.h | 115 -- .../PrivateHeaders/UIImage+ICMImageUtils.h | 15 - .../Intercom.framework/config.yml | 901 ----------- 220 files changed, 13698 deletions(-) delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMActiveAdminsAvatarView.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAdminBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMArticleWebViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAssets.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAutoLayout.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAvatar.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAvatarView.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMBlockLoader.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMButton.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMCarouselBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMColor.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMConfig.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentStackView.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentViewControllerDelegate.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMCountLimitInputValidator.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMDataManager.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMDataManagerProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEmailTextField.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEmptyInputValidator.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEngine.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMErrorViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMErrorViewDelegate.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMFeedbackGenerator.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMFormAttribute.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHTTPClient.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHTTPClientProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHelpCenterTranslationManager.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMInAppsViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMInputViewProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMIntegerTextField.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMLinkOpener.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMLoadingViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMetric.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMetricEvent.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMultipleAvatarView.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMNavigationBarCloseButton.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMNavigationController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMParticipant.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMParticipatingAdmin.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPhoneTextField.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPickerTextField.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPresentationManager.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMRecentConversationsViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMRootViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSafeNetworkModel.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMStartConversationButton.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSurveyQuestionBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSurveyStepBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTeamPresence.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTeammatePresenceView.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTextField.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTimestampCalculator.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTranslationKeys.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTranslationManager.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUnreadManager.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUserAttributesValidation.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUtils.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMValidator.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMValidatorProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMWindow.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMWindowProvider.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBBlock.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBImageLoader.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBLoadingView.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/Intercom-Swift.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/IntercomConversationCustomCell.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/IntercomConversationPart.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Headers/UIImage+ICMImageUtils.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/Modules/module.private.modulemap delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMActiveAdminsAvatarView.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMArticleWebViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAssets.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAutoLayout.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAvatar.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMColor.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMConfig.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMContentViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMContentViewControllerDelegate.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMDataManager.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMDataManagerProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMEngine.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMErrorViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMErrorViewDelegate.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMFeedbackGenerator.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHTTPClient.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHTTPClientProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHelpCenterTranslationManager.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMLoadingViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMetric.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMetricEvent.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMultipleAvatarView.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMNavigationBarCloseButton.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMNavigationController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMParticipant.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMParticipatingAdmin.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMPresentationManager.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMRecentConversationsViewController.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMSafeNetworkModel.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMStartConversationButton.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTeamPresence.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTimestampCalculator.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTranslationKeys.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTranslationManager.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMUnreadManager.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMUtils.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/UIImage+ICMImageUtils.h delete mode 100644 Intercom.xcframework/ios-arm64/Intercom.framework/config.yml delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMActiveAdminsAvatarView.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAdminBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMArticleWebViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAssets.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAutoLayout.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAvatar.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAvatarView.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMBlockLoader.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMButton.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMCarouselBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMColor.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMConfig.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentStackView.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentViewControllerDelegate.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMCountLimitInputValidator.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMDataManager.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMDataManagerProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEmailTextField.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEmptyInputValidator.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEngine.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMErrorViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMErrorViewDelegate.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMFeedbackGenerator.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMFormAttribute.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHTTPClient.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHTTPClientProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHelpCenterTranslationManager.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMInAppsViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMInputViewProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMIntegerTextField.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMLinkOpener.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMLoadingViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMetric.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMetricEvent.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMultipleAvatarView.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMNavigationBarCloseButton.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMNavigationController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMParticipant.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMParticipatingAdmin.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPhoneTextField.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPickerTextField.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPresentationManager.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMRecentConversationsViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMRootViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSafeNetworkModel.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMStartConversationButton.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSurveyQuestionBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSurveyStepBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTeamPresence.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTeammatePresenceView.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTextField.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTimestampCalculator.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTranslationKeys.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTranslationManager.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUnreadManager.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUserAttributesValidation.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUtils.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMValidator.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMValidatorProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMWindow.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMWindowProvider.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBBlock.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBBlockAppearance.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBImageLoader.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBLoadingView.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/Intercom-Swift.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/IntercomConversationCustomCell.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/IntercomConversationPart.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/UIImage+ICMImageUtils.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Modules/module.private.modulemap delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMActiveAdminsAvatarView.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMArticleWebViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAssets.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAutoLayout.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAvatar.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMColor.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMConfig.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMContentViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMContentViewControllerDelegate.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMDataManager.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMDataManagerProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMEngine.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMErrorViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMErrorViewDelegate.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMFeedbackGenerator.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHTTPClient.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHTTPClientProtocol.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHelpCenterTranslationManager.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMLoadingViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMetric.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMetricEvent.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMultipleAvatarView.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMNavigationBarCloseButton.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMNavigationController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMParticipant.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMParticipatingAdmin.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMPresentationManager.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMRecentConversationsViewController.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMSafeNetworkModel.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMStartConversationButton.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTeamPresence.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTimestampCalculator.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTranslationKeys.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTranslationManager.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMUnreadManager.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMUtils.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/UIImage+ICMImageUtils.h delete mode 100644 Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/config.yml diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMActiveAdminsAvatarView.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMActiveAdminsAvatarView.h deleted file mode 100644 index b793f183..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMActiveAdminsAvatarView.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMActiveAdminsAvatarView.h -// IntercomSDK-Dynamic -// -// Created by Michael Isaakidis on 17/05/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -@interface ICMActiveAdminsAvatarView : UIView - -- (instancetype)initWithHeight:(CGFloat)avatarHeight - overlap:(CGFloat) avatarOverlap - maxCount:(NSInteger) maxAvatarCount; -- (NSUInteger)numberOfAvatarsDisplayed; -- (void)updateVisibleAvatars; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAdminBlockAppearance.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAdminBlockAppearance.h deleted file mode 100644 index bb4a435b..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAdminBlockAppearance.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// ICMSDKBlocksRenderer.h -// IntercomSDK -// -// Created by James Treanor on 09/09/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import - -@interface ICMAdminBlockAppearance : ICMBlockAppearance - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMArticleWebViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMArticleWebViewController.h deleted file mode 100644 index 948966f4..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMArticleWebViewController.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMArticleWebViewController.m -// IntercomSDK-Dynamic -// -// Created by Katherine Brennan on 02/10/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import -#import -@class HelpCenterMetricService; - -@protocol ICMContentViewControllerDelegate; - -@interface ICMArticleWebViewController : UIViewController - -@property (nonatomic, weak) id contentDelegate; -- (instancetype)initWithId:(NSString *)articleId metricService:(id)metricService; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAssets.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAssets.h deleted file mode 100644 index 0763b7f7..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAssets.h +++ /dev/null @@ -1,107 +0,0 @@ -// -// Created by Ignacio Delgado on 17/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@interface ICMAssets : NSObject - -+ (UIImage *)intercomLogoImage; - -+ (UIImage *)openPostFromCardImage; - -+ (UIImage *)spinnerImage; - -+ (UIImage *)defaultAvatarImageWithInitials:(NSString *)userInitials diameter:(CGFloat)diameter; // if there are initials, show them; if not, fall back to image -+ (UIImage *)warningImage; -+ (UIImage *)infoIcon; - -+ (UIImage *)backButtonImage; -+ (UIImage *)submitButtonBackgroundImage; -+ (UIImage *)submitButtonBackgroundImageClear; -+ (UIImage *)submitImage; -+ (UIImage *)pickerSelector; -+ (UIImage *)dateSelector; -+ (UIImage *)greenCheckImage; -+ (UIImage *)buttonLoadingImage; -+ (UIImage *)textFieldBackgroundImage; -+ (UIImage *)textFieldErrorBackgroundImage; -+ (UIImage *)booleanButtonLeftImage; -+ (UIImage *)booleanButtonLeftImageSelected; -+ (UIImage *)booleanButtonRightImage; -+ (UIImage *)booleanButtonRightImageSelected; - -+ (UIImage *)closeImage; - -+ (UIImage *)startConversationImage; -+ (UIImage *)askAQuestion; - -+ (UIImage *)messageFailedImage; - -+ (UIImage *)uploadButtonImage; -+ (UIImage *)chatBubbleImage; - -+ (UIImage *)launcherImage; - -+ (UIImage *)twitterIcon; -+ (UIImage *)linkedinIcon; - -+ (UIImage *)snoozeIcon; - -+ (UIImage *)sendIcon; -+ (UIImage *)undoIcon; - -+ (UIImage *)homescreenFailedImage; -+ (UIImage *)searchIcon; - -+ (UIImage *)replyTimeIcon; - -// Help Center -+ (UIImage *)helpCenterLoadingImage; -+ (UIImage *)helpCenterChevron; - -// Carousel -+ (UIImage *)screenActionCheckmark; -+ (UIImage *)carouselLoadingImage; - -// Articles -+ (UIImage *)articleLoadingImage; - -// Teammate Profile -+ (UIImage *)teammateTimeIcon; -+ (UIImage *)teammateRoleIcon; -+ (UIImage *)teammateIntroIcon; - -//Text Input -+ (UIImage *)textInputIcon; -+ (UIImage *)textInputSelectedIcon; - -//Photo Input -+ (UIImage *)photoInputIcon; -+ (UIImage *)photoInputSelectedIcon; -+ (UIImage *)expandPhotosIcon; - -//GIF Input -+ (UIImage *)gifInputIcon; -+ (UIImage *)gifInputSelectedIcon; - -+ (UIImage *)footerLinkIcon; - -// Sounds -+ (NSURL *)soundForMessageSending; -+ (NSURL *)soundForMessageSendingFailure; -+ (NSURL *)soundForIncomingAdminMessage; -+ (NSURL *)soundForIncomingOperatorMessage; - -// Surveys -+ (UIImage *)starFillImage; -+ (UIImage *)starUnselectedImage; -+ (UIImage *)starSelectedImage; -+ (UIImage *)externalLinkIcon; -+ (UIImage *)surveyLoadingImage; - -+ (UIImage *)playIcon; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAutoLayout.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAutoLayout.h deleted file mode 100644 index 9e5669cf..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAutoLayout.h +++ /dev/null @@ -1,193 +0,0 @@ -// -// ICMAutoLayout.h -// Pods -// -// Created by James Treanor on 16/04/2015. -// -// - -#import - -typedef NS_OPTIONS(NSUInteger, ICM_JRTViewPinEdges) -{ - /// Pins the top edge of an item. - ICM_JRTViewPinTopEdge = 1 << 0, - - /// Pins the right edge of an item. - ICM_JRTViewPinRightEdge = 1 << 1, - - /// Pins the bottom edge of an item. - ICM_JRTViewPinBottomEdge = 1 << 2, - - /// Pins the left edge of an item. - ICM_JRTViewPinLeftEdge = 1 << 3, - - /// Pins all edges of an item. - ICM_JRTViewPinAllEdges = ~0UL -}; - -@interface ICMAutoLayout : NSObject - -/** - * @name Centering Views - */ - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis; - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * @param constant Constraint constant value. - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+ (NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis withConstant:(CGFloat)constant; - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * @param constant Constraint constant value. - * @param priority Constraint priority value. - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+ (NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis withConstant:(CGFloat)constant withPriority:(UILayoutPriority)priority; - -/** - * @name Constraining to a fixed size - */ - -/** - * Constrains the receiver to a fixed size. - * @warning Setting an axis to 0.0 will result in no constraint being applied to that axis. - * - * @param size The size to constrain the receiver to. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)constrainView:(UIView *)primaryView toSize:(CGSize)size; - -/** - * Constrains the receiver to a fixed width. - * - * @param width The width to constrain the receiver to - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toWidth:(CGFloat)width; - -/** - * Constrains the receiver to a fixed width. - * - * @param width The width to constrain the receiver to - * @param priority The UILayoutPriority of the constraint - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toWidth:(CGFloat)width withPriority:(UILayoutPriority)priority; - -/** - * Constrains the receiver to a fixed height. - * - * @param height The height to constrain the receiver to - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toHeight:(CGFloat)height; - -/** - * Constrains the receiver to a fixed height. - * - * @param height The height to constrain the receiver to - * @param priority The UILayoutPriority of the constraint - * - * @return The `NSLayoutConstraint` generated by this method. -*/ -+ (NSLayoutConstraint *)constrainView:(UIView *)primaryView toHeight:(CGFloat)height withPriority:(UILayoutPriority)priority; - -/** - * @name Pinning to other items - */ - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem; - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. Provide a constant for offset/inset. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * @param constant The constant that you want to apply to the constraint. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem withConstant:(CGFloat)constant; - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. Provide a constant for offset/inset along with a relation. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * @param constant The constant that you want to apply to the constraint. - * @param relation The relation that you wish to apply to the constraint. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem withConstant:(CGFloat)constant relation:(NSLayoutRelation)relation; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * @param inset The inset that is applied to the attributes. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView inset:(CGFloat)inset; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * @param inset The inset that is applied to the attributes. - * @param priority The resulting constraints' priorities. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. -*/ -+ (NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView inset:(CGFloat)inset withPriority:(UILayoutPriority)priority; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAvatar.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAvatar.h deleted file mode 100644 index 347488e4..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAvatar.h +++ /dev/null @@ -1,11 +0,0 @@ -#import -#import - -@interface ICMAvatar : ICMSafeNetworkModel - -@property (nonatomic, copy, readonly) NSString *imageUrl; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; -- (BOOL)isEqualToAvatar:(ICMAvatar *)other; -- (NSString *)chatHeadURL; -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAvatarView.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAvatarView.h deleted file mode 100644 index c1e7047e..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMAvatarView.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// Created by Roland Gropmair on 25/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import -#import - -@interface ICMAvatarView : UIView - -- (instancetype)initWithDiameter:(CGFloat)diameter showTeammatePresence:(BOOL)showTeammatePresence; - -@property (nonatomic, assign, readonly) CGFloat diameter; -@property (nonatomic, strong) UIColor *borderColor; -@property (nonatomic, assign) CGFloat borderWidth; -@property (nonatomic, strong) ICMTeammatePresenceView *teammatePresenceView; - -- (void)loadAvatarWithURLString:(NSString *)urlString userName:(NSString *)userName; -- (void)cancelImageLoad; -- (NSString *)firstInitialOfName:(NSString *)fullName; -- (void)hideUserPresenceView; -- (void)setTeamPresenceBorderColor:(UIColor *)color; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMBlockAppearance.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMBlockAppearance.h deleted file mode 100644 index c4b026f2..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMBlockAppearance.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// ICMBlockAppearance.h -// Pods -// -// Created by Brian Boyle on 22/06/2016. -// -// - -#import -#import - -@interface ICMBlockAppearance : NSObject - -+ (instancetype)sharedInstance; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMBlockLoader.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMBlockLoader.h deleted file mode 100644 index da109e14..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMBlockLoader.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// ICMBlockLoader.h -// IntercomSDK -// -// Created by Brian Boyle on 18/09/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import -@protocol ITBBlockAppearance; -@class ITBBlock; - -@interface ICMBlockLoader : NSObject - -+ (ITBBlock *)blockFromDictionary:(NSDictionary *)dictionary appearance:(id)appearance; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMButton.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMButton.h deleted file mode 100644 index 2097a5cd..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMButton.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// ICMButton.h -// IntercomSDK -// -// Created by Brian Boyle on 03/07/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -typedef NS_ENUM(NSInteger, ICMButtonStyle) { - ICMButtonStyleFilled, - ICMButtonStyleColorFade, -}; - -@interface ICMButton : UIButton - -@property (nonatomic, assign) CGFloat cornerRadius; - -/** - * Create a standard Intercom button. This button will adopt the apps primary colour. - * - * @param title The button title. - * @param style The button style. - * @return A new Intercom button instance. -*/ -- (instancetype)initWithTitle:(NSString *)title style:(ICMButtonStyle)style; - -/** - * Create a standard Intercom button. This button will adopt colors derived from `backgroundColor`. - * - * @param title The button title. - * @param style The button style. - * @param backgroundColor Set the main color of the button. - * @return A new Intercom button instance. -*/ -- (instancetype)initWithTitle:(NSString *)title style:(ICMButtonStyle)style backgroundColor:(UIColor *)backgroundColor; - -/// Computes `text` and `border` color from the backgroundColor and applies all 3 colors to the button. -/// @param backgroundColor Set the main color of the button. -- (void)configureForFilledStyleBackgroundColor:(UIColor *)backgroundColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMCarouselBlockAppearance.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMCarouselBlockAppearance.h deleted file mode 100644 index 4aa51709..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMCarouselBlockAppearance.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// ICMCarouselBlockAppearance.h -// IntercomSDK -// -// Created by Brian Boyle on 24/02/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMCarouselBlockAppearance : ICMAdminBlockAppearance - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMColor.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMColor.h deleted file mode 100644 index d5dd3ddf..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMColor.h +++ /dev/null @@ -1,103 +0,0 @@ -#import -#import - -@interface ICMColor : NSObject - -+ (UIColor *)primaryColor; - -+ (UIColor *)darkPrimaryColor; -+ (UIColor *)primaryTextColor; -+ (UIColor *)primaryColorVariant; -+ (UIColor *)primaryOrDarkColor; -+ (UIColor *)whiteOrDarkForPrimaryColor; -+ (UIColor *)secondaryColor; -+ (UIColor *)darkSecondaryColor; -+ (UIColor *)lightSecondaryColor; -+ (UIColor *)secondaryTextColor; -+ (UIColor *)secondaryColorVariant; -+ (UIColor *)helpCenterThemeColor; -+ (UIColor *)helpCenterTextColor; -+ (UIColor *)helpCenterSearchPlaceholderColor; -+ (UIColor *)helpCenterSearchBarBackgroundColor; -+ (UIColor *)bubbleTextColorUser; -+ (UIColor *)bubbleFillColorUser; -+ (UIColor *)launcherImageColor; -+ (UIColor *)intercomLinkColor; -+ (UIColor *)composerSeparatorColor; - - -#pragma mark - Colour Palette - -+ (UIColor *)ghostWhite; -+ (UIColor *)dark; -+ (UIColor *)charcoalGrey; -+ (UIColor *)silver; -+ (UIColor *)intercomBlue; -+ (UIColor *)errorColor; -+ (UIColor *)closeButtonDarkColorWithAlpha:(CGFloat)alpha; -+ (UIColor *)closeButtonLightColor; -+ (UIColor *)closeButtonLightColorWithAlpha:(CGFloat)alpha; - - -#pragma mark - Active/Away States - -+ (UIColor *)activeColour; -+ (UIColor *)awayColour; - - -#pragma mark - Button colors - -/** - * Calculates and returns a darker version of the passed in color. This should be used as the text color of an ICMButton. - * - * @param color The original color. - * @return The darker color to be used as the text color of an ICMButton. -*/ -+ (UIColor *)buttonTextColorVarient:(UIColor *)color; - -/** - * Calculates and returns a lighter version of the passed in color. This should be used as the background of an ICMButton. - * - * @param color The original color. - * @return The lighter color to be used as the background of an ICMButton. -*/ -+ (UIColor *)buttonBackgroundColorVarient:(UIColor *)color; - -/** - * Calculates and returns a darker version of the passed in colour. This should be used as the background color of an ICMButton while it is being tapped. - * - * @param color The original color. - * @return The darker color to be used as the background of am ICMButton while it is being tapped. -*/ -+ (UIColor *)buttonHighlightColor:(UIColor *)color; - -/// Calculates and returns either white or black color based on the lightness of the passed in color so that the text is visible. -/// @param backgroundColor The background color. -/// @return White if the background color is dark, black if the background color is light. -+ (UIColor *)textColorForBackgroundColor:(UIColor *)backgroundColor; - -/// Calculates and returns a color based on the lightness of the passed in color such that the resulting color, when used on a border of a view, could essentially differentiate the view from it's background, even in the case where both the view and it's background have the exact same color. -/// @param backgroundColor The background color. -+ (UIColor *)borderColorForBackgroundColor:(UIColor *)backgroundColor; - - -#pragma mark - Colour Utils - -+ (UIColor *)colorWithR:(int)r g:(int)g b:(int)b; -+ (UIColor *)colorWithR:(int)r g:(int)g b:(int)b alpha:(CGFloat)alpha; -+ (UIColor *)colorWithHexString:(NSString *)hexString; - -/** - * Fades between firstColor and secondColor at the specified ratio: - * - * @ ratio 0.0 - fully firstColor - * @ ratio 0.5 - halfway between firstColor and secondColor - * @ ratio 1.0 - fully secondColor - * - */ - -+ (UIColor *)colorForFadeBetweenFirstColor:(UIColor *)firstColor - secondColor:(UIColor *)secondColor - atRatio:(CGFloat)ratio; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMConfig.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMConfig.h deleted file mode 100644 index 1f304acc..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMConfig.h +++ /dev/null @@ -1,84 +0,0 @@ -#import -#import - -static NSString *const kICMIntercomConfigChangedNotification = @"kICMIntercomConfigChangedNotification"; -static NSString *const kICMMessengerBackgroundImageLoadedNotification = @"kICMMessengerBackgroundImageLoadedNotification"; -static NSString *const kICMMessengerLogoImageLoadedNotification = @"kICMMessengerLogoImageLoadedNotification"; -static NSString *const kICMLauncherCustomLogoImageLoadedNotification = @"kICMLauncherCustomLogoImageLoadedNotification"; - -@protocol ICMConfigProtocol -@property (readonly) BOOL inboundMessages; -@property (readonly) BOOL accessToTeammateEnabled; -@property (readonly) BOOL helpCenterRequireSearch; -@property (nonatomic, copy) NSString *appName; -- (BOOL)receivedFromServer; -@end - -@interface ICMConfig : ICMSafeNetworkModel - -@property (nonatomic, copy) NSString *primaryColorString; -@property (nonatomic, copy) NSString *secondaryColorString; -@property (nonatomic, copy) NSString *appName; -@property (nonatomic, copy) NSString *teamIntro; -@property (nonatomic, copy) NSString *messengerBackgroundImageUrlString; -@property (nonatomic, copy) NSString *messengerLogoUrlString; -@property (nonatomic, copy) NSString *teamGreeting; -@property (nonatomic, copy) NSString *launcherAlignment; -@property (nonatomic, copy) NSString *temporaryExpectationsMessage; -@property (nonatomic, assign) NSInteger launcherBottomPadding; -@property (nonatomic, copy) NSString *launcherCustomLogoURLString; -@property (nonatomic, assign) NSInteger uploadSizeLimit; - -@property (nonatomic, assign) BOOL inboundMessages; -@property (nonatomic, assign) BOOL attachmentsEnabled; -@property (nonatomic, assign) BOOL gifsEnabled; -@property (nonatomic, assign) BOOL showIntercomLink; -@property (nonatomic, assign) BOOL audioEnabled; -@property (nonatomic, assign) BOOL metricsEnabled; -@property (nonatomic, assign) BOOL backgroundRequestsEnabled; -@property (nonatomic, assign) BOOL shouldDisplayDarkPrimaryColor; -@property (nonatomic, assign) BOOL shouldDisplayDarkSecondaryColor; -@property (nonatomic, assign) BOOL shouldDisplayDarkHelpCenterColor; -@property (nonatomic, assign) BOOL identityVerificationEnabled; -@property (nonatomic, assign) BOOL accessToTeammateEnabled; -@property (nonatomic, assign) BOOL helpCenterRequireSearch; -@property (nonatomic, assign) BOOL preventMultipleInboundConversations; - -@property (nonatomic, assign) NSTimeInterval userUpdateDupCacheMaxAge; -@property (nonatomic, assign) NSTimeInterval newSessionThreshold; -@property (nonatomic, assign) NSTimeInterval batchUserUpdatePeriod; -@property (nonatomic, assign) NSTimeInterval softResetTimeout; -@property (nonatomic, assign) NSTimeInterval pingDelay; - -@property (nonatomic, assign) NSTimeInterval rateLimitPeriod; -@property (nonatomic, assign) NSUInteger rateLimit; - -@property (nonatomic, copy) NSString *helpCenterUrlString; -@property (nonatomic, copy) NSArray *helpCenterUrlStrings; -@property (nonatomic, copy) NSString *helpCenterBaseColorString; - -@property (nonatomic, strong) NSLocale *intercomLocale; -@property (nonatomic, strong) NSLocale *helpCenterLocale; -@property (nonatomic, strong) NSSet *features; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; - -+ (void)updateSharedInstanceFromDictionary:(NSDictionary *)aDictionary; - -+ (instancetype)sharedConfig; -+ (void)deleteSharedConfig; - -- (BOOL)isEqualToConfig:(ICMConfig *)other; -- (void)saveIfNeeded; -- (void)save; -- (UIImage *)messengerBackgroundImage; -- (UIImage *)messengerLogoImage; -- (UIImage *)customLauncherImage; -- (UIColor *)primaryColor; -- (UIColor *)secondaryColor; -- (UIColor *)helpCenterBaseColor; -- (BOOL)hasFeature:(NSString *)feature; -- (BOOL)receivedFromServer; -- (BOOL)useDefaultLauncherAlignment; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentStackView.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentStackView.h deleted file mode 100644 index 12b48c08..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentStackView.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// ICMContentStackView.h -// IntercomSDK -// -// Created by Brian Boyle on 16/01/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import - -@class ITBBlock; -@class ICMBlockAppearance; - -NS_ASSUME_NONNULL_BEGIN - -typedef NS_ENUM(NSInteger, ICMContentStackViewContext) { - ICMContentStackViewContextCarousel, - ICMContentStackViewContextSurvey -}; - -@interface ICMContentStackView : UIStackView - -- (instancetype)initWithBlocks:(NSArray *)blocks context:(ICMContentStackViewContext)context; -- (void)renderContent; -- (void)updateFirstBlockWithAppearance:(ICMBlockAppearance *)appearance; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentViewController.h deleted file mode 100644 index 740e4dcd..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// ICMContentViewController.h -// IntercomSDK -// -// Created by Michael McNamara on 05/10/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMContentViewController - -@property (nonatomic, weak) id contentDelegate; - -@required -- (void)reload; -- (void)closeButtonTapped; -- (void)viewDidDismissBySwipe; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentViewControllerDelegate.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentViewControllerDelegate.h deleted file mode 100644 index 18e2e201..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMContentViewControllerDelegate.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// ICMContentViewControllerDelegate.h -// IntercomSDK -// -// Created by Michael McNamara on 30/03/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMContentViewControllerDelegate - -@required -- (void)contentDidLoadWithDismissEnabled:(BOOL)dismissEnabled; -- (void)contentDidLoadWithDismissEnabled:(BOOL)dismissEnabled - swipeDismissalRequiresConfirmation:(BOOL)requiresConfirmation - didAttemptDismiss:(void (^_Nullable)(void))didAttemptDismissBlock; -- (void)showLoadingViewWithImage:(UIImage *)image; -- (void)contentLoadingDidFail:(NSString *)errorMessage - showActionButton:(BOOL)showActionButton - actionButtonTitle:(NSString * _Nullable)actionButtonTitle; -- (void)configureCloseButtonForBackgroundColor:(UIColor *)backgroundColor; -- (void)closeContentModal; -- (void)configureDismissEnabled:(BOOL)dismissEnabled; -- (void)configureDismissEnabled:(BOOL)dismissEnabled -swipeDismissalRequiresConfirmation:(BOOL)requiresConfirmation - didAttemptDismiss:(void (^_Nullable)(void))didAttemptDismissBlock; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMCountLimitInputValidator.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMCountLimitInputValidator.h deleted file mode 100644 index 5ab74d83..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMCountLimitInputValidator.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMCountLimitInputValidator.h -// IntercomSDK-Dynamic -// -// Created by Michael McNamara on 18/11/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMCountLimitInputValidator : NSObject - -- (instancetype)initWithMinimumCount:(NSInteger)minimumCount maximumCount:(NSInteger)maximumCount; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMDataManager.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMDataManager.h deleted file mode 100644 index 20f2d3b1..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMDataManager.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// ICMDataManager.h -// IntercomSDK -// -// Created by Dale Cantwell on 28/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import -#import -#import - -@class ICMConversation; - -@interface ICMDataManager : NSObject -@property (nonatomic, readonly) NSMutableArray *conversations; -@property (nonatomic, strong) NSString *conversationToMark; -@property (nonatomic, strong) ICMUnreadManager *unreadManager; -@property (nonatomic, strong) ICMConversation *lastViewedConversation; -@property (nonatomic, assign) BOOL morePagesAvailable; -@property (nonatomic, assign) BOOL hasReceivedConversationsResponse; - -+ (instancetype)sharedManager; -- (void)updateConversationsBefore:(NSDate *)before success:(void (^)(NSArray *conversations, BOOL newElementsAdded))success failure:(void (^)(NSError *error))failure; -- (void)updateConversationsWithSuccess:(void (^)(NSArray *conversations))success failure:(void (^)(NSError *error))failure; -- (void)updateWithConversation:(ICMConversation *)conversation; -- (void)getUnreadConversationsIfNeeded; -- (NSArray *)getRecentConversations; -- (NSArray *)getPreviousConversations; -- (void)clearConversations; -- (BOOL)hasRecentConversations; -- (BOOL)hasPreviousConversations; -- (NSInteger)recentConversationCount; -- (BOOL)hasConversations; -- (BOOL)hasOpenInboundConversation; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMDataManagerProtocol.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMDataManagerProtocol.h deleted file mode 100644 index 98b4d60b..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMDataManagerProtocol.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// ICMDataManagerProtocol.h -// IntercomSDK -// -// Created by Michael McNamara on 14/09/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#ifndef ICMDataManagerProtocol_h -#define ICMDataManagerProtocol_h - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMDataManagerProtocol - -- (BOOL)hasRecentConversations; -- (BOOL)hasPreviousConversations; -- (int)recentConversationCount; - -@end - -NS_ASSUME_NONNULL_END - -#endif /* ICMDataManagerProtocol_h */ diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEmailTextField.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEmailTextField.h deleted file mode 100644 index 8a444e52..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEmailTextField.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// ICMEmailTextField.h -// IntercomSDK -// -// Created by Brian Boyle on 03/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMEmailTextField : ICMTextField - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEmptyInputValidator.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEmptyInputValidator.h deleted file mode 100644 index c6cfa84e..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEmptyInputValidator.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// ICMEmptyInputValidator.h -// IntercomSDK -// -// Created by Brian Boyle on 07/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMEmptyInputValidator : NSObject - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEngine.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEngine.h deleted file mode 100644 index 76d479ed..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMEngine.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ICMEngine.h -// Intercom -// -// Created by Brian Boyle on 16/08/2016. -// -// - -@protocol ICMFileUploadConfig; -@protocol ICMFileDownloadConfig; - -typedef void (^ICMHTTPEmptySuccess)(void); -typedef void (^ICMHTTPDownloadContentSuccess)(NSURL *location, NSURLResponse *response); -typedef void (^ICMHTTPClientError) (NSError *error); -typedef void (^ICMHTTPClientProgress) (double progress); - -@interface ICMEngine : NSObject - -- (void)requestWithoutRedirects:(NSURLRequest *)request success:(ICMHTTPEmptySuccess)success failure:(ICMHTTPClientError)failure; -- (NSURLSessionUploadTask *)uploadFileWithFileName:(NSString *)filename data:(NSData *)data uploadConfig:(id)uploadConfig success:(ICMHTTPEmptySuccess)success progress:(ICMHTTPClientProgress)progress failure:(ICMHTTPClientError)failure; -- (NSURLSessionDownloadTask *)downloadFileFrom:(NSURL *)url downloadConfig:(id)downloadConfig success:(ICMHTTPDownloadContentSuccess)success failure:(ICMHTTPClientError)failure; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMErrorViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMErrorViewController.h deleted file mode 100644 index a4cc1b5b..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMErrorViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// ICMErrorViewController.h -// IntercomSDK -// -// Created by Roland Gropmair on 12/11/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMErrorViewDelegate; - -@interface ICMErrorViewController : UIViewController - -@property (nonatomic, weak) id errorDelegate; - -- (instancetype)initWithTitle:(NSString *)title showActionButton:(BOOL)showRetryButton actionButtonTitle:(NSString * _Nullable)retryButtonTitle; -- (void)configureForBackgroundColor:(UIColor *)backgroundColor buttonColor:(UIColor *)buttonColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMErrorViewDelegate.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMErrorViewDelegate.h deleted file mode 100644 index ec703d62..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMErrorViewDelegate.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMErrorViewDelegate.h -// IntercomSDK-Dynamic -// -// Created by Brian Boyle on 29/03/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMErrorViewDelegate - -@optional -- (void) didSelectErrorAction; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMFeedbackGenerator.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMFeedbackGenerator.h deleted file mode 100644 index 3548df4a..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMFeedbackGenerator.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// ICMFeedbackGenerator.h -// IntercomSDK -// -// Created by Michael Isaakidis on 31/08/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -typedef NS_ENUM(NSUInteger, ICMFeedbackGeneratorType) { - ICMFeedbackGeneratorTypeSelection, - ICMFeedbackGeneratorTypeError, - ICMFeedbackGeneratorTypeSuccess, - ICMFeedbackGeneratorTypeWarning, -}; - -@interface ICMFeedbackGenerator : NSObject - -+ (void)feedbackWithType:(ICMFeedbackGeneratorType)type; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMFormAttribute.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMFormAttribute.h deleted file mode 100644 index 353b78d5..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMFormAttribute.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// ICMAttribute.h -// IntercomSDK -// -// Created by Dale Cantwell on 20/02/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import -#import - -typedef NS_ENUM(NSUInteger, ICMFormAttributeInputType) { - ICMFormAttributeInputTypeSimpleText = 0, - ICMFormAttributeInputTypeEmail = 1, - ICMFormAttributeInputTypePhone = 2, - ICMFormAttributeInputTypePicker = 3, - ICMFormAttributeInputTypeInteger = 4, - ICMFormAttributeInputTypeFloat = 5, - ICMFormAttributeInputTypeDate = 6, - ICMFormAttributeInputTypeBoolean = 7, - ICMFormAttributeInputTypeWebsite = 8, - ICMFormAttributeInputTypeUnknown = 9, -}; - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMFormAttribute : ICMSafeNetworkModel - -@property (nonatomic, copy) NSString *customBotId; -@property (nonatomic, copy) NSString *identifier; -@property (nonatomic, copy) NSString *name; -@property (nonatomic, copy) NSString *type; -@property (nonatomic, copy) NSArray *options; -@property (nonatomic, strong, nullable) id value; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)dictionary; -+ (void)storeFormError:(NSString *)error key:(NSString *)key; -+ (NSString *)fetchFormErrorForKey:(NSString *)key; -+ (void)clearFormErrorsCache; -- (ICMFormAttributeInputType)formInputType; -- (NSString *)uniqueId; - - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHTTPClient.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHTTPClient.h deleted file mode 100644 index 47972845..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHTTPClient.h +++ /dev/null @@ -1,196 +0,0 @@ -// -// Created by Ignacio Delgado on 15/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@class ArticleMetaData; - -@interface ICMHTTPClient : NSObject - -#pragma mark - User Updates - -+ (void)updateUserWithUserAttributes:(NSDictionary *)attributes - newSession:(BOOL)newSession - sentFromBackground:(BOOL)sentFromBackground - carouselVisible:(BOOL)carouselCurrentlyPresented - success:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Push Notification - -+ (void)submitDeviceTokenWithFailure:(void(^)(NSError *error))failure; -+ (void)deleteDeviceToken:(NSString *)deviceTokenString - forUserIdentity:(ICMUserIdentity *)userIdentity - completion:(ICMHTTPEmptyBlock)completion; -+ (void)downloadRichPushMediaAttachmentFrom:(NSURL *)url success:(ICMHTTPRichPushMediaDownloadSuccess)success failure:(ICMHTTPClientError)failure; - - -#pragma mark - Events - -+ (void)logEventWithName:(NSString *)name - metadata:(NSDictionary *)metadata - sentFromBackground:(BOOL)sentFromBackground - carouselVisible:(BOOL)carouselCurrentlyPresented - success:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Conversations - -+ (void)markConversationAsRead:(NSString *)conversationId success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; -+ (void)markConversationAsDismissed:(NSString *)conversationId success:(ICMHTTPEmptySuccess)success error:(ICMHTTPClientError)failure; -+ (void)recordInteractions:(NSString *)conversationId - interactions:(NSArray *)interactions; -+ (void)unreadConversations:(NSInteger)pageSize success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; -+ (void)conversationsBefore:(NSDate *)beforeTimestamp pageSize:(NSInteger)pageSize success:(ICMHTTPConversationsSuccess)success error:(ICMHTTPClientError)failure; - -/// Create a new conversation. -/// @param blocks The blocks. -/// @param articleMetaData If a conversation is started from an article, the articleId should be passed through. This allows teammates know what article a conversation was started from. The articleSource will also be included when Help Center when opened from the Search/Browse card -/// @param success Success completion block. -/// @param failure Failure completion block. -+ (void)createConversationWithBlocks:(NSArray *)blocks - articleMetaData:(ArticleMetaData *)articleMetaData - success:(ICMHTTPConversationSuccess)success - error:(ICMHTTPClientError)failure; -+ (void)replyToConversation:(NSString *)conversationId - withBlocks:(NSArray *)blocks - success:(ICMHTTPReplyConversationSuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)reactToConversation:(NSString *)conversationId withReactionIndex:(NSUInteger)index; -+ (void)conversationDetail:(NSString *)conversationId success:(ICMHTTPConversationSuccess)success error:(ICMHTTPClientError)failure; - - -#pragma mark - Conversation Ratings - -+ (void)rateConversation:(NSString *)conversationId withRatingIndex:(NSUInteger)ratingIndex; -+ (void)addConversationRatingRemarkForConversation:(NSString *)conversationId remark:(NSString *)remark; - - -#pragma mark - Articles - -+ (void)article:(NSString *)articleId success:(ICMHTTPArticleSuccess)success error:(ICMHTTPClientError)failure; -+ (void)reactToArticle:(NSString *)articleId articleContentId:(NSString *)articleContentId withReactionIndex:(NSUInteger)index allowAutoResponses:(BOOL)allowAutoResponses articleSource:(NSString *)articleSource; - - -#pragma mark - GIFs - -+ (void)loadGIFs:(NSString *)searchQuery - success:(ICMHTTPGIFSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Metrics - -+ (void)submitMetrics:(NSArray *> *)metrics - opsMetrics:(NSArray *> *)opsMetrics - success:(ICMHTTPEmptySuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Uploads - -+ (void)createUploadWithUpload:(ITBUpload *)upload success:(ICMHTTPUploadCreateSuccess)success progress:(ICMHTTPClientProgress)progress error:(ICMHTTPClientError)failure; - - -#pragma mark - URL Tracker - -+ (void)trackURL:(NSString *)url; - - -#pragma mark - Operator - -+ (void)operatorConditionSatisfied:(NSString *)transitionId - converstionId:(NSString *)conversationId - error:(ICMHTTPClientError)failure; - - -#pragma mark - Sheets - -+ (void)fetchMessengerSheetData:(NSDictionary *)sheetParams success:(ICMHTTPSheetSuccess)success failure:(ICMHTTPClientError)failure; -+ (void)submitMessengerSheet:(NSDictionary *)sheetPayload uri:(NSString *)uri success:(ICMHTTPEmptyBlock)success failure:(ICMHTTPClientError)failure; - - -#pragma mark - Homescreen - -+ (void)fetchHomescreenWithSuccess:(ICMHTTPHomescreenSuccess)success failure:(ICMHTTPClientError)failure; - - -#pragma mark - Quick Reply - -+ (void)quickReplyToConversation:(NSString *)conversationId - withPartId:(NSString *)quickReplyPartId - withOptionUUID:(NSString *)uuid - success:(ICMHTTPReplyConversationSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Attribute Collector - -+ (void)submitFormParams:(NSDictionary *)formParams - forConversation:(NSString *)conversationId - success:(ICMHTTPSubmitFormSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Inbound Custom Bots - -+ (void)triggerInboundBotWithOptionUUID:(NSString *)uuid - success:(ICMHTTPConversationSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Stats System - -+ (void)recordStatistic:(NSString *)statToRecord withInstanceId:(NSString *)instanceId statsMetadata:(NSDictionary *)statsMetadata success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; - - -#pragma mark - Carousels - -+ (void)getCarouselWithId:(NSString*)carouselId - success:(ICMHTTPCarouselSuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getCarouselWithInstanceId:(NSString*)carouselInstanceId - success:(ICMHTTPCarouselSuccess)success - error:(ICMHTTPClientError)failure; - -#pragma mark - Help Center - -+ (void)getHelpCenterCollections:(ICMHTTPArraySuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getHelpCenterCollection:(NSString*)collectionId - success:(ICMHTTPDictionarySuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getHelpCenterSearchResults:(NSString*)searchText - source:(NSString*)source - success:(ICMHTTPArraySuccess)success - error:(ICMHTTPClientError)failure; - -#pragma mark - Surveys - -+ (void)submitSurvey:(Survey *)survey - success:(ICMHTTPDictionarySuccess)success - error:(ICMHTTPClientError)failure; - - -+ (void)dismissSurvey:(Survey *)survey - success:(ICMHTTPEmptyBlock)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Composer suggestions - - -+ (void)openMessenger:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; - -@end - diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHTTPClientProtocol.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHTTPClientProtocol.h deleted file mode 100644 index 03d8aa5a..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHTTPClientProtocol.h +++ /dev/null @@ -1,98 +0,0 @@ -// -// ICMHTTPClientProtocol.h -// IntercomSDK -// -// Created by Michael McNamara on 14/04/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#ifndef ICMHTTPClientProtocol_h -#define ICMHTTPClientProtocol_h - -#import - -@class ITBUpload; -@class ICMConversationsResponse; -@class ICMConversation; -@class ICMConversationPart; -@class ICMArticle; -@class ICMGIFResponse; -@class ICMSheet; -@class ICMHomescreen; -@class ICMBaseResponse; -@class ICMCarousel; -@class ICMUserIdentity; -@class Survey; -@class ICMComposerSuggestions; - -static const NSInteger kICMHTTPClientDefaultPageSize = 10; -static const NSInteger kNewContentEventTypeCarousel = 44; - -NS_ASSUME_NONNULL_BEGIN - -typedef void (^ICMHTTPBaseSuccess)(ICMBaseResponse *response); -typedef void (^ICMHTTPConversationsSuccess)(ICMConversationsResponse *response); -typedef void (^ICMHTTPConversationSuccess)(ICMConversation *response); -typedef void (^ICMHTTPReplyConversationSuccess)(ICMConversationPart *response); -typedef void (^ICMHTTPUploadCreateSuccess)(NSString * _Nullable publicUrl); -typedef void (^ICMHTTPArticleSuccess)(ICMArticle *article); -typedef void (^ICMHTTPGIFSuccess)(ICMGIFResponse *gifResponse); -typedef void (^ICMHTTPSheetSuccess)(ICMSheet *sheet); -typedef void (^ICMHTTPHomescreenSuccess)(ICMHomescreen *sheet); -typedef void (^ICMHTTPEmptyBlock) (void); -typedef void (^ICMHTTPSubmitFormSuccess)(ICMConversation *response); -typedef void (^ICMHTTPCarouselSuccess)(ICMCarousel *carousel); -typedef void (^ICMHTTPArraySuccess)(NSArray *array); -typedef void (^ICMHTTPDictionarySuccess)(NSDictionary *object); -typedef void (^ICMHTTPComposerSuggestionsSuccess)(ICMComposerSuggestions *composerSuggestions); -typedef void (^ICMHTTPRichPushMediaDownloadSuccess)(NSURL *location); - -@protocol ICMHTTPClientProtocol - -#pragma mark - Help Center - -+ (void)getHelpCenterCollections:(nullable ICMHTTPArraySuccess)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)getHelpCenterCollection:(nullable NSString*)collectionId - success:(nullable ICMHTTPDictionarySuccess)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)getHelpCenterSearchResults:(NSString*)searchText - source:(nullable NSString*)source - success:(nullable ICMHTTPArraySuccess)success - error:(nullable ICMHTTPClientError)failure; - -#pragma mark - Surveys - -+ (void)submitSurvey:(Survey *)survey - success:(nullable ICMHTTPDictionarySuccess)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)dismissSurvey:(Survey *)survey - success:(nullable ICMHTTPEmptyBlock)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)failSurvey:(NSString *)surveyId - progressId:(NSInteger)progressId - success:(nullable ICMHTTPEmptyBlock)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)actionButtonClicked:(Survey *)survey - stepId:(NSString *)stepId - success:(nullable ICMHTTPEmptyBlock)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)getSurvey:(NSString *)surveyId - success:(nullable ICMHTTPDictionarySuccess)success - error:(nullable ICMHTTPClientError)failure; - - - - -@end - -NS_ASSUME_NONNULL_END - - -#endif /* ICMHTTPClientProtocol_h */ diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHelpCenterTranslationManager.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHelpCenterTranslationManager.h deleted file mode 100644 index 1d4e5c16..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHelpCenterTranslationManager.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMHelpCenterTranslationManager.h -// IntercomSDK-Dynamic -// -// Created by Michael McNamara on 16/06/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -/// A `ICMTranslationManager` subclass that uses our `help_center_locale` instead of the standard Intercom locale. -/// This should be used to translate any strings in our native Help Center. -@interface ICMHelpCenterTranslationManager : ICMTranslationManager - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMInAppsViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMInAppsViewController.h deleted file mode 100644 index d85336d2..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMInAppsViewController.h +++ /dev/null @@ -1,68 +0,0 @@ -// -// ICMInAppsViewController.h -// Pods -// -// Created by James Treanor on 07/12/2015. -// -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ICMConversation; -@class ICMHostAppState; - -typedef NS_ENUM(NSUInteger, ICMInAppsViewControllerState){ - ICMInAppsViewControllerStateEmpty = 0, - ICMInAppsViewControllerStateSnippet = 1, - ICMInAppsViewControllerStateMultipleSnippets = 2, - ICMInAppsViewControllerStateFull = 3, -}; - -@protocol ICMInAppsDelegate -- (void)presentConversation:(ICMConversation *)conversation fromFull:(BOOL)fromFull; -- (void)dismissConversation:(ICMConversation *)conversation fromFull:(BOOL)fromFull; -- (void)hideInApp:(UIViewController *)inApp; -- (void)showInbox; -@optional -- (void)conversationShown:(ICMConversation *)conversation asFull:(BOOL)asFull; -- (BOOL)isMessengerPresented; -- (BOOL)shouldShowLauncher; -- (void)launcherTapped; -- (void)didShowFullScreenInApp; -- (void)didHideFullScreenInApp; -- (void)didHideInApps; -@end - -@protocol ICMInAppUpdateProtocol -- (void)conversationMarkedAsRead:(NSString *)conversationId; -@end - -@protocol ICMInAppsAnimationProtocol -- (void)animateOutWithCompletion:(void (^ __nullable)(void))completion; -@end - -@protocol ICMFullScreenInAppProtocol -- (ICMConversation *)conversation; -@end - -@interface ICMInAppsViewController : UIViewController - -- (instancetype)initWithConversations:(NSArray *)conversations delegate:(id )delegate hostAppState:(ICMHostAppState *)state; -- (BOOL)shouldHandleTouchOnView:(UIView *)view; -- (BOOL)isShowingLauncherOrInApp; -- (void)tearDownInApps; -- (void)tearDown; -- (void)updateLauncherVisibility; -- (void)setConversations:(NSArray *)conversations completion:(void (^ __nullable)(void))completion; -- (void)hideLauncherWithAnimation; -- (void)bottomPaddingUpdated; -- (ICMInAppsViewControllerState)state; - -@property (nonatomic, strong) NSArray *conversations; -@property (nonatomic, strong) ICMHostAppState *hostAppState; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMInputViewProtocol.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMInputViewProtocol.h deleted file mode 100644 index 9ffbef39..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMInputViewProtocol.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// ICMInputViewProtocol.h -// IntercomSDK -// -// Created by Brian Boyle on 09/04/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMInputViewProtocol - -@property (nonatomic) BOOL isRequired; -- (BOOL)isUserInputValid:(NSError * __autoreleasing *)error; -- (nullable id)inputValue; -- (void)configureErrorState; -- (void)configureDefaultState; -@end - -@protocol ICMSubmittableInputViewProtocol -- (void)configureSuccessState; -- (void)configureLoadingState; -@end - -@protocol ICMInputViewDelegate -- (void)entryCompleteButtonTapped; -- (void)cancelButtonTapped; -- (void)valueUpdated:(nullable id)value; -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMIntegerTextField.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMIntegerTextField.h deleted file mode 100644 index df629165..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMIntegerTextField.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// ICMIntegerTextField.h -// IntercomSDK -// -// Created by Brian Boyle on 03/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMIntegerTextField : ICMTextField - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMLinkOpener.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMLinkOpener.h deleted file mode 100644 index 96a7b29e..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMLinkOpener.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// Created by Ignacio Delgado on 18/11/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import - -@protocol ICMLinkOpenerProtocol -+ (BOOL)isExternalLink:(NSURL *)url; -@end - -@interface ICMLinkOpener : NSObject - -+ (void)openLink:(NSURL *)url; -+ (BOOL)isCustomSchemeURL:(NSURL *)urlToCheck; -+ (BOOL)isUniversalLink:(NSURL *)urlToCheck; -+ (BOOL)isHelpCenterLink:(NSURL *)url; -+ (BOOL)isExternalLink:(NSURL *)url; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMLoadingViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMLoadingViewController.h deleted file mode 100644 index 002c2730..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMLoadingViewController.h +++ /dev/null @@ -1,10 +0,0 @@ - -#import -#import - -@interface ICMLoadingViewController : UIViewController - -- (instancetype)initWithImage:(UIImage *)loadingImage accessibilityText:(NSString *)accessibilityText; -- (void)hideLoadingSpinner; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMetric.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMetric.h deleted file mode 100644 index 207c8db8..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMetric.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// ICMMetric.h -// Pods -// -// Created by James Treanor on 07/08/2015. -// -// - -#import -#import -@class ICMOpsMetricEvent; - -@protocol ICMMetricProtocol -- (void)addEvent:(ICMMetricEvent *)event NS_SWIFT_NAME(addEvent(_:)); -@end - -@interface ICMMetric : NSObject - -+ (instancetype)sharedInstance; - -- (void)addEvent:(ICMMetricEvent *)event NS_SWIFT_NAME(addEvent(_:)); -- (void)addOpsEvent:(ICMOpsMetricEvent *)opsEvent; -- (NSSet *)events; -- (NSSet *)opsEvents; -- (void)clearAllEvents; -- (void)clearEvents:(NSSet *)events opsEvents:(NSSet *)opsEvents; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMetricEvent.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMetricEvent.h deleted file mode 100644 index c502365d..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMetricEvent.h +++ /dev/null @@ -1,267 +0,0 @@ -// -// ICMMetricEvent.h -// Pods -// -// Created by James Treanor on 15/03/2016. -// -// - -#import - -typedef NS_ENUM(NSUInteger, ICMMetricEventType) { - ICMMetricEventTypeMessenger = 0, - ICMMetricEventTypeEducate = 1, - ICMMetricEventTypeCarousel = 2, - ICMMetricEventTypeSearchBrowse = 3, - ICMMetricEventTypeSurvey = 4 -}; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Actions -static NSString *const ICMMetricEventActionOpened = @"opened"; -static NSString *const ICMMetricEventActionClosed = @"closed"; -static NSString *const ICMMetricEventActionReceived = @"received"; -static NSString *const ICMMetricEventActionDismissed = @"dismissed"; -static NSString *const ICMMetricEventActionViewed = @"viewed"; -static NSString *const ICMMetricEventActionSent = @"sent"; -static NSString *const ICMMetricEventActionTyped = @"typed"; -static NSString *const ICMMetricEventActionClicked = @"clicked"; -static NSString *const ICMMetricEventActionSearched = @"searched"; -static NSString *const ICMMetricEventActionCompleted = @"completed"; -static NSString *const ICMMetricEventActionStarted = @"started"; -static NSString *const ICMMetricEventActionFailed = @"failed"; -static NSString *const ICMMetricEventActionRequested = @"requested"; -static NSString *const ICMMetricEventActionUsed = @"used"; - -#pragma mark - Objects -static NSString *const ICMMetricEventObjectConversation = @"conversation"; -static NSString *const ICMMetricEventObjectNewConversation = @"new_conversation"; -static NSString *const ICMMetricEventObjectMessenger = @"messenger"; -static NSString *const ICMMetricEventObjectMessage = @"message"; -static NSString *const ICMMetricEventObjectReply = @"reply"; -static NSString *const ICMMetricEventObjectQuickReplies = @"quick_replies"; -static NSString *const ICMMetricEventObjectQuickReply = @"quick_reply"; -static NSString *const ICMMetricEventObjectReaction = @"reaction"; -static NSString *const ICMMetricEventObjectBadge = @"badge"; -static NSString *const ICMMetricEventObjectTeamProfile = @"team_profile"; -static NSString *const ICMMetricEventObjectTeammateProfile = @"teammate_profile"; -static NSString *const ICMMetricEventObjectArticle = @"article"; -static NSString *const ICMMetricEventObjectArticlePreload = @"article_preload"; -static NSString *const ICMMetricEventObjectHelpCenter = @"help_center"; -static NSString *const ICMMetricEventObjectGIFInput = @"gif_input"; -static NSString *const ICMMetricEventObjectTextInput = @"text_input"; -static NSString *const ICMMetricEventObjectImageInput = @"image_input"; -static NSString *const ICMMetricEventObjectExpandedImageInput = @"expanded_image_input"; -static NSString *const ICMMetricEventObjectExpandedGIFInput = @"expanded_gif_input"; -static NSString *const ICMMetricEventObjectMessengerSheet = @"messenger_sheet"; -static NSString *const ICMMetricEventObjectHomescreen = @"home_screen"; -static NSString *const ICMMetricEventObjectHelpCenterData = @"help_center_data"; -static NSString *const ICMMetricEventObjectArticleReaction = @"article_reaction"; -static NSString *const ICMMetricEventObjectSearchBrowse = @"search_browse_card"; -static NSString *const ICMMetricEventObjectSearchBrowseInput = @"search_browse_card_input"; -static NSString *const ICMMetricEventObjectSurvey = @"survey"; -static NSString *const ICMMetricEventObjectSurveyPreload = @"survey_preload"; -static NSString *const ICMMetricEventObjectStepLoad = @"step_load"; -static NSString *const ICMMetricEventObjectStepError = @"step_error"; - -// SDK Api -static NSString *const ICMMetricEventObjectInitialise = @"initialise"; -static NSString *const ICMMetricEventObjectUserHash = @"user_hash"; -static NSString *const ICMMetricEventObjectLoginUnidentifiedUser = @"login_unidentified_user"; -static NSString *const ICMMetricEventObjectRegisterUnidentifiedUser = @"register_unidentified_user"; -static NSString *const ICMMetricEventObjectLoginIdentifiedUser = @"login_identified_user"; -static NSString *const ICMMetricEventObjectRegisterIdentifiedUserEmailUserId= @"register_identified_user_email_user_id"; -static NSString *const ICMMetricEventObjectRegisterIdentifiedUserUserId = @"register_identified_user_user_id"; -static NSString *const ICMMetricEventObjectRegisterIdentifiedUserEmail = @"register_identified_user_email"; -static NSString *const ICMMetricEventObjectLogout = @"logout"; -static NSString *const ICMMetricEventObjectReset = @"reset"; -static NSString *const ICMMetricEventObjectUpdateUserCallback = @"update_user_callback"; -static NSString *const ICMMetricEventObjectUpdateUser = @"update_user"; -static NSString *const ICMMetricEventObjectLogEvent = @"log_event"; -static NSString *const ICMMetricEventObjectLogEventMetaData = @"log_event_metadata"; -static NSString *const ICMMetricEventObjectPresentMessenger = @"present_messenger"; -static NSString *const ICMMetricEventObjectPresentMessageComposerInitialMessage = @"present_message_composer_initial_message"; -static NSString *const ICMMetricEventObjectPresentMessageComposer = @"present_message_composer"; -static NSString *const ICMMetricEventObjectPresentMessageComposerWithMessage= @"present_message_composer_with_message"; -static NSString *const ICMMetricEventObjectPresentConversationList = @"present_conversation_list"; -static NSString *const ICMMetricEventObjectPresentHelpCenter = @"present_help_center"; -static NSString *const ICMMetricEventObjectPresentHelpCenterCollections = @"present_help_center_collections"; -static NSString *const ICMMetricEventObjectPresentArticle = @"present_article"; -static NSString *const ICMMetricEventObjectFetchHelpCenterCollections = @"fetch_help_center_collections"; -static NSString *const ICMMetricEventObjectFetchHelpCenterCollection = @"fetch_help_center_collection"; -static NSString *const ICMMetricEventObjectSearchHelpCenter = @"search_help_center"; -static NSString *const ICMMetricEventObjectPresentCarousel = @"present_carousel"; -static NSString *const ICMMetricEventObjectPresentSurvey = @"present_survey"; -static NSString *const ICMMetricEventObjectSetDeviceTokenCallback = @"set_device_token_callback"; -static NSString *const ICMMetricEventObjectSetDeviceToken = @"set_device_token"; -static NSString *const ICMMetricEventObjectIsIntercomPushNotification = @"is_intercom_push_notification"; -static NSString *const ICMMetricEventObjectHandlePushNotification = @"handle_push_notification"; -static NSString *const ICMMetricEventObjectSetBottomPadding = @"set_bottom_padding"; -static NSString *const ICMMetricEventObjectSetInAppMessageVisibility = @"set_inapp_message_visibility"; -static NSString *const ICMMetricEventObjectSetLauncherVisibility = @"set_launcher_visibility"; -static NSString *const ICMMetricEventObjectHideIntercom = @"hide_intercom"; -static NSString *const ICMMetricEventObjectUnreadConversationCount = @"unread_conversation_count"; -static NSString *const ICMMetricEventObjectEnableLogging = @"enable_logging"; -static NSString *const ICMMetricEventObjectSetNeedsStatusBarUpdate = @"set_needs_status_bar_update"; - - -#pragma mark Carousel -static NSString *const ICMMetricEventObjectCarouselMessage = @"carousel_message"; -static NSString *const ICMMetricEventObjectCarouselMessagePreload = @"carousel_message_preload"; -static NSString *const ICMMetricEventObjectCarouselPermissionSkipped = @"carousel_permission_skipped"; -static NSString *const ICMMetricEventObjectCarouselPermissionDialog = @"carousel_permission_dialog"; -static NSString *const ICMMetricEventObjectCarouselPermissionSettings = @"carousel_permission_settings"; - - -#pragma mark - Place -static NSString *const ICMMetricEventPlaceMessenger = @"messenger"; -static NSString *const ICMMetricEventPlaceMessengerHomeApp = @"messenger_home_app"; -static NSString *const ICMMetricEventPlaceConversation = @"conversation"; -static NSString *const ICMMetricEventPlaceInApp = @"in_app"; -static NSString *const ICMMetricEventPlaceCarouselMessage = @"carousel_message"; -static NSString *const ICMMetricEventPlaceWebview = @"webview"; -static NSString *const ICMMetricEventPlaceHelpCenterCollectionList = @"collection_list"; -static NSString *const ICMMetricEventPlaceHelpCenterArticleList = @"article_list"; -static NSString *const ICMMetricEventPlaceHelpCenterSearchResults = @"search_results"; -static NSString *const ICMMetricEventPlaceHelpCenterArticle = @"article"; -static NSString *const ICMMetricEventPlaceAPI = @"api"; -static NSString *const ICMMetricEventPlaceLegacyArticleSearchApp = @"legacy_article_search_app"; -static NSString *const ICMMetricEventPlacePushNotification = @"push"; -static NSString *const ICMMetricEventPlaceHomeScreen = @"home-screen"; -static NSString *const ICMMetricEventPlaceSearchBrowse = @"search_browse"; -static NSString *const ICMMetricEventPlaceSurvey = @"survey"; - - -#pragma mark - Context -static NSString *const ICMMetricEventContextNoContext = @"no_context"; -static NSString *const ICMMetricEventContextFromDefaultLauncher = @"from_launcher"; -static NSString *const ICMMetricEventContextFromCustomLauncher = @"from_custom_launcher"; -static NSString *const ICMMetricEventContextFromCloseButton = @"from_close_button"; -static NSString *const ICMMetricEventContextFromBadge = @"from_badge"; -static NSString *const ICMMetricEventContextFromSnippet = @"from_snippet"; -static NSString *const ICMMetricEventContextFromFull = @"from_full"; -static NSString *const ICMMetricEventContextFromConversationList = @"from_conversation_list"; -static NSString *const ICMMetricEventContextInConversation = @"in_conversation"; -static NSString *const ICMMetricEventContextInNewConversation = @"in_new_conversation"; -static NSString *const ICMMetricEventContextFromConversation = @"from_conversation"; -static NSString *const ICMMetricEventContextFromNewConversation = @"from_new_conversation"; -static NSString *const ICMMetricEventContextFromClosedConversation = @"from_closed_conversation"; -static NSString *const ICMMetricEventContextInFollowUpConversation = @"in_followup_conversation"; -static NSString *const ICMMetricEventContextFromClicking = @"from_clicking"; -static NSString *const ICMMetricEventContextFromScrolling = @"from_scrolling"; -static NSString *const ICMMetricEventContextFromAuto = @"from_auto"; -static NSString *const ICMMetricEventContextFromPush = @"from_push"; -static NSString *const ICMMetricEventContextOnArticle = @"on_article"; -static NSString *const ICMMetricEventContextFromHelpCenterWebView = @"from_help_center_webview"; -static NSString *const ICMMetricEventContextFromArticleOnButton = @"from_article_on_button"; -static NSString *const ICMMetricEventContextHomescreen = @"home_screen"; -static NSString *const ICMMetricEventContextConversation = @"conversation"; -static NSString *const ICMMetricEventContextFromCarousel = @"from_carousel"; -static NSString *const ICMMetricEventContextFromRetry = @"from_retry"; -static NSString *const ICMMetricEventContextFromSwipe = @"from_swipe"; -static NSString *const ICMMetricEventContextFromCTA = @"from_cta"; -static NSString *const ICMMetricEventContextFromPermission = @"from_permission"; -static NSString *const ICMMetricEventContextFromPermissionSkipped = @"from_permission_skipped"; -static NSString *const ICMMetricEventContextReactionHappy = @"reaction_happy"; -static NSString *const ICMMetricEventContextReactionNeutral = @"reaction_neutral"; -static NSString *const ICMMetricEventContextReactionSad = @"reaction_sad"; -static NSString *const ICMMetricEventContextHumanStyle = @"style_human"; -static NSString *const ICMMetricEventContextBotStyle = @"style_bot"; -static NSString *const ICMMetricEventContextArticle = @"article"; -static NSString *const ICMMetricEventContextMessenger = @"messenger"; -static NSString *const ICMMetricEventContextProgrammatic = @"from_programmatic"; -static NSString *const ICMMetricEventContextAutomatic = @"from_automatic"; -static NSString *const ICMMetricEventContextFromExternalLink = @"from_onward_external_link"; -static NSString *const ICMMetricEventContextFromDeepLink = @"from_onward_deep_link"; - -#pragma mark Carousel Permissions -static NSString *const ICMMetricEventContextPushNotification = @"push_notifications_permission"; -static NSString *const ICMMetricEventContextLocation = @"location_permission"; -static NSString *const ICMMetricEventContextCamera = @"camera_permission"; -static NSString *const ICMMetricEventContextPhotoGallery = @"photos_permission"; -static NSString *const ICMMetricEventContextMicrophone = @"microphone_permission"; - -#pragma mark - Info Keys -static NSString *const kICMMetricEventInfoConversationId = @"conversation_id"; -static NSString *const kICMMetricEventInfoClosedConversationId = @"closed_conversation_id"; -static NSString *const kICMMetricEventInfoConversation = @"conversation"; -static NSString *const kICMMetricEventInfoPushInstanceId = @"instance_id"; -static NSString *const kICMMetricEventInfoConversationPart = @"conversation_part"; -static NSString *const kICMMetricEventInfoMessageText = @"message_text"; -static NSString *const kICMMetricEventInfoIsAttachment = @"is_attachment"; -static NSString *const kICMMetricEventInfoIsAnnotated = @"is_annotated"; -static NSString *const kICMMetricEventInfoIsSticker = @"is_sticker"; -static NSString *const kICMMetricEventInfoHasArticleCard = @"has_article_card"; -static NSString *const kICMMetricEventInfoLauncherState = @"state"; -static NSString *const kICMMetricEventInfoPushType = @"push_type"; -static NSString *const kICMMetricEventInfoMessageType = @"message_type"; -static NSString *const kICMMetricEventInfoBadgeValue = @"badge_value"; -static NSString *const kICMMetricEventInfoArticleId = @"article_id"; -static NSString *const kICMMetricEventInfoIsGIF = @"is_gif"; -static NSString *const kICMMetricEventInfoGIFSearchQuery = @"search_query"; -static NSString *const kICMMetricEventInfoTeamMateStatus = @"teammate_status"; -static NSString *const kICMMetricEventInfoTimeSinceLastActive = @"time_since_last_active"; -static NSString *const kICMMetricEventInfoWithinOfficeHours = @"within_office_hours"; -static NSString *const kICMMetricEventInfoURL = @"url"; -static NSString *const kICMMetricEventInfoQuickReplyId = @"quick_reply_id"; -static NSString *const kICMMetricEventInfoScreensInMessage = @"screens_in_message"; -static NSString *const kICMMetricEventInfoScreensShown = @"screens_shown"; -static NSString *const kICMMetricEventInfoScreensSeen = @"screens_seen"; -static NSString *const kICMMetricEventInfoPermissionGranted = @"permission_granted"; -static NSString *const kICMMetricEventInfoCarouselInstanceId = @"instance_id"; -static NSString *const kICMMetricEventInfoRequestedInstanceId = @"requested_instance_id"; -static NSString *const kICMMetricEventInfoRequestedContentId = @"requested_content_id"; -static NSString *const kICMMetricEventInfoSource = @"source"; -static NSString *const kICMMetricEventInfoErrorCode = @"error_code"; -static NSString *const kICMMetricEventInfoSuggestedArticlesShown = @"articles_shown"; -static NSString *const kICMMetricEventInfoSuggestedArticlesCount = @"articles_count"; -static NSString *const kICMMetricEventInfoConversationShown = @"conversation_shown"; -static NSString *const kICMMetricEventInfoFiltered = @"filtered"; -static NSString *const kICMMetricEventInfoHomeScreenIndex = @"home_screen_index"; -static NSString *const kICMMetricEventInfoSurveyId = @"survey_id"; -static NSString *const kICMMetricEventInfoStepsComplete = @"steps_complete"; -static NSString *const kICMMetricEventInfoQuestionsSeen = @"questions_seen"; -static NSString *const kICMMetricEventInfoFormat = @"format"; -static NSString *const kICMMetricEventInfoMaxSteps = @"max_steps"; - - -#pragma mark - Info Values -static NSString *const kICMMetricEventInfoLauncherStateEmpty = @"empty"; -static NSString *const kICMMetricEventInfoLauncherStateBadge = @"badge"; -static NSString *const kICMMetricEventInfoLauncherStateSnippet = @"snippet"; -static NSString *const kICMMetricEventInfoLauncherStateFull = @"full"; -static NSString *const kICMMetricEventInfoLauncherStateMultipleSnippets = @"multiple snippets"; -static NSString *const kICMMetricEventInfoPushTypeMessage = @"message"; -static NSString *const kICMMetricEventInfoPushTypeNotification = @"notification"; -static NSString *const kICMMetricEventInfoMessageTypeNote = @"note"; -static NSString *const kICMMetricEventInfoMessageTypePost = @"post"; -static NSString *const kICMMetricEventInfoMessageTypeChat = @"chat"; -static NSString *const kICMMetricEventInfoTeamMateActive = @"active"; -static NSString *const kICMMetricEventInfoTeamMateAway = @"away"; -static NSString *const kICMMetricEventInfoProgrammatic = @"programmatic"; -static NSString *const kICMMetricEventInfoAutomatic = @"automatic"; -static NSString *const kICMMetricEventInfoSmallFullScreen = @"small_full_screen"; -static NSString *const kICMMetricEventInfoLargeFullScreen = @"large_full_screen"; - - -@interface ICMMetricEvent : NSObject - -+ (instancetype)eventWithAction:(NSString *)action - object:(NSString *)object - place:(nullable NSString *)place - context:(nullable NSString *)context; - -+ (instancetype)eventWithAction:(NSString *)action - object:(NSString *)object - place:(nullable NSString *)place - context:(nullable NSString *)context - additionalInfo:(nullable NSDictionary *)info; - -- (NSDictionary *)eventDictionary; - -@property (nonatomic, assign) ICMMetricEventType eventType; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMultipleAvatarView.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMultipleAvatarView.h deleted file mode 100644 index 2a39cf79..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMMultipleAvatarView.h +++ /dev/null @@ -1,15 +0,0 @@ -#import - -@class ICMParticipant; - -@interface ICMMultipleAvatarView : UIView - -@property (nonatomic, strong) UIColor *avatarBorderColor; - -- (id)initWithWidth:(CGFloat)width; - -- (void)bindAdmins:(NSArray *)admins; - -- (void)cancelImageLoad; -- (void)keepUserPresenceViewBackgroundColor; -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMNavigationBarCloseButton.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMNavigationBarCloseButton.h deleted file mode 100644 index 12506407..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMNavigationBarCloseButton.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// ICMCloseBarButtonItem.h -// IntercomSDK -// -// Created by Michael Isaakidis on 28/06/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -typedef NS_ENUM(NSInteger, ICMNavigationBarCloseButtonStyle) { - ICMNavigationBarCloseButtonStyleLight, - ICMNavigationBarCloseButtonStyleDark, - ICMNavigationBarCloseButtonStyleText -}; - -extern const CGFloat kICMContentHolderDismissButtonBackgroundAlpha; - -@interface ICMNavigationBarCloseButton : UIButton - -@property (nonatomic, assign) CGFloat backgroundViewAlpha; -@property (nonatomic) ICMNavigationBarCloseButtonStyle style; -- (instancetype)initWithFrame:(CGRect)frame style:(ICMNavigationBarCloseButtonStyle)style; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMNavigationController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMNavigationController.h deleted file mode 100644 index 73b3d04b..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMNavigationController.h +++ /dev/null @@ -1,33 +0,0 @@ -#import -#import - -typedef enum : NSUInteger { - Messenger, - HelpCenter, - ContentModal, - Sheet -} IntercomPresentationContext; - -@class ICMHostAppState; -@class ICMNavigationBarCloseButton; - -@protocol ICMCloseIntercomModalDelegate -- (void)closeIntercomModal; -@end - -@interface ICMNavigationController : UINavigationController - -- (instancetype)initWithHostAppState:(ICMHostAppState *)hostAppState - closeIntercomModalDelegate:(id)closeIntercomModalDelegate - presentationContext:(IntercomPresentationContext)presentationContext; - -- (void)setWallpaperHeight:(CGFloat)height; -- (void)displayCloseButton; -- (void)removeCloseButton; -- (void)addBackButton; -- (void)closeIntercomModal; - -@property (nonatomic, strong) ICMNavigationBarCloseButton *closeButton; -@property (nonatomic, assign) IntercomPresentationContext presentationContext; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMParticipant.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMParticipant.h deleted file mode 100644 index 1a8073ef..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMParticipant.h +++ /dev/null @@ -1,21 +0,0 @@ -#import -#import -#import - -@interface ICMParticipant : ICMSafeNetworkModel - -@property (nonatomic, strong) ICMAvatar *avatar; -@property (nonatomic, copy) NSString *email; -@property (nonatomic, copy) NSString *participantId; -@property (nonatomic, copy) NSString *name; -@property (nonatomic, copy) NSString *firstName; -@property (nonatomic, copy) NSString *type; -@property (nonatomic, assign) BOOL isBot; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; -- (BOOL)isEqualToParticipant:(ICMParticipant *)other; -- (NSString *)firstName; -- (BOOL)isAdmin; -- (NSAttributedString *)adminAppNameTitle:(NSDictionary *)styleAttributes; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMParticipatingAdmin.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMParticipatingAdmin.h deleted file mode 100644 index b44ce078..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMParticipatingAdmin.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// ICMParticipatingAdmin.h -// Pods -// -// Created by James Treanor on 10/03/2016. -// -// - -#import -@class ICMSocialAccount; - -@interface ICMParticipatingAdmin : ICMParticipant - -@property (nonatomic, copy) NSDate *lastActive; -@property (nonatomic, assign) BOOL isActive; -@property (nonatomic, copy) NSString *intro; -@property (nonatomic, copy) NSString *jobTitle; -@property (nonatomic, copy) NSString *locationString; -@property (nonatomic, copy) NSNumber *timezoneOffset; -@property (nonatomic, strong) NSArray *socialAccounts; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPhoneTextField.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPhoneTextField.h deleted file mode 100644 index 01c087f0..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPhoneTextField.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// ICMPhoneTextField.h -// IntercomSDK -// -// Created by Dale Cantwell on 25/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMPhoneTextField : ICMTextField - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPickerTextField.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPickerTextField.h deleted file mode 100644 index e25b32a5..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPickerTextField.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// ICMListTextField.h -// IntercomSDK -// -// Created by Dale Cantwell on 05/04/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMPickerTextField : ICMTextField -- (instancetype)initWithValue:(nullable id)value options:(NSArray *)options allowSubmission:(BOOL)allowSubmission delegate:(id)delegate; -- (void)configureForEditingStateBackgroundColor:(UIColor *)backgroundColor; -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPresentationManager.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPresentationManager.h deleted file mode 100644 index baed9c7a..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMPresentationManager.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// Created by Ignacio Delgado on 17/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ICMConversation; -@class ICMCarousel; -@class ICMMessengerSheetViewController; -@protocol SurveyInfo; - -@interface ICMPresentationManager : NSObject - -@property (nonatomic, assign) CGFloat inAppBottomPadding; -@property (nonatomic, assign) BOOL launcherVisible; -@property (nonatomic, assign) BOOL inAppMessagesVisible; -@property (nonatomic, assign) BOOL manualInAppBottomPaddingSet; - -+ (instancetype) sharedInstance; -+ (void)observeSceneWillEnterForeground; - -- (void)setUnreadConversations:(NSArray *)conversations completion:(void (^ __nullable)(void))completion; -- (void)presentCarousel:(ICMCarousel *)carousel; -- (void)presentSurvey:(id)survey; -- (void)presentMessenger; -- (void)presentMessageComposerWithInitialMessage:(nullable NSString *)message; -- (void)presentHomescreen; -- (void)presentSheet:(ICMMessengerSheetViewController *)sheetVC; - -#pragma mark - Help Center Presentation -- (void)presentHelpCenter; -- (void)presentHelpCenterFromSearchBrowse; -- (void)presentHelpCenterCollections:(NSArray *)collectionIds; -- (void)presentHelpCenterCollection:(NSString *)collectionId; -- (void)presentArticle:(NSString *)articleId; - -- (void)showLauncherOrInAppsIfNeeded; -- (void)hideIntercomUI; -- (void)userChanged; - -- (void)presentConversation:(ICMConversation *)conversation; - -- (void)setNeedsHostAppStatusBarAppearanceUpdate; -- (BOOL)isMessengerPresented; -- (void)dismissAllIntercomViews; -- (void)sceneWillEnterForeground:(NSNotification *)notification; -- (BOOL)isContentCurrentlyPresented; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMRecentConversationsViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMRecentConversationsViewController.h deleted file mode 100644 index 80d29fce..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMRecentConversationsViewController.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ICMRecentConversationsViewController.h -// IntercomSDK-Dynamic -// -// Created by Brian Boyle on 11/09/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMRecentConversationsViewControllerDelegate -- (void)reloadConversationHistoryCard; -- (void)navigateToViewController:(UIViewController *)viewController NS_SWIFT_NAME(navigate(toViewController:)); -@end - -@interface ICMRecentConversationsViewController : UIViewController -@property (nonatomic, weak) id delegate; -- (void)reloadTableView; -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMRootViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMRootViewController.h deleted file mode 100644 index 29649150..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMRootViewController.h +++ /dev/null @@ -1,70 +0,0 @@ -#import -#import -@class ICMBaseViewController; -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ICMHostAppState; -@class ICMCarousel; -@class ICMMessengerSheetViewController; -@protocol SurveyInfo; - -@protocol ICMRootViewControllerDelegate -- (void)hideIntercomWindow; -- (void)setWindowIsFullScreen:(BOOL)fullscreen; -- (BOOL)shouldShowInApps; -- (BOOL)shouldShowLauncher; -@end - -static NSString *const kICMRootViewControllerDidDismissPresentedController = @"IntercomRootViewControllerDidDismissPresentedController"; - -@interface ICMRootViewController : UIViewController - -@property(nonatomic, weak, nullable) id delegate; -@property (nonatomic) BOOL contentModalPresented; - -// This gives a snapshot of the state of the host app when Intercom was presented -// Useful for rotation, status bar styles etc. -@property (nonatomic, strong) ICMHostAppState *hostAppState; - -- (instancetype)initWithWindowScene:(UIWindowScene *)windowScene; -- (void)tearDown; -- (void)presentCarousel:(ICMCarousel *)carousel; -- (void)presentSurvey:(id )survey; -- (void)presentMessenger; -- (void)presentMessageComposerWithInitialMessage:(NSString *)message; -- (void)presentHomescreen; -- (void)presentConversation:(ICMConversation *)conversation; -- (void)dismissAllIntercomViews; -- (void)presentSheet:(ICMMessengerSheetViewController *)sheetVC; - -#pragma mark - Help Center Presentation - -- (void)presentHelpCenter; -- (void)presentHelpCenterFromSearchBrowse; -- (void)presentHelpCenterCollections:(NSArray *)collectionIds; -- (void)presentHelpCenterCollection:(NSString *)collectionId; -- (void)presentArticle:(NSString *)articleId; -- (BOOL)isHelpCenterPresented; - -- (void)updateUnreadConversations:(NSArray *)conversations completion:(void (^ __nullable)(void))completion; - -- (void)tearDownInApps; -- (void)updateLauncherVisibility; - -- (BOOL)isShowingMessenger; - -- (BOOL)shouldHandleTouchOnView:(UIView *)view; - -- (void)updateHostAppState; - -- (void)addLauncherOpenedMetricForObject:(NSString *)metricObject isCustomLauncher:(BOOL)isCustomLauncher; - -- (void) bottomPaddingUpdated; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSafeNetworkModel.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSafeNetworkModel.h deleted file mode 100644 index eeaa4e01..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSafeNetworkModel.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// ICMSafeNetworkModel.h -// Pods -// -// Created by James Treanor on 23/02/2015. -// -// - -#import - -@interface ICMSafeNetworkModel : NSObject - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMStartConversationButton.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMStartConversationButton.h deleted file mode 100644 index d7a8f064..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMStartConversationButton.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMStartConversationButton.h -// IntercomSDK -// -// Created by Michael Isaakidis on 29/05/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -typedef NS_ENUM(NSUInteger, ICMStartConversationButtonStyle) { - ICMStartConversationButtonStyleFilled, - ICMStartConversationButtonStyleBordered, -}; - -static const CGFloat kStartConversationButtonHeight = 40.f; - -@interface ICMStartConversationButton : UIButton - -- (void)configureWithStyle:(ICMStartConversationButtonStyle)style; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSurveyQuestionBlockAppearance.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSurveyQuestionBlockAppearance.h deleted file mode 100644 index f6aca02c..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSurveyQuestionBlockAppearance.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMSurveyQuestionBlockAppearance.h -// IntercomSDK-Dynamic -// -// Created by Michael McNamara on 22/10/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMSurveyQuestionBlockAppearance : ICMAdminBlockAppearance - -- (instancetype)initWithRequiredIndicatorColor:(UIColor *)color; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSurveyStepBlockAppearance.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSurveyStepBlockAppearance.h deleted file mode 100644 index 80dce8c0..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMSurveyStepBlockAppearance.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMSurveyStepBlockAppearance.h -// IntercomSDK-Dynamic -// -// Created by Michael McNamara on 05/10/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMSurveyStepBlockAppearance : ICMAdminBlockAppearance - -- (instancetype)initForBackgroundColor:(nullable UIColor *)backgroundColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTeamPresence.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTeamPresence.h deleted file mode 100644 index 7f7391fd..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTeamPresence.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// ICMTeamPresence.h -// -// -// Created by Adam McCarthy on 19/01/2016. -// Copyright (c) 2016 Intercom. All rights reserved. -// - -#import -#import - -@class ICMParticipant; - -static NSString *const kICMTeamPresenceUpdated = @"ICMTeamPresenceUpdated"; - -@interface ICMTeamPresence : ICMSafeNetworkModel - -@property (nonatomic, copy) NSArray *activeAdmins; -@property (nonatomic, strong) NSDate *lastActive; -@property (nonatomic, copy) NSString *officeHours; -@property (nonatomic, copy) NSString *responseDelayFull; -@property (nonatomic, copy) NSString *responseDelayDescription; -@property (nonatomic, copy) NSString *responseDelayTimePeriod; - -+ (void)updateSharedInstanceWithDictionary:(NSDictionary *)aDictionary; - -- (void)setAttributesFromDictionary:(NSDictionary *)aDictionary; - -+ (instancetype)sharedInstance; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTeammatePresenceView.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTeammatePresenceView.h deleted file mode 100644 index 6530529a..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTeammatePresenceView.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// Created by Karim Frenn on 08/03/2017. -// Copyright (c) 2017 Intercom. All rights reserved. -// - -#import -#import - -@interface ICMTeammatePresenceView : UIView - -@property (nonatomic, assign, getter=isActive) BOOL active; -@property (nonatomic, copy) UIColor *borderColor; - -- (instancetype)initWithDiameter:(CGFloat)diameter; -- (void)setActive:(BOOL)active; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTextField.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTextField.h deleted file mode 100644 index 06d14d1a..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTextField.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// ICMTextField.h -// IntercomSDK -// -// Created by Brian Boyle on 28/02/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import -#import -@protocol ICMValidatorProtocol; -@class ICMSubmitButton; - -NS_ASSUME_NONNULL_BEGIN - -static const NSUInteger kDefaultCursorInset = 10; - -@interface ICMTextField : UITextField -@property (nonatomic) BOOL isRequired; -@property (nonatomic) NSInteger characterLimit; -@property (nonatomic, assign) NSUInteger cursorInset; -@property (nonatomic, strong) ICMSubmitButton *submitButton; -@property (nonatomic, readonly) BOOL allowSubmission; -@property (nonatomic, weak) id inputViewDelegate; - -- (instancetype)initWithValue:(nullable id)value - allowSubmission:(BOOL)allowSubmission - delegate:(nullable id)delegate; -- (BOOL)isUserInputValid:(NSError * __autoreleasing *)error; -- (BOOL)notRequiredAndEmpty; -- (void)configureDefaults; -- (NSArray> *)validators; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTimestampCalculator.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTimestampCalculator.h deleted file mode 100644 index ce32dfcb..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTimestampCalculator.h +++ /dev/null @@ -1,39 +0,0 @@ -#import - -@class ICMConversationPart; - -typedef NS_ENUM(NSUInteger, ICMTimestampCalculatorRecentTimeMessage) { - ICMTimestampCalculatorRecentTimeMessageJustNow, - ICMTimestampCalculatorRecentTimeMessageDelivered -}; - -typedef NS_ENUM(NSUInteger, ICMTimestampCalculatorTimeAgoFormat) { - ICMTimestampCalculatorTimeAgoFormatShort, - ICMTimestampCalculatorTimeAgoFormatLong -}; - -@interface ICMTimestampCalculator : NSObject - -+ (instancetype)sharedInstance; - -- (NSString *)timestampTextForDate:(NSDate *)date format:(enum ICMTimestampCalculatorTimeAgoFormat)format recentTimeMessage:(enum ICMTimestampCalculatorRecentTimeMessage)recentTimeMessage; - -- (NSString *)textForLastActiveDate:(NSDate *)date; - -- (NSString *)lastActiveMinutesAgo:(NSDate *)date; - -- (NSTimeInterval)secondsUntilTimestampExpiresForDate:(NSDate *)date; - -- (BOOL)part:(ICMConversationPart *)firstPart isFromDifferentDayAsPart:(ICMConversationPart *)secondPart; - -- (NSString *)appendSeenStateToTimestampText:(NSString *)timestampText forPart:(ICMConversationPart *)part; - -- (NSString *)dayTextForPart:(ICMConversationPart *)part; - -- (NSString *)absoluteTimeTextForPart:(ICMConversationPart *)part; - -- (NSString *)timestampTextForUpdatedDate:(NSDate *)date; - -- (NSString *)timestampTextForDate:(NSDate *)date timeZone:(NSTimeZone *)timeZone; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTranslationKeys.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTranslationKeys.h deleted file mode 100644 index ada396f7..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTranslationKeys.h +++ /dev/null @@ -1,184 +0,0 @@ -// -// ICMTranslationKeys.h -// IntercomSDK -// -// Created by Ignacio Delgado on 21/08/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#ifndef IntercomSDK_ICMTranslationKeys_h -#define IntercomSDK_ICMTranslationKeys_h - -#pragma mark - Strings -static NSString *const kICMTKNavBarTitleConversations = @"conversations_with_app_two_lines"; -static NSString *const kICMTKNavBarTitleConversationsNoAppName = @"conversations"; -static NSString *const kICMTKActionSheetMessageFailDelivery = @"failed_delivery"; -static NSString *const kICMTKActionSheetCancel = @"cancel"; -static NSString *const kICMTKActionSheetDelete = @"delete"; -static NSString *const kICMTKMessageStateSending = @"message_state_sending"; -static NSString *const kICMTKFacebookLikeUs = @"facebook_like"; -static NSString *const kICMTKTwitterFollowUs = @"twitter_follow"; -static NSString *const kICMTKSendUsAMessage = @"send_us_a_message"; -static NSString *const kICMTKNavBarTitleNewConversation = @"new_conversation"; -static NSString *const kICMTKConversationHasEnded = @"conversation_has_ended"; -static NSString *const kICMTKErrorLoadingConversation = @"error_loading_conversation"; -static NSString *const kICMTKErrorNoConversationsTitle = @"no_conversations"; -static NSString *const kICMTKErrorNoConversationsMessage = @"empty_conversations"; -static NSString *const kICMTKErrorNoConversationsMessageNoAppName = @"error_no_conversations_message_no_app_name"; -static NSString *const kICMTKErrorTitle = @"inbox_error_state_title"; -static NSString *const kICMTKErrorLoadingConversationsFallback = @"failed_to_load_conversation_with_admin"; -static NSString *const kICMTKErrorLoadingConversationsFallbackNoAppName = @"failed_to_load_conversation"; -static NSString *const kICMTKErrorStartingConversationFallback = @"start_conversation_error"; -static NSString *const kICMTKErrorTapToRetry = @"retry"; -static NSString *const kICMTKMessageViewPlaceholderWriteAReply = @"reply_to_conversation"; -static NSString *const kICMTKMessageViewPlaceholderStartAConversation = @"start_conversation"; -static NSString *const kICMTKMessageViewSend = @"send"; -static NSString *const kICMTKWeRunOnIntercom = @"we_run_on_intercom"; -static NSString *const kICMTKTimeDifferenceJustNow = @"time_just_now"; -static NSString *const kICMTKAlertNewSDKUserTitle = @"congratulations"; -static NSString *const kICMTKAlertNewSDKUserMessage = @"alert_new_sdk_user_message"; -static NSString *const kICMTKThankYou = @"thank_you"; -static NSString *const kICMTKLastActiveLast15Minutes = @"active_15m_ago"; -static NSString *const kICMTKLastActiveLastXMinutes = @"active_minute_ago"; -static NSString *const kICMTKLastActiveOver1WeekAgo = @"active_week_ago"; -static NSString *const kICMTKAdminActive = @"active_state"; -static NSString *const kICMTKAdminAway = @"away_state"; -static NSString *const kICMTKBack = @"navigation_back"; -static NSString *const kICMTKClose = @"close"; -static NSString *const kICMTKTryAgain = @"try_again"; -static NSString *const kICMTKTimeLocationFormat = @"profile_location"; -static NSString *const kICMTKDelivered = @"delivered"; -static NSString *const kICMTKMessageSeen = @"message_seen"; -static NSString *const kICMTKMessageNotSeen = @"message_unseen"; -static NSString *const kICMTKInboxYou = @"you"; -static NSString *const kICMTKCameraRoll = @"camera_roll"; -static NSString *const kICMTKPlustMore = @"plus_x_more"; -static NSString *const kICMTKNameAnd1Other = @"name_and_1_other"; -static NSString *const kICMTKNameAndXOthers = @"name_and_x_others"; -static NSString *const kICMTKAlsoInThisConversation = @"also_in_this_conversation"; -static NSString *const kICMTKRateYourConversation = @"rate_your_conversation"; -static NSString *const kICMTKTellUsMore = @"tell_us_more"; -static NSString *const kICMTKYouRatedTheConversation = @"you_rated_the_conversation"; -static NSString *const kICMTKThanksForLettingUsKnow = @"thanks_for_letting_us_know"; -static NSString *const kICMTKOkay = @"ok_description"; -static NSString *const kICMTKCouldntLoadContent = @"couldnt_load_content"; -static NSString *const kICMTKGiveItAnotherTry = @"give_it_another_try"; -static NSString *const kICMTKReload = @"reload"; -static NSString *const lICMCouldntCompleteAction = @"couldnt_complete_action"; -static NSString *const kICMYourConversations = @"your_conversations"; -static NSString *const kICMStartAConversation = @"start_a_conversation"; -static NSString *const kICMStartAnotherConversation = @"start_another_conversation"; -static NSString *const kICMSeePastConversations = @"see_past_conversations"; -static NSString *const kICMSeeAll = @"see_all"; -static NSString *const kICMTKAskAQuestion = @"ask_a_question"; -static NSString *const kICMTKHowCanWeHelp = @"how_can_we_help"; -static NSString *const kICMTKTellUsWhatYouNeed = @"tell_us_what_you_need"; -static NSString *const kICMSeeAllYourConversations = @"see_all_conversations"; - - -#pragma mark - Formats -static NSString *const kICMTKParticipantFromAppFormat = @"teammate_from_company"; -static NSString *const kICMTKReplyFromParticipantFormat = @"reply_from_admin"; -static NSString *const kICMTKTimeDifferenceFormatWeeksAgo = @"time_week_ago"; -static NSString *const kICMTKTimeDifferenceFormatDaysAgo = @"time_day_ago"; -static NSString *const kICMTKTimeDifferenceFormatHoursAgo = @"time_hour_ago"; -static NSString *const kICMTKTimeDifferenceFormatMinutesAgo = @"time_minute_ago"; -static NSString *const kICMTKLastActiveFormatHoursAgo = @"active_hour_ago"; -static NSString *const kICMTKLastActiveFormatDaysAgo = @"active_day_ago"; - -static NSString *const kICMTKArticleQuestion = @"article_question"; -static NSString *const kICMTKArticleReaction = @"article_response"; -static NSString *const kICMTKAskedAbout = @"asked_about"; -static NSString *const kICMTKErrorLoadingArticle = @"article_load_error"; - -static NSString *const kICMTKHelpCenter = @"help_center"; -static NSString *const kICMTTeamCanHelp = @"the_team_can_help_if_needed"; -static NSString *const kICMTKBotExpectation = @"bot_expectation_text"; -static NSString *const kICMTKLoading = @"loading"; -static NSString *const kICMTKSearchHelpArticles = @"search_help_articles"; -static NSString *const kICMTKArticleSearchHint = @"article_search_hint_text"; -static NSString *const kICMTKSearchBrowseEmptyState = @"search_browse_empty_state_text"; -static NSString *const kICMTKGetHelp = @"get_help"; -static NSString *const kICMTKGrinningFaceBigEyesEmoji = @"grinning_face_with_big_eyes_emoji"; -static NSString *const kICMTKNeutralFaceEmoji = @"neutral_face_emoji"; -static NSString *const kICMTKDisappointedFaceEmoji = @"disappointed_face_emoji"; -static NSString *const kICMTKBrowseAllHelpTopics = @"browse_all_help_topics"; -static NSString *const kICMTKSearchForHelp = @"search_for_help"; - -#pragma mark - Photos -static NSString *const kICMTKNoPhotos = @"no_photos"; -static NSString *const kICMTKNoPhotosOnDevice = @"no_photos_on_device"; -static NSString *const kICMTKAccessPhotos = @"access_photos"; -static NSString *const kICMTKPermissionSettings = @"access_device_settings"; -static NSString *const kICMTKEnablePermissions = @"go_to_settings"; - -#pragma mark - GIFs -static NSString *const kICMTKSearchGIFs = @"search_gif"; -static NSString *const kICMTKNoGIFsFoundTitle = @"no_gifs_found"; -static NSString *const kICMTKNoGIFsFoundMessage = @"no_gifs_matching_query"; -static NSString *const kICMTKImageAttribution = @"gif_attribution"; -static NSString *const kICMTKGIFErrorTitle = @"gifs_load_error"; -static NSString *const kICMTKGIFErrorDescription = @"try_again_minute"; - -#pragma mark - Attribute Collector Picker submit -static NSString *const kICMAttributeColelctorSubmitButton = @"submit"; - -#pragma mark - Input placeholders -static NSString *const kICMTKListPlaceholder = @"choose_one"; -static NSString *const kICMTKDatePlaceholder = @"choose_the_date"; - -#pragma mark - Input Validation -static NSString *const kICMTKInvalidEmail = @"that_email_address_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidNumber = @"that_number_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidString = @"string_is_incorrect"; -static NSString *const kICMTKSomethingWentWrongTryAgain = @"something_went_wrong_try_again"; - -static NSString *const kICMTKInvalidCountryCode = @"that_country_code_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidNumberTooManyDigits = @"that_number_has_too_many_digits"; -static NSString *const kICMTKInvalidNumberMissingDigits = @"that_number_is_missing_a_few_digits"; -static NSString *const kICMTKInvalidMissingPrefix = @"that_number_needs_a_prefix"; - -#pragma mark - Attribute Collector -static NSString *const kICMTKYes = @"attribute_collector_positive"; -static NSString *const kICMTKNo = @"attribute_collector_negative"; - -#pragma mark - In Apps Quick Replies -static NSString *const kICMTKReply = @"reply"; - -#pragma mark - Carousels/Articles On Buttons -static NSString *const kICMTKPageNotFound = @"page_not_found"; - - -#pragma mark - Homescreen -static NSString *const kICMTKContinueConversation = @"continue_the_conversation"; -static NSString *const kICMTKNothingToSeeHereYet = @"nothing_to_see_here_yet"; -static NSString *const kICMTKNoMessagesFromTeam = @"no_messages_from_the_team"; -static NSString *const kSuggestedArticles = @"suggested_articles"; - -#pragma mark - Surveys -static NSString *const kICMTKNext = @"surveys_next_button"; -static NSString *const kICMTKDone = @"surveys_done_button"; -static NSString *const kICMTKMultiSelectOtherOptionPleaseSpecify = @"surveys_multiselect_other_option"; -static NSString *const kICMTKMultiSelectPleaseSpecifyOther = @"surveys_multiselect_other_option_input_label"; -static NSString *const kICMTKStartTypingPlaceholder = @"surveys_multiselect_other_option_input_placeholder"; -static NSString *const kICMTKOther = @"surveys_multiselect_other_option_value"; -static NSString *const kICMTKSurveysTextInputQuestionPlaceholder = @"surveys_text_input_question_placeholder"; -static NSString *const kICMTKSurveysRequiredResponse = @"surveys_required_response"; -static NSString *const kICMTKSurveysResponseTooLong = @"surveys_response_too_long"; -static NSString *const kICMTKSurveysResponseTooShort = @"surveys_response_too_short"; -static NSString *const kICMTKSurveysMultiSelectTooManyResponses = @"surveys_multi_select_too_many_responses"; -static NSString *const kICMTKSurveysMultiSelectTooFewResponses = @"surveys_multi_select_too_few_responses"; -static NSString *const kICMTKSurveysDismissConfirmation = @"dismiss_survey_confirmation"; -static NSString *const kICMTKSurveysContinue = @"surveys_continue"; -static NSString *const kICMTKSurveysDismiss = @"surveys_dismiss"; - -// Accessibility -static NSString *const kICMTKSurveysFromTeammate = @"surveys_from_teammate"; -static NSString *const kICMTKSurveysFromCompany = @"surveys_from_company"; -static NSString *const kICMTKSurveysQuestions = @"surveys_questions"; -static NSString *const kICMTKSurveysRequiredQuestion = @"surveys_required_question"; -static NSString *const kICMTKSurveysQuestioniOfn = @"surveys_question_question_number_of_question_count"; -static NSString *const kICMTKStarRatingQuestionOneStar = @"surveys_one_star_rating"; -static NSString *const kICMTKStarRatingQuestionManyStars = @"surveys_multi_star_rating"; - -#endif diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTranslationManager.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTranslationManager.h deleted file mode 100644 index 4e48db14..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMTranslationManager.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// Created by Ignacio Delgado on 22/08/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@interface ICMTranslationManager : NSObject - -+ (NSLocale *)translationLocale; -+ (NSString *)translationForKey:(NSString *)key; -+ (NSString *)translationForKey:(NSString *)key params:(NSDictionary *)params; -+ (NSArray *)supportedLocales; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUnreadManager.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUnreadManager.h deleted file mode 100644 index d54cd01a..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUnreadManager.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ICMUnreadManager.h -// IntercomSDK -// -// Created by Gavin Rooney on 31/07/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -static NSString *const kICMConversationMarkedAsReadNotification = @"ICMConversationMarkedAsReadNotification"; - -@interface ICMUnreadManager : NSObject - -@property (nonatomic, strong) NSOrderedSet *unreadConversationIds; - -- (void)conversationIdRead:(NSString *)conversationId; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUserAttributesValidation.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUserAttributesValidation.h deleted file mode 100644 index 149331bb..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUserAttributesValidation.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// ICMUserAttributesValidation.h -// Pods -// -// Created by James Treanor on 17/02/2017. -// -// -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ICMCompany; - -@interface ICMUserAttributesValidation : NSObject - -+ (BOOL)validateNonEmptyString:(NSString *)value forKey:(NSString *)key; -+ (BOOL)validateDate:(NSDate *)value forKey:(NSString *)key; -+ (BOOL)validateNumber:(NSNumber *)value forKey:(NSString *)key; -+ (BOOL)validateCompanies:(NSArray *)companies forKey:(NSString *)key; -+ (BOOL)validateCustomAttributes:(NSDictionary *)customAttributes forKey:(NSString *)key; - -+ (NSDictionary *)replaceNullAttributesAttributesWithNSNull:(NSDictionary *)customAttributes; - -+ (NSString *)nullStringAttribute; -+ (NSNumber *)nullNumberAttribute; -+ (NSDate *)nullDateAttribute; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUtils.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUtils.h deleted file mode 100644 index c46e1767..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMUtils.h +++ /dev/null @@ -1,120 +0,0 @@ -// -// ICMUtils.h -// IntercomSDK -// -// Created by Gavin Rooney on 24/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@class ICMConversationPart; - -#ifdef DEBUG -# define InterLog(fmt, ...) NSLog((@"[Intercom] " fmt), ##__VA_ARGS__); -# define InterLogDebug(fmt, ...) ([ICMUtils debugLoggingEnabled] ? NSLog((@"[Intercom] " fmt), ##__VA_ARGS__) : YES); -# define InterLogPrivate(fmt, ...) NSLog((@"[Intercom] %s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); -#else -# define InterLog(fmt, ...) NSLog((@"[Intercom] " fmt), ##__VA_ARGS__); -# define InterLogDebug(fmt, ...) ([ICMUtils debugLoggingEnabled] ? NSLog((@"[Intercom] " fmt), ##__VA_ARGS__) : YES); -# define InterLogPrivate(...) -#endif - -#define run_or_dispatch_main(block) if ([NSThread isMainThread]) { block(); } else { dispatch_async(dispatch_get_main_queue(), block); } - -#define block_exec(block, ...) if (block) { block(__VA_ARGS__); }; - -#define WEAK_TYPE(x) __weak __typeof(x) -#define STRONG_TYPE(x) __strong __typeof(x) - -UIKIT_EXTERN NSString *const IntercomSDKErrorDomain; - -//------------------------------------------------------------------------------------------------------------------------------ -// result: X-INTERCOM-AGENT: intercom-ios-sdk/x.x.x -#define ICMSDKHeaderValue @"intercom-ios-sdk" -#define ICMSDKDefaultHeader @"X-INTERCOM-AGENT" -#define ICMSDKWrapperHeader @"X-INTERCOM-AGENT-WRAPPER" -#define ICMSDKCordovaHeaderValue @"intercom-sdk-cordova" -#define ICMSDKReactNativeHeaderValue @"intercom-sdk-react-native" - -static const NSInteger kICMConversationAvatarWidth = 28; - -static NSString *const kIntercomSDKVersionIdentifier = @"intercom-sdk-version"; -static NSString *const kIntercomSDKComposerPersistedString = @"intercom-sdk-composer-persisted-string"; -static NSString *const kIntercomSDKComposerPersistedNewKey = @"NewConversation"; // when we want to persist the string in the message composer but don't have a conversationId (i.e. user composes new message) - -static NSString *const kIntercomSDKInboxUpdated = @"intercom-sdk-inbox-updated"; -static NSString *const kICMIntercomDeepLinkNotification = @"kICMIntercomDeepLinkNotification"; -static NSString *const kICMIntercomDidTypeInComposer = @"kICMIntercomDidTypeInComposer"; -static NSString *const kICMIntercomDidChangeComposerInput = @"kICMIntercomDidChangeComposerInput"; -static NSString *const kICMIntercomHelpCenterArticleViewed = @"kICMIntercomHelpCenterArticleViewed"; - -typedef NS_ENUM(NSUInteger, ICMFontWeight){ - ICMFontWeightRegular = 0, - ICMFontWeightBold = 1, - ICMFontWeightMedium = 2, - ICMFontWeightLight = 3, - ICMFontWeightThin = 4, - ICMFontWeightSemibold = 5 -}; - -typedef NS_ENUM(NSInteger, ICMUserIdentityType) { - ICMUserIdentityEmail, - ICMUserIdentityUserId, - ICMUserIdentityIntercomId -}; - -@interface ICMUtils : NSObject - -+ (NSString *)intercomAgent; - -+ (NSString *)intercomVersion; - -+ (NSString *)appVersion; - -+ (NSString *)applicationName; - -+ (NSString *)bundleIdentifier; - -+ (NSString *)minimumOSVersion; - -+ (BOOL)debugLoggingEnabled; - -+ (void)setDebugLoggingEnabled:(BOOL)loggingEnabled; - -+ (void)checkIntegration; - -+ (BOOL)photoUsageDescriptionPresent; - -+ (BOOL)autoIntegratePushNotifications; -+ (BOOL)isRunningNotificationServiceExtension; - -+ (NSBundle *)intercomBundle; -+ (NSBundle *)translationsBundle; - -+ (NSBundle *)loadIntercomAssetsBundle; - -+ (NSString *)intercomDocumentsDirectory; - -+ (NSString *)intercomCachesDirectory; - -+ (UIFont *)fontOfSize:(CGFloat)fontSize weight:(ICMFontWeight)weight; - -+ (NSArray *)jsonArrayFromLocalFile:(NSString *)path error:(NSError * __autoreleasing *)error; - -+ (BOOL)sceneManifestPresent; - -+ (BOOL)shouldShowPhotoUsagePListError; - -+ (NSString *)extractArticleIdFromSheetParams:(NSDictionary *)params; - -+ (BOOL)contentSizeCategoryIsAccessibilityCategory; - -+ (void)enableRTLSupportForContainerClass:(Class )containerClass; - -+ (CGFloat)scaleToAccessibilitySizing:(CGFloat)pointSize; - -+ (NSString *)getFileExtensionFrom:(NSURL *)url httpResponse:(NSHTTPURLResponse *)httpResponse; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMValidator.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMValidator.h deleted file mode 100644 index 1c8f7597..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMValidator.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// ICMValidator.h -// IntercomSDK -// -// Created by Brian Boyle on 05/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import -@protocol ICMValidatorProtocol; - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMValidator : NSObject - -+ (BOOL)validateText:(nullable NSString *)text validators:(NSArray> *)validators error:(NSError * __autoreleasing *)error; -+ (BOOL)validateArray:(nullable NSArray *)array validators:(NSArray> *)validators error:(NSError * __autoreleasing *)error; -+ (BOOL)validateNumber:(nullable NSNumber *)number validators:(NSArray> *)validators error:(NSError * __autoreleasing *)error; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMValidatorProtocol.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMValidatorProtocol.h deleted file mode 100644 index 520a572a..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMValidatorProtocol.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// ICMValidatorProtocol.h -// IntercomSDK -// -// Created by Brian Boyle on 04/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMValidatorProtocol - -- (BOOL)validateText:(nullable NSString *)text error:(NSError * __autoreleasing *)error; -- (BOOL)validateArray:(nullable NSArray *)array error:(NSError * __autoreleasing *)error; -- (BOOL)validateNumber:(nullable NSNumber *)number error:(NSError * __autoreleasing *)error; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMWindow.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMWindow.h deleted file mode 100644 index 74a83903..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMWindow.h +++ /dev/null @@ -1,11 +0,0 @@ -#import -#import - -@interface ICMWindow : UIWindow - -- (void)tearDown; - -@property (nonatomic, assign) BOOL fullscreen; -@property (nonatomic, strong) ICMRootViewController *rootViewController; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMWindowProvider.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMWindowProvider.h deleted file mode 100644 index 2f1f1871..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMWindowProvider.h +++ /dev/null @@ -1,10 +0,0 @@ -#import -#import - -@protocol ICMWindowProvider - -- (UIWindow *)hostAppWindow; - -- (UIWindow *)intercomWindow; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBBlock.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBBlock.h deleted file mode 100644 index 148adb84..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBBlock.h +++ /dev/null @@ -1,117 +0,0 @@ -// -// ITBBaseBlock.h -// Pods -// -// Created by James Treanor on 19/11/2015. -// -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -typedef NS_ENUM(NSInteger, ITBBlockDisplayMode){ - ITBBlockDisplayModeInline = 0, - ITBBlockDisplayModeSingle = 1 -}; - -typedef NS_ENUM(NSInteger, ITBBlockType){ - ITBBlockTypeUnknown = -1, - ITBBlockTypeParagraph = 0, - ITBBlockTypeHeading = 1, - ITBBlockTypeSubheading = 2, - ITBBlockTypeUnorderedList = 3, - ITBBlockTypeOrderedList = 4, - ITBBlockTypeImage = 5, - ITBBlockTypeButton = 6, - ITBBlockTypeTwitter = 7, - ITBBlockTypeFacebook = 8, - ITBBlockTypeCode = 9, - ITBBlockTypeVideo = 10, - ITBBlockTypeAttachmentList = 11, - ITBBlockTypeLink = 12, - ITBBlockTypeNotificationCard = 13, - ITBBlockTypeAttachment = 14, - ITBBlockTypeConversationRating = 15, - ITBBlockTypeTyping = 16, - ITBBlockTypeLinkList = 17, - ITBBlockTypeMessengerCardFallback = 18, - ITBBlockTypeVideoFile = 19, - ITBBlockTypeImageText = 20, - ITBBlockTypeTagList = 21 -}; - -static NSString *const kITBBlockType = @"type"; -static NSString *const kITBHeadingBlockType = @"heading"; -static NSString *const kITBParagraphBlockType = @"paragraph"; -static NSString *const kITBSubheadingBlockType = @"subheading"; -static NSString *const kITBUnorderedListBlockType = @"unorderedList"; -static NSString *const kITBOrderedListBlockType = @"orderedList"; -static NSString *const kITBImageBlockType = @"image"; -static NSString *const kITBButtonBlockType = @"button"; -static NSString *const kITBTwitterBlockType = @"twitterFollowButton"; -static NSString *const kITBFacebookBlockType = @"facebookLikeButton"; -static NSString *const kITBCodeBlockType = @"code"; -static NSString *const kITBVideoBlockType = @"video"; -static NSString *const kITBAttachmentListBlockType = @"attachmentList"; -static NSString *const kITBTypingBlockType = @"internal_typing"; -static NSString *const kITBAttachmentBlockType = @"internal_attachment"; -static NSString *const kITBLinkBlockType = @"link"; -static NSString *const kITBNotificationCardBlockType = @"notificationChannelsCard"; -static NSString *const kITBLinkListType = @"linkList"; -static NSString *const kITBMessengerCardType = @"messengerCard"; -static NSString *const kITBVideoFileType = @"videoFile"; - -static NSString *const kITBVideoViewInvalidateVideoBoundsNotification = @"kITBVideoViewInvalidateVideoBoundsNotification"; - -@protocol ITBBlockViewProtocol; - -@interface ITBBlock : NSObject - -#pragma mark - Network - -@property (nonatomic, copy, nonnull) NSString *text; -@property (nonatomic, copy, nonnull) NSString *align; - -- (instancetype)init __attribute__((unavailable("init is not the designated initializer"))); -+ (instancetype)new __attribute__((unavailable("new is not the designated initializer"))); - -/** - This is the designated initializer for blocks. - - Note: nil will be returned if the dictionary does not have all valid keys or appearance is nil - **/ -- (instancetype)initWithDictionary:(NSDictionary *)aDictionary appearance:(id)appearance NS_DESIGNATED_INITIALIZER; - -/** - Preload any nessesary content for use. - */ -- (void)prepare:(void (^)(void))completion; - -- (void)updateAppearance:(id )appearance; - -#pragma mark - UI - -@property (nonatomic, assign) CGSize estimatedSize; -@property (nonatomic, assign) ITBBlockDisplayMode displayMode; //defaults to ITBBlockDisplayModeInline -@property (nonatomic) BOOL isRequired; - -- (ITBBlockType)type; - -- (Class)viewClass; - -// This is used in for view reuse. It can safely be nil -- (NSString *)blockUniqueIdentifier; - -// Returns the plain text contents of a block where available. -- (nullable NSString *)plainTextRepresentation; - -#pragma mark - Block Validation - -+ (BOOL)validateBlockDictionary:(NSDictionary *)dictionary; -+ (BOOL)isNonEmptyString:(NSString *)string; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBBlockAppearance.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBBlockAppearance.h deleted file mode 100644 index 0b627c1f..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBBlockAppearance.h +++ /dev/null @@ -1,86 +0,0 @@ -// -// ITBBlockAppearance.h -// Pods -// -// Created by James Treanor on 13/12/2015. -// -// - -#import -#import -#import - -@protocol ITBBlockAppearance - -#pragma mark - Colors - -@property (nonatomic, strong) UIColor *linkTextColor; -@property (nonatomic, strong) UIColor *textColor; -@property (nonatomic, strong) UIColor *headingTextColor; -@property (nonatomic, strong) UIColor *subHeadingTextColor; -@property (nonatomic, strong) UIColor *buttonBackgroundColor; -@property (nonatomic, strong) UIColor *buttonTextColor; -@property (nonatomic, strong) UIColor *codeBackgroundColor; -@property (nonatomic, strong) UIColor *codeTextColor; -@property (nonatomic, strong) UIColor *typingDotColor; -@property (nonatomic, strong) UIColor *separatorColor; -@property (nonatomic, strong) UIColor *appPrimaryColor; -@property (nonatomic, strong) UIColor *requiredIndicatorColor; - -#pragma mark - Fonts - -@property (nonatomic, strong) UIFont *paragraphFont; -@property (nonatomic, strong) UIFont *codeFont; -@property (nonatomic, strong) UIFont *headingFont; -@property (nonatomic, strong) UIFont *subheadingFont; -@property (nonatomic, strong) UIFont *buttonFont; - -#pragma mark - Sizing - -@property (nonatomic, assign) UIEdgeInsets textInsets; -@property (nonatomic, assign) UIEdgeInsets codeInsets; -@property (nonatomic, assign) UIEdgeInsets linkInsets; - -#pragma mark - Images -@property (nonatomic, assign) ITBLoadingViewColorType loadingViewColorType; -@property (nonatomic, assign) CGFloat inlineImagePadding; -@property (nonatomic, assign) CGFloat singleImagePadding; - -@property (nonatomic, assign) CGFloat inlineImageCornerRadius; -@property (nonatomic, assign) CGFloat singleImageCornerRadius; - -#pragma mark - Strings - -@property (nonatomic, strong) NSString *twitterFollowString; -@property (nonatomic, strong) NSString *facebookFollowString; - -#pragma mark - Text - -@property (nonatomic, assign) BOOL isTextSelectable; - -@optional -@property (nonatomic, assign) CGFloat avatarRadius; - - -#pragma mark - Link List -@property (nonatomic, strong) UIImage *linkFooterImage; -@property (nonatomic, assign) CGSize linkFooterImageSize; -@property (nonatomic, assign) UIEdgeInsets linkFooterInsets; -@property (nonatomic, assign) CGFloat maxLinkHeight; -@property (nonatomic, assign) CGFloat defaultLinkHeight; - -- (UIImage *)linkAuthorInitialsImageForName:(NSString *)name diameter:(CGFloat)diameter; -- (NSAttributedString *)linkUpdatedAtAttributedStringForDate:(NSDate *)date; -- (NSAttributedString *)linkWrittenByAttributedStringForName:(NSString *)name; - - -#pragma mark - Loading Indicator -@property (nonatomic, strong) UIColor *activityIndicatorColor; -@property (nonatomic, strong) UIImage *activityIndicatorImage; - - -#pragma mark - Messenger App Cards -@property (nonatomic, assign) UIEdgeInsets messengerCardInsets; -@property (nonatomic, assign) BOOL showMessengerAppBorder; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBImageLoader.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBImageLoader.h deleted file mode 100644 index abb83d52..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBImageLoader.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ITBImageLoader.h -// Pods -// -// Created by Brian Boyle on 30/03/2017. -// -// - -#import - -@interface ITBImageLoader : NSObject - -+ (instancetype)defaultLoader; -+ (instancetype)longTermLoader; -+ (void)clearCache; - -- (NSUUID *)loadImageWithURLString:(NSString *)urlString completion:(void (^)(id image))completion; -- (id)cachedImageForURL:(NSURL *)url; -- (id)cachedImageForKey:(NSString *)cacheKey; -- (void)cacheImage:(UIImage *)image ForKey:(NSString *)key; -- (UIImage *)imageForKey:(NSString *)key withGenerationBlock:(UIImage *(^)(void))block; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBLoadingView.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBLoadingView.h deleted file mode 100644 index ab533df5..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ITBLoadingView.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// ITBLoadingView.h -// IntercomBlocks -// -// Created by Brian Boyle on 23/04/2020. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -typedef enum : NSUInteger { - ITBLoadingViewDarkColor, - ITBLoadingViewLightColor, -} ITBLoadingViewColorType; - -@interface ITBLoadingView : UIView -@property (nonatomic, assign, setter=isLoading:) BOOL loading; - -- (void)setShimmerSpeedForImageWidth:(CGFloat)imageWidth; -- (void)handleLoadingFailure; -- (void)setLoadingViewColorType:(ITBLoadingViewColorType)colorType; -- (void)cleanup; -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/Intercom-Swift.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/Intercom-Swift.h deleted file mode 100644 index b9d4c7ea..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/Intercom-Swift.h +++ /dev/null @@ -1,692 +0,0 @@ -// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) -#ifndef INTERCOM_SWIFT_H -#define INTERCOM_SWIFT_H -#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_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) -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(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#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_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# 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(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# 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_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#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 !defined(IBSegueAction) -# define IBSegueAction -#endif -#if !defined(SWIFT_EXTERN) -# if defined(__cplusplus) -# define SWIFT_EXTERN extern "C" -# else -# define SWIFT_EXTERN extern -# endif -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -@import CoreGraphics; -@import Foundation; -@import ObjectiveC; -@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" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Intercom",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -@class NSString; - -SWIFT_CLASS("_TtC8Intercom15ArticleMetaData") -@interface ArticleMetaData : NSObject -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull searchBrowseSource;) -+ (NSString * _Nonnull)searchBrowseSource SWIFT_WARN_UNUSED_RESULT; -@property (nonatomic, copy) NSString * _Nullable articleId; -@property (nonatomic, copy) NSString * _Nullable articleSource; -- (nonnull instancetype)initWithId:(NSString * _Nullable)id source:(NSString * _Nullable)source OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - -@class NSCoder; - -SWIFT_CLASS("_TtC8Intercom22AvailableTeammatesView") -@interface AvailableTeammatesView : UIStackView -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - -typedef SWIFT_ENUM(NSInteger, CardType, open) { - CardTypePost = 0, - CardTypeTicket = 1, -}; - - -SWIFT_PROTOCOL("_TtP8Intercom16CardViewDelegate_") -@protocol CardViewDelegate -- (void)cardButtonTappedFor:(enum CardType)cardType; -@end - -@protocol ConversationCardInfoProtocol; -@protocol ConversationCardDelegate; -@class UITraitCollection; - -SWIFT_CLASS("_TtC8Intercom16ConversationCard") -@interface ConversationCard : UIView -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger maxRecentConversationsCount;) -+ (NSInteger)maxRecentConversationsCount SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) CGFloat viewPadding;) -+ (CGFloat)viewPadding SWIFT_WARN_UNUSED_RESULT; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithCardInfo:(id _Nonnull)cardInfo delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; -- (CGFloat)heightForCardWithWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT; -- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom31SeeAllConversationsViewDelegate_") -@protocol SeeAllConversationsViewDelegate -- (void)viewPreviousConversations; -@end - - -@interface ConversationCard (SWIFT_EXTENSION(Intercom)) -- (void)viewPreviousConversations; -@end - -@class UIViewController; - -SWIFT_PROTOCOL("_TtP8Intercom24ConversationCardDelegate_") -@protocol ConversationCardDelegate -- (void)startNewConversation; -- (void)viewPreviousConversations; -- (void)reloadConversationHistoryCard; -- (void)navigateToViewController:(UIViewController * _Nonnull)viewController; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom28ConversationCardInfoProtocol_") -@protocol ConversationCardInfoProtocol -@property (nonatomic, readonly) BOOL prominantStyling; -@property (nonatomic, readonly) BOOL accessToTeammateEnabled; -@property (nonatomic, readonly) BOOL hasRecentConversations; -@property (nonatomic, readonly) BOOL hasOtherConversations; -@property (nonatomic, readonly) BOOL startConversationCardDisplayed; -@end - -@protocol ICMConfigProtocol; -@protocol ICMDataManagerProtocol; - -SWIFT_CLASS("_TtC8Intercom20ConversationCardInfo") -@interface ConversationCardInfo : NSObject -@property (nonatomic, readonly) BOOL prominantStyling; -@property (nonatomic) BOOL startConversationCardDisplayed; -@property (nonatomic, readonly) BOOL accessToTeammateEnabled; -@property (nonatomic, readonly) BOOL hasRecentConversations; -@property (nonatomic, readonly) BOOL hasOtherConversations; -- (nonnull instancetype)initWithProminantStyling:(BOOL)prominantStyling config:(id _Nonnull)config dataManager:(id _Nonnull)dataManager OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@class ICMRecentConversationsViewController; - -SWIFT_CLASS("_TtC8Intercom23ConversationHistoryCard") -@interface ConversationHistoryCard : ConversationCard -@property (nonatomic, strong) ICMRecentConversationsViewController * _Nonnull recentConversationsVC; -- (void)reloadConversationHistoryCard; -- (void)navigateToViewController:(UIViewController * _Nonnull)viewController; -- (nonnull instancetype)initWithCardInfo:(id _Nonnull)cardInfo delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; -@end - - -SWIFT_CLASS("_TtC8Intercom11EmojiButton") -@interface EmojiButton : UIButton -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - - -SWIFT_CLASS("_TtC8Intercom16EmojiImageButton") -@interface EmojiImageButton : UIButton -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - -@class NSError; - -SWIFT_CLASS("_TtC8Intercom14ErrorProcessor") -@interface ErrorProcessor : NSObject -+ (NSError * _Nonnull)generateHTTPErrorWithCode:(NSInteger)code message:(NSString * _Nonnull)message SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidUserIdOrEmailError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidUpdateObjectError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generatePushNotificationsNotEnabledError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generatePushNotificationNilDeviceTokenError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidIdentityVerificationError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidDeviceTokenError SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -SWIFT_CLASS("_TtC8Intercom26HelpCenterArticle_Internal") -@interface HelpCenterArticle_Internal : NSObject -@property (nonatomic, copy) NSString * _Nonnull id; -@property (nonatomic, copy) NSString * _Nonnull title; -- (nullable instancetype)initWithDictionary:(NSDictionary * _Nonnull)dictionary OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id title:(NSString * _Nonnull)title OBJC_DESIGNATED_INITIALIZER; -@property (nonatomic, readonly, copy) NSString * _Nonnull description; -- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - -@class NSBundle; - -SWIFT_CLASS("_TtC8Intercom33HelpCenterContainerViewController") -@interface HelpCenterContainerViewController : UIViewController -- (nonnull instancetype)initWithCollections:(NSArray * _Nonnull)collectionIds; -- (nonnull instancetype)initWithCollection:(NSString * _Nonnull)collectionId; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initFromSearchBrowse:(BOOL)fromSearchBrowse; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (void)viewDidLoad; -- (void)viewDidLayoutSubviews; -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; -@end - - -@interface HelpCenterContainerViewController (SWIFT_EXTENSION(Intercom)) -- (void)didSelectErrorAction; -@end - - -@class ICMHelpCenterCollection; -@class ICMHelpCenterCollectionContent; -@class ICMHelpCenterArticleSearchResult; - -SWIFT_CLASS("_TtC8Intercom21HelpCenterDataService") -@interface HelpCenterDataService : NSObject -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)fetchCollectionsWithCompletion:(void (^ _Nonnull)(NSArray * _Nullable, NSError * _Nullable))completion; -- (void)fetchCollectionWithCollectionId:(NSString * _Nonnull)collectionId completion:(void (^ _Nonnull)(ICMHelpCenterCollectionContent * _Nullable, NSError * _Nullable))completion; -- (void)searchResultsFor:(NSString * _Nonnull)searchTerm completion:(void (^ _Nonnull)(NSArray * _Nullable, NSError * _Nullable))completion; -@end - -@class NSNumber; - -SWIFT_CLASS("_TtC8Intercom23HelpCenterMetricService") -@interface HelpCenterMetricService : NSObject -@property (nonatomic) BOOL contextIsSearchBrowse; -+ (void)addSearchBrowseViewedEventWithHomeScreenIndex:(NSInteger)homeScreenIndex; -+ (void)addOpenedFromAPIEvent; -+ (void)addOpenedArticleFromAPIEvent; -+ (void)addOpenedFromConversationEvent; -+ (void)addOpenedFromInAppEvent; -+ (void)addOpenedFromLegacySearchAppEvent; -+ (void)addOpenedFromMessengerHomeAppEvent; -+ (void)addOpenedFromCarousel; -+ (void)addOpenedFromPushNotification; -+ (void)addOpenedFromSurvey; -- (void)addArticleViewedEvent; -- (void)addArticleFailedEventWithErrorCode:(NSNumber * _Nonnull)errorCode; -- (void)addHappyReactionEvent; -- (void)addNeutralReactionEvent; -- (void)addSadReactionEventWithConversationOptionShown:(BOOL)conversationOptionShown; -- (void)addNewConversationFromArticleEventWithAccessToTeammate:(BOOL)accessToTeammate; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - -@protocol HelpCenterStartConversationViewDelegate; - -SWIFT_CLASS("_TtC8Intercom31HelpCenterStartConversationView") -@interface HelpCenterStartConversationView : UIView -@property (nonatomic, weak) id _Nullable startConversationDelegate; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom39HelpCenterStartConversationViewDelegate_") -@protocol HelpCenterStartConversationViewDelegate -- (void)didSelectStartConversation; -@end - -@class UIColor; - -@interface ICMColor (SWIFT_EXTENSION(Intercom)) -+ (BOOL)isLightColor:(UIColor * _Nullable)color SWIFT_WARN_UNUSED_RESULT; -@end - -@class NSDate; -@class ICMParticipant; - -SWIFT_CLASS("_TtC8Intercom9InboxCell") -@interface InboxCell : UITableViewCell -- (nonnull instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString * _Nullable)reuseIdentifier SWIFT_UNAVAILABLE; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (void)configureWithName:(NSString * _Nonnull)name sentTime:(NSDate * _Nonnull)sentTime summary:(NSString * _Nonnull)summary adminsToShow:(NSArray * _Nonnull)adminsToShow unread:(BOOL)unread showDividerLine:(BOOL)showDividerLine; -- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; -@end - - -@protocol NativeArticleReactionsViewDelegate; - -SWIFT_CLASS("_TtC8Intercom26NativeArticleReactionsView") -@interface NativeArticleReactionsView : UIView -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger sadReactionIndex;) -+ (NSInteger)sadReactionIndex SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger neutralReactionIndex;) -+ (NSInteger)neutralReactionIndex SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger happyReactionIndex;) -+ (NSInteger)happyReactionIndex SWIFT_WARN_UNUSED_RESULT; -@property (nonatomic, weak) id _Nullable articleDelegate; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom34NativeArticleReactionsViewDelegate_") -@protocol NativeArticleReactionsViewDelegate -- (void)selectedReactionIndex:(NSInteger)reactionIdex; -@end - - -SWIFT_CLASS_NAMED("SearchBrowseView") -@interface ICMSearchBrowseView : UIView -- (nonnull instancetype)initWithSuggestedArticles:(NSArray * _Nonnull)suggestedArticles; -- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; -- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; -- (void)searchHelpArticlesAction; -- (CGFloat)heightForCardWithWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - - - -SWIFT_CLASS("_TtC8Intercom21StartConversationCard") -@interface StartConversationCard : ConversationCard -- (nonnull instancetype)initWithCardInfo:(id _Nonnull)cardInfo delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom10SurveyInfo_") -@protocol SurveyInfo -@property (nonatomic, readonly, copy) NSString * _Nonnull id; -@end - -enum SurveyFormat : NSInteger; -@class SurveyStep; -@class SurveyCustomizationOptions; - -SWIFT_CLASS("_TtC8Intercom6Survey") -@interface Survey : NSObject -@property (nonatomic, readonly, copy, getter=id) NSString * _Nonnull surveyId; -@property (nonatomic, readonly) NSInteger progressId; -@property (nonatomic, readonly, copy) NSString * _Nullable lastStepId; -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id format:(enum SurveyFormat)format steps:(NSArray * _Nonnull)steps progressId:(NSInteger)progressId customizationOptions:(SurveyCustomizationOptions * _Nullable)customizationOptions stepCount:(NSInteger)stepCount OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithDictionary:(NSDictionary * _Nonnull)dictionary OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@interface Survey (SWIFT_EXTENSION(Intercom)) -- (NSArray *> * _Nonnull)allResponses SWIFT_WARN_UNUSED_RESULT; -@end - - -SWIFT_CLASS("_TtC8Intercom26SurveyCustomizationOptions") -@interface SurveyCustomizationOptions : NSObject -@property (nonatomic, readonly, strong) UIColor * _Nonnull backgroundColor; -@property (nonatomic, readonly, strong) UIColor * _Nonnull buttonColor; -- (nonnull instancetype)initWithBackgroundColor:(UIColor * _Nonnull)backgroundColor buttonColor:(UIColor * _Nonnull)buttonColor OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -typedef SWIFT_ENUM(NSInteger, SurveyFormat, open) { - SurveyFormatSmall = 0, - SurveyFormatLarge = 1, -}; - - -SWIFT_CLASS("_TtC8Intercom8SurveyId") -@interface SurveyId : NSObject -@property (nonatomic, copy) NSString * _Nonnull id; -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - - -SWIFT_CLASS("_TtC8Intercom13SurveyService") -@interface SurveyService : NSObject -SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL currentlyDisplayingSurvey;) -+ (BOOL)currentlyDisplayingSurvey SWIFT_WARN_UNUSED_RESULT; -+ (void)setCurrentlyDisplayingSurvey:(BOOL)value; -+ (void)presentSurvey:(Survey * _Nonnull)survey; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS("_TtC8Intercom10SurveyStep") -@interface SurveyStep : NSObject -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@protocol ICMContentViewControllerDelegate; - -SWIFT_CLASS("_TtC8Intercom20SurveyViewController") -@interface SurveyViewController : UIViewController -@property (nonatomic, weak) id _Nullable contentDelegate; -- (nonnull instancetype)initWith:(id _Nonnull)survey OBJC_DESIGNATED_INITIALIZER; -- (void)viewDidLoad; -- (void)viewDidLayoutSubviews; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; -@end - - -@interface SurveyViewController (SWIFT_EXTENSION(Intercom)) -- (void)didSelectErrorAction; -@end - - - - -@interface SurveyViewController (SWIFT_EXTENSION(Intercom)) -- (void)reload; -- (void)closeButtonTapped; -- (void)viewDidDismissBySwipe; -@end - -@class TicketStatus; -@class ICMFormAttribute; - -SWIFT_CLASS("_TtC8Intercom6Ticket") -@interface Ticket : NSObject -- (nonnull instancetype)initWithTitle:(NSString * _Nonnull)title ticketDescription:(NSString * _Nullable)ticketDescription iconURL:(NSString * _Nullable)iconURL currentStatus:(TicketStatus * _Nonnull)currentStatus statusList:(NSArray * _Nonnull)statusList attributes:(NSArray * _Nonnull)attributes assignee:(ICMParticipant * _Nonnull)assignee OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithDictionary:(NSDictionary * _Nonnull)dictionary OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@protocol IntercomConversationPart; -@protocol IntercomConversationPartDelegate; - -SWIFT_CLASS("_TtC8Intercom14TicketCardView") -@interface TicketCardView : IntercomConversationCustomCell -@property (nonatomic, weak) id _Nullable delegate; -- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (void)configureWithPart:(id _Null_unspecified)part reloadDelegate:(id _Null_unspecified)delegate; -+ (CGSize)estimatedSizeForPart:(id _Null_unspecified)part withinWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT; -@end - - -SWIFT_CLASS("_TtC8Intercom27TicketDetailsViewController") -@interface TicketDetailsViewController : UIViewController -- (void)viewDidLoad; -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; -@end - - - -SWIFT_CLASS("_TtC8Intercom12TicketStatus") -@interface TicketStatus : NSObject -@property (nonatomic, readonly, copy) NSString * _Nonnull description; -- (nonnull instancetype)initWithTitle:(NSString * _Nonnull)title createdDate:(NSDate * _Nullable)createdDate statusDetail:(NSString * _Nullable)statusDetail isCurrentStatus:(BOOL)isCurrentStatus OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@class UIEvent; -@class UICollectionViewLayout; - -SWIFT_CLASS("_TtC8Intercom30TouchTransparentCollectionView") -@interface TouchTransparentCollectionView : UICollectionView -- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout * _Nonnull)layout OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; -@end - - - - -@interface UIColor (SWIFT_EXTENSION(Intercom)) -/// Returns true if the color is white, or almost white. -@property (nonatomic, readonly) BOOL isWhite; -/// Returns true if the color is black, or almost black. -@property (nonatomic, readonly) BOOL isBlack; -@end - - -@interface UIColor (SWIFT_EXTENSION(Intercom)) -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomGrey;) -+ (UIColor * _Nullable)intercomGrey SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomBlack;) -+ (UIColor * _Nullable)intercomBlack SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomBlack5;) -+ (UIColor * _Nullable)intercomBlack5 SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomBlack20;) -+ (UIColor * _Nullable)intercomBlack20 SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomLightGrey;) -+ (UIColor * _Nullable)intercomLightGrey SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable backButtonBackgroundLight;) -+ (UIColor * _Nullable)backButtonBackgroundLight SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable backButtonBackgroundDark;) -+ (UIColor * _Nullable)backButtonBackgroundDark SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable coolGray1;) -+ (UIColor * _Nullable)coolGray1 SWIFT_WARN_UNUSED_RESULT; -@end - - -@interface UIFont (SWIFT_EXTENSION(Intercom)) -+ (UIFont * _Nonnull)preferredFontForTextStyle:(UIFontTextStyle _Nonnull)style weight:(UIFontWeight)weight SWIFT_WARN_UNUSED_RESULT; -@end - - - - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/IntercomConversationCustomCell.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/IntercomConversationCustomCell.h deleted file mode 100644 index 68b1916e..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/IntercomConversationCustomCell.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// IntercomConversationCustomCell.h -// Pods -// -// Created by James Treanor on 26/03/2015. -// -// - -#import -#import - -@interface IntercomConversationCustomCell : UICollectionViewCell - -+ (CGSize)estimatedSizeForPart:(id)part withinWidth:(CGFloat)width; -- (void)configureWithPart:(id)part reloadDelegate:(id )delegate; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/IntercomConversationPart.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/IntercomConversationPart.h deleted file mode 100644 index ce6d8380..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/IntercomConversationPart.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// IntercomConversationPart.h -// Pods -// -// Created by James Treanor on 06/01/2016. -// -// - -#import -@class ITBBlock; - -typedef NS_ENUM(NSInteger, IntercomConversationPartState) { - IntercomConversationPartStateSent, - IntercomConversationPartStateSending, - IntercomConversationPartStateFailed -}; - -@protocol IntercomConversationPart - -@property (nullable, nonatomic, strong) NSArray *blocks; -@property (nonatomic, assign) IntercomConversationPartState state; - -@property (nonatomic, assign) CGFloat maxLayoutWidth; -@property (nonatomic, assign) CGSize estimatedSize; - -@property (nonatomic, assign) BOOL participantIsAdmin; - -@end - -@protocol IntercomConversationPartDelegate -- (void)reloadRequiredForPart:(nonnull id)part; -- (nonnull UIViewController *)viewControllerForModalPresentation; -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/UIImage+ICMImageUtils.h b/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/UIImage+ICMImageUtils.h deleted file mode 100644 index 12cb994c..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Headers/UIImage+ICMImageUtils.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// UIImage+ICMGrayscale.h -// Pods -// -// Created by Brian Boyle on 19/01/2017. -// -// - -#import - -@interface UIImage (ICMImageUtils) - -- (UIImage *)icm_grayscale; -- (UIImage *)icm_resizeImageToSize:(CGSize)newSize; -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/Modules/module.private.modulemap b/Intercom.xcframework/ios-arm64/Intercom.framework/Modules/module.private.modulemap deleted file mode 100644 index ad1a0425..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/Modules/module.private.modulemap +++ /dev/null @@ -1,40 +0,0 @@ - framework module Intercom_Private { - header "ICMAssets.h" - header "ICMHTTPClientProtocol.h" - header "ICMDataManagerProtocol.h" - header "ICMHTTPClient.h" - header "ICMTranslationManager.h" - header "ICMHelpCenterTranslationManager.h" - header "ICMTranslationKeys.h" - header "ICMEngine.h" - header "ICMNavigationController.h" - header "ICMErrorViewController.h" - header "ICMLoadingViewController.h" - header "ICMNavigationBarCloseButton.h" - header "ICMErrorViewDelegate.h" - header "ICMColor.h" - header "ICMArticleWebViewController.h" - header "ICMContentViewControllerDelegate.h" - header "ICMContentViewController.h" - header "ICMUtils.h" - header "UIImage+ICMImageUtils.h" - header "ICMFeedbackGenerator.h" - header "ICMActiveAdminsAvatarView.h" - header "ICMStartConversationButton.h" - header "ICMConfig.h" - header "ICMSafeNetworkModel.h" - header "ICMPresentationManager.h" - header "ICMMetric.h" - header "ICMMetricEvent.h" - header "ICMDataManager.h" - header "ICMUnreadManager.h" - header "ICMTeamPresence.h" - header "ICMParticipant.h" - header "ICMAvatar.h" - header "ICMParticipatingAdmin.h" - header "ICMRecentConversationsViewController.h" - header "ICMMultipleAvatarView.h" - header "ICMTimestampCalculator.h" - export * -} - diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMActiveAdminsAvatarView.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMActiveAdminsAvatarView.h deleted file mode 100644 index b793f183..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMActiveAdminsAvatarView.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMActiveAdminsAvatarView.h -// IntercomSDK-Dynamic -// -// Created by Michael Isaakidis on 17/05/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -@interface ICMActiveAdminsAvatarView : UIView - -- (instancetype)initWithHeight:(CGFloat)avatarHeight - overlap:(CGFloat) avatarOverlap - maxCount:(NSInteger) maxAvatarCount; -- (NSUInteger)numberOfAvatarsDisplayed; -- (void)updateVisibleAvatars; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMArticleWebViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMArticleWebViewController.h deleted file mode 100644 index f403b383..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMArticleWebViewController.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMArticleWebViewController.m -// IntercomSDK-Dynamic -// -// Created by Katherine Brennan on 02/10/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import -#import "ICMContentViewController.h" -@class HelpCenterMetricService; - -@protocol ICMContentViewControllerDelegate; - -@interface ICMArticleWebViewController : UIViewController - -@property (nonatomic, weak) id contentDelegate; -- (instancetype)initWithId:(NSString *)articleId metricService:(id)metricService; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAssets.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAssets.h deleted file mode 100644 index 065aa6b6..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAssets.h +++ /dev/null @@ -1,99 +0,0 @@ -// -// Created by Ignacio Delgado on 17/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@interface ICMAssets : NSObject - -+ (UIImage *)intercomLogoImage; - -+ (UIImage *)openPostFromCardImage; - -+ (UIImage *)spinnerImage; - -+ (UIImage *)defaultAvatarImageWithInitials:(NSString *)userInitials diameter:(CGFloat)diameter; // if there are initials, show them; if not, fall back to image -+ (UIImage *)warningImage; - -+ (UIImage *)backButtonImage; -+ (UIImage *)submitButtonBackgroundImage; -+ (UIImage *)submitButtonBackgroundImageClear; -+ (UIImage *)submitImage; -+ (UIImage *)pickerSelector; -+ (UIImage *)dateSelector; -+ (UIImage *)greenCheckImage; -+ (UIImage *)buttonLoadingImage; -+ (UIImage *)textFieldBackgroundImage; -+ (UIImage *)textFieldErrorBackgroundImage; -+ (UIImage *)booleanButtonLeftImage; -+ (UIImage *)booleanButtonLeftImageSelected; -+ (UIImage *)booleanButtonRightImage; -+ (UIImage *)booleanButtonRightImageSelected; - -+ (UIImage *)closeImage; - -+ (UIImage *)startConversationImage; -+ (UIImage *)askAQuestion; - -+ (UIImage *)messageFailedImage; - -+ (UIImage *)uploadButtonImage; -+ (UIImage *)chatBubbleImage; - -+ (UIImage *)launcherImage; - -+ (UIImage *)twitterIcon; -+ (UIImage *)linkedinIcon; - -+ (UIImage *)snoozeIcon; - -+ (UIImage *)sendIcon; -+ (UIImage *)undoIcon; - -+ (UIImage *)homescreenFailedImage; -+ (UIImage *)searchIcon; - -+ (UIImage *)replyTimeIcon; - -// Help Center -+ (UIImage *)helpCenterLoadingImage; -+ (UIImage *)helpCenterChevron; - -// Carousel -+ (UIImage *)screenActionCheckmark; -+ (UIImage *)carouselLoadingImage; - -// Articles -+ (UIImage *)articleLoadingImage; - -// Teammate Profile -+ (UIImage *)teammateTimeIcon; -+ (UIImage *)teammateRoleIcon; -+ (UIImage *)teammateIntroIcon; - -//Text Input -+ (UIImage *)textInputIcon; -+ (UIImage *)textInputSelectedIcon; - -//Photo Input -+ (UIImage *)photoInputIcon; -+ (UIImage *)photoInputSelectedIcon; -+ (UIImage *)expandPhotosIcon; - -//GIF Input -+ (UIImage *)gifInputIcon; -+ (UIImage *)gifInputSelectedIcon; - -+ (UIImage *)footerLinkIcon; - -// Sounds -+ (NSURL *)soundForMessageSending; -+ (NSURL *)soundForMessageSendingFailure; -+ (NSURL *)soundForIncomingAdminMessage; -+ (NSURL *)soundForIncomingOperatorMessage; - - -+ (UIImage *)playIcon; -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAutoLayout.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAutoLayout.h deleted file mode 100644 index 9e5669cf..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAutoLayout.h +++ /dev/null @@ -1,193 +0,0 @@ -// -// ICMAutoLayout.h -// Pods -// -// Created by James Treanor on 16/04/2015. -// -// - -#import - -typedef NS_OPTIONS(NSUInteger, ICM_JRTViewPinEdges) -{ - /// Pins the top edge of an item. - ICM_JRTViewPinTopEdge = 1 << 0, - - /// Pins the right edge of an item. - ICM_JRTViewPinRightEdge = 1 << 1, - - /// Pins the bottom edge of an item. - ICM_JRTViewPinBottomEdge = 1 << 2, - - /// Pins the left edge of an item. - ICM_JRTViewPinLeftEdge = 1 << 3, - - /// Pins all edges of an item. - ICM_JRTViewPinAllEdges = ~0UL -}; - -@interface ICMAutoLayout : NSObject - -/** - * @name Centering Views - */ - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis; - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * @param constant Constraint constant value. - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+ (NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis withConstant:(CGFloat)constant; - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * @param constant Constraint constant value. - * @param priority Constraint priority value. - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+ (NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis withConstant:(CGFloat)constant withPriority:(UILayoutPriority)priority; - -/** - * @name Constraining to a fixed size - */ - -/** - * Constrains the receiver to a fixed size. - * @warning Setting an axis to 0.0 will result in no constraint being applied to that axis. - * - * @param size The size to constrain the receiver to. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)constrainView:(UIView *)primaryView toSize:(CGSize)size; - -/** - * Constrains the receiver to a fixed width. - * - * @param width The width to constrain the receiver to - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toWidth:(CGFloat)width; - -/** - * Constrains the receiver to a fixed width. - * - * @param width The width to constrain the receiver to - * @param priority The UILayoutPriority of the constraint - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toWidth:(CGFloat)width withPriority:(UILayoutPriority)priority; - -/** - * Constrains the receiver to a fixed height. - * - * @param height The height to constrain the receiver to - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toHeight:(CGFloat)height; - -/** - * Constrains the receiver to a fixed height. - * - * @param height The height to constrain the receiver to - * @param priority The UILayoutPriority of the constraint - * - * @return The `NSLayoutConstraint` generated by this method. -*/ -+ (NSLayoutConstraint *)constrainView:(UIView *)primaryView toHeight:(CGFloat)height withPriority:(UILayoutPriority)priority; - -/** - * @name Pinning to other items - */ - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem; - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. Provide a constant for offset/inset. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * @param constant The constant that you want to apply to the constraint. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem withConstant:(CGFloat)constant; - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. Provide a constant for offset/inset along with a relation. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * @param constant The constant that you want to apply to the constraint. - * @param relation The relation that you wish to apply to the constraint. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem withConstant:(CGFloat)constant relation:(NSLayoutRelation)relation; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * @param inset The inset that is applied to the attributes. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView inset:(CGFloat)inset; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * @param inset The inset that is applied to the attributes. - * @param priority The resulting constraints' priorities. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. -*/ -+ (NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView inset:(CGFloat)inset withPriority:(UILayoutPriority)priority; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAvatar.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAvatar.h deleted file mode 100644 index 380e9f48..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMAvatar.h +++ /dev/null @@ -1,11 +0,0 @@ -#import -#import "ICMSafeNetworkModel.h" - -@interface ICMAvatar : ICMSafeNetworkModel - -@property (nonatomic, copy, readonly) NSString *imageUrl; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; -- (BOOL)isEqualToAvatar:(ICMAvatar *)other; -- (NSString *)chatHeadURL; -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMColor.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMColor.h deleted file mode 100644 index 8fc6b7a0..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMColor.h +++ /dev/null @@ -1,95 +0,0 @@ -#import -#import - -@interface ICMColor : NSObject - -+ (UIColor *)primaryColor; - -+ (UIColor *)darkPrimaryColor; -+ (UIColor *)primaryTextColor; -+ (UIColor *)primaryColorVariant; -+ (UIColor *)primaryOrDarkColor; -+ (UIColor *)whiteOrDarkForPrimaryColor; -+ (UIColor *)secondaryColor; -+ (UIColor *)darkSecondaryColor; -+ (UIColor *)lightSecondaryColor; -+ (UIColor *)secondaryTextColor; -+ (UIColor *)secondaryColorVariant; -+ (UIColor *)helpCenterThemeColor; -+ (UIColor *)helpCenterTextColor; -+ (UIColor *)helpCenterSearchPlaceholderColor; -+ (UIColor *)helpCenterSearchBarBackgroundColor; -+ (UIColor *)bubbleTextColorUser; -+ (UIColor *)bubbleFillColorUser; -+ (UIColor *)launcherImageColor; -+ (UIColor *)intercomLinkColor; -+ (UIColor *)composerSeparatorColor; - - -#pragma mark - Colour Palette - -+ (UIColor *)ghostWhite; -+ (UIColor *)dark; -+ (UIColor *)charcoalGrey; -+ (UIColor *)silver; -+ (UIColor *)intercomBlue; -+ (UIColor *)errorColor; -+ (UIColor *)closeButtonDarkColorWithAlpha:(CGFloat)alpha; -+ (UIColor *)closeButtonLightColor; -+ (UIColor *)closeButtonLightColorWithAlpha:(CGFloat)alpha; -+ (BOOL)isLightColor:(UIColor *)backgroundColor; - - -#pragma mark - Active/Away States - -+ (UIColor *)activeColour; -+ (UIColor *)awayColour; - - -#pragma mark - Button colors - -/** - * Calculates and returns a darker version of the passed in color. This should be used as the text color of an ICMButton. - * - * @param color The original color. - * @return The darker color to be used as the text color of an ICMButton. -*/ -+ (UIColor *)buttonTextColorVarient:(UIColor *)color; - -/** - * Calculates and returns a lighter version of the passed in color. This should be used as the background of an ICMButton. - * - * @param color The original color. - * @return The lighter color to be used as the background of an ICMButton. -*/ -+ (UIColor *)buttonBackgroundColorVarient:(UIColor *)color; - -/** - * Calculates and returns a darker version of the passed in colour. This should be used as the background color of an ICMButton while it is being tapped. - * - * @param color The original color. - * @return The darker color to be used as the background of am ICMButton while it is being tapped. -*/ -+ (UIColor *)buttonHighlightColor:(UIColor *)color; - - -#pragma mark - Colour Utils - -+ (UIColor *)colorWithR:(int)r g:(int)g b:(int)b; -+ (UIColor *)colorWithR:(int)r g:(int)g b:(int)b alpha:(CGFloat)alpha; -+ (UIColor *)colorWithHexString:(NSString *)hexString; - -/** - * Fades between firstColor and secondColor at the specified ratio: - * - * @ ratio 0.0 - fully firstColor - * @ ratio 0.5 - halfway between firstColor and secondColor - * @ ratio 1.0 - fully secondColor - * - */ - -+ (UIColor *)colorForFadeBetweenFirstColor:(UIColor *)firstColor - secondColor:(UIColor *)secondColor - atRatio:(CGFloat)ratio; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMConfig.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMConfig.h deleted file mode 100644 index 895013b2..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMConfig.h +++ /dev/null @@ -1,82 +0,0 @@ -#import -#import "ICMSafeNetworkModel.h" - -static NSString *const kICMIntercomConfigChangedNotification = @"kICMIntercomConfigChangedNotification"; -static NSString *const kICMMessengerBackgroundImageLoadedNotification = @"kICMMessengerBackgroundImageLoadedNotification"; -static NSString *const kICMMessengerLogoImageLoadedNotification = @"kICMMessengerLogoImageLoadedNotification"; -static NSString *const kICMLauncherCustomLogoImageLoadedNotification = @"kICMLauncherCustomLogoImageLoadedNotification"; - -@protocol ICMConfigProtocol -@property (readonly) BOOL inboundMessages; -@property (readonly) BOOL accessToTeammateEnabled; -@property (readonly) BOOL helpCenterRequireSearch; -@end - -@interface ICMConfig : ICMSafeNetworkModel - -@property (nonatomic, copy) NSString *primaryColorString; -@property (nonatomic, copy) NSString *secondaryColorString; -@property (nonatomic, copy) NSString *appName; -@property (nonatomic, copy) NSString *teamIntro; -@property (nonatomic, copy) NSString *messengerBackgroundImageUrlString; -@property (nonatomic, copy) NSString *messengerLogoUrlString; -@property (nonatomic, copy) NSString *teamGreeting; -@property (nonatomic, copy) NSString *launcherAlignment; -@property (nonatomic, copy) NSString *temporaryExpectationsMessage; -@property (nonatomic, assign) NSInteger launcherBottomPadding; -@property (nonatomic, copy) NSString *launcherCustomLogoURLString; -@property (nonatomic, assign) NSInteger uploadSizeLimit; - -@property (nonatomic, assign) BOOL inboundMessages; -@property (nonatomic, assign) BOOL attachmentsEnabled; -@property (nonatomic, assign) BOOL gifsEnabled; -@property (nonatomic, assign) BOOL showIntercomLink; -@property (nonatomic, assign) BOOL audioEnabled; -@property (nonatomic, assign) BOOL metricsEnabled; -@property (nonatomic, assign) BOOL backgroundRequestsEnabled; -@property (nonatomic, assign) BOOL shouldDisplayDarkPrimaryColor; -@property (nonatomic, assign) BOOL shouldDisplayDarkSecondaryColor; -@property (nonatomic, assign) BOOL shouldDisplayDarkHelpCenterColor; -@property (nonatomic, assign) BOOL identityVerificationEnabled; -@property (nonatomic, assign) BOOL accessToTeammateEnabled; -@property (nonatomic, assign) BOOL helpCenterRequireSearch; -@property (nonatomic, assign) BOOL preventMultipleInboundConversations; - -@property (nonatomic, assign) NSTimeInterval userUpdateDupCacheMaxAge; -@property (nonatomic, assign) NSTimeInterval newSessionThreshold; -@property (nonatomic, assign) NSTimeInterval batchUserUpdatePeriod; -@property (nonatomic, assign) NSTimeInterval softResetTimeout; -@property (nonatomic, assign) NSTimeInterval pingDelay; - -@property (nonatomic, assign) NSTimeInterval rateLimitPeriod; -@property (nonatomic, assign) NSUInteger rateLimit; - -@property (nonatomic, copy) NSString *helpCenterUrlString; -@property (nonatomic, copy) NSArray *helpCenterUrlStrings; -@property (nonatomic, copy) NSString *helpCenterBaseColorString; - -@property (nonatomic, strong) NSLocale *intercomLocale; -@property (nonatomic, strong) NSLocale *helpCenterLocale; -@property (nonatomic, strong) NSSet *features; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; - -+ (void)updateSharedInstanceFromDictionary:(NSDictionary *)aDictionary; - -+ (instancetype)sharedConfig; -+ (void)deleteSharedConfig; - -- (BOOL)isEqualToConfig:(ICMConfig *)other; -- (void)saveIfNeeded; -- (void)save; -- (UIImage *)messengerBackgroundImage; -- (UIImage *)messengerLogoImage; -- (UIImage *)customLauncherImage; -- (UIColor *)primaryColor; -- (UIColor *)secondaryColor; -- (UIColor *)helpCenterBaseColor; -- (BOOL)hasFeature:(NSString *)feature; -- (BOOL)receivedFromServer; -- (BOOL)useDefaultLauncherAlignment; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMContentViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMContentViewController.h deleted file mode 100644 index 1f2f47b1..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMContentViewController.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// ICMContentViewController.h -// IntercomSDK -// -// Created by Michael McNamara on 05/10/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import -#import "ICMContentViewControllerDelegate.h" - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMContentViewController - -@property (nonatomic, weak) id contentDelegate; - -@required -- (void)reload; - -@optional -- (void)closeButtonTapped; -- (void)viewDidDismissBySwipe; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMContentViewControllerDelegate.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMContentViewControllerDelegate.h deleted file mode 100644 index 3f896f0b..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMContentViewControllerDelegate.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// ICMContentViewControllerDelegate.h -// IntercomSDK -// -// Created by Michael McNamara on 30/03/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMContentViewControllerDelegate - -@required -- (void)contentDidLoadWithDismissEnabled:(BOOL)dismissEnabled; -- (void)showLoadingViewWithImage:(UIImage *)image; -- (void)contentLoadingDidFail:(NSString *)errorMessage - showActionButton:(BOOL)showActionButton - actionButtonTitle:(NSString * _Nullable)actionButtonTitle; -- (void)configureCloseButtonForBackgroundColor:(UIColor *)backgroundColor; -- (void)closeContentModal; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMDataManager.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMDataManager.h deleted file mode 100644 index c0e56f58..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMDataManager.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// ICMDataManager.h -// IntercomSDK -// -// Created by Dale Cantwell on 28/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import -#import "ICMUnreadManager.h" -#import "ICMDataManagerProtocol.h" - -@class ICMConversation; - -@interface ICMDataManager : NSObject -@property (nonatomic, readonly) NSMutableArray *conversations; -@property (nonatomic, strong) NSString *conversationToMark; -@property (nonatomic, strong) ICMUnreadManager *unreadManager; -@property (nonatomic, strong) ICMConversation *lastViewedConversation; -@property (nonatomic, assign) BOOL morePagesAvailable; -@property (nonatomic, assign) BOOL hasReceivedConversationsResponse; - -+ (instancetype)sharedManager; -- (void)updateConversationsBefore:(NSDate *)before success:(void (^)(NSArray *conversations, BOOL newElementsAdded))success failure:(void (^)(NSError *error))failure; -- (void)updateConversationsWithSuccess:(void (^)(NSArray *conversations))success failure:(void (^)(NSError *error))failure; -- (void)updateWithConversation:(ICMConversation *)conversation; -- (void)getUnreadConversationsIfNeeded; -- (NSArray *)getRecentConversations; -- (NSArray *)getPreviousConversations; -- (void)clearConversations; -- (BOOL)hasRecentConversations; -- (BOOL)hasPreviousConversations; -- (NSInteger)recentConversationCount; -- (BOOL)hasConversations; -- (BOOL)hasOpenInboundConversation; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMDataManagerProtocol.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMDataManagerProtocol.h deleted file mode 100644 index 98b4d60b..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMDataManagerProtocol.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// ICMDataManagerProtocol.h -// IntercomSDK -// -// Created by Michael McNamara on 14/09/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#ifndef ICMDataManagerProtocol_h -#define ICMDataManagerProtocol_h - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMDataManagerProtocol - -- (BOOL)hasRecentConversations; -- (BOOL)hasPreviousConversations; -- (int)recentConversationCount; - -@end - -NS_ASSUME_NONNULL_END - -#endif /* ICMDataManagerProtocol_h */ diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMEngine.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMEngine.h deleted file mode 100644 index ff013fe4..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMEngine.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMEngine.h -// Intercom -// -// Created by Brian Boyle on 16/08/2016. -// -// - -@protocol ICMFileUploadConfig; - -typedef void (^ICMHTTPEmptySuccess)(void); -typedef void (^ICMHTTPClientError) (NSError *error); -typedef void (^ICMHTTPClientProgress) (double progress); - -@interface ICMEngine : NSObject - -- (void)requestWithoutRedirects:(NSURLRequest *)request success:(ICMHTTPEmptySuccess)success failure:(ICMHTTPClientError)failure; -- (NSURLSessionUploadTask *)uploadFileWithFileName:(NSString *)filename data:(NSData *)data uploadConfig:(id)uploadConfig success:(ICMHTTPEmptySuccess)success progress:(ICMHTTPClientProgress)progress failure:(ICMHTTPClientError)failure; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMErrorViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMErrorViewController.h deleted file mode 100644 index fe91efc6..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMErrorViewController.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// ICMErrorViewController.h -// IntercomSDK -// -// Created by Roland Gropmair on 12/11/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMErrorViewDelegate; - -@interface ICMErrorViewController : UIViewController - -@property (nonatomic, weak) id errorDelegate; - -- (instancetype)initWithTitle:(NSString *)title showActionButton:(BOOL)showRetryButton actionButtonTitle:(NSString * _Nullable)retryButtonTitle; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMErrorViewDelegate.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMErrorViewDelegate.h deleted file mode 100644 index ec703d62..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMErrorViewDelegate.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMErrorViewDelegate.h -// IntercomSDK-Dynamic -// -// Created by Brian Boyle on 29/03/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMErrorViewDelegate - -@optional -- (void) didSelectErrorAction; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMFeedbackGenerator.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMFeedbackGenerator.h deleted file mode 100644 index 3548df4a..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMFeedbackGenerator.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// ICMFeedbackGenerator.h -// IntercomSDK -// -// Created by Michael Isaakidis on 31/08/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -typedef NS_ENUM(NSUInteger, ICMFeedbackGeneratorType) { - ICMFeedbackGeneratorTypeSelection, - ICMFeedbackGeneratorTypeError, - ICMFeedbackGeneratorTypeSuccess, - ICMFeedbackGeneratorTypeWarning, -}; - -@interface ICMFeedbackGenerator : NSObject - -+ (void)feedbackWithType:(ICMFeedbackGeneratorType)type; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHTTPClient.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHTTPClient.h deleted file mode 100644 index 9f452cab..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHTTPClient.h +++ /dev/null @@ -1,183 +0,0 @@ -// -// Created by Ignacio Delgado on 15/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import "ICMHTTPClientProtocol.h" - -@class ArticleMetaData; - -@interface ICMHTTPClient : NSObject - -#pragma mark - User Updates - -+ (void)updateUserWithUserAttributes:(NSDictionary *)attributes - newSession:(BOOL)newSession - sentFromBackground:(BOOL)sentFromBackground - carouselVisible:(BOOL)carouselCurrentlyPresented - success:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Push Notification Tokens - -+ (void)submitDeviceToken; -+ (void)deleteDeviceToken:(NSString *)deviceTokenString - forUserIdentity:(ICMUserIdentity *)userIdentity - completion:(ICMHTTPEmptyBlock)completion; - - -#pragma mark - Events - -+ (void)logEventWithName:(NSString *)name - metadata:(NSDictionary *)metadata - sentFromBackground:(BOOL)sentFromBackground - carouselVisible:(BOOL)carouselCurrentlyPresented - success:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Conversations - -+ (void)markConversationAsRead:(NSString *)conversationId success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; -+ (void)markConversationAsDismissed:(NSString *)conversationId success:(ICMHTTPEmptySuccess)success error:(ICMHTTPClientError)failure; -+ (void)recordInteractions:(NSString *)conversationId - interactions:(NSArray *)interactions; -+ (void)unreadConversations:(NSInteger)pageSize success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; -+ (void)conversationsBefore:(NSDate *)beforeTimestamp pageSize:(NSInteger)pageSize success:(ICMHTTPConversationsSuccess)success error:(ICMHTTPClientError)failure; - -/// Create a new conversation. -/// @param blocks The blocks. -/// @param articleMetaData If a conversation is started from an article, the articleId should be passed through. This allows teammates know what article a conversation was started from. The articleSource will also be included when Help Center when opened from the Search/Browse card -/// @param success Success completion block. -/// @param failure Failure completion block. -+ (void)createConversationWithBlocks:(NSArray *)blocks - articleMetaData:(ArticleMetaData *)articleMetaData - success:(ICMHTTPConversationSuccess)success - error:(ICMHTTPClientError)failure; -+ (void)replyToConversation:(NSString *)conversationId - withBlocks:(NSArray *)blocks - success:(ICMHTTPReplyConversationSuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)reactToConversation:(NSString *)conversationId withReactionIndex:(NSUInteger)index; -+ (void)conversationDetail:(NSString *)conversationId success:(ICMHTTPConversationSuccess)success error:(ICMHTTPClientError)failure; - - -#pragma mark - Conversation Ratings - -+ (void)rateConversation:(NSString *)conversationId withRatingIndex:(NSUInteger)ratingIndex; -+ (void)addConversationRatingRemarkForConversation:(NSString *)conversationId remark:(NSString *)remark; - - -#pragma mark - Articles - -+ (void)article:(NSString *)articleId success:(ICMHTTPArticleSuccess)success error:(ICMHTTPClientError)failure; -+ (void)reactToArticle:(NSString *)articleId articleContentId:(NSString *)articleContentId withReactionIndex:(NSUInteger)index allowAutoResponses:(BOOL)allowAutoResponses articleSource:(NSString *)articleSource; - - -#pragma mark - GIFs - -+ (void)loadGIFs:(NSString *)searchQuery - success:(ICMHTTPGIFSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Metrics - -+ (void)submitMetrics:(NSArray *> *)metrics - opsMetrics:(NSArray *> *)opsMetrics - success:(ICMHTTPEmptySuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Uploads - -+ (void)createUploadWithUpload:(ITBUpload *)upload success:(ICMHTTPUploadCreateSuccess)success progress:(ICMHTTPClientProgress)progress error:(ICMHTTPClientError)failure; - - -#pragma mark - URL Tracker - -+ (void)trackURL:(NSString *)url; - - -#pragma mark - Operator - -+ (void)operatorConditionSatisfied:(NSString *)transitionId - converstionId:(NSString *)conversationId - error:(ICMHTTPClientError)failure; - - -#pragma mark - Sheets - -+ (void)fetchMessengerSheetData:(NSDictionary *)sheetParams success:(ICMHTTPSheetSuccess)success failure:(ICMHTTPClientError)failure; -+ (void)submitMessengerSheet:(NSDictionary *)sheetPayload uri:(NSString *)uri success:(ICMHTTPEmptyBlock)success failure:(ICMHTTPClientError)failure; - - -#pragma mark - Homescreen - -+ (void)fetchHomescreenWithSuccess:(ICMHTTPHomescreenSuccess)success failure:(ICMHTTPClientError)failure; - - -#pragma mark - Quick Reply - -+ (void)quickReplyToConversation:(NSString *)conversationId - withPartId:(NSString *)quickReplyPartId - withOptionUUID:(NSString *)uuid - success:(ICMHTTPReplyConversationSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Attribute Collector - -+ (void)submitFormParams:(NSDictionary *)formParams - forConversation:(NSString *)conversationId - success:(ICMHTTPSubmitFormSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Inbound Custom Bots - -+ (void)triggerInboundBotWithOptionUUID:(NSString *)uuid - success:(ICMHTTPConversationSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Stats System - -+ (void)recordStatistic:(NSString *)statToRecord withInstanceId:(NSString *)instanceId statsMetadata:(NSDictionary *)statsMetadata success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; - - -#pragma mark - Carousels - -+ (void)getCarouselWithId:(NSString*)carouselId - success:(ICMHTTPCarouselSuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getCarouselWithInstanceId:(NSString*)carouselInstanceId - success:(ICMHTTPCarouselSuccess)success - error:(ICMHTTPClientError)failure; - -#pragma mark - Help Center - -+ (void)getHelpCenterCollections:(ICMHTTPArraySuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getHelpCenterCollection:(NSString*)collectionId - success:(ICMHTTPDictionarySuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getHelpCenterSearchResults:(NSString*)searchText - source:(NSString*)source - success:(ICMHTTPArraySuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Composer suggestions - - -+ (void)openMessenger:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; -@end - diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHTTPClientProtocol.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHTTPClientProtocol.h deleted file mode 100644 index 0e4cb703..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHTTPClientProtocol.h +++ /dev/null @@ -1,66 +0,0 @@ -// -// ICMHTTPClientProtocol.h -// IntercomSDK -// -// Created by Michael McNamara on 14/04/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#ifndef ICMHTTPClientProtocol_h -#define ICMHTTPClientProtocol_h - -#import "ICMEngine.h" - -@class ITBUpload; -@class ICMConversationsResponse; -@class ICMConversation; -@class ICMConversationPart; -@class ICMArticle; -@class ICMGIFResponse; -@class ICMSheet; -@class ICMHomescreen; -@class ICMBaseResponse; -@class ICMCarousel; -@class ICMUserIdentity; -@class ICMComposerSuggestions; - -static const NSInteger kICMHTTPClientDefaultPageSize = 10; -static const NSInteger kNewContentEventTypeCarousel = 44; - -NS_ASSUME_NONNULL_BEGIN - -typedef void (^ICMHTTPBaseSuccess)(ICMBaseResponse *response); -typedef void (^ICMHTTPConversationsSuccess)(ICMConversationsResponse *response); -typedef void (^ICMHTTPConversationSuccess)(ICMConversation *response); -typedef void (^ICMHTTPReplyConversationSuccess)(ICMConversationPart *response); -typedef void (^ICMHTTPUploadCreateSuccess)(NSString * _Nullable publicUrl); -typedef void (^ICMHTTPArticleSuccess)(ICMArticle *article); -typedef void (^ICMHTTPGIFSuccess)(ICMGIFResponse *gifResponse); -typedef void (^ICMHTTPSheetSuccess)(ICMSheet *sheet); -typedef void (^ICMHTTPHomescreenSuccess)(ICMHomescreen *sheet); -typedef void (^ICMHTTPEmptyBlock) (void); -typedef void (^ICMHTTPSubmitFormSuccess)(ICMConversation *response); -typedef void (^ICMHTTPCarouselSuccess)(ICMCarousel *carousel); -typedef void (^ICMHTTPArraySuccess)(NSArray *array); -typedef void (^ICMHTTPDictionarySuccess)(NSDictionary *object); -typedef void (^ICMHTTPComposerSuggestionsSuccess)(ICMComposerSuggestions *composerSuggestions); - -@protocol ICMHTTPClientProtocol -+ (void)getHelpCenterCollections:(nullable ICMHTTPArraySuccess)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)getHelpCenterCollection:(nullable NSString*)collectionId - success:(nullable ICMHTTPDictionarySuccess)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)getHelpCenterSearchResults:(NSString*)searchText - source:(nullable NSString*)source - success:(nullable ICMHTTPArraySuccess)success - error:(nullable ICMHTTPClientError)failure; - -@end - -NS_ASSUME_NONNULL_END - - -#endif /* ICMHTTPClientProtocol_h */ diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHelpCenterTranslationManager.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHelpCenterTranslationManager.h deleted file mode 100644 index 0f28842a..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMHelpCenterTranslationManager.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMHelpCenterTranslationManager.h -// IntercomSDK-Dynamic -// -// Created by Michael McNamara on 16/06/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import "ICMTranslationManager.h" - -NS_ASSUME_NONNULL_BEGIN - -/// A `ICMTranslationManager` subclass that uses our `help_center_locale` instead of the standard Intercom locale. -/// This should be used to translate any strings in our native Help Center. -@interface ICMHelpCenterTranslationManager : ICMTranslationManager - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMLoadingViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMLoadingViewController.h deleted file mode 100644 index 002c2730..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMLoadingViewController.h +++ /dev/null @@ -1,10 +0,0 @@ - -#import -#import - -@interface ICMLoadingViewController : UIViewController - -- (instancetype)initWithImage:(UIImage *)loadingImage accessibilityText:(NSString *)accessibilityText; -- (void)hideLoadingSpinner; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMetric.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMetric.h deleted file mode 100644 index 5b2a27da..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMetric.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// ICMMetric.h -// Pods -// -// Created by James Treanor on 07/08/2015. -// -// - -#import -#import "ICMMetricEvent.h" -@class ICMOpsMetricEvent; - -@interface ICMMetric : NSObject - -+ (instancetype)sharedInstance; - -- (void)addEvent:(ICMMetricEvent *)event; -- (void)addOpsEvent:(ICMOpsMetricEvent *)opsEvent; -- (NSSet *)events; -- (NSSet *)opsEvents; -- (void)clearAllEvents; -- (void)clearEvents:(NSSet *)events opsEvents:(NSSet *)opsEvents; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMetricEvent.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMetricEvent.h deleted file mode 100644 index 85232ab1..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMetricEvent.h +++ /dev/null @@ -1,207 +0,0 @@ -// -// ICMMetricEvent.h -// Pods -// -// Created by James Treanor on 15/03/2016. -// -// - -#import - -typedef NS_ENUM(NSUInteger, ICMMetricEventType) { - ICMMetricEventTypeMessenger = 0, - ICMMetricEventTypeEducate = 1, - ICMMetricEventTypeCarousel = 2, - ICMMetricEventTypeSearchBrowse = 3 -}; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Actions -static NSString *const ICMMetricEventActionOpened = @"opened"; -static NSString *const ICMMetricEventActionClosed = @"closed"; -static NSString *const ICMMetricEventActionReceived = @"received"; -static NSString *const ICMMetricEventActionDismissed = @"dismissed"; -static NSString *const ICMMetricEventActionViewed = @"viewed"; -static NSString *const ICMMetricEventActionSent = @"sent"; -static NSString *const ICMMetricEventActionTyped = @"typed"; -static NSString *const ICMMetricEventActionClicked = @"clicked"; -static NSString *const ICMMetricEventActionSearched = @"searched"; -static NSString *const ICMMetricEventActionCompleted = @"completed"; -static NSString *const ICMMetricEventActionStarted = @"started"; -static NSString *const ICMMetricEventActionFailed = @"failed"; -static NSString *const ICMMetricEventActionRequested = @"requested"; - -#pragma mark - Objects -static NSString *const ICMMetricEventObjectConversation = @"conversation"; -static NSString *const ICMMetricEventObjectNewConversation = @"new_conversation"; -static NSString *const ICMMetricEventObjectMessenger = @"messenger"; -static NSString *const ICMMetricEventObjectMessage = @"message"; -static NSString *const ICMMetricEventObjectReply = @"reply"; -static NSString *const ICMMetricEventObjectQuickReplies = @"quick_replies"; -static NSString *const ICMMetricEventObjectQuickReply = @"quick_reply"; -static NSString *const ICMMetricEventObjectReaction = @"reaction"; -static NSString *const ICMMetricEventObjectBadge = @"badge"; -static NSString *const ICMMetricEventObjectTeamProfile = @"team_profile"; -static NSString *const ICMMetricEventObjectTeammateProfile = @"teammate_profile"; -static NSString *const ICMMetricEventObjectArticle = @"article"; -static NSString *const ICMMetricEventObjectArticlePreload = @"article_preload"; -static NSString *const ICMMetricEventObjectHelpCenter = @"help_center"; -static NSString *const ICMMetricEventObjectGIFInput = @"gif_input"; -static NSString *const ICMMetricEventObjectTextInput = @"text_input"; -static NSString *const ICMMetricEventObjectImageInput = @"image_input"; -static NSString *const ICMMetricEventObjectExpandedImageInput = @"expanded_image_input"; -static NSString *const ICMMetricEventObjectExpandedGIFInput = @"expanded_gif_input"; -static NSString *const ICMMetricEventObjectMessengerSheet = @"messenger_sheet"; -static NSString *const ICMMetricEventObjectHomescreen = @"home_screen"; -static NSString *const ICMMetricEventObjectHelpCenterData = @"help_center_data"; -static NSString *const ICMMetricEventObjectArticleReaction = @"article_reaction"; -static NSString *const ICMMetricEventObjectSearchBrowse = @"search_browse_card"; -static NSString *const ICMMetricEventObjectSearchBrowseInput = @"search_browse_card_input"; - -#pragma mark Carousel -static NSString *const ICMMetricEventObjectCarouselMessage = @"carousel_message"; -static NSString *const ICMMetricEventObjectCarouselMessagePreload = @"carousel_message_preload"; -static NSString *const ICMMetricEventObjectCarouselPermissionSkipped = @"carousel_permission_skipped"; -static NSString *const ICMMetricEventObjectCarouselPermissionDialog = @"carousel_permission_dialog"; -static NSString *const ICMMetricEventObjectCarouselPermissionSettings = @"carousel_permission_settings"; - - -#pragma mark - Place -static NSString *const ICMMetricEventPlaceMessenger = @"messenger"; -static NSString *const ICMMetricEventPlaceMessengerHomeApp = @"messenger_home_app"; -static NSString *const ICMMetricEventPlaceConversation = @"conversation"; -static NSString *const ICMMetricEventPlaceInApp = @"in_app"; -static NSString *const ICMMetricEventPlaceCarouselMessage = @"carousel_message"; -static NSString *const ICMMetricEventPlaceWebview = @"webview"; -static NSString *const ICMMetricEventPlaceHelpCenterCollectionList = @"collection_list"; -static NSString *const ICMMetricEventPlaceHelpCenterArticleList = @"article_list"; -static NSString *const ICMMetricEventPlaceHelpCenterSearchResults = @"search_results"; -static NSString *const ICMMetricEventPlaceHelpCenterArticle = @"article"; -static NSString *const ICMMetricEventPlaceHelpCenterAPI = @"api"; -static NSString *const ICMMetricEventPlaceLegacyArticleSearchApp = @"legacy_article_search_app"; -static NSString *const ICMMetricEventPlacePushNotification = @"push"; -static NSString *const ICMMetricEventPlaceHomeScreen = @"home-screen"; -static NSString *const ICMMetricEventPlaceSearchBrowse = @"search_browse"; - - -#pragma mark - Context -static NSString *const ICMMetricEventContextNoContext = @"no_context"; -static NSString *const ICMMetricEventContextFromDefaultLauncher = @"from_launcher"; -static NSString *const ICMMetricEventContextFromCustomLauncher = @"from_custom_launcher"; -static NSString *const ICMMetricEventContextFromCloseButton = @"from_close_button"; -static NSString *const ICMMetricEventContextFromBadge = @"from_badge"; -static NSString *const ICMMetricEventContextFromSnippet = @"from_snippet"; -static NSString *const ICMMetricEventContextFromFull = @"from_full"; -static NSString *const ICMMetricEventContextFromConversationList = @"from_conversation_list"; -static NSString *const ICMMetricEventContextInConversation = @"in_conversation"; -static NSString *const ICMMetricEventContextInNewConversation = @"in_new_conversation"; -static NSString *const ICMMetricEventContextFromConversation = @"from_conversation"; -static NSString *const ICMMetricEventContextFromNewConversation = @"from_new_conversation"; -static NSString *const ICMMetricEventContextFromClosedConversation = @"from_closed_conversation"; -static NSString *const ICMMetricEventContextInFollowUpConversation = @"in_followup_conversation"; -static NSString *const ICMMetricEventContextFromClicking = @"from_clicking"; -static NSString *const ICMMetricEventContextFromScrolling = @"from_scrolling"; -static NSString *const ICMMetricEventContextFromAuto = @"from_auto"; -static NSString *const ICMMetricEventContextFromPush = @"from_push"; -static NSString *const ICMMetricEventContextOnArticle = @"on_article"; -static NSString *const ICMMetricEventContextFromHelpCenterWebView = @"from_help_center_webview"; -static NSString *const ICMMetricEventContextFromArticleOnButton = @"from_article_on_button"; -static NSString *const ICMMetricEventContextHomescreen = @"home_screen"; -static NSString *const ICMMetricEventContextConversation = @"conversation"; -static NSString *const ICMMetricEventContextFromCarousel = @"from_carousel"; -static NSString *const ICMMetricEventContextFromRetry = @"from_retry"; -static NSString *const ICMMetricEventContextFromSwipe = @"from_swipe"; -static NSString *const ICMMetricEventContextFromCTA = @"from_cta"; -static NSString *const ICMMetricEventContextFromPermission = @"from_permission"; -static NSString *const ICMMetricEventContextFromPermissionSkipped = @"from_permission_skipped"; -static NSString *const ICMMetricEventContextReactionHappy = @"reaction_happy"; -static NSString *const ICMMetricEventContextReactionNeutral = @"reaction_neutral"; -static NSString *const ICMMetricEventContextReactionSad = @"reaction_sad"; -static NSString *const ICMMetricEventContextHumanStyle = @"style_human"; -static NSString *const ICMMetricEventContextBotStyle = @"style_bot"; -static NSString *const ICMMetricEventContextArticle = @"article"; -static NSString *const ICMMetricEventContextMessenger = @"messenger"; - -#pragma mark Carousel Permissions -static NSString *const ICMMetricEventContextPushNotification = @"push_notifications_permission"; -static NSString *const ICMMetricEventContextLocation = @"location_permission"; -static NSString *const ICMMetricEventContextCamera = @"camera_permission"; -static NSString *const ICMMetricEventContextPhotoGallery = @"photos_permission"; -static NSString *const ICMMetricEventContextMicrophone = @"microphone_permission"; - -#pragma mark - Info Keys -static NSString *const kICMMetricEventInfoConversationId = @"conversation_id"; -static NSString *const kICMMetricEventInfoClosedConversationId = @"closed_conversation_id"; -static NSString *const kICMMetricEventInfoConversation = @"conversation"; -static NSString *const kICMMetricEventInfoPushInstanceId = @"instance_id"; -static NSString *const kICMMetricEventInfoConversationPart = @"conversation_part"; -static NSString *const kICMMetricEventInfoMessageText = @"message_text"; -static NSString *const kICMMetricEventInfoIsAttachment = @"is_attachment"; -static NSString *const kICMMetricEventInfoIsAnnotated = @"is_annotated"; -static NSString *const kICMMetricEventInfoIsSticker = @"is_sticker"; -static NSString *const kICMMetricEventInfoHasArticleCard = @"has_article_card"; -static NSString *const kICMMetricEventInfoLauncherState = @"state"; -static NSString *const kICMMetricEventInfoPushType = @"push_type"; -static NSString *const kICMMetricEventInfoMessageType = @"message_type"; -static NSString *const kICMMetricEventInfoBadgeValue = @"badge_value"; -static NSString *const kICMMetricEventInfoArticleId = @"article_id"; -static NSString *const kICMMetricEventInfoIsGIF = @"is_gif"; -static NSString *const kICMMetricEventInfoGIFSearchQuery = @"search_query"; -static NSString *const kICMMetricEventInfoTeamMateStatus = @"teammate_status"; -static NSString *const kICMMetricEventInfoTimeSinceLastActive = @"time_since_last_active"; -static NSString *const kICMMetricEventInfoWithinOfficeHours = @"within_office_hours"; -static NSString *const kICMMetricEventInfoURL = @"url"; -static NSString *const kICMMetricEventInfoQuickReplyId = @"quick_reply_id"; -static NSString *const kICMMetricEventInfoScreensInMessage = @"screens_in_message"; -static NSString *const kICMMetricEventInfoScreensShown = @"screens_shown"; -static NSString *const kICMMetricEventInfoScreensSeen = @"screens_seen"; -static NSString *const kICMMetricEventInfoPermissionGranted = @"permission_granted"; -static NSString *const kICMMetricEventInfoCarouselInstanceId = @"instance_id"; -static NSString *const kICMMetricEventInfoRequestedInstanceId = @"requested_instance_id"; -static NSString *const kICMMetricEventInfoRequestedContentId = @"requested_content_id"; -static NSString *const kICMMetricEventInfoSource = @"source"; -static NSString *const kICMMetricEventInfoErrorCode = @"error_code"; -static NSString *const kICMMetricEventInfoSuggestedArticlesShown = @"articles_shown"; -static NSString *const kICMMetricEventInfoSuggestedArticlesCount = @"articles_count"; -static NSString *const kICMMetricEventInfoConversationShown = @"conversation_shown"; -static NSString *const kICMMetricEventInfoFiltered = @"filtered"; -static NSString *const kICMMetricEventInfoHomeScreenIndex = @"home_screen_index"; - -#pragma mark - Info Values -static NSString *const kICMMetricEventInfoLauncherStateEmpty = @"empty"; -static NSString *const kICMMetricEventInfoLauncherStateBadge = @"badge"; -static NSString *const kICMMetricEventInfoLauncherStateSnippet = @"snippet"; -static NSString *const kICMMetricEventInfoLauncherStateFull = @"full"; -static NSString *const kICMMetricEventInfoLauncherStateMultipleSnippets = @"multiple snippets"; -static NSString *const kICMMetricEventInfoPushTypeMessage = @"message"; -static NSString *const kICMMetricEventInfoPushTypeNotification = @"notification"; -static NSString *const kICMMetricEventInfoMessageTypeNote = @"note"; -static NSString *const kICMMetricEventInfoMessageTypePost = @"post"; -static NSString *const kICMMetricEventInfoMessageTypeChat = @"chat"; -static NSString *const kICMMetricEventInfoTeamMateActive = @"active"; -static NSString *const kICMMetricEventInfoTeamMateAway = @"away"; -static NSString *const kICMMetricEventInfoProgrammatic = @"programmatic"; -static NSString *const kICMMetricEventInfoAutomatic = @"automatic"; - - -@interface ICMMetricEvent : NSObject - -+ (instancetype)eventWithAction:(NSString *)action - object:(NSString *)object - place:(nullable NSString *)place - context:(nullable NSString *)context; - -+ (instancetype)eventWithAction:(NSString *)action - object:(NSString *)object - place:(nullable NSString *)place - context:(nullable NSString *)context - additionalInfo:(nullable NSDictionary *)info; - -- (NSDictionary *)eventDictionary; - -@property (nonatomic, assign) ICMMetricEventType eventType; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMultipleAvatarView.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMultipleAvatarView.h deleted file mode 100644 index 2a39cf79..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMMultipleAvatarView.h +++ /dev/null @@ -1,15 +0,0 @@ -#import - -@class ICMParticipant; - -@interface ICMMultipleAvatarView : UIView - -@property (nonatomic, strong) UIColor *avatarBorderColor; - -- (id)initWithWidth:(CGFloat)width; - -- (void)bindAdmins:(NSArray *)admins; - -- (void)cancelImageLoad; -- (void)keepUserPresenceViewBackgroundColor; -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMNavigationBarCloseButton.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMNavigationBarCloseButton.h deleted file mode 100644 index 12506407..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMNavigationBarCloseButton.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// ICMCloseBarButtonItem.h -// IntercomSDK -// -// Created by Michael Isaakidis on 28/06/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -typedef NS_ENUM(NSInteger, ICMNavigationBarCloseButtonStyle) { - ICMNavigationBarCloseButtonStyleLight, - ICMNavigationBarCloseButtonStyleDark, - ICMNavigationBarCloseButtonStyleText -}; - -extern const CGFloat kICMContentHolderDismissButtonBackgroundAlpha; - -@interface ICMNavigationBarCloseButton : UIButton - -@property (nonatomic, assign) CGFloat backgroundViewAlpha; -@property (nonatomic) ICMNavigationBarCloseButtonStyle style; -- (instancetype)initWithFrame:(CGRect)frame style:(ICMNavigationBarCloseButtonStyle)style; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMNavigationController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMNavigationController.h deleted file mode 100644 index 73b3d04b..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMNavigationController.h +++ /dev/null @@ -1,33 +0,0 @@ -#import -#import - -typedef enum : NSUInteger { - Messenger, - HelpCenter, - ContentModal, - Sheet -} IntercomPresentationContext; - -@class ICMHostAppState; -@class ICMNavigationBarCloseButton; - -@protocol ICMCloseIntercomModalDelegate -- (void)closeIntercomModal; -@end - -@interface ICMNavigationController : UINavigationController - -- (instancetype)initWithHostAppState:(ICMHostAppState *)hostAppState - closeIntercomModalDelegate:(id)closeIntercomModalDelegate - presentationContext:(IntercomPresentationContext)presentationContext; - -- (void)setWallpaperHeight:(CGFloat)height; -- (void)displayCloseButton; -- (void)removeCloseButton; -- (void)addBackButton; -- (void)closeIntercomModal; - -@property (nonatomic, strong) ICMNavigationBarCloseButton *closeButton; -@property (nonatomic, assign) IntercomPresentationContext presentationContext; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMParticipant.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMParticipant.h deleted file mode 100644 index c1522543..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMParticipant.h +++ /dev/null @@ -1,21 +0,0 @@ -#import -#import "ICMSafeNetworkModel.h" -#import "ICMAvatar.h" - -@interface ICMParticipant : ICMSafeNetworkModel - -@property (nonatomic, strong) ICMAvatar *avatar; -@property (nonatomic, copy) NSString *email; -@property (nonatomic, copy) NSString *participantId; -@property (nonatomic, copy) NSString *name; -@property (nonatomic, copy) NSString *firstName; -@property (nonatomic, copy) NSString *type; -@property (nonatomic, assign) BOOL isBot; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; -- (BOOL)isEqualToParticipant:(ICMParticipant *)other; -- (NSString *)firstName; -- (BOOL)isAdmin; -- (NSAttributedString *)adminAppNameTitle:(NSDictionary *)styleAttributes; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMParticipatingAdmin.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMParticipatingAdmin.h deleted file mode 100644 index 1f5986b9..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMParticipatingAdmin.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// ICMParticipatingAdmin.h -// Pods -// -// Created by James Treanor on 10/03/2016. -// -// - -#import "ICMParticipant.h" -@class ICMSocialAccount; - -@interface ICMParticipatingAdmin : ICMParticipant - -@property (nonatomic, copy) NSDate *lastActive; -@property (nonatomic, assign) BOOL isActive; -@property (nonatomic, copy) NSString *intro; -@property (nonatomic, copy) NSString *jobTitle; -@property (nonatomic, copy) NSString *locationString; -@property (nonatomic, copy) NSNumber *timezoneOffset; -@property (nonatomic, strong) NSArray *socialAccounts; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMPresentationManager.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMPresentationManager.h deleted file mode 100644 index 7a910712..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMPresentationManager.h +++ /dev/null @@ -1,53 +0,0 @@ -// -// Created by Ignacio Delgado on 17/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ICMConversation; -@class ICMCarousel; -@class ICMMessengerSheetViewController; - -@interface ICMPresentationManager : NSObject - -@property (nonatomic, assign) CGFloat inAppBottomPadding; -@property (nonatomic, assign) BOOL launcherVisible; -@property (nonatomic, assign) BOOL inAppMessagesVisible; -@property (nonatomic, assign) BOOL manualInAppBottomPaddingSet; - -+ (instancetype) sharedInstance; -+ (void)observeSceneWillEnterForeground; - -- (void)setUnreadConversations:(NSArray *)conversations completion:(void (^ __nullable)(void))completion; -- (void)presentCarousel:(ICMCarousel *)carousel; -- (void)presentMessenger; -- (void)presentMessageComposerWithInitialMessage:(nullable NSString *)message; -- (void)presentHomescreen; -- (void)presentSheet:(ICMMessengerSheetViewController *)sheetVC; - -#pragma mark - Help Center Presentation -- (void)presentHelpCenter; -- (void)presentHelpCenterFromSearchBrowse; -- (void)presentHelpCenterCollections:(NSArray *)collectionIds; -- (void)presentHelpCenterCollection:(NSString *)collectionId; -- (void)presentArticle:(NSString *)articleId; - -- (void)showLauncherOrInAppsIfNeeded; -- (void)hideIntercomUI; -- (void)userChanged; - -- (void)presentConversation:(ICMConversation *)conversation; - -- (void)setNeedsHostAppStatusBarAppearanceUpdate; -- (BOOL)isMessengerPresented; -- (void)dismissAllIntercomViews; -- (void)sceneWillEnterForeground:(NSNotification *)notification; -- (BOOL)isContentCurrentlyPresented; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMRecentConversationsViewController.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMRecentConversationsViewController.h deleted file mode 100644 index 80d29fce..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMRecentConversationsViewController.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ICMRecentConversationsViewController.h -// IntercomSDK-Dynamic -// -// Created by Brian Boyle on 11/09/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMRecentConversationsViewControllerDelegate -- (void)reloadConversationHistoryCard; -- (void)navigateToViewController:(UIViewController *)viewController NS_SWIFT_NAME(navigate(toViewController:)); -@end - -@interface ICMRecentConversationsViewController : UIViewController -@property (nonatomic, weak) id delegate; -- (void)reloadTableView; -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMSafeNetworkModel.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMSafeNetworkModel.h deleted file mode 100644 index eeaa4e01..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMSafeNetworkModel.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// ICMSafeNetworkModel.h -// Pods -// -// Created by James Treanor on 23/02/2015. -// -// - -#import - -@interface ICMSafeNetworkModel : NSObject - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMStartConversationButton.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMStartConversationButton.h deleted file mode 100644 index d7a8f064..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMStartConversationButton.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMStartConversationButton.h -// IntercomSDK -// -// Created by Michael Isaakidis on 29/05/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -typedef NS_ENUM(NSUInteger, ICMStartConversationButtonStyle) { - ICMStartConversationButtonStyleFilled, - ICMStartConversationButtonStyleBordered, -}; - -static const CGFloat kStartConversationButtonHeight = 40.f; - -@interface ICMStartConversationButton : UIButton - -- (void)configureWithStyle:(ICMStartConversationButtonStyle)style; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTeamPresence.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTeamPresence.h deleted file mode 100644 index 996ba66c..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTeamPresence.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// ICMTeamPresence.h -// -// -// Created by Adam McCarthy on 19/01/2016. -// Copyright (c) 2016 Intercom. All rights reserved. -// - -#import -#import "ICMSafeNetworkModel.h" - -@class ICMParticipant; - -static NSString *const kICMTeamPresenceUpdated = @"ICMTeamPresenceUpdated"; - -@interface ICMTeamPresence : ICMSafeNetworkModel - -@property (nonatomic, copy) NSArray *activeAdmins; -@property (nonatomic, strong) NSDate *lastActive; -@property (nonatomic, copy) NSString *officeHours; -@property (nonatomic, copy) NSString *responseDelayFull; -@property (nonatomic, copy) NSString *responseDelayDescription; -@property (nonatomic, copy) NSString *responseDelayTimePeriod; - -+ (void)updateSharedInstanceWithDictionary:(NSDictionary *)aDictionary; - -- (void)setAttributesFromDictionary:(NSDictionary *)aDictionary; - -+ (instancetype)sharedInstance; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTimestampCalculator.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTimestampCalculator.h deleted file mode 100644 index ce32dfcb..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTimestampCalculator.h +++ /dev/null @@ -1,39 +0,0 @@ -#import - -@class ICMConversationPart; - -typedef NS_ENUM(NSUInteger, ICMTimestampCalculatorRecentTimeMessage) { - ICMTimestampCalculatorRecentTimeMessageJustNow, - ICMTimestampCalculatorRecentTimeMessageDelivered -}; - -typedef NS_ENUM(NSUInteger, ICMTimestampCalculatorTimeAgoFormat) { - ICMTimestampCalculatorTimeAgoFormatShort, - ICMTimestampCalculatorTimeAgoFormatLong -}; - -@interface ICMTimestampCalculator : NSObject - -+ (instancetype)sharedInstance; - -- (NSString *)timestampTextForDate:(NSDate *)date format:(enum ICMTimestampCalculatorTimeAgoFormat)format recentTimeMessage:(enum ICMTimestampCalculatorRecentTimeMessage)recentTimeMessage; - -- (NSString *)textForLastActiveDate:(NSDate *)date; - -- (NSString *)lastActiveMinutesAgo:(NSDate *)date; - -- (NSTimeInterval)secondsUntilTimestampExpiresForDate:(NSDate *)date; - -- (BOOL)part:(ICMConversationPart *)firstPart isFromDifferentDayAsPart:(ICMConversationPart *)secondPart; - -- (NSString *)appendSeenStateToTimestampText:(NSString *)timestampText forPart:(ICMConversationPart *)part; - -- (NSString *)dayTextForPart:(ICMConversationPart *)part; - -- (NSString *)absoluteTimeTextForPart:(ICMConversationPart *)part; - -- (NSString *)timestampTextForUpdatedDate:(NSDate *)date; - -- (NSString *)timestampTextForDate:(NSDate *)date timeZone:(NSTimeZone *)timeZone; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTranslationKeys.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTranslationKeys.h deleted file mode 100644 index 2a043a5d..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTranslationKeys.h +++ /dev/null @@ -1,158 +0,0 @@ -// -// ICMTranslationKeys.h -// IntercomSDK -// -// Created by Ignacio Delgado on 21/08/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#ifndef IntercomSDK_ICMTranslationKeys_h -#define IntercomSDK_ICMTranslationKeys_h - -#pragma mark - Strings -static NSString *const kICMTKNavBarTitleConversations = @"conversations_with_app_two_lines"; -static NSString *const kICMTKNavBarTitleConversationsNoAppName = @"conversations"; -static NSString *const kICMTKActionSheetMessageFailDelivery = @"failed_delivery"; -static NSString *const kICMTKActionSheetCancel = @"cancel"; -static NSString *const kICMTKActionSheetDelete = @"delete"; -static NSString *const kICMTKMessageStateSending = @"message_state_sending"; -static NSString *const kICMTKFacebookLikeUs = @"facebook_like"; -static NSString *const kICMTKTwitterFollowUs = @"twitter_follow"; -static NSString *const kICMTKSendUsAMessage = @"send_us_a_message"; -static NSString *const kICMTKNavBarTitleNewConversation = @"new_conversation"; -static NSString *const kICMTKConversationHasEnded = @"conversation_has_ended"; -static NSString *const kICMTKErrorLoadingConversation = @"error_loading_conversation"; -static NSString *const kICMTKErrorNoConversationsTitle = @"no_conversations"; -static NSString *const kICMTKErrorNoConversationsMessage = @"empty_conversations"; -static NSString *const kICMTKErrorNoConversationsMessageNoAppName = @"error_no_conversations_message_no_app_name"; -static NSString *const kICMTKErrorTitle = @"inbox_error_state_title"; -static NSString *const kICMTKErrorLoadingConversationsFallback = @"failed_to_load_conversation_with_admin"; -static NSString *const kICMTKErrorLoadingConversationsFallbackNoAppName = @"failed_to_load_conversation"; -static NSString *const kICMTKErrorStartingConversationFallback = @"start_conversation_error"; -static NSString *const kICMTKErrorTapToRetry = @"retry"; -static NSString *const kICMTKMessageViewPlaceholderWriteAReply = @"reply_to_conversation"; -static NSString *const kICMTKMessageViewPlaceholderStartAConversation = @"start_conversation"; -static NSString *const kICMTKMessageViewSend = @"send"; -static NSString *const kICMTKWeRunOnIntercom = @"we_run_on_intercom"; -static NSString *const kICMTKTimeDifferenceJustNow = @"time_just_now"; -static NSString *const kICMTKAlertNewSDKUserTitle = @"congratulations"; -static NSString *const kICMTKAlertNewSDKUserMessage = @"alert_new_sdk_user_message"; -static NSString *const kICMTKThankYou = @"thank_you"; -static NSString *const kICMTKLastActiveLast15Minutes = @"active_15m_ago"; -static NSString *const kICMTKLastActiveLastXMinutes = @"active_minute_ago"; -static NSString *const kICMTKLastActiveOver1WeekAgo = @"active_week_ago"; -static NSString *const kICMTKAdminActive = @"active_state"; -static NSString *const kICMTKAdminAway = @"away_state"; -static NSString *const kICMTKBack = @"navigation_back"; -static NSString *const kICMTKClose = @"close"; -static NSString *const kICMTKTryAgain = @"try_again"; -static NSString *const kICMTKTimeLocationFormat = @"profile_location"; -static NSString *const kICMTKDelivered = @"delivered"; -static NSString *const kICMTKMessageSeen = @"message_seen"; -static NSString *const kICMTKMessageNotSeen = @"message_unseen"; -static NSString *const kICMTKInboxYou = @"you"; -static NSString *const kICMTKCameraRoll = @"camera_roll"; -static NSString *const kICMTKPlustMore = @"plus_x_more"; -static NSString *const kICMTKNameAnd1Other = @"name_and_1_other"; -static NSString *const kICMTKNameAndXOthers = @"name_and_x_others"; -static NSString *const kICMTKAlsoInThisConversation = @"also_in_this_conversation"; -static NSString *const kICMTKRateYourConversation = @"rate_your_conversation"; -static NSString *const kICMTKTellUsMore = @"tell_us_more"; -static NSString *const kICMTKYouRatedTheConversation = @"you_rated_the_conversation"; -static NSString *const kICMTKThanksForLettingUsKnow = @"thanks_for_letting_us_know"; -static NSString *const kICMTKOkay = @"ok_description"; -static NSString *const kICMTKCouldntLoadContent = @"couldnt_load_content"; -static NSString *const kICMTKGiveItAnotherTry = @"give_it_another_try"; -static NSString *const kICMTKReload = @"reload"; -static NSString *const lICMCouldntCompleteAction = @"couldnt_complete_action"; -static NSString *const kICMYourConversations = @"your_conversations"; -static NSString *const kICMStartAConversation = @"start_a_conversation"; -static NSString *const kICMStartAnotherConversation = @"start_another_conversation"; -static NSString *const kICMSeePastConversations = @"see_past_conversations"; -static NSString *const kICMSeeAll = @"see_all"; -static NSString *const kICMTKAskAQuestion = @"ask_a_question"; -static NSString *const kICMTKHowCanWeHelp = @"how_can_we_help"; -static NSString *const kICMTKTellUsWhatYouNeed = @"tell_us_what_you_need"; -static NSString *const kICMSeeAllYourConversations = @"see_all_conversations"; - - -#pragma mark - Formats -static NSString *const kICMTKParticipantFromAppFormat = @"teammate_from_company"; -static NSString *const kICMTKReplyFromParticipantFormat = @"reply_from_admin"; -static NSString *const kICMTKTimeDifferenceFormatWeeksAgo = @"time_week_ago"; -static NSString *const kICMTKTimeDifferenceFormatDaysAgo = @"time_day_ago"; -static NSString *const kICMTKTimeDifferenceFormatHoursAgo = @"time_hour_ago"; -static NSString *const kICMTKTimeDifferenceFormatMinutesAgo = @"time_minute_ago"; -static NSString *const kICMTKLastActiveFormatHoursAgo = @"active_hour_ago"; -static NSString *const kICMTKLastActiveFormatDaysAgo = @"active_day_ago"; - -static NSString *const kICMTKArticleQuestion = @"article_question"; -static NSString *const kICMTKArticleReaction = @"article_response"; -static NSString *const kICMTKAskedAbout = @"asked_about"; -static NSString *const kICMTKErrorLoadingArticle = @"article_load_error"; - -static NSString *const kICMTKHelpCenter = @"help_center"; -static NSString *const kICMTTeamCanHelp = @"the_team_can_help_if_needed"; -static NSString *const kICMTKBotExpectation = @"bot_expectation_text"; -static NSString *const kICMTKLoading = @"loading"; -static NSString *const kICMTKSearchHelpArticles = @"search_help_articles"; -static NSString *const kICMTKArticleSearchHint = @"article_search_hint_text"; -static NSString *const kICMTKSearchBrowseEmptyState = @"search_browse_empty_state_text"; -static NSString *const kICMTKGetHelp = @"get_help"; -static NSString *const kICMTKGrinningFaceBigEyesEmoji = @"grinning_face_with_big_eyes_emoji"; -static NSString *const kICMTKNeutralFaceEmoji = @"neutral_face_emoji"; -static NSString *const kICMTKDisappointedFaceEmoji = @"disappointed_face_emoji"; -static NSString *const kICMTKBrowseAllHelpTopics = @"browse_all_help_topics"; -static NSString *const kICMTKSearchForHelp = @"search_for_help"; - -#pragma mark - Photos -static NSString *const kICMTKNoPhotos = @"no_photos"; -static NSString *const kICMTKNoPhotosOnDevice = @"no_photos_on_device"; -static NSString *const kICMTKAccessPhotos = @"access_photos"; -static NSString *const kICMTKPermissionSettings = @"access_device_settings"; -static NSString *const kICMTKEnablePermissions = @"go_to_settings"; - -#pragma mark - GIFs -static NSString *const kICMTKSearchGIFs = @"search_gif"; -static NSString *const kICMTKNoGIFsFoundTitle = @"no_gifs_found"; -static NSString *const kICMTKNoGIFsFoundMessage = @"no_gifs_matching_query"; -static NSString *const kICMTKImageAttribution = @"gif_attribution"; -static NSString *const kICMTKGIFErrorTitle = @"gifs_load_error"; -static NSString *const kICMTKGIFErrorDescription = @"try_again_minute"; - -#pragma mark - Attribute Collector Picker submit -static NSString *const kICMAttributeColelctorSubmitButton = @"submit"; - -#pragma mark - Input placeholders -static NSString *const kICMTKListPlaceholder = @"choose_one"; -static NSString *const kICMTKDatePlaceholder = @"choose_the_date"; - -#pragma mark - Input Validation -static NSString *const kICMTKInvalidEmail = @"that_email_address_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidNumber = @"that_number_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidString = @"string_is_incorrect"; -static NSString *const kICMTKSomethingWentWrongTryAgain = @"something_went_wrong_try_again"; - -static NSString *const kICMTKInvalidCountryCode = @"that_country_code_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidNumberTooManyDigits = @"that_number_has_too_many_digits"; -static NSString *const kICMTKInvalidNumberMissingDigits = @"that_number_is_missing_a_few_digits"; -static NSString *const kICMTKInvalidMissingPrefix = @"that_number_needs_a_prefix"; - -#pragma mark - Attribute Collector -static NSString *const kICMTKYes = @"attribute_collector_positive"; -static NSString *const kICMTKNo = @"attribute_collector_negative"; - -#pragma mark - In Apps Quick Replies -static NSString *const kICMTKReply = @"reply"; - -#pragma mark - Carousels/Articles On Buttons -static NSString *const kICMTKPageNotFound = @"page_not_found"; - - -#pragma mark - Homescreen -static NSString *const kContinueConversation = @"continue_the_conversation"; -static NSString *const kNothingToSeeHereYet = @"nothing_to_see_here_yet"; -static NSString *const kNoMessagesFromTeam = @"no_messages_from_the_team"; -static NSString *const kSuggestedArticles = @"suggested_articles"; - -#endif diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTranslationManager.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTranslationManager.h deleted file mode 100644 index 789c4ef4..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMTranslationManager.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// Created by Ignacio Delgado on 22/08/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import "ICMTranslationKeys.h" - -@interface ICMTranslationManager : NSObject - -+ (NSLocale *)translationLocale; -+ (NSString *)translationForKey:(NSString *)key; -+ (NSString *)translationForKey:(NSString *)key params:(NSDictionary *)params; -+ (NSArray *)supportedLocales; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMUnreadManager.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMUnreadManager.h deleted file mode 100644 index d54cd01a..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMUnreadManager.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ICMUnreadManager.h -// IntercomSDK -// -// Created by Gavin Rooney on 31/07/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -static NSString *const kICMConversationMarkedAsReadNotification = @"ICMConversationMarkedAsReadNotification"; - -@interface ICMUnreadManager : NSObject - -@property (nonatomic, strong) NSOrderedSet *unreadConversationIds; - -- (void)conversationIdRead:(NSString *)conversationId; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMUtils.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMUtils.h deleted file mode 100644 index f6a59b1d..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/ICMUtils.h +++ /dev/null @@ -1,115 +0,0 @@ -// -// ICMUtils.h -// IntercomSDK -// -// Created by Gavin Rooney on 24/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@class ICMConversationPart; - -#ifdef DEBUG -# define InterLog(fmt, ...) NSLog((@"[Intercom] " fmt), ##__VA_ARGS__); -# define InterLogDebug(fmt, ...) ([ICMUtils debugLoggingEnabled] ? NSLog((@"[Intercom] " fmt), ##__VA_ARGS__) : YES); -# define InterLogPrivate(fmt, ...) NSLog((@"[Intercom] %s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); -#else -# define InterLog(fmt, ...) NSLog((@"[Intercom] " fmt), ##__VA_ARGS__); -# define InterLogDebug(fmt, ...) ([ICMUtils debugLoggingEnabled] ? NSLog((@"[Intercom] " fmt), ##__VA_ARGS__) : YES); -# define InterLogPrivate(...) -#endif - -#define run_or_dispatch_main(block) if ([NSThread isMainThread]) { block(); } else { dispatch_async(dispatch_get_main_queue(), block); } - -#define WEAK_TYPE(x) __weak __typeof(x) -#define STRONG_TYPE(x) __strong __typeof(x) - -UIKIT_EXTERN NSString *const IntercomSDKErrorDomain; - -//------------------------------------------------------------------------------------------------------------------------------ -// result: X-INTERCOM-AGENT: intercom-ios-sdk/x.x.x -#define ICMSDKHeaderValue @"intercom-ios-sdk" -#define ICMSDKDefaultHeader @"X-INTERCOM-AGENT" -#define ICMSDKWrapperHeader @"X-INTERCOM-AGENT-WRAPPER" -#define ICMSDKCordovaHeaderValue @"intercom-sdk-cordova" -#define ICMSDKReactNativeHeaderValue @"intercom-sdk-react-native" - -static const NSInteger kICMConversationAvatarWidth = 28; - -static NSString *const kIntercomSDKVersionIdentifier = @"intercom-sdk-version"; -static NSString *const kIntercomSDKComposerPersistedString = @"intercom-sdk-composer-persisted-string"; -static NSString *const kIntercomSDKComposerPersistedNewKey = @"NewConversation"; // when we want to persist the string in the message composer but don't have a conversationId (i.e. user composes new message) - -static NSString *const kIntercomSDKInboxUpdated = @"intercom-sdk-inbox-updated"; -static NSString *const kICMIntercomDeepLinkNotification = @"kICMIntercomDeepLinkNotification"; -static NSString *const kICMIntercomDidTypeInComposer = @"kICMIntercomDidTypeInComposer"; -static NSString *const kICMIntercomDidChangeComposerInput = @"kICMIntercomDidChangeComposerInput"; -static NSString *const kICMIntercomHelpCenterArticleViewed = @"kICMIntercomHelpCenterArticleViewed"; - -typedef NS_ENUM(NSUInteger, ICMFontWeight){ - ICMFontWeightRegular = 0, - ICMFontWeightBold = 1, - ICMFontWeightMedium = 2, - ICMFontWeightLight = 3, - ICMFontWeightThin = 4, - ICMFontWeightSemibold = 5 -}; - -typedef NS_ENUM(NSInteger, ICMUserIdentityType) { - ICMUserIdentityEmail, - ICMUserIdentityUserId, - ICMUserIdentityIntercomId -}; - -@interface ICMUtils : NSObject - -+ (NSString *)intercomAgent; - -+ (NSString *)intercomVersion; - -+ (NSString *)appVersion; - -+ (NSString *)applicationName; - -+ (NSString *)bundleIdentifier; - -+ (NSString *)minimumOSVersion; - -+ (BOOL)debugLoggingEnabled; - -+ (void)setDebugLoggingEnabled:(BOOL)loggingEnabled; - -+ (void)checkIntegration; - -+ (BOOL)photoUsageDescriptionPresent; - -+ (BOOL)autoIntegratePushNotifications; - -+ (NSBundle *)intercomBundle; -+ (NSBundle *)translationsBundle; - -+ (NSBundle *)loadIntercomAssetsBundle; - -+ (NSString *)intercomDocumentsDirectory; - -+ (NSString *)intercomCachesDirectory; - -+ (UIFont *)fontOfSize:(CGFloat)fontSize weight:(ICMFontWeight)weight; - -+ (NSArray *)jsonArrayFromLocalFile:(NSString *)path error:(NSError * __autoreleasing *)error; - -+ (BOOL)sceneManifestPresent; - -+ (BOOL)shouldShowPhotoUsagePListError; - -+ (NSString *)extractArticleIdFromSheetParams:(NSDictionary *)params; - -+ (BOOL)contentSizeCategoryIsAccessibilityCategory; - -+ (void)enableRTLSupportForContainerClass:(Class )containerClass; - -+ (CGFloat)scaleToAccessibilitySizing:(CGFloat)pointSize; - -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/UIImage+ICMImageUtils.h b/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/UIImage+ICMImageUtils.h deleted file mode 100644 index 12cb994c..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/PrivateHeaders/UIImage+ICMImageUtils.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// UIImage+ICMGrayscale.h -// Pods -// -// Created by Brian Boyle on 19/01/2017. -// -// - -#import - -@interface UIImage (ICMImageUtils) - -- (UIImage *)icm_grayscale; -- (UIImage *)icm_resizeImageToSize:(CGSize)newSize; -@end diff --git a/Intercom.xcframework/ios-arm64/Intercom.framework/config.yml b/Intercom.xcframework/ios-arm64/Intercom.framework/config.yml deleted file mode 100644 index a418cd99..00000000 --- a/Intercom.xcframework/ios-arm64/Intercom.framework/config.yml +++ /dev/null @@ -1,901 +0,0 @@ -parameters: - iphone_large: - type: string - default: "platform=iOS Simulator,name=iPhone 11 Pro,OS=15.4" - iphone_small: - type: string - default: "platform=iOS Simulator,name=iPhone 8,OS=15.4" - -# Default VM config to be used for macOS builds -macos_config: &macos_config - macos: - xcode: 13.3.0 - resource_class: macos.x86.medium.gen2 - shell: /bin/bash --login -eo pipefail - -# Always run job -run_always: &run_always - filters: - tags: - only: /.*/ - -# Only run job on Release build -run_on_release: &run_on_release - filters: - tags: - only: /.*/ - branches: - ignore: /.*/ - -# Only run job on Master build -run_on_master: &run_on_master - filters: - branches: - only: master - -run_on_release_and_master: &run_on_release_and_master - filters: - tags: - only: /.*/ - branches: - only: master - - -# Cache the project dependencies -cache_dependencies: &cache_dependencies - save_cache: - key: v3-ios-sdk-dependencies-cache-{{ checksum "Gemfile.lock" }}-{{ checksum "Podfile.lock" }} - paths: - - Pods - - IntercomSDK.xcworkspace - - vendor - - -# Restore project dependencies from the cache -restore_dependencies_cache: &restore_dependencies_cache - restore_cache: - keys: - - v3-ios-sdk-dependencies-cache-{{ checksum "Gemfile.lock" }}-{{ checksum "Podfile.lock" }} - - v3-ios-sdk-dependencies-cache-{{ checksum "Gemfile.lock" }}-{{ checksum "Podfile.lock" }}- - - v3-ios-sdk-dependencies-cache-{{ checksum "Gemfile.lock" }}- - - v3-ios-sdk-dependencies-cache- - - -# Run the dependencies.sh script to update the project dependencies if needed -update_dependencies_if_needed: &update_dependencies_if_needed - run: - name: Update dependencies if needed - command: ./script/circle/dependencies.sh - -setup_ruby: &setup_ruby - run: - name: Setup Ruby - command: sed -i '' 's/.*chruby ruby.*/chruby ruby-2.7.5/' ~/.bash_profile - -setup_bundler: &setup_bundler - run: - name: Setup Bundler - command: gem install bundler - - -# This maps stores simulator crash reports as build artifacts -store_crash_logs: &store_crash_logs - store_artifacts: - path: ~/Library/Logs/DiagnosticReports - destination: CrashReports - - -# Run UI Tests for the specified $DEVICE_TARGET and $TEST_BUCKET -ui_tests: &ui_tests - steps: - - run-steps-command: - steps-to-run: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Test - command: | - cd Sample - export APP_BUNDLE_PATH="../DerivedData/Build/Products/Debug-iphonesimulator/UI Tests.app" - bundle exec cucumber -t ${TEST_BUCKET} --retry 3 --no-strict --format pretty --format junit --out ./test-output - - store_test_results: - path: Sample/test-output - - <<: *store_crash_logs - - run: - name: Store screenshots - command: | - mkdir -p /tmp/failure_screenshots - cp Sample/*.png /tmp/failure_screenshots - when: on_fail - - store_artifacts: - path: /tmp/failure_screenshots - - <<: *store_crash_logs - - -# Run smoke tests for the $SMOKE_TEST_SCHEME scheme -smoke_test_steps: &smoke_test_steps - steps: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - run: - name: Setup code signing - command: cd "Smoke Test" && bundle exec fastlane appstore_code_signing - - run: - name: Pod Install - command: cd "Smoke Test" && bundle exec pod install - - run: - name: Validate - command: ./Smoke\ Test/scripts/validate_scheme.sh "${SMOKE_TEST_SCHEME}" - -#Run Unit tests for speicified $TEST_PLAN -unit_tests: &unit_tests - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Unit tests - command: xcodebuild test-without-building -sdk iphonesimulator -destination "<< pipeline.parameters.iphone_large >>" -xctestrun DerivedData/Build/Products/Unit\ Tests_${TEST_PLAN}*.xctestrun -only-test-configuration "$CONFIGURATION" -resultBundlePath UnitTestResults.xcresult | bundle exec xcpretty - - run: - name: Generate Test Reports - command: bundle exec fastlane upload_test_reports - when: always - - store_test_results: - path: UnitTestResults.xml - - run: - name: Zip Test Results - command: zip -r UnitTestResults.zip UnitTestResults.xcresult - when: on_fail - - store_artifacts: - path: UnitTestResults.zip - - <<: *store_crash_logs - - -# Define the each of the jobs used for building and testing the iOS SDK -version: 2.1 -orbs: - slack: circleci/slack@4.2.0 - -jobs: - - # Load the project dependencies - dependencies: - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - <<: *cache_dependencies - - persist_to_workspace: - root: . - paths: - - .bundle - - Gemfile - - Gemfile.lock - - vendor - - .ruby-version - - - # Perform linting on the codebase - lint_objectiveC: - docker: - - image: golang:1.12 - steps: - - run-steps-command: - steps-to-run: - - checkout - - run: - name: Install The Silver Searcher - command: apt-get update && apt-get install silversearcher-ag - - run: - name: Rum Objective-C Linting - command: go run heimdall.go - - # Create a Device archive - create_device_archive: - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - run: - name: Create Device Archive - command: ./script/build/create_device_archive.sh - - persist_to_workspace: - root: . - paths: - - "DerivedData/archive/IntercomSDK.framework-iphoneos.xcarchive" - - # Create a Simulator archive - create_simulator_archive: - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - run: - name: Create Simulator Archive - command: ./script/build/create_simulator_archive.sh - - persist_to_workspace: - root: . - paths: - - "DerivedData/archive/IntercomSDK.framework-iphonesimulator.xcarchive" - - # Build an XCFramework and save the binary to disk. - build_xcframework: - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - attach_workspace: - at: . - - run: - name: Build XCFramework - command: ./script/build/build_xcframework.sh - - persist_to_workspace: - root: . - paths: - - Frameworks/Intercom.xcframework - - Frameworks/dSYMs - #Need to persist these paths so they are availabe for the prepare_release step later. - - IntercomSDK/Resources - - script - - .git - - Rakefile - - IntercomSDK/Supporting Files/IntercomSDK-Common.xcconfig - - # Build the Test App used for Unit testing and save it to the workspace so that it can be used by multiple jobs - build_unit_test_app: &build_unit_test_app - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - attach_workspace: - at: . - - run: - name: Build - command: xcodebuild -derivedDataPath DerivedData -workspace IntercomSDK.xcworkspace -scheme "Unit Tests" -sdk iphonesimulator -destination "<< pipeline.parameters.iphone_large >>" build-for-testing | bundle exec xcpretty - - persist_to_workspace: - root: . - paths: - - "DerivedData/Build/Products/Unit\ Tests_*.xctestrun" - - "DerivedData/Build/Products/Debug-iphonesimulator/IntercomSDKTests.xctest" - - "DerivedData/Build/Products/Debug-iphonesimulator/Intercom.framework" - - # Run Release Deployment tests - release_deployment_tests: - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - run: - name: Test Release Deployment Scripts - command: bundle exec rspec script/deploy/spec/ - - - # Build the Test App used for UI Testing and save is to the workspace. This allows it to be used by other jobs. - build_ui_test_app: &build_ui_test_app - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - attach_workspace: - at: . - - run: - name: Build - command: xcodebuild -derivedDataPath DerivedData -workspace IntercomSDK.xcworkspace -scheme "Calabash UI Tests" -sdk iphonesimulator build | bundle exec xcpretty - - persist_to_workspace: - root: . - paths: - - "DerivedData/Build/Products/Debug-iphonesimulator/UI Tests.app" - - Sample - - # Build the Test App used for UI Testing and save is to the workspace. This allows it to be used by other jobs. - build_xcui_for_testing: &build_xcui_for_testing - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - attach_workspace: - at: . - - run: - name: Build - command: xcodebuild build-for-testing -derivedDataPath DerivedData -workspace IntercomSDK.xcworkspace -scheme "XCUI Tests" -sdk iphonesimulator | bundle exec xcpretty - - persist_to_workspace: - root: . - paths: - - "DerivedData/Build/Products/*.xctestrun" - - "DerivedData/Build/Products/Debug-iphonesimulator/SampleUITests-Runner.app" - - "DerivedData/Build/Products/Debug-iphonesimulator/XCUI Tests.app" - - fastlane - - <<: *store_crash_logs - - - # Run XCUITests - xcui_tests: &xcui_tests - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: XCUITests - command: xcodebuild test-without-building -sdk iphonesimulator -destination "$DESTINATION" -xctestrun DerivedData/Build/Products/XCUI\ Tests_${TEST_GROUP}*.xctestrun -resultBundlePath XCUI_TestResults.xcresult - - run: - name: Generate Test Reports - command: bundle exec fastlane upload_test_reports - when: always - - store_test_results: - path: XCUI_TestResults.xml - - run: - name: Zip Test Results - command: zip -r XCUI_TestResults.zip XCUI_TestResults.xcresult - when: on_fail - - store_artifacts: - path: XCUI_TestResults.zip - - store_test_results: - path: build/reports - - <<: *store_crash_logs - - - # Unit tests - - standard_unit_tests: - <<: *macos_config - <<: *unit_tests - environment: - - TEST_PLAN: "Unit" - - CONFIGURATION: "Configuration 1" - - ltr_snapshot_tests: - <<: *macos_config - <<: *unit_tests - environment: - - TEST_PLAN: "Snapshot" - - CONFIGURATION: "LTR" - - rtl_snapshot_tests: - <<: *macos_config - <<: *unit_tests - environment: - - TEST_PLAN: "Snapshot" - - CONFIGURATION: "RTL" - - xxxl_snapshot_tests: - <<: *macos_config - <<: *unit_tests - environment: - - TEST_PLAN: "Snapshot" - - CONFIGURATION: "XXXLarge" - - accessibility_large_snapshot_tests: - <<: *macos_config - <<: *unit_tests - environment: - - TEST_PLAN: "Snapshot" - - CONFIGURATION: "AX2" - - # UI tests for iPhone 8 (15.4) devices. One test for each test bucket. - - UI_1_iphone_8: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 8 (15.4)" - - TEST_BUCKET: "@test_bucket_1" - - UI_2_iphone_8: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 8 (15.4)" - - TEST_BUCKET: "@test_bucket_2" - - UI_3_iphone_8: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 8 (15.4)" - - TEST_BUCKET: "@test_bucket_3" - - UI_4_iphone_8: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 8 (15.4)" - - TEST_BUCKET: "@test_bucket_4" - - XCUI_1_iphone_8: - <<: *xcui_tests - environment: - - DESTINATION: << pipeline.parameters.iphone_small >> - - TEST_GROUP: "Group1" - - XCUI_2_iphone_8: - <<: *xcui_tests - environment: - - DESTINATION: << pipeline.parameters.iphone_small >> - - TEST_GROUP: "Group2" - - # UI tests for iPhone 11 Pro (15.4) devices. One test for each test bucket. - - UI_1_iphone_11_pro: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 11 Pro (15.4)" - - TEST_BUCKET: "@test_bucket_1" - - UI_2_iphone_11_pro: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 11 Pro (15.4)" - - TEST_BUCKET: "@test_bucket_2" - - UI_3_iphone_11_pro: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 11 Pro (15.4)" - - TEST_BUCKET: "@test_bucket_3" - - UI_4_iphone_11_pro: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 11 Pro (15.4)" - - TEST_BUCKET: "@test_bucket_4" - - XCUI_1_iphone_11_pro: - <<: *xcui_tests - environment: - - DESTINATION: << pipeline.parameters.iphone_large >> - - TEST_GROUP: "Group1" - - XCUI_2_iphone_11_pro: - <<: *xcui_tests - environment: - - DESTINATION: << pipeline.parameters.iphone_large >> - - TEST_GROUP: "Group2" - - - # Run Smoke Tests for Swift - - smoke_test_manual_swift: - <<: *macos_config - <<: *smoke_test_steps - environment: - - SMOKE_TEST_SCHEME: IntercomIntegration-Manual-Swift - - smoke_test_cocoapods_swift: - <<: *macos_config - <<: *smoke_test_steps - environment: - - SMOKE_TEST_SCHEME: IntercomIntegration-CocoaPods-Swift - - - # Run Smoke Tests for Objective-C - smoke_test_manual_objc: - <<: *macos_config - <<: *smoke_test_steps - environment: - - SMOKE_TEST_SCHEME: IntercomIntegration-Manual-ObjC - - smoke_test_cocoapods_frameworks_objc: - <<: *macos_config - <<: *smoke_test_steps - environment: - - SMOKE_TEST_SCHEME: IntercomIntegration-CocoaPods-Frameworks-ObjC - - # Run the prepare_release.sh script - prepare_release: - <<: *macos_config - steps: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Prepare Public Repo for Release - command: ./script/deploy/prepare_release.sh - - persist_to_workspace: - root: . - paths: - - Artifacts - - commit_release: - <<: *macos_config - steps: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Zip Release Artifacts - command: zip -r Release_Artifacts.zip Artifacts - - store_artifacts: - path: Release_Artifacts.zip - - run: - name: Commit Release to GitHub - command: bundle exec rake commit_release - - create_github_release: - <<: *macos_config - steps: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Create GitHub Release - command: bundle exec rake create_new_release - - publish_new_cocoapod: - <<: *macos_config - steps: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Publish to CocoaPods - command: bundle exec rake publish_to_cocoapods - - run: - name: Extract Release Notes - command: | - bundle exec rake slack_release_notes - - send-slack-notification: - release-notes: $(cat release_notes.txt) - - # Upload Sample.ipa to Testfairy - upload_to_testfairy: - <<: *macos_config - steps: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - run: - name: Upload Sample.ipa to Testfairy. - command: bundle exec fastlane upload_testfairy - -commands: - - run-steps-command: - parameters: - steps-to-run: - description: "Run steps on all branches except release branches. For release branches, the job skips the steps and is marked as succeeded" - type: steps - default: [] - steps: - - when: - condition: - not: - matches: { pattern: "^(?:release/)(?:\\d+\\.\\d+\\.\\d+)$", value: << pipeline.git.branch >> } - steps: << parameters.steps-to-run >> - - run: - command: echo "Job Succeeded" - - send-slack-notification: - parameters: - release-notes: - description: "Send release notes notification to #ask-mobile, #team-mobile-private, and #team-messenger-mobile-engage-private" - type: string - default: No release notes - steps: - - slack/notify: - channel: 'CCWEGFKRA, G9KSFMDRS, C02KG61GX7W' - custom: | - { - "blocks": [ - { - "type": "header", - "text": { - "type": "plain_text", - "text": "iOS SDK Release", - "emoji": true - } - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": " has been released 🎉" - } - }, - { - "type": "divider" - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "<< parameters.release-notes >>" - } - }, - { - "type": "context", - "elements": [ - { - "type": "image", - "image_url": "https://user-images.githubusercontent.com/3185423/152659114-9f3be97c-4744-4c9a-b239-0689619f7e97.png", - "alt_text": "Intercom iOS" - }, - { - "type": "mrkdwn", - "text": "" - } - ] - } - ] - } - event: pass - - -# Workflow that runs all the jobs in a defined order -workflows: - version: 2.1 - test_and_build_workflow: - jobs: - - dependencies: - <<: *run_always - - - lint_objectiveC: - <<: *run_always - - - build_unit_test_app: - <<: *run_always - requires: - - dependencies - - - standard_unit_tests: - <<: *run_always - requires: - - build_unit_test_app - - - ltr_snapshot_tests: - <<: *run_always - requires: - - build_unit_test_app - - - rtl_snapshot_tests: - <<: *run_always - requires: - - build_unit_test_app - - - xxxl_snapshot_tests: - <<: *run_always - requires: - - build_unit_test_app - - - accessibility_large_snapshot_tests: - <<: *run_always - requires: - - build_unit_test_app - - - release_deployment_tests: - <<: *run_always - requires: - - dependencies - - - build_xcui_for_testing: - <<: *run_always - requires: - - dependencies - - - XCUI_1_iphone_8: - <<: *run_always - requires: - - build_xcui_for_testing - - # XCUI_2 tests currently disabled due to persistent flakiness - # - XCUI_2_iphone_8: - # <<: *run_always - # requires: - # - build_xcui_for_testing - - - - XCUI_1_iphone_11_pro: - <<: *run_always - requires: - - build_xcui_for_testing - - # XCUI_2 tests currently disabled due to persistent flakiness - # - XCUI_2_iphone_11_pro: - # <<: *run_always - # requires: - # - build_xcui_for_testing - - - - build_ui_test_app: - <<: *run_always - requires: - - dependencies - - - UI_1_iphone_8: - <<: *run_always - requires: - - build_ui_test_app - - - UI_2_iphone_8: - <<: *run_always - requires: - - build_ui_test_app - - - UI_3_iphone_8: - <<: *run_always - requires: - - build_ui_test_app - - - UI_4_iphone_8: - <<: *run_always - requires: - - build_ui_test_app - - - UI_1_iphone_11_pro: - <<: *run_always - requires: - - build_ui_test_app - - - UI_2_iphone_11_pro: - <<: *run_always - requires: - - build_ui_test_app - - - UI_3_iphone_11_pro: - <<: *run_always - requires: - - build_ui_test_app - - - UI_4_iphone_11_pro: - <<: *run_always - requires: - - build_ui_test_app - - - create_device_archive: - <<: *run_always - requires: - - dependencies - - - create_simulator_archive: - <<: *run_always - requires: - - dependencies - - - build_xcframework: - <<: *run_always - requires: - - create_device_archive - - create_simulator_archive - - - smoke_test_manual_swift: - <<: *run_on_release_and_master - requires: - - prepare_release - - - smoke_test_cocoapods_swift: - <<: *run_on_release_and_master - requires: - - prepare_release - - - smoke_test_manual_objc: - <<: *run_on_release_and_master - requires: - - prepare_release - - - smoke_test_cocoapods_frameworks_objc: - <<: *run_on_release_and_master - requires: - - prepare_release - - - upload_to_testfairy: - <<: *run_on_master - requires: - - standard_unit_tests - - ltr_snapshot_tests - - rtl_snapshot_tests - - xxxl_snapshot_tests - - accessibility_large_snapshot_tests - - UI_1_iphone_8 - - UI_2_iphone_8 - - UI_3_iphone_8 - - UI_4_iphone_8 - - UI_1_iphone_11_pro - - UI_2_iphone_11_pro - - UI_3_iphone_11_pro - - UI_4_iphone_11_pro - - XCUI_1_iphone_8 - - XCUI_1_iphone_11_pro - - lint_objectiveC - - - prepare_release: - <<: *run_on_release_and_master - requires: - - build_xcframework - - release_deployment_tests - - - - commit_release: - <<: *run_on_release - requires: - - smoke_test_manual_swift - - smoke_test_cocoapods_swift - - smoke_test_manual_objc - - smoke_test_cocoapods_frameworks_objc - - UI_1_iphone_8 - - UI_2_iphone_8 - - UI_3_iphone_8 - - UI_4_iphone_8 - - UI_1_iphone_11_pro - - UI_2_iphone_11_pro - - UI_3_iphone_11_pro - - UI_4_iphone_11_pro - - XCUI_1_iphone_8 - - XCUI_1_iphone_11_pro - - standard_unit_tests - - ltr_snapshot_tests - - rtl_snapshot_tests - - xxxl_snapshot_tests - - accessibility_large_snapshot_tests - - - create_github_release: - <<: *run_on_release - requires: - - commit_release - - - publish_new_cocoapod: - <<: *run_on_release - requires: - - commit_release - - create_github_release diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMActiveAdminsAvatarView.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMActiveAdminsAvatarView.h deleted file mode 100644 index b793f183..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMActiveAdminsAvatarView.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMActiveAdminsAvatarView.h -// IntercomSDK-Dynamic -// -// Created by Michael Isaakidis on 17/05/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -@interface ICMActiveAdminsAvatarView : UIView - -- (instancetype)initWithHeight:(CGFloat)avatarHeight - overlap:(CGFloat) avatarOverlap - maxCount:(NSInteger) maxAvatarCount; -- (NSUInteger)numberOfAvatarsDisplayed; -- (void)updateVisibleAvatars; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAdminBlockAppearance.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAdminBlockAppearance.h deleted file mode 100644 index bb4a435b..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAdminBlockAppearance.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// ICMSDKBlocksRenderer.h -// IntercomSDK -// -// Created by James Treanor on 09/09/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import - -@interface ICMAdminBlockAppearance : ICMBlockAppearance - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMArticleWebViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMArticleWebViewController.h deleted file mode 100644 index 948966f4..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMArticleWebViewController.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMArticleWebViewController.m -// IntercomSDK-Dynamic -// -// Created by Katherine Brennan on 02/10/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import -#import -@class HelpCenterMetricService; - -@protocol ICMContentViewControllerDelegate; - -@interface ICMArticleWebViewController : UIViewController - -@property (nonatomic, weak) id contentDelegate; -- (instancetype)initWithId:(NSString *)articleId metricService:(id)metricService; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAssets.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAssets.h deleted file mode 100644 index 0763b7f7..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAssets.h +++ /dev/null @@ -1,107 +0,0 @@ -// -// Created by Ignacio Delgado on 17/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@interface ICMAssets : NSObject - -+ (UIImage *)intercomLogoImage; - -+ (UIImage *)openPostFromCardImage; - -+ (UIImage *)spinnerImage; - -+ (UIImage *)defaultAvatarImageWithInitials:(NSString *)userInitials diameter:(CGFloat)diameter; // if there are initials, show them; if not, fall back to image -+ (UIImage *)warningImage; -+ (UIImage *)infoIcon; - -+ (UIImage *)backButtonImage; -+ (UIImage *)submitButtonBackgroundImage; -+ (UIImage *)submitButtonBackgroundImageClear; -+ (UIImage *)submitImage; -+ (UIImage *)pickerSelector; -+ (UIImage *)dateSelector; -+ (UIImage *)greenCheckImage; -+ (UIImage *)buttonLoadingImage; -+ (UIImage *)textFieldBackgroundImage; -+ (UIImage *)textFieldErrorBackgroundImage; -+ (UIImage *)booleanButtonLeftImage; -+ (UIImage *)booleanButtonLeftImageSelected; -+ (UIImage *)booleanButtonRightImage; -+ (UIImage *)booleanButtonRightImageSelected; - -+ (UIImage *)closeImage; - -+ (UIImage *)startConversationImage; -+ (UIImage *)askAQuestion; - -+ (UIImage *)messageFailedImage; - -+ (UIImage *)uploadButtonImage; -+ (UIImage *)chatBubbleImage; - -+ (UIImage *)launcherImage; - -+ (UIImage *)twitterIcon; -+ (UIImage *)linkedinIcon; - -+ (UIImage *)snoozeIcon; - -+ (UIImage *)sendIcon; -+ (UIImage *)undoIcon; - -+ (UIImage *)homescreenFailedImage; -+ (UIImage *)searchIcon; - -+ (UIImage *)replyTimeIcon; - -// Help Center -+ (UIImage *)helpCenterLoadingImage; -+ (UIImage *)helpCenterChevron; - -// Carousel -+ (UIImage *)screenActionCheckmark; -+ (UIImage *)carouselLoadingImage; - -// Articles -+ (UIImage *)articleLoadingImage; - -// Teammate Profile -+ (UIImage *)teammateTimeIcon; -+ (UIImage *)teammateRoleIcon; -+ (UIImage *)teammateIntroIcon; - -//Text Input -+ (UIImage *)textInputIcon; -+ (UIImage *)textInputSelectedIcon; - -//Photo Input -+ (UIImage *)photoInputIcon; -+ (UIImage *)photoInputSelectedIcon; -+ (UIImage *)expandPhotosIcon; - -//GIF Input -+ (UIImage *)gifInputIcon; -+ (UIImage *)gifInputSelectedIcon; - -+ (UIImage *)footerLinkIcon; - -// Sounds -+ (NSURL *)soundForMessageSending; -+ (NSURL *)soundForMessageSendingFailure; -+ (NSURL *)soundForIncomingAdminMessage; -+ (NSURL *)soundForIncomingOperatorMessage; - -// Surveys -+ (UIImage *)starFillImage; -+ (UIImage *)starUnselectedImage; -+ (UIImage *)starSelectedImage; -+ (UIImage *)externalLinkIcon; -+ (UIImage *)surveyLoadingImage; - -+ (UIImage *)playIcon; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAutoLayout.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAutoLayout.h deleted file mode 100644 index 9e5669cf..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAutoLayout.h +++ /dev/null @@ -1,193 +0,0 @@ -// -// ICMAutoLayout.h -// Pods -// -// Created by James Treanor on 16/04/2015. -// -// - -#import - -typedef NS_OPTIONS(NSUInteger, ICM_JRTViewPinEdges) -{ - /// Pins the top edge of an item. - ICM_JRTViewPinTopEdge = 1 << 0, - - /// Pins the right edge of an item. - ICM_JRTViewPinRightEdge = 1 << 1, - - /// Pins the bottom edge of an item. - ICM_JRTViewPinBottomEdge = 1 << 2, - - /// Pins the left edge of an item. - ICM_JRTViewPinLeftEdge = 1 << 3, - - /// Pins all edges of an item. - ICM_JRTViewPinAllEdges = ~0UL -}; - -@interface ICMAutoLayout : NSObject - -/** - * @name Centering Views - */ - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis; - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * @param constant Constraint constant value. - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+ (NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis withConstant:(CGFloat)constant; - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * @param constant Constraint constant value. - * @param priority Constraint priority value. - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+ (NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis withConstant:(CGFloat)constant withPriority:(UILayoutPriority)priority; - -/** - * @name Constraining to a fixed size - */ - -/** - * Constrains the receiver to a fixed size. - * @warning Setting an axis to 0.0 will result in no constraint being applied to that axis. - * - * @param size The size to constrain the receiver to. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)constrainView:(UIView *)primaryView toSize:(CGSize)size; - -/** - * Constrains the receiver to a fixed width. - * - * @param width The width to constrain the receiver to - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toWidth:(CGFloat)width; - -/** - * Constrains the receiver to a fixed width. - * - * @param width The width to constrain the receiver to - * @param priority The UILayoutPriority of the constraint - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toWidth:(CGFloat)width withPriority:(UILayoutPriority)priority; - -/** - * Constrains the receiver to a fixed height. - * - * @param height The height to constrain the receiver to - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toHeight:(CGFloat)height; - -/** - * Constrains the receiver to a fixed height. - * - * @param height The height to constrain the receiver to - * @param priority The UILayoutPriority of the constraint - * - * @return The `NSLayoutConstraint` generated by this method. -*/ -+ (NSLayoutConstraint *)constrainView:(UIView *)primaryView toHeight:(CGFloat)height withPriority:(UILayoutPriority)priority; - -/** - * @name Pinning to other items - */ - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem; - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. Provide a constant for offset/inset. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * @param constant The constant that you want to apply to the constraint. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem withConstant:(CGFloat)constant; - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. Provide a constant for offset/inset along with a relation. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * @param constant The constant that you want to apply to the constraint. - * @param relation The relation that you wish to apply to the constraint. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem withConstant:(CGFloat)constant relation:(NSLayoutRelation)relation; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * @param inset The inset that is applied to the attributes. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView inset:(CGFloat)inset; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * @param inset The inset that is applied to the attributes. - * @param priority The resulting constraints' priorities. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. -*/ -+ (NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView inset:(CGFloat)inset withPriority:(UILayoutPriority)priority; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAvatar.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAvatar.h deleted file mode 100644 index 347488e4..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAvatar.h +++ /dev/null @@ -1,11 +0,0 @@ -#import -#import - -@interface ICMAvatar : ICMSafeNetworkModel - -@property (nonatomic, copy, readonly) NSString *imageUrl; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; -- (BOOL)isEqualToAvatar:(ICMAvatar *)other; -- (NSString *)chatHeadURL; -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAvatarView.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAvatarView.h deleted file mode 100644 index c1e7047e..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMAvatarView.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// Created by Roland Gropmair on 25/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import -#import - -@interface ICMAvatarView : UIView - -- (instancetype)initWithDiameter:(CGFloat)diameter showTeammatePresence:(BOOL)showTeammatePresence; - -@property (nonatomic, assign, readonly) CGFloat diameter; -@property (nonatomic, strong) UIColor *borderColor; -@property (nonatomic, assign) CGFloat borderWidth; -@property (nonatomic, strong) ICMTeammatePresenceView *teammatePresenceView; - -- (void)loadAvatarWithURLString:(NSString *)urlString userName:(NSString *)userName; -- (void)cancelImageLoad; -- (NSString *)firstInitialOfName:(NSString *)fullName; -- (void)hideUserPresenceView; -- (void)setTeamPresenceBorderColor:(UIColor *)color; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMBlockAppearance.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMBlockAppearance.h deleted file mode 100644 index c4b026f2..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMBlockAppearance.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// ICMBlockAppearance.h -// Pods -// -// Created by Brian Boyle on 22/06/2016. -// -// - -#import -#import - -@interface ICMBlockAppearance : NSObject - -+ (instancetype)sharedInstance; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMBlockLoader.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMBlockLoader.h deleted file mode 100644 index da109e14..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMBlockLoader.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// ICMBlockLoader.h -// IntercomSDK -// -// Created by Brian Boyle on 18/09/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import -@protocol ITBBlockAppearance; -@class ITBBlock; - -@interface ICMBlockLoader : NSObject - -+ (ITBBlock *)blockFromDictionary:(NSDictionary *)dictionary appearance:(id)appearance; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMButton.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMButton.h deleted file mode 100644 index 2097a5cd..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMButton.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// ICMButton.h -// IntercomSDK -// -// Created by Brian Boyle on 03/07/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -typedef NS_ENUM(NSInteger, ICMButtonStyle) { - ICMButtonStyleFilled, - ICMButtonStyleColorFade, -}; - -@interface ICMButton : UIButton - -@property (nonatomic, assign) CGFloat cornerRadius; - -/** - * Create a standard Intercom button. This button will adopt the apps primary colour. - * - * @param title The button title. - * @param style The button style. - * @return A new Intercom button instance. -*/ -- (instancetype)initWithTitle:(NSString *)title style:(ICMButtonStyle)style; - -/** - * Create a standard Intercom button. This button will adopt colors derived from `backgroundColor`. - * - * @param title The button title. - * @param style The button style. - * @param backgroundColor Set the main color of the button. - * @return A new Intercom button instance. -*/ -- (instancetype)initWithTitle:(NSString *)title style:(ICMButtonStyle)style backgroundColor:(UIColor *)backgroundColor; - -/// Computes `text` and `border` color from the backgroundColor and applies all 3 colors to the button. -/// @param backgroundColor Set the main color of the button. -- (void)configureForFilledStyleBackgroundColor:(UIColor *)backgroundColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMCarouselBlockAppearance.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMCarouselBlockAppearance.h deleted file mode 100644 index 4aa51709..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMCarouselBlockAppearance.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// ICMCarouselBlockAppearance.h -// IntercomSDK -// -// Created by Brian Boyle on 24/02/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMCarouselBlockAppearance : ICMAdminBlockAppearance - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMColor.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMColor.h deleted file mode 100644 index d5dd3ddf..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMColor.h +++ /dev/null @@ -1,103 +0,0 @@ -#import -#import - -@interface ICMColor : NSObject - -+ (UIColor *)primaryColor; - -+ (UIColor *)darkPrimaryColor; -+ (UIColor *)primaryTextColor; -+ (UIColor *)primaryColorVariant; -+ (UIColor *)primaryOrDarkColor; -+ (UIColor *)whiteOrDarkForPrimaryColor; -+ (UIColor *)secondaryColor; -+ (UIColor *)darkSecondaryColor; -+ (UIColor *)lightSecondaryColor; -+ (UIColor *)secondaryTextColor; -+ (UIColor *)secondaryColorVariant; -+ (UIColor *)helpCenterThemeColor; -+ (UIColor *)helpCenterTextColor; -+ (UIColor *)helpCenterSearchPlaceholderColor; -+ (UIColor *)helpCenterSearchBarBackgroundColor; -+ (UIColor *)bubbleTextColorUser; -+ (UIColor *)bubbleFillColorUser; -+ (UIColor *)launcherImageColor; -+ (UIColor *)intercomLinkColor; -+ (UIColor *)composerSeparatorColor; - - -#pragma mark - Colour Palette - -+ (UIColor *)ghostWhite; -+ (UIColor *)dark; -+ (UIColor *)charcoalGrey; -+ (UIColor *)silver; -+ (UIColor *)intercomBlue; -+ (UIColor *)errorColor; -+ (UIColor *)closeButtonDarkColorWithAlpha:(CGFloat)alpha; -+ (UIColor *)closeButtonLightColor; -+ (UIColor *)closeButtonLightColorWithAlpha:(CGFloat)alpha; - - -#pragma mark - Active/Away States - -+ (UIColor *)activeColour; -+ (UIColor *)awayColour; - - -#pragma mark - Button colors - -/** - * Calculates and returns a darker version of the passed in color. This should be used as the text color of an ICMButton. - * - * @param color The original color. - * @return The darker color to be used as the text color of an ICMButton. -*/ -+ (UIColor *)buttonTextColorVarient:(UIColor *)color; - -/** - * Calculates and returns a lighter version of the passed in color. This should be used as the background of an ICMButton. - * - * @param color The original color. - * @return The lighter color to be used as the background of an ICMButton. -*/ -+ (UIColor *)buttonBackgroundColorVarient:(UIColor *)color; - -/** - * Calculates and returns a darker version of the passed in colour. This should be used as the background color of an ICMButton while it is being tapped. - * - * @param color The original color. - * @return The darker color to be used as the background of am ICMButton while it is being tapped. -*/ -+ (UIColor *)buttonHighlightColor:(UIColor *)color; - -/// Calculates and returns either white or black color based on the lightness of the passed in color so that the text is visible. -/// @param backgroundColor The background color. -/// @return White if the background color is dark, black if the background color is light. -+ (UIColor *)textColorForBackgroundColor:(UIColor *)backgroundColor; - -/// Calculates and returns a color based on the lightness of the passed in color such that the resulting color, when used on a border of a view, could essentially differentiate the view from it's background, even in the case where both the view and it's background have the exact same color. -/// @param backgroundColor The background color. -+ (UIColor *)borderColorForBackgroundColor:(UIColor *)backgroundColor; - - -#pragma mark - Colour Utils - -+ (UIColor *)colorWithR:(int)r g:(int)g b:(int)b; -+ (UIColor *)colorWithR:(int)r g:(int)g b:(int)b alpha:(CGFloat)alpha; -+ (UIColor *)colorWithHexString:(NSString *)hexString; - -/** - * Fades between firstColor and secondColor at the specified ratio: - * - * @ ratio 0.0 - fully firstColor - * @ ratio 0.5 - halfway between firstColor and secondColor - * @ ratio 1.0 - fully secondColor - * - */ - -+ (UIColor *)colorForFadeBetweenFirstColor:(UIColor *)firstColor - secondColor:(UIColor *)secondColor - atRatio:(CGFloat)ratio; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMConfig.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMConfig.h deleted file mode 100644 index 1f304acc..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMConfig.h +++ /dev/null @@ -1,84 +0,0 @@ -#import -#import - -static NSString *const kICMIntercomConfigChangedNotification = @"kICMIntercomConfigChangedNotification"; -static NSString *const kICMMessengerBackgroundImageLoadedNotification = @"kICMMessengerBackgroundImageLoadedNotification"; -static NSString *const kICMMessengerLogoImageLoadedNotification = @"kICMMessengerLogoImageLoadedNotification"; -static NSString *const kICMLauncherCustomLogoImageLoadedNotification = @"kICMLauncherCustomLogoImageLoadedNotification"; - -@protocol ICMConfigProtocol -@property (readonly) BOOL inboundMessages; -@property (readonly) BOOL accessToTeammateEnabled; -@property (readonly) BOOL helpCenterRequireSearch; -@property (nonatomic, copy) NSString *appName; -- (BOOL)receivedFromServer; -@end - -@interface ICMConfig : ICMSafeNetworkModel - -@property (nonatomic, copy) NSString *primaryColorString; -@property (nonatomic, copy) NSString *secondaryColorString; -@property (nonatomic, copy) NSString *appName; -@property (nonatomic, copy) NSString *teamIntro; -@property (nonatomic, copy) NSString *messengerBackgroundImageUrlString; -@property (nonatomic, copy) NSString *messengerLogoUrlString; -@property (nonatomic, copy) NSString *teamGreeting; -@property (nonatomic, copy) NSString *launcherAlignment; -@property (nonatomic, copy) NSString *temporaryExpectationsMessage; -@property (nonatomic, assign) NSInteger launcherBottomPadding; -@property (nonatomic, copy) NSString *launcherCustomLogoURLString; -@property (nonatomic, assign) NSInteger uploadSizeLimit; - -@property (nonatomic, assign) BOOL inboundMessages; -@property (nonatomic, assign) BOOL attachmentsEnabled; -@property (nonatomic, assign) BOOL gifsEnabled; -@property (nonatomic, assign) BOOL showIntercomLink; -@property (nonatomic, assign) BOOL audioEnabled; -@property (nonatomic, assign) BOOL metricsEnabled; -@property (nonatomic, assign) BOOL backgroundRequestsEnabled; -@property (nonatomic, assign) BOOL shouldDisplayDarkPrimaryColor; -@property (nonatomic, assign) BOOL shouldDisplayDarkSecondaryColor; -@property (nonatomic, assign) BOOL shouldDisplayDarkHelpCenterColor; -@property (nonatomic, assign) BOOL identityVerificationEnabled; -@property (nonatomic, assign) BOOL accessToTeammateEnabled; -@property (nonatomic, assign) BOOL helpCenterRequireSearch; -@property (nonatomic, assign) BOOL preventMultipleInboundConversations; - -@property (nonatomic, assign) NSTimeInterval userUpdateDupCacheMaxAge; -@property (nonatomic, assign) NSTimeInterval newSessionThreshold; -@property (nonatomic, assign) NSTimeInterval batchUserUpdatePeriod; -@property (nonatomic, assign) NSTimeInterval softResetTimeout; -@property (nonatomic, assign) NSTimeInterval pingDelay; - -@property (nonatomic, assign) NSTimeInterval rateLimitPeriod; -@property (nonatomic, assign) NSUInteger rateLimit; - -@property (nonatomic, copy) NSString *helpCenterUrlString; -@property (nonatomic, copy) NSArray *helpCenterUrlStrings; -@property (nonatomic, copy) NSString *helpCenterBaseColorString; - -@property (nonatomic, strong) NSLocale *intercomLocale; -@property (nonatomic, strong) NSLocale *helpCenterLocale; -@property (nonatomic, strong) NSSet *features; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; - -+ (void)updateSharedInstanceFromDictionary:(NSDictionary *)aDictionary; - -+ (instancetype)sharedConfig; -+ (void)deleteSharedConfig; - -- (BOOL)isEqualToConfig:(ICMConfig *)other; -- (void)saveIfNeeded; -- (void)save; -- (UIImage *)messengerBackgroundImage; -- (UIImage *)messengerLogoImage; -- (UIImage *)customLauncherImage; -- (UIColor *)primaryColor; -- (UIColor *)secondaryColor; -- (UIColor *)helpCenterBaseColor; -- (BOOL)hasFeature:(NSString *)feature; -- (BOOL)receivedFromServer; -- (BOOL)useDefaultLauncherAlignment; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentStackView.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentStackView.h deleted file mode 100644 index 12b48c08..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentStackView.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// ICMContentStackView.h -// IntercomSDK -// -// Created by Brian Boyle on 16/01/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import - -@class ITBBlock; -@class ICMBlockAppearance; - -NS_ASSUME_NONNULL_BEGIN - -typedef NS_ENUM(NSInteger, ICMContentStackViewContext) { - ICMContentStackViewContextCarousel, - ICMContentStackViewContextSurvey -}; - -@interface ICMContentStackView : UIStackView - -- (instancetype)initWithBlocks:(NSArray *)blocks context:(ICMContentStackViewContext)context; -- (void)renderContent; -- (void)updateFirstBlockWithAppearance:(ICMBlockAppearance *)appearance; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentViewController.h deleted file mode 100644 index 740e4dcd..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// ICMContentViewController.h -// IntercomSDK -// -// Created by Michael McNamara on 05/10/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMContentViewController - -@property (nonatomic, weak) id contentDelegate; - -@required -- (void)reload; -- (void)closeButtonTapped; -- (void)viewDidDismissBySwipe; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentViewControllerDelegate.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentViewControllerDelegate.h deleted file mode 100644 index 18e2e201..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMContentViewControllerDelegate.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// ICMContentViewControllerDelegate.h -// IntercomSDK -// -// Created by Michael McNamara on 30/03/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMContentViewControllerDelegate - -@required -- (void)contentDidLoadWithDismissEnabled:(BOOL)dismissEnabled; -- (void)contentDidLoadWithDismissEnabled:(BOOL)dismissEnabled - swipeDismissalRequiresConfirmation:(BOOL)requiresConfirmation - didAttemptDismiss:(void (^_Nullable)(void))didAttemptDismissBlock; -- (void)showLoadingViewWithImage:(UIImage *)image; -- (void)contentLoadingDidFail:(NSString *)errorMessage - showActionButton:(BOOL)showActionButton - actionButtonTitle:(NSString * _Nullable)actionButtonTitle; -- (void)configureCloseButtonForBackgroundColor:(UIColor *)backgroundColor; -- (void)closeContentModal; -- (void)configureDismissEnabled:(BOOL)dismissEnabled; -- (void)configureDismissEnabled:(BOOL)dismissEnabled -swipeDismissalRequiresConfirmation:(BOOL)requiresConfirmation - didAttemptDismiss:(void (^_Nullable)(void))didAttemptDismissBlock; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMCountLimitInputValidator.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMCountLimitInputValidator.h deleted file mode 100644 index 5ab74d83..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMCountLimitInputValidator.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMCountLimitInputValidator.h -// IntercomSDK-Dynamic -// -// Created by Michael McNamara on 18/11/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMCountLimitInputValidator : NSObject - -- (instancetype)initWithMinimumCount:(NSInteger)minimumCount maximumCount:(NSInteger)maximumCount; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMDataManager.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMDataManager.h deleted file mode 100644 index 20f2d3b1..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMDataManager.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// ICMDataManager.h -// IntercomSDK -// -// Created by Dale Cantwell on 28/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import -#import -#import - -@class ICMConversation; - -@interface ICMDataManager : NSObject -@property (nonatomic, readonly) NSMutableArray *conversations; -@property (nonatomic, strong) NSString *conversationToMark; -@property (nonatomic, strong) ICMUnreadManager *unreadManager; -@property (nonatomic, strong) ICMConversation *lastViewedConversation; -@property (nonatomic, assign) BOOL morePagesAvailable; -@property (nonatomic, assign) BOOL hasReceivedConversationsResponse; - -+ (instancetype)sharedManager; -- (void)updateConversationsBefore:(NSDate *)before success:(void (^)(NSArray *conversations, BOOL newElementsAdded))success failure:(void (^)(NSError *error))failure; -- (void)updateConversationsWithSuccess:(void (^)(NSArray *conversations))success failure:(void (^)(NSError *error))failure; -- (void)updateWithConversation:(ICMConversation *)conversation; -- (void)getUnreadConversationsIfNeeded; -- (NSArray *)getRecentConversations; -- (NSArray *)getPreviousConversations; -- (void)clearConversations; -- (BOOL)hasRecentConversations; -- (BOOL)hasPreviousConversations; -- (NSInteger)recentConversationCount; -- (BOOL)hasConversations; -- (BOOL)hasOpenInboundConversation; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMDataManagerProtocol.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMDataManagerProtocol.h deleted file mode 100644 index 98b4d60b..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMDataManagerProtocol.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// ICMDataManagerProtocol.h -// IntercomSDK -// -// Created by Michael McNamara on 14/09/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#ifndef ICMDataManagerProtocol_h -#define ICMDataManagerProtocol_h - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMDataManagerProtocol - -- (BOOL)hasRecentConversations; -- (BOOL)hasPreviousConversations; -- (int)recentConversationCount; - -@end - -NS_ASSUME_NONNULL_END - -#endif /* ICMDataManagerProtocol_h */ diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEmailTextField.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEmailTextField.h deleted file mode 100644 index 8a444e52..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEmailTextField.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// ICMEmailTextField.h -// IntercomSDK -// -// Created by Brian Boyle on 03/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMEmailTextField : ICMTextField - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEmptyInputValidator.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEmptyInputValidator.h deleted file mode 100644 index c6cfa84e..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEmptyInputValidator.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// ICMEmptyInputValidator.h -// IntercomSDK -// -// Created by Brian Boyle on 07/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMEmptyInputValidator : NSObject - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEngine.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEngine.h deleted file mode 100644 index 76d479ed..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMEngine.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ICMEngine.h -// Intercom -// -// Created by Brian Boyle on 16/08/2016. -// -// - -@protocol ICMFileUploadConfig; -@protocol ICMFileDownloadConfig; - -typedef void (^ICMHTTPEmptySuccess)(void); -typedef void (^ICMHTTPDownloadContentSuccess)(NSURL *location, NSURLResponse *response); -typedef void (^ICMHTTPClientError) (NSError *error); -typedef void (^ICMHTTPClientProgress) (double progress); - -@interface ICMEngine : NSObject - -- (void)requestWithoutRedirects:(NSURLRequest *)request success:(ICMHTTPEmptySuccess)success failure:(ICMHTTPClientError)failure; -- (NSURLSessionUploadTask *)uploadFileWithFileName:(NSString *)filename data:(NSData *)data uploadConfig:(id)uploadConfig success:(ICMHTTPEmptySuccess)success progress:(ICMHTTPClientProgress)progress failure:(ICMHTTPClientError)failure; -- (NSURLSessionDownloadTask *)downloadFileFrom:(NSURL *)url downloadConfig:(id)downloadConfig success:(ICMHTTPDownloadContentSuccess)success failure:(ICMHTTPClientError)failure; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMErrorViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMErrorViewController.h deleted file mode 100644 index a4cc1b5b..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMErrorViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// ICMErrorViewController.h -// IntercomSDK -// -// Created by Roland Gropmair on 12/11/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMErrorViewDelegate; - -@interface ICMErrorViewController : UIViewController - -@property (nonatomic, weak) id errorDelegate; - -- (instancetype)initWithTitle:(NSString *)title showActionButton:(BOOL)showRetryButton actionButtonTitle:(NSString * _Nullable)retryButtonTitle; -- (void)configureForBackgroundColor:(UIColor *)backgroundColor buttonColor:(UIColor *)buttonColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMErrorViewDelegate.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMErrorViewDelegate.h deleted file mode 100644 index ec703d62..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMErrorViewDelegate.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMErrorViewDelegate.h -// IntercomSDK-Dynamic -// -// Created by Brian Boyle on 29/03/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMErrorViewDelegate - -@optional -- (void) didSelectErrorAction; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMFeedbackGenerator.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMFeedbackGenerator.h deleted file mode 100644 index 3548df4a..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMFeedbackGenerator.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// ICMFeedbackGenerator.h -// IntercomSDK -// -// Created by Michael Isaakidis on 31/08/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -typedef NS_ENUM(NSUInteger, ICMFeedbackGeneratorType) { - ICMFeedbackGeneratorTypeSelection, - ICMFeedbackGeneratorTypeError, - ICMFeedbackGeneratorTypeSuccess, - ICMFeedbackGeneratorTypeWarning, -}; - -@interface ICMFeedbackGenerator : NSObject - -+ (void)feedbackWithType:(ICMFeedbackGeneratorType)type; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMFormAttribute.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMFormAttribute.h deleted file mode 100644 index 353b78d5..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMFormAttribute.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// ICMAttribute.h -// IntercomSDK -// -// Created by Dale Cantwell on 20/02/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import -#import - -typedef NS_ENUM(NSUInteger, ICMFormAttributeInputType) { - ICMFormAttributeInputTypeSimpleText = 0, - ICMFormAttributeInputTypeEmail = 1, - ICMFormAttributeInputTypePhone = 2, - ICMFormAttributeInputTypePicker = 3, - ICMFormAttributeInputTypeInteger = 4, - ICMFormAttributeInputTypeFloat = 5, - ICMFormAttributeInputTypeDate = 6, - ICMFormAttributeInputTypeBoolean = 7, - ICMFormAttributeInputTypeWebsite = 8, - ICMFormAttributeInputTypeUnknown = 9, -}; - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMFormAttribute : ICMSafeNetworkModel - -@property (nonatomic, copy) NSString *customBotId; -@property (nonatomic, copy) NSString *identifier; -@property (nonatomic, copy) NSString *name; -@property (nonatomic, copy) NSString *type; -@property (nonatomic, copy) NSArray *options; -@property (nonatomic, strong, nullable) id value; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)dictionary; -+ (void)storeFormError:(NSString *)error key:(NSString *)key; -+ (NSString *)fetchFormErrorForKey:(NSString *)key; -+ (void)clearFormErrorsCache; -- (ICMFormAttributeInputType)formInputType; -- (NSString *)uniqueId; - - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHTTPClient.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHTTPClient.h deleted file mode 100644 index 47972845..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHTTPClient.h +++ /dev/null @@ -1,196 +0,0 @@ -// -// Created by Ignacio Delgado on 15/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@class ArticleMetaData; - -@interface ICMHTTPClient : NSObject - -#pragma mark - User Updates - -+ (void)updateUserWithUserAttributes:(NSDictionary *)attributes - newSession:(BOOL)newSession - sentFromBackground:(BOOL)sentFromBackground - carouselVisible:(BOOL)carouselCurrentlyPresented - success:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Push Notification - -+ (void)submitDeviceTokenWithFailure:(void(^)(NSError *error))failure; -+ (void)deleteDeviceToken:(NSString *)deviceTokenString - forUserIdentity:(ICMUserIdentity *)userIdentity - completion:(ICMHTTPEmptyBlock)completion; -+ (void)downloadRichPushMediaAttachmentFrom:(NSURL *)url success:(ICMHTTPRichPushMediaDownloadSuccess)success failure:(ICMHTTPClientError)failure; - - -#pragma mark - Events - -+ (void)logEventWithName:(NSString *)name - metadata:(NSDictionary *)metadata - sentFromBackground:(BOOL)sentFromBackground - carouselVisible:(BOOL)carouselCurrentlyPresented - success:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Conversations - -+ (void)markConversationAsRead:(NSString *)conversationId success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; -+ (void)markConversationAsDismissed:(NSString *)conversationId success:(ICMHTTPEmptySuccess)success error:(ICMHTTPClientError)failure; -+ (void)recordInteractions:(NSString *)conversationId - interactions:(NSArray *)interactions; -+ (void)unreadConversations:(NSInteger)pageSize success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; -+ (void)conversationsBefore:(NSDate *)beforeTimestamp pageSize:(NSInteger)pageSize success:(ICMHTTPConversationsSuccess)success error:(ICMHTTPClientError)failure; - -/// Create a new conversation. -/// @param blocks The blocks. -/// @param articleMetaData If a conversation is started from an article, the articleId should be passed through. This allows teammates know what article a conversation was started from. The articleSource will also be included when Help Center when opened from the Search/Browse card -/// @param success Success completion block. -/// @param failure Failure completion block. -+ (void)createConversationWithBlocks:(NSArray *)blocks - articleMetaData:(ArticleMetaData *)articleMetaData - success:(ICMHTTPConversationSuccess)success - error:(ICMHTTPClientError)failure; -+ (void)replyToConversation:(NSString *)conversationId - withBlocks:(NSArray *)blocks - success:(ICMHTTPReplyConversationSuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)reactToConversation:(NSString *)conversationId withReactionIndex:(NSUInteger)index; -+ (void)conversationDetail:(NSString *)conversationId success:(ICMHTTPConversationSuccess)success error:(ICMHTTPClientError)failure; - - -#pragma mark - Conversation Ratings - -+ (void)rateConversation:(NSString *)conversationId withRatingIndex:(NSUInteger)ratingIndex; -+ (void)addConversationRatingRemarkForConversation:(NSString *)conversationId remark:(NSString *)remark; - - -#pragma mark - Articles - -+ (void)article:(NSString *)articleId success:(ICMHTTPArticleSuccess)success error:(ICMHTTPClientError)failure; -+ (void)reactToArticle:(NSString *)articleId articleContentId:(NSString *)articleContentId withReactionIndex:(NSUInteger)index allowAutoResponses:(BOOL)allowAutoResponses articleSource:(NSString *)articleSource; - - -#pragma mark - GIFs - -+ (void)loadGIFs:(NSString *)searchQuery - success:(ICMHTTPGIFSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Metrics - -+ (void)submitMetrics:(NSArray *> *)metrics - opsMetrics:(NSArray *> *)opsMetrics - success:(ICMHTTPEmptySuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Uploads - -+ (void)createUploadWithUpload:(ITBUpload *)upload success:(ICMHTTPUploadCreateSuccess)success progress:(ICMHTTPClientProgress)progress error:(ICMHTTPClientError)failure; - - -#pragma mark - URL Tracker - -+ (void)trackURL:(NSString *)url; - - -#pragma mark - Operator - -+ (void)operatorConditionSatisfied:(NSString *)transitionId - converstionId:(NSString *)conversationId - error:(ICMHTTPClientError)failure; - - -#pragma mark - Sheets - -+ (void)fetchMessengerSheetData:(NSDictionary *)sheetParams success:(ICMHTTPSheetSuccess)success failure:(ICMHTTPClientError)failure; -+ (void)submitMessengerSheet:(NSDictionary *)sheetPayload uri:(NSString *)uri success:(ICMHTTPEmptyBlock)success failure:(ICMHTTPClientError)failure; - - -#pragma mark - Homescreen - -+ (void)fetchHomescreenWithSuccess:(ICMHTTPHomescreenSuccess)success failure:(ICMHTTPClientError)failure; - - -#pragma mark - Quick Reply - -+ (void)quickReplyToConversation:(NSString *)conversationId - withPartId:(NSString *)quickReplyPartId - withOptionUUID:(NSString *)uuid - success:(ICMHTTPReplyConversationSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Attribute Collector - -+ (void)submitFormParams:(NSDictionary *)formParams - forConversation:(NSString *)conversationId - success:(ICMHTTPSubmitFormSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Inbound Custom Bots - -+ (void)triggerInboundBotWithOptionUUID:(NSString *)uuid - success:(ICMHTTPConversationSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Stats System - -+ (void)recordStatistic:(NSString *)statToRecord withInstanceId:(NSString *)instanceId statsMetadata:(NSDictionary *)statsMetadata success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; - - -#pragma mark - Carousels - -+ (void)getCarouselWithId:(NSString*)carouselId - success:(ICMHTTPCarouselSuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getCarouselWithInstanceId:(NSString*)carouselInstanceId - success:(ICMHTTPCarouselSuccess)success - error:(ICMHTTPClientError)failure; - -#pragma mark - Help Center - -+ (void)getHelpCenterCollections:(ICMHTTPArraySuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getHelpCenterCollection:(NSString*)collectionId - success:(ICMHTTPDictionarySuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getHelpCenterSearchResults:(NSString*)searchText - source:(NSString*)source - success:(ICMHTTPArraySuccess)success - error:(ICMHTTPClientError)failure; - -#pragma mark - Surveys - -+ (void)submitSurvey:(Survey *)survey - success:(ICMHTTPDictionarySuccess)success - error:(ICMHTTPClientError)failure; - - -+ (void)dismissSurvey:(Survey *)survey - success:(ICMHTTPEmptyBlock)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Composer suggestions - - -+ (void)openMessenger:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; - -@end - diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHTTPClientProtocol.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHTTPClientProtocol.h deleted file mode 100644 index 03d8aa5a..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHTTPClientProtocol.h +++ /dev/null @@ -1,98 +0,0 @@ -// -// ICMHTTPClientProtocol.h -// IntercomSDK -// -// Created by Michael McNamara on 14/04/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#ifndef ICMHTTPClientProtocol_h -#define ICMHTTPClientProtocol_h - -#import - -@class ITBUpload; -@class ICMConversationsResponse; -@class ICMConversation; -@class ICMConversationPart; -@class ICMArticle; -@class ICMGIFResponse; -@class ICMSheet; -@class ICMHomescreen; -@class ICMBaseResponse; -@class ICMCarousel; -@class ICMUserIdentity; -@class Survey; -@class ICMComposerSuggestions; - -static const NSInteger kICMHTTPClientDefaultPageSize = 10; -static const NSInteger kNewContentEventTypeCarousel = 44; - -NS_ASSUME_NONNULL_BEGIN - -typedef void (^ICMHTTPBaseSuccess)(ICMBaseResponse *response); -typedef void (^ICMHTTPConversationsSuccess)(ICMConversationsResponse *response); -typedef void (^ICMHTTPConversationSuccess)(ICMConversation *response); -typedef void (^ICMHTTPReplyConversationSuccess)(ICMConversationPart *response); -typedef void (^ICMHTTPUploadCreateSuccess)(NSString * _Nullable publicUrl); -typedef void (^ICMHTTPArticleSuccess)(ICMArticle *article); -typedef void (^ICMHTTPGIFSuccess)(ICMGIFResponse *gifResponse); -typedef void (^ICMHTTPSheetSuccess)(ICMSheet *sheet); -typedef void (^ICMHTTPHomescreenSuccess)(ICMHomescreen *sheet); -typedef void (^ICMHTTPEmptyBlock) (void); -typedef void (^ICMHTTPSubmitFormSuccess)(ICMConversation *response); -typedef void (^ICMHTTPCarouselSuccess)(ICMCarousel *carousel); -typedef void (^ICMHTTPArraySuccess)(NSArray *array); -typedef void (^ICMHTTPDictionarySuccess)(NSDictionary *object); -typedef void (^ICMHTTPComposerSuggestionsSuccess)(ICMComposerSuggestions *composerSuggestions); -typedef void (^ICMHTTPRichPushMediaDownloadSuccess)(NSURL *location); - -@protocol ICMHTTPClientProtocol - -#pragma mark - Help Center - -+ (void)getHelpCenterCollections:(nullable ICMHTTPArraySuccess)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)getHelpCenterCollection:(nullable NSString*)collectionId - success:(nullable ICMHTTPDictionarySuccess)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)getHelpCenterSearchResults:(NSString*)searchText - source:(nullable NSString*)source - success:(nullable ICMHTTPArraySuccess)success - error:(nullable ICMHTTPClientError)failure; - -#pragma mark - Surveys - -+ (void)submitSurvey:(Survey *)survey - success:(nullable ICMHTTPDictionarySuccess)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)dismissSurvey:(Survey *)survey - success:(nullable ICMHTTPEmptyBlock)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)failSurvey:(NSString *)surveyId - progressId:(NSInteger)progressId - success:(nullable ICMHTTPEmptyBlock)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)actionButtonClicked:(Survey *)survey - stepId:(NSString *)stepId - success:(nullable ICMHTTPEmptyBlock)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)getSurvey:(NSString *)surveyId - success:(nullable ICMHTTPDictionarySuccess)success - error:(nullable ICMHTTPClientError)failure; - - - - -@end - -NS_ASSUME_NONNULL_END - - -#endif /* ICMHTTPClientProtocol_h */ diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHelpCenterTranslationManager.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHelpCenterTranslationManager.h deleted file mode 100644 index 1d4e5c16..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMHelpCenterTranslationManager.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMHelpCenterTranslationManager.h -// IntercomSDK-Dynamic -// -// Created by Michael McNamara on 16/06/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -/// A `ICMTranslationManager` subclass that uses our `help_center_locale` instead of the standard Intercom locale. -/// This should be used to translate any strings in our native Help Center. -@interface ICMHelpCenterTranslationManager : ICMTranslationManager - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMInAppsViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMInAppsViewController.h deleted file mode 100644 index d85336d2..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMInAppsViewController.h +++ /dev/null @@ -1,68 +0,0 @@ -// -// ICMInAppsViewController.h -// Pods -// -// Created by James Treanor on 07/12/2015. -// -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ICMConversation; -@class ICMHostAppState; - -typedef NS_ENUM(NSUInteger, ICMInAppsViewControllerState){ - ICMInAppsViewControllerStateEmpty = 0, - ICMInAppsViewControllerStateSnippet = 1, - ICMInAppsViewControllerStateMultipleSnippets = 2, - ICMInAppsViewControllerStateFull = 3, -}; - -@protocol ICMInAppsDelegate -- (void)presentConversation:(ICMConversation *)conversation fromFull:(BOOL)fromFull; -- (void)dismissConversation:(ICMConversation *)conversation fromFull:(BOOL)fromFull; -- (void)hideInApp:(UIViewController *)inApp; -- (void)showInbox; -@optional -- (void)conversationShown:(ICMConversation *)conversation asFull:(BOOL)asFull; -- (BOOL)isMessengerPresented; -- (BOOL)shouldShowLauncher; -- (void)launcherTapped; -- (void)didShowFullScreenInApp; -- (void)didHideFullScreenInApp; -- (void)didHideInApps; -@end - -@protocol ICMInAppUpdateProtocol -- (void)conversationMarkedAsRead:(NSString *)conversationId; -@end - -@protocol ICMInAppsAnimationProtocol -- (void)animateOutWithCompletion:(void (^ __nullable)(void))completion; -@end - -@protocol ICMFullScreenInAppProtocol -- (ICMConversation *)conversation; -@end - -@interface ICMInAppsViewController : UIViewController - -- (instancetype)initWithConversations:(NSArray *)conversations delegate:(id )delegate hostAppState:(ICMHostAppState *)state; -- (BOOL)shouldHandleTouchOnView:(UIView *)view; -- (BOOL)isShowingLauncherOrInApp; -- (void)tearDownInApps; -- (void)tearDown; -- (void)updateLauncherVisibility; -- (void)setConversations:(NSArray *)conversations completion:(void (^ __nullable)(void))completion; -- (void)hideLauncherWithAnimation; -- (void)bottomPaddingUpdated; -- (ICMInAppsViewControllerState)state; - -@property (nonatomic, strong) NSArray *conversations; -@property (nonatomic, strong) ICMHostAppState *hostAppState; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMInputViewProtocol.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMInputViewProtocol.h deleted file mode 100644 index 9ffbef39..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMInputViewProtocol.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// ICMInputViewProtocol.h -// IntercomSDK -// -// Created by Brian Boyle on 09/04/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMInputViewProtocol - -@property (nonatomic) BOOL isRequired; -- (BOOL)isUserInputValid:(NSError * __autoreleasing *)error; -- (nullable id)inputValue; -- (void)configureErrorState; -- (void)configureDefaultState; -@end - -@protocol ICMSubmittableInputViewProtocol -- (void)configureSuccessState; -- (void)configureLoadingState; -@end - -@protocol ICMInputViewDelegate -- (void)entryCompleteButtonTapped; -- (void)cancelButtonTapped; -- (void)valueUpdated:(nullable id)value; -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMIntegerTextField.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMIntegerTextField.h deleted file mode 100644 index df629165..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMIntegerTextField.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// ICMIntegerTextField.h -// IntercomSDK -// -// Created by Brian Boyle on 03/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMIntegerTextField : ICMTextField - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMLinkOpener.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMLinkOpener.h deleted file mode 100644 index 96a7b29e..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMLinkOpener.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// Created by Ignacio Delgado on 18/11/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import - -@protocol ICMLinkOpenerProtocol -+ (BOOL)isExternalLink:(NSURL *)url; -@end - -@interface ICMLinkOpener : NSObject - -+ (void)openLink:(NSURL *)url; -+ (BOOL)isCustomSchemeURL:(NSURL *)urlToCheck; -+ (BOOL)isUniversalLink:(NSURL *)urlToCheck; -+ (BOOL)isHelpCenterLink:(NSURL *)url; -+ (BOOL)isExternalLink:(NSURL *)url; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMLoadingViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMLoadingViewController.h deleted file mode 100644 index 002c2730..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMLoadingViewController.h +++ /dev/null @@ -1,10 +0,0 @@ - -#import -#import - -@interface ICMLoadingViewController : UIViewController - -- (instancetype)initWithImage:(UIImage *)loadingImage accessibilityText:(NSString *)accessibilityText; -- (void)hideLoadingSpinner; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMetric.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMetric.h deleted file mode 100644 index 207c8db8..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMetric.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// ICMMetric.h -// Pods -// -// Created by James Treanor on 07/08/2015. -// -// - -#import -#import -@class ICMOpsMetricEvent; - -@protocol ICMMetricProtocol -- (void)addEvent:(ICMMetricEvent *)event NS_SWIFT_NAME(addEvent(_:)); -@end - -@interface ICMMetric : NSObject - -+ (instancetype)sharedInstance; - -- (void)addEvent:(ICMMetricEvent *)event NS_SWIFT_NAME(addEvent(_:)); -- (void)addOpsEvent:(ICMOpsMetricEvent *)opsEvent; -- (NSSet *)events; -- (NSSet *)opsEvents; -- (void)clearAllEvents; -- (void)clearEvents:(NSSet *)events opsEvents:(NSSet *)opsEvents; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMetricEvent.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMetricEvent.h deleted file mode 100644 index c502365d..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMetricEvent.h +++ /dev/null @@ -1,267 +0,0 @@ -// -// ICMMetricEvent.h -// Pods -// -// Created by James Treanor on 15/03/2016. -// -// - -#import - -typedef NS_ENUM(NSUInteger, ICMMetricEventType) { - ICMMetricEventTypeMessenger = 0, - ICMMetricEventTypeEducate = 1, - ICMMetricEventTypeCarousel = 2, - ICMMetricEventTypeSearchBrowse = 3, - ICMMetricEventTypeSurvey = 4 -}; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Actions -static NSString *const ICMMetricEventActionOpened = @"opened"; -static NSString *const ICMMetricEventActionClosed = @"closed"; -static NSString *const ICMMetricEventActionReceived = @"received"; -static NSString *const ICMMetricEventActionDismissed = @"dismissed"; -static NSString *const ICMMetricEventActionViewed = @"viewed"; -static NSString *const ICMMetricEventActionSent = @"sent"; -static NSString *const ICMMetricEventActionTyped = @"typed"; -static NSString *const ICMMetricEventActionClicked = @"clicked"; -static NSString *const ICMMetricEventActionSearched = @"searched"; -static NSString *const ICMMetricEventActionCompleted = @"completed"; -static NSString *const ICMMetricEventActionStarted = @"started"; -static NSString *const ICMMetricEventActionFailed = @"failed"; -static NSString *const ICMMetricEventActionRequested = @"requested"; -static NSString *const ICMMetricEventActionUsed = @"used"; - -#pragma mark - Objects -static NSString *const ICMMetricEventObjectConversation = @"conversation"; -static NSString *const ICMMetricEventObjectNewConversation = @"new_conversation"; -static NSString *const ICMMetricEventObjectMessenger = @"messenger"; -static NSString *const ICMMetricEventObjectMessage = @"message"; -static NSString *const ICMMetricEventObjectReply = @"reply"; -static NSString *const ICMMetricEventObjectQuickReplies = @"quick_replies"; -static NSString *const ICMMetricEventObjectQuickReply = @"quick_reply"; -static NSString *const ICMMetricEventObjectReaction = @"reaction"; -static NSString *const ICMMetricEventObjectBadge = @"badge"; -static NSString *const ICMMetricEventObjectTeamProfile = @"team_profile"; -static NSString *const ICMMetricEventObjectTeammateProfile = @"teammate_profile"; -static NSString *const ICMMetricEventObjectArticle = @"article"; -static NSString *const ICMMetricEventObjectArticlePreload = @"article_preload"; -static NSString *const ICMMetricEventObjectHelpCenter = @"help_center"; -static NSString *const ICMMetricEventObjectGIFInput = @"gif_input"; -static NSString *const ICMMetricEventObjectTextInput = @"text_input"; -static NSString *const ICMMetricEventObjectImageInput = @"image_input"; -static NSString *const ICMMetricEventObjectExpandedImageInput = @"expanded_image_input"; -static NSString *const ICMMetricEventObjectExpandedGIFInput = @"expanded_gif_input"; -static NSString *const ICMMetricEventObjectMessengerSheet = @"messenger_sheet"; -static NSString *const ICMMetricEventObjectHomescreen = @"home_screen"; -static NSString *const ICMMetricEventObjectHelpCenterData = @"help_center_data"; -static NSString *const ICMMetricEventObjectArticleReaction = @"article_reaction"; -static NSString *const ICMMetricEventObjectSearchBrowse = @"search_browse_card"; -static NSString *const ICMMetricEventObjectSearchBrowseInput = @"search_browse_card_input"; -static NSString *const ICMMetricEventObjectSurvey = @"survey"; -static NSString *const ICMMetricEventObjectSurveyPreload = @"survey_preload"; -static NSString *const ICMMetricEventObjectStepLoad = @"step_load"; -static NSString *const ICMMetricEventObjectStepError = @"step_error"; - -// SDK Api -static NSString *const ICMMetricEventObjectInitialise = @"initialise"; -static NSString *const ICMMetricEventObjectUserHash = @"user_hash"; -static NSString *const ICMMetricEventObjectLoginUnidentifiedUser = @"login_unidentified_user"; -static NSString *const ICMMetricEventObjectRegisterUnidentifiedUser = @"register_unidentified_user"; -static NSString *const ICMMetricEventObjectLoginIdentifiedUser = @"login_identified_user"; -static NSString *const ICMMetricEventObjectRegisterIdentifiedUserEmailUserId= @"register_identified_user_email_user_id"; -static NSString *const ICMMetricEventObjectRegisterIdentifiedUserUserId = @"register_identified_user_user_id"; -static NSString *const ICMMetricEventObjectRegisterIdentifiedUserEmail = @"register_identified_user_email"; -static NSString *const ICMMetricEventObjectLogout = @"logout"; -static NSString *const ICMMetricEventObjectReset = @"reset"; -static NSString *const ICMMetricEventObjectUpdateUserCallback = @"update_user_callback"; -static NSString *const ICMMetricEventObjectUpdateUser = @"update_user"; -static NSString *const ICMMetricEventObjectLogEvent = @"log_event"; -static NSString *const ICMMetricEventObjectLogEventMetaData = @"log_event_metadata"; -static NSString *const ICMMetricEventObjectPresentMessenger = @"present_messenger"; -static NSString *const ICMMetricEventObjectPresentMessageComposerInitialMessage = @"present_message_composer_initial_message"; -static NSString *const ICMMetricEventObjectPresentMessageComposer = @"present_message_composer"; -static NSString *const ICMMetricEventObjectPresentMessageComposerWithMessage= @"present_message_composer_with_message"; -static NSString *const ICMMetricEventObjectPresentConversationList = @"present_conversation_list"; -static NSString *const ICMMetricEventObjectPresentHelpCenter = @"present_help_center"; -static NSString *const ICMMetricEventObjectPresentHelpCenterCollections = @"present_help_center_collections"; -static NSString *const ICMMetricEventObjectPresentArticle = @"present_article"; -static NSString *const ICMMetricEventObjectFetchHelpCenterCollections = @"fetch_help_center_collections"; -static NSString *const ICMMetricEventObjectFetchHelpCenterCollection = @"fetch_help_center_collection"; -static NSString *const ICMMetricEventObjectSearchHelpCenter = @"search_help_center"; -static NSString *const ICMMetricEventObjectPresentCarousel = @"present_carousel"; -static NSString *const ICMMetricEventObjectPresentSurvey = @"present_survey"; -static NSString *const ICMMetricEventObjectSetDeviceTokenCallback = @"set_device_token_callback"; -static NSString *const ICMMetricEventObjectSetDeviceToken = @"set_device_token"; -static NSString *const ICMMetricEventObjectIsIntercomPushNotification = @"is_intercom_push_notification"; -static NSString *const ICMMetricEventObjectHandlePushNotification = @"handle_push_notification"; -static NSString *const ICMMetricEventObjectSetBottomPadding = @"set_bottom_padding"; -static NSString *const ICMMetricEventObjectSetInAppMessageVisibility = @"set_inapp_message_visibility"; -static NSString *const ICMMetricEventObjectSetLauncherVisibility = @"set_launcher_visibility"; -static NSString *const ICMMetricEventObjectHideIntercom = @"hide_intercom"; -static NSString *const ICMMetricEventObjectUnreadConversationCount = @"unread_conversation_count"; -static NSString *const ICMMetricEventObjectEnableLogging = @"enable_logging"; -static NSString *const ICMMetricEventObjectSetNeedsStatusBarUpdate = @"set_needs_status_bar_update"; - - -#pragma mark Carousel -static NSString *const ICMMetricEventObjectCarouselMessage = @"carousel_message"; -static NSString *const ICMMetricEventObjectCarouselMessagePreload = @"carousel_message_preload"; -static NSString *const ICMMetricEventObjectCarouselPermissionSkipped = @"carousel_permission_skipped"; -static NSString *const ICMMetricEventObjectCarouselPermissionDialog = @"carousel_permission_dialog"; -static NSString *const ICMMetricEventObjectCarouselPermissionSettings = @"carousel_permission_settings"; - - -#pragma mark - Place -static NSString *const ICMMetricEventPlaceMessenger = @"messenger"; -static NSString *const ICMMetricEventPlaceMessengerHomeApp = @"messenger_home_app"; -static NSString *const ICMMetricEventPlaceConversation = @"conversation"; -static NSString *const ICMMetricEventPlaceInApp = @"in_app"; -static NSString *const ICMMetricEventPlaceCarouselMessage = @"carousel_message"; -static NSString *const ICMMetricEventPlaceWebview = @"webview"; -static NSString *const ICMMetricEventPlaceHelpCenterCollectionList = @"collection_list"; -static NSString *const ICMMetricEventPlaceHelpCenterArticleList = @"article_list"; -static NSString *const ICMMetricEventPlaceHelpCenterSearchResults = @"search_results"; -static NSString *const ICMMetricEventPlaceHelpCenterArticle = @"article"; -static NSString *const ICMMetricEventPlaceAPI = @"api"; -static NSString *const ICMMetricEventPlaceLegacyArticleSearchApp = @"legacy_article_search_app"; -static NSString *const ICMMetricEventPlacePushNotification = @"push"; -static NSString *const ICMMetricEventPlaceHomeScreen = @"home-screen"; -static NSString *const ICMMetricEventPlaceSearchBrowse = @"search_browse"; -static NSString *const ICMMetricEventPlaceSurvey = @"survey"; - - -#pragma mark - Context -static NSString *const ICMMetricEventContextNoContext = @"no_context"; -static NSString *const ICMMetricEventContextFromDefaultLauncher = @"from_launcher"; -static NSString *const ICMMetricEventContextFromCustomLauncher = @"from_custom_launcher"; -static NSString *const ICMMetricEventContextFromCloseButton = @"from_close_button"; -static NSString *const ICMMetricEventContextFromBadge = @"from_badge"; -static NSString *const ICMMetricEventContextFromSnippet = @"from_snippet"; -static NSString *const ICMMetricEventContextFromFull = @"from_full"; -static NSString *const ICMMetricEventContextFromConversationList = @"from_conversation_list"; -static NSString *const ICMMetricEventContextInConversation = @"in_conversation"; -static NSString *const ICMMetricEventContextInNewConversation = @"in_new_conversation"; -static NSString *const ICMMetricEventContextFromConversation = @"from_conversation"; -static NSString *const ICMMetricEventContextFromNewConversation = @"from_new_conversation"; -static NSString *const ICMMetricEventContextFromClosedConversation = @"from_closed_conversation"; -static NSString *const ICMMetricEventContextInFollowUpConversation = @"in_followup_conversation"; -static NSString *const ICMMetricEventContextFromClicking = @"from_clicking"; -static NSString *const ICMMetricEventContextFromScrolling = @"from_scrolling"; -static NSString *const ICMMetricEventContextFromAuto = @"from_auto"; -static NSString *const ICMMetricEventContextFromPush = @"from_push"; -static NSString *const ICMMetricEventContextOnArticle = @"on_article"; -static NSString *const ICMMetricEventContextFromHelpCenterWebView = @"from_help_center_webview"; -static NSString *const ICMMetricEventContextFromArticleOnButton = @"from_article_on_button"; -static NSString *const ICMMetricEventContextHomescreen = @"home_screen"; -static NSString *const ICMMetricEventContextConversation = @"conversation"; -static NSString *const ICMMetricEventContextFromCarousel = @"from_carousel"; -static NSString *const ICMMetricEventContextFromRetry = @"from_retry"; -static NSString *const ICMMetricEventContextFromSwipe = @"from_swipe"; -static NSString *const ICMMetricEventContextFromCTA = @"from_cta"; -static NSString *const ICMMetricEventContextFromPermission = @"from_permission"; -static NSString *const ICMMetricEventContextFromPermissionSkipped = @"from_permission_skipped"; -static NSString *const ICMMetricEventContextReactionHappy = @"reaction_happy"; -static NSString *const ICMMetricEventContextReactionNeutral = @"reaction_neutral"; -static NSString *const ICMMetricEventContextReactionSad = @"reaction_sad"; -static NSString *const ICMMetricEventContextHumanStyle = @"style_human"; -static NSString *const ICMMetricEventContextBotStyle = @"style_bot"; -static NSString *const ICMMetricEventContextArticle = @"article"; -static NSString *const ICMMetricEventContextMessenger = @"messenger"; -static NSString *const ICMMetricEventContextProgrammatic = @"from_programmatic"; -static NSString *const ICMMetricEventContextAutomatic = @"from_automatic"; -static NSString *const ICMMetricEventContextFromExternalLink = @"from_onward_external_link"; -static NSString *const ICMMetricEventContextFromDeepLink = @"from_onward_deep_link"; - -#pragma mark Carousel Permissions -static NSString *const ICMMetricEventContextPushNotification = @"push_notifications_permission"; -static NSString *const ICMMetricEventContextLocation = @"location_permission"; -static NSString *const ICMMetricEventContextCamera = @"camera_permission"; -static NSString *const ICMMetricEventContextPhotoGallery = @"photos_permission"; -static NSString *const ICMMetricEventContextMicrophone = @"microphone_permission"; - -#pragma mark - Info Keys -static NSString *const kICMMetricEventInfoConversationId = @"conversation_id"; -static NSString *const kICMMetricEventInfoClosedConversationId = @"closed_conversation_id"; -static NSString *const kICMMetricEventInfoConversation = @"conversation"; -static NSString *const kICMMetricEventInfoPushInstanceId = @"instance_id"; -static NSString *const kICMMetricEventInfoConversationPart = @"conversation_part"; -static NSString *const kICMMetricEventInfoMessageText = @"message_text"; -static NSString *const kICMMetricEventInfoIsAttachment = @"is_attachment"; -static NSString *const kICMMetricEventInfoIsAnnotated = @"is_annotated"; -static NSString *const kICMMetricEventInfoIsSticker = @"is_sticker"; -static NSString *const kICMMetricEventInfoHasArticleCard = @"has_article_card"; -static NSString *const kICMMetricEventInfoLauncherState = @"state"; -static NSString *const kICMMetricEventInfoPushType = @"push_type"; -static NSString *const kICMMetricEventInfoMessageType = @"message_type"; -static NSString *const kICMMetricEventInfoBadgeValue = @"badge_value"; -static NSString *const kICMMetricEventInfoArticleId = @"article_id"; -static NSString *const kICMMetricEventInfoIsGIF = @"is_gif"; -static NSString *const kICMMetricEventInfoGIFSearchQuery = @"search_query"; -static NSString *const kICMMetricEventInfoTeamMateStatus = @"teammate_status"; -static NSString *const kICMMetricEventInfoTimeSinceLastActive = @"time_since_last_active"; -static NSString *const kICMMetricEventInfoWithinOfficeHours = @"within_office_hours"; -static NSString *const kICMMetricEventInfoURL = @"url"; -static NSString *const kICMMetricEventInfoQuickReplyId = @"quick_reply_id"; -static NSString *const kICMMetricEventInfoScreensInMessage = @"screens_in_message"; -static NSString *const kICMMetricEventInfoScreensShown = @"screens_shown"; -static NSString *const kICMMetricEventInfoScreensSeen = @"screens_seen"; -static NSString *const kICMMetricEventInfoPermissionGranted = @"permission_granted"; -static NSString *const kICMMetricEventInfoCarouselInstanceId = @"instance_id"; -static NSString *const kICMMetricEventInfoRequestedInstanceId = @"requested_instance_id"; -static NSString *const kICMMetricEventInfoRequestedContentId = @"requested_content_id"; -static NSString *const kICMMetricEventInfoSource = @"source"; -static NSString *const kICMMetricEventInfoErrorCode = @"error_code"; -static NSString *const kICMMetricEventInfoSuggestedArticlesShown = @"articles_shown"; -static NSString *const kICMMetricEventInfoSuggestedArticlesCount = @"articles_count"; -static NSString *const kICMMetricEventInfoConversationShown = @"conversation_shown"; -static NSString *const kICMMetricEventInfoFiltered = @"filtered"; -static NSString *const kICMMetricEventInfoHomeScreenIndex = @"home_screen_index"; -static NSString *const kICMMetricEventInfoSurveyId = @"survey_id"; -static NSString *const kICMMetricEventInfoStepsComplete = @"steps_complete"; -static NSString *const kICMMetricEventInfoQuestionsSeen = @"questions_seen"; -static NSString *const kICMMetricEventInfoFormat = @"format"; -static NSString *const kICMMetricEventInfoMaxSteps = @"max_steps"; - - -#pragma mark - Info Values -static NSString *const kICMMetricEventInfoLauncherStateEmpty = @"empty"; -static NSString *const kICMMetricEventInfoLauncherStateBadge = @"badge"; -static NSString *const kICMMetricEventInfoLauncherStateSnippet = @"snippet"; -static NSString *const kICMMetricEventInfoLauncherStateFull = @"full"; -static NSString *const kICMMetricEventInfoLauncherStateMultipleSnippets = @"multiple snippets"; -static NSString *const kICMMetricEventInfoPushTypeMessage = @"message"; -static NSString *const kICMMetricEventInfoPushTypeNotification = @"notification"; -static NSString *const kICMMetricEventInfoMessageTypeNote = @"note"; -static NSString *const kICMMetricEventInfoMessageTypePost = @"post"; -static NSString *const kICMMetricEventInfoMessageTypeChat = @"chat"; -static NSString *const kICMMetricEventInfoTeamMateActive = @"active"; -static NSString *const kICMMetricEventInfoTeamMateAway = @"away"; -static NSString *const kICMMetricEventInfoProgrammatic = @"programmatic"; -static NSString *const kICMMetricEventInfoAutomatic = @"automatic"; -static NSString *const kICMMetricEventInfoSmallFullScreen = @"small_full_screen"; -static NSString *const kICMMetricEventInfoLargeFullScreen = @"large_full_screen"; - - -@interface ICMMetricEvent : NSObject - -+ (instancetype)eventWithAction:(NSString *)action - object:(NSString *)object - place:(nullable NSString *)place - context:(nullable NSString *)context; - -+ (instancetype)eventWithAction:(NSString *)action - object:(NSString *)object - place:(nullable NSString *)place - context:(nullable NSString *)context - additionalInfo:(nullable NSDictionary *)info; - -- (NSDictionary *)eventDictionary; - -@property (nonatomic, assign) ICMMetricEventType eventType; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMultipleAvatarView.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMultipleAvatarView.h deleted file mode 100644 index 2a39cf79..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMMultipleAvatarView.h +++ /dev/null @@ -1,15 +0,0 @@ -#import - -@class ICMParticipant; - -@interface ICMMultipleAvatarView : UIView - -@property (nonatomic, strong) UIColor *avatarBorderColor; - -- (id)initWithWidth:(CGFloat)width; - -- (void)bindAdmins:(NSArray *)admins; - -- (void)cancelImageLoad; -- (void)keepUserPresenceViewBackgroundColor; -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMNavigationBarCloseButton.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMNavigationBarCloseButton.h deleted file mode 100644 index 12506407..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMNavigationBarCloseButton.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// ICMCloseBarButtonItem.h -// IntercomSDK -// -// Created by Michael Isaakidis on 28/06/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -typedef NS_ENUM(NSInteger, ICMNavigationBarCloseButtonStyle) { - ICMNavigationBarCloseButtonStyleLight, - ICMNavigationBarCloseButtonStyleDark, - ICMNavigationBarCloseButtonStyleText -}; - -extern const CGFloat kICMContentHolderDismissButtonBackgroundAlpha; - -@interface ICMNavigationBarCloseButton : UIButton - -@property (nonatomic, assign) CGFloat backgroundViewAlpha; -@property (nonatomic) ICMNavigationBarCloseButtonStyle style; -- (instancetype)initWithFrame:(CGRect)frame style:(ICMNavigationBarCloseButtonStyle)style; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMNavigationController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMNavigationController.h deleted file mode 100644 index 73b3d04b..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMNavigationController.h +++ /dev/null @@ -1,33 +0,0 @@ -#import -#import - -typedef enum : NSUInteger { - Messenger, - HelpCenter, - ContentModal, - Sheet -} IntercomPresentationContext; - -@class ICMHostAppState; -@class ICMNavigationBarCloseButton; - -@protocol ICMCloseIntercomModalDelegate -- (void)closeIntercomModal; -@end - -@interface ICMNavigationController : UINavigationController - -- (instancetype)initWithHostAppState:(ICMHostAppState *)hostAppState - closeIntercomModalDelegate:(id)closeIntercomModalDelegate - presentationContext:(IntercomPresentationContext)presentationContext; - -- (void)setWallpaperHeight:(CGFloat)height; -- (void)displayCloseButton; -- (void)removeCloseButton; -- (void)addBackButton; -- (void)closeIntercomModal; - -@property (nonatomic, strong) ICMNavigationBarCloseButton *closeButton; -@property (nonatomic, assign) IntercomPresentationContext presentationContext; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMParticipant.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMParticipant.h deleted file mode 100644 index 1a8073ef..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMParticipant.h +++ /dev/null @@ -1,21 +0,0 @@ -#import -#import -#import - -@interface ICMParticipant : ICMSafeNetworkModel - -@property (nonatomic, strong) ICMAvatar *avatar; -@property (nonatomic, copy) NSString *email; -@property (nonatomic, copy) NSString *participantId; -@property (nonatomic, copy) NSString *name; -@property (nonatomic, copy) NSString *firstName; -@property (nonatomic, copy) NSString *type; -@property (nonatomic, assign) BOOL isBot; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; -- (BOOL)isEqualToParticipant:(ICMParticipant *)other; -- (NSString *)firstName; -- (BOOL)isAdmin; -- (NSAttributedString *)adminAppNameTitle:(NSDictionary *)styleAttributes; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMParticipatingAdmin.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMParticipatingAdmin.h deleted file mode 100644 index b44ce078..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMParticipatingAdmin.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// ICMParticipatingAdmin.h -// Pods -// -// Created by James Treanor on 10/03/2016. -// -// - -#import -@class ICMSocialAccount; - -@interface ICMParticipatingAdmin : ICMParticipant - -@property (nonatomic, copy) NSDate *lastActive; -@property (nonatomic, assign) BOOL isActive; -@property (nonatomic, copy) NSString *intro; -@property (nonatomic, copy) NSString *jobTitle; -@property (nonatomic, copy) NSString *locationString; -@property (nonatomic, copy) NSNumber *timezoneOffset; -@property (nonatomic, strong) NSArray *socialAccounts; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPhoneTextField.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPhoneTextField.h deleted file mode 100644 index 01c087f0..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPhoneTextField.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// ICMPhoneTextField.h -// IntercomSDK -// -// Created by Dale Cantwell on 25/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMPhoneTextField : ICMTextField - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPickerTextField.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPickerTextField.h deleted file mode 100644 index e25b32a5..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPickerTextField.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// ICMListTextField.h -// IntercomSDK -// -// Created by Dale Cantwell on 05/04/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMPickerTextField : ICMTextField -- (instancetype)initWithValue:(nullable id)value options:(NSArray *)options allowSubmission:(BOOL)allowSubmission delegate:(id)delegate; -- (void)configureForEditingStateBackgroundColor:(UIColor *)backgroundColor; -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPresentationManager.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPresentationManager.h deleted file mode 100644 index baed9c7a..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMPresentationManager.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// Created by Ignacio Delgado on 17/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ICMConversation; -@class ICMCarousel; -@class ICMMessengerSheetViewController; -@protocol SurveyInfo; - -@interface ICMPresentationManager : NSObject - -@property (nonatomic, assign) CGFloat inAppBottomPadding; -@property (nonatomic, assign) BOOL launcherVisible; -@property (nonatomic, assign) BOOL inAppMessagesVisible; -@property (nonatomic, assign) BOOL manualInAppBottomPaddingSet; - -+ (instancetype) sharedInstance; -+ (void)observeSceneWillEnterForeground; - -- (void)setUnreadConversations:(NSArray *)conversations completion:(void (^ __nullable)(void))completion; -- (void)presentCarousel:(ICMCarousel *)carousel; -- (void)presentSurvey:(id)survey; -- (void)presentMessenger; -- (void)presentMessageComposerWithInitialMessage:(nullable NSString *)message; -- (void)presentHomescreen; -- (void)presentSheet:(ICMMessengerSheetViewController *)sheetVC; - -#pragma mark - Help Center Presentation -- (void)presentHelpCenter; -- (void)presentHelpCenterFromSearchBrowse; -- (void)presentHelpCenterCollections:(NSArray *)collectionIds; -- (void)presentHelpCenterCollection:(NSString *)collectionId; -- (void)presentArticle:(NSString *)articleId; - -- (void)showLauncherOrInAppsIfNeeded; -- (void)hideIntercomUI; -- (void)userChanged; - -- (void)presentConversation:(ICMConversation *)conversation; - -- (void)setNeedsHostAppStatusBarAppearanceUpdate; -- (BOOL)isMessengerPresented; -- (void)dismissAllIntercomViews; -- (void)sceneWillEnterForeground:(NSNotification *)notification; -- (BOOL)isContentCurrentlyPresented; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMRecentConversationsViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMRecentConversationsViewController.h deleted file mode 100644 index 80d29fce..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMRecentConversationsViewController.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ICMRecentConversationsViewController.h -// IntercomSDK-Dynamic -// -// Created by Brian Boyle on 11/09/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMRecentConversationsViewControllerDelegate -- (void)reloadConversationHistoryCard; -- (void)navigateToViewController:(UIViewController *)viewController NS_SWIFT_NAME(navigate(toViewController:)); -@end - -@interface ICMRecentConversationsViewController : UIViewController -@property (nonatomic, weak) id delegate; -- (void)reloadTableView; -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMRootViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMRootViewController.h deleted file mode 100644 index 29649150..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMRootViewController.h +++ /dev/null @@ -1,70 +0,0 @@ -#import -#import -@class ICMBaseViewController; -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ICMHostAppState; -@class ICMCarousel; -@class ICMMessengerSheetViewController; -@protocol SurveyInfo; - -@protocol ICMRootViewControllerDelegate -- (void)hideIntercomWindow; -- (void)setWindowIsFullScreen:(BOOL)fullscreen; -- (BOOL)shouldShowInApps; -- (BOOL)shouldShowLauncher; -@end - -static NSString *const kICMRootViewControllerDidDismissPresentedController = @"IntercomRootViewControllerDidDismissPresentedController"; - -@interface ICMRootViewController : UIViewController - -@property(nonatomic, weak, nullable) id delegate; -@property (nonatomic) BOOL contentModalPresented; - -// This gives a snapshot of the state of the host app when Intercom was presented -// Useful for rotation, status bar styles etc. -@property (nonatomic, strong) ICMHostAppState *hostAppState; - -- (instancetype)initWithWindowScene:(UIWindowScene *)windowScene; -- (void)tearDown; -- (void)presentCarousel:(ICMCarousel *)carousel; -- (void)presentSurvey:(id )survey; -- (void)presentMessenger; -- (void)presentMessageComposerWithInitialMessage:(NSString *)message; -- (void)presentHomescreen; -- (void)presentConversation:(ICMConversation *)conversation; -- (void)dismissAllIntercomViews; -- (void)presentSheet:(ICMMessengerSheetViewController *)sheetVC; - -#pragma mark - Help Center Presentation - -- (void)presentHelpCenter; -- (void)presentHelpCenterFromSearchBrowse; -- (void)presentHelpCenterCollections:(NSArray *)collectionIds; -- (void)presentHelpCenterCollection:(NSString *)collectionId; -- (void)presentArticle:(NSString *)articleId; -- (BOOL)isHelpCenterPresented; - -- (void)updateUnreadConversations:(NSArray *)conversations completion:(void (^ __nullable)(void))completion; - -- (void)tearDownInApps; -- (void)updateLauncherVisibility; - -- (BOOL)isShowingMessenger; - -- (BOOL)shouldHandleTouchOnView:(UIView *)view; - -- (void)updateHostAppState; - -- (void)addLauncherOpenedMetricForObject:(NSString *)metricObject isCustomLauncher:(BOOL)isCustomLauncher; - -- (void) bottomPaddingUpdated; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSafeNetworkModel.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSafeNetworkModel.h deleted file mode 100644 index eeaa4e01..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSafeNetworkModel.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// ICMSafeNetworkModel.h -// Pods -// -// Created by James Treanor on 23/02/2015. -// -// - -#import - -@interface ICMSafeNetworkModel : NSObject - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMStartConversationButton.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMStartConversationButton.h deleted file mode 100644 index d7a8f064..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMStartConversationButton.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMStartConversationButton.h -// IntercomSDK -// -// Created by Michael Isaakidis on 29/05/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -typedef NS_ENUM(NSUInteger, ICMStartConversationButtonStyle) { - ICMStartConversationButtonStyleFilled, - ICMStartConversationButtonStyleBordered, -}; - -static const CGFloat kStartConversationButtonHeight = 40.f; - -@interface ICMStartConversationButton : UIButton - -- (void)configureWithStyle:(ICMStartConversationButtonStyle)style; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSurveyQuestionBlockAppearance.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSurveyQuestionBlockAppearance.h deleted file mode 100644 index f6aca02c..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSurveyQuestionBlockAppearance.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMSurveyQuestionBlockAppearance.h -// IntercomSDK-Dynamic -// -// Created by Michael McNamara on 22/10/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMSurveyQuestionBlockAppearance : ICMAdminBlockAppearance - -- (instancetype)initWithRequiredIndicatorColor:(UIColor *)color; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSurveyStepBlockAppearance.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSurveyStepBlockAppearance.h deleted file mode 100644 index 80dce8c0..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMSurveyStepBlockAppearance.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMSurveyStepBlockAppearance.h -// IntercomSDK-Dynamic -// -// Created by Michael McNamara on 05/10/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMSurveyStepBlockAppearance : ICMAdminBlockAppearance - -- (instancetype)initForBackgroundColor:(nullable UIColor *)backgroundColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTeamPresence.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTeamPresence.h deleted file mode 100644 index 7f7391fd..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTeamPresence.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// ICMTeamPresence.h -// -// -// Created by Adam McCarthy on 19/01/2016. -// Copyright (c) 2016 Intercom. All rights reserved. -// - -#import -#import - -@class ICMParticipant; - -static NSString *const kICMTeamPresenceUpdated = @"ICMTeamPresenceUpdated"; - -@interface ICMTeamPresence : ICMSafeNetworkModel - -@property (nonatomic, copy) NSArray *activeAdmins; -@property (nonatomic, strong) NSDate *lastActive; -@property (nonatomic, copy) NSString *officeHours; -@property (nonatomic, copy) NSString *responseDelayFull; -@property (nonatomic, copy) NSString *responseDelayDescription; -@property (nonatomic, copy) NSString *responseDelayTimePeriod; - -+ (void)updateSharedInstanceWithDictionary:(NSDictionary *)aDictionary; - -- (void)setAttributesFromDictionary:(NSDictionary *)aDictionary; - -+ (instancetype)sharedInstance; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTeammatePresenceView.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTeammatePresenceView.h deleted file mode 100644 index 6530529a..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTeammatePresenceView.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// Created by Karim Frenn on 08/03/2017. -// Copyright (c) 2017 Intercom. All rights reserved. -// - -#import -#import - -@interface ICMTeammatePresenceView : UIView - -@property (nonatomic, assign, getter=isActive) BOOL active; -@property (nonatomic, copy) UIColor *borderColor; - -- (instancetype)initWithDiameter:(CGFloat)diameter; -- (void)setActive:(BOOL)active; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTextField.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTextField.h deleted file mode 100644 index 06d14d1a..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTextField.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// ICMTextField.h -// IntercomSDK -// -// Created by Brian Boyle on 28/02/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import -#import -@protocol ICMValidatorProtocol; -@class ICMSubmitButton; - -NS_ASSUME_NONNULL_BEGIN - -static const NSUInteger kDefaultCursorInset = 10; - -@interface ICMTextField : UITextField -@property (nonatomic) BOOL isRequired; -@property (nonatomic) NSInteger characterLimit; -@property (nonatomic, assign) NSUInteger cursorInset; -@property (nonatomic, strong) ICMSubmitButton *submitButton; -@property (nonatomic, readonly) BOOL allowSubmission; -@property (nonatomic, weak) id inputViewDelegate; - -- (instancetype)initWithValue:(nullable id)value - allowSubmission:(BOOL)allowSubmission - delegate:(nullable id)delegate; -- (BOOL)isUserInputValid:(NSError * __autoreleasing *)error; -- (BOOL)notRequiredAndEmpty; -- (void)configureDefaults; -- (NSArray> *)validators; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTimestampCalculator.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTimestampCalculator.h deleted file mode 100644 index ce32dfcb..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTimestampCalculator.h +++ /dev/null @@ -1,39 +0,0 @@ -#import - -@class ICMConversationPart; - -typedef NS_ENUM(NSUInteger, ICMTimestampCalculatorRecentTimeMessage) { - ICMTimestampCalculatorRecentTimeMessageJustNow, - ICMTimestampCalculatorRecentTimeMessageDelivered -}; - -typedef NS_ENUM(NSUInteger, ICMTimestampCalculatorTimeAgoFormat) { - ICMTimestampCalculatorTimeAgoFormatShort, - ICMTimestampCalculatorTimeAgoFormatLong -}; - -@interface ICMTimestampCalculator : NSObject - -+ (instancetype)sharedInstance; - -- (NSString *)timestampTextForDate:(NSDate *)date format:(enum ICMTimestampCalculatorTimeAgoFormat)format recentTimeMessage:(enum ICMTimestampCalculatorRecentTimeMessage)recentTimeMessage; - -- (NSString *)textForLastActiveDate:(NSDate *)date; - -- (NSString *)lastActiveMinutesAgo:(NSDate *)date; - -- (NSTimeInterval)secondsUntilTimestampExpiresForDate:(NSDate *)date; - -- (BOOL)part:(ICMConversationPart *)firstPart isFromDifferentDayAsPart:(ICMConversationPart *)secondPart; - -- (NSString *)appendSeenStateToTimestampText:(NSString *)timestampText forPart:(ICMConversationPart *)part; - -- (NSString *)dayTextForPart:(ICMConversationPart *)part; - -- (NSString *)absoluteTimeTextForPart:(ICMConversationPart *)part; - -- (NSString *)timestampTextForUpdatedDate:(NSDate *)date; - -- (NSString *)timestampTextForDate:(NSDate *)date timeZone:(NSTimeZone *)timeZone; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTranslationKeys.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTranslationKeys.h deleted file mode 100644 index ada396f7..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTranslationKeys.h +++ /dev/null @@ -1,184 +0,0 @@ -// -// ICMTranslationKeys.h -// IntercomSDK -// -// Created by Ignacio Delgado on 21/08/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#ifndef IntercomSDK_ICMTranslationKeys_h -#define IntercomSDK_ICMTranslationKeys_h - -#pragma mark - Strings -static NSString *const kICMTKNavBarTitleConversations = @"conversations_with_app_two_lines"; -static NSString *const kICMTKNavBarTitleConversationsNoAppName = @"conversations"; -static NSString *const kICMTKActionSheetMessageFailDelivery = @"failed_delivery"; -static NSString *const kICMTKActionSheetCancel = @"cancel"; -static NSString *const kICMTKActionSheetDelete = @"delete"; -static NSString *const kICMTKMessageStateSending = @"message_state_sending"; -static NSString *const kICMTKFacebookLikeUs = @"facebook_like"; -static NSString *const kICMTKTwitterFollowUs = @"twitter_follow"; -static NSString *const kICMTKSendUsAMessage = @"send_us_a_message"; -static NSString *const kICMTKNavBarTitleNewConversation = @"new_conversation"; -static NSString *const kICMTKConversationHasEnded = @"conversation_has_ended"; -static NSString *const kICMTKErrorLoadingConversation = @"error_loading_conversation"; -static NSString *const kICMTKErrorNoConversationsTitle = @"no_conversations"; -static NSString *const kICMTKErrorNoConversationsMessage = @"empty_conversations"; -static NSString *const kICMTKErrorNoConversationsMessageNoAppName = @"error_no_conversations_message_no_app_name"; -static NSString *const kICMTKErrorTitle = @"inbox_error_state_title"; -static NSString *const kICMTKErrorLoadingConversationsFallback = @"failed_to_load_conversation_with_admin"; -static NSString *const kICMTKErrorLoadingConversationsFallbackNoAppName = @"failed_to_load_conversation"; -static NSString *const kICMTKErrorStartingConversationFallback = @"start_conversation_error"; -static NSString *const kICMTKErrorTapToRetry = @"retry"; -static NSString *const kICMTKMessageViewPlaceholderWriteAReply = @"reply_to_conversation"; -static NSString *const kICMTKMessageViewPlaceholderStartAConversation = @"start_conversation"; -static NSString *const kICMTKMessageViewSend = @"send"; -static NSString *const kICMTKWeRunOnIntercom = @"we_run_on_intercom"; -static NSString *const kICMTKTimeDifferenceJustNow = @"time_just_now"; -static NSString *const kICMTKAlertNewSDKUserTitle = @"congratulations"; -static NSString *const kICMTKAlertNewSDKUserMessage = @"alert_new_sdk_user_message"; -static NSString *const kICMTKThankYou = @"thank_you"; -static NSString *const kICMTKLastActiveLast15Minutes = @"active_15m_ago"; -static NSString *const kICMTKLastActiveLastXMinutes = @"active_minute_ago"; -static NSString *const kICMTKLastActiveOver1WeekAgo = @"active_week_ago"; -static NSString *const kICMTKAdminActive = @"active_state"; -static NSString *const kICMTKAdminAway = @"away_state"; -static NSString *const kICMTKBack = @"navigation_back"; -static NSString *const kICMTKClose = @"close"; -static NSString *const kICMTKTryAgain = @"try_again"; -static NSString *const kICMTKTimeLocationFormat = @"profile_location"; -static NSString *const kICMTKDelivered = @"delivered"; -static NSString *const kICMTKMessageSeen = @"message_seen"; -static NSString *const kICMTKMessageNotSeen = @"message_unseen"; -static NSString *const kICMTKInboxYou = @"you"; -static NSString *const kICMTKCameraRoll = @"camera_roll"; -static NSString *const kICMTKPlustMore = @"plus_x_more"; -static NSString *const kICMTKNameAnd1Other = @"name_and_1_other"; -static NSString *const kICMTKNameAndXOthers = @"name_and_x_others"; -static NSString *const kICMTKAlsoInThisConversation = @"also_in_this_conversation"; -static NSString *const kICMTKRateYourConversation = @"rate_your_conversation"; -static NSString *const kICMTKTellUsMore = @"tell_us_more"; -static NSString *const kICMTKYouRatedTheConversation = @"you_rated_the_conversation"; -static NSString *const kICMTKThanksForLettingUsKnow = @"thanks_for_letting_us_know"; -static NSString *const kICMTKOkay = @"ok_description"; -static NSString *const kICMTKCouldntLoadContent = @"couldnt_load_content"; -static NSString *const kICMTKGiveItAnotherTry = @"give_it_another_try"; -static NSString *const kICMTKReload = @"reload"; -static NSString *const lICMCouldntCompleteAction = @"couldnt_complete_action"; -static NSString *const kICMYourConversations = @"your_conversations"; -static NSString *const kICMStartAConversation = @"start_a_conversation"; -static NSString *const kICMStartAnotherConversation = @"start_another_conversation"; -static NSString *const kICMSeePastConversations = @"see_past_conversations"; -static NSString *const kICMSeeAll = @"see_all"; -static NSString *const kICMTKAskAQuestion = @"ask_a_question"; -static NSString *const kICMTKHowCanWeHelp = @"how_can_we_help"; -static NSString *const kICMTKTellUsWhatYouNeed = @"tell_us_what_you_need"; -static NSString *const kICMSeeAllYourConversations = @"see_all_conversations"; - - -#pragma mark - Formats -static NSString *const kICMTKParticipantFromAppFormat = @"teammate_from_company"; -static NSString *const kICMTKReplyFromParticipantFormat = @"reply_from_admin"; -static NSString *const kICMTKTimeDifferenceFormatWeeksAgo = @"time_week_ago"; -static NSString *const kICMTKTimeDifferenceFormatDaysAgo = @"time_day_ago"; -static NSString *const kICMTKTimeDifferenceFormatHoursAgo = @"time_hour_ago"; -static NSString *const kICMTKTimeDifferenceFormatMinutesAgo = @"time_minute_ago"; -static NSString *const kICMTKLastActiveFormatHoursAgo = @"active_hour_ago"; -static NSString *const kICMTKLastActiveFormatDaysAgo = @"active_day_ago"; - -static NSString *const kICMTKArticleQuestion = @"article_question"; -static NSString *const kICMTKArticleReaction = @"article_response"; -static NSString *const kICMTKAskedAbout = @"asked_about"; -static NSString *const kICMTKErrorLoadingArticle = @"article_load_error"; - -static NSString *const kICMTKHelpCenter = @"help_center"; -static NSString *const kICMTTeamCanHelp = @"the_team_can_help_if_needed"; -static NSString *const kICMTKBotExpectation = @"bot_expectation_text"; -static NSString *const kICMTKLoading = @"loading"; -static NSString *const kICMTKSearchHelpArticles = @"search_help_articles"; -static NSString *const kICMTKArticleSearchHint = @"article_search_hint_text"; -static NSString *const kICMTKSearchBrowseEmptyState = @"search_browse_empty_state_text"; -static NSString *const kICMTKGetHelp = @"get_help"; -static NSString *const kICMTKGrinningFaceBigEyesEmoji = @"grinning_face_with_big_eyes_emoji"; -static NSString *const kICMTKNeutralFaceEmoji = @"neutral_face_emoji"; -static NSString *const kICMTKDisappointedFaceEmoji = @"disappointed_face_emoji"; -static NSString *const kICMTKBrowseAllHelpTopics = @"browse_all_help_topics"; -static NSString *const kICMTKSearchForHelp = @"search_for_help"; - -#pragma mark - Photos -static NSString *const kICMTKNoPhotos = @"no_photos"; -static NSString *const kICMTKNoPhotosOnDevice = @"no_photos_on_device"; -static NSString *const kICMTKAccessPhotos = @"access_photos"; -static NSString *const kICMTKPermissionSettings = @"access_device_settings"; -static NSString *const kICMTKEnablePermissions = @"go_to_settings"; - -#pragma mark - GIFs -static NSString *const kICMTKSearchGIFs = @"search_gif"; -static NSString *const kICMTKNoGIFsFoundTitle = @"no_gifs_found"; -static NSString *const kICMTKNoGIFsFoundMessage = @"no_gifs_matching_query"; -static NSString *const kICMTKImageAttribution = @"gif_attribution"; -static NSString *const kICMTKGIFErrorTitle = @"gifs_load_error"; -static NSString *const kICMTKGIFErrorDescription = @"try_again_minute"; - -#pragma mark - Attribute Collector Picker submit -static NSString *const kICMAttributeColelctorSubmitButton = @"submit"; - -#pragma mark - Input placeholders -static NSString *const kICMTKListPlaceholder = @"choose_one"; -static NSString *const kICMTKDatePlaceholder = @"choose_the_date"; - -#pragma mark - Input Validation -static NSString *const kICMTKInvalidEmail = @"that_email_address_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidNumber = @"that_number_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidString = @"string_is_incorrect"; -static NSString *const kICMTKSomethingWentWrongTryAgain = @"something_went_wrong_try_again"; - -static NSString *const kICMTKInvalidCountryCode = @"that_country_code_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidNumberTooManyDigits = @"that_number_has_too_many_digits"; -static NSString *const kICMTKInvalidNumberMissingDigits = @"that_number_is_missing_a_few_digits"; -static NSString *const kICMTKInvalidMissingPrefix = @"that_number_needs_a_prefix"; - -#pragma mark - Attribute Collector -static NSString *const kICMTKYes = @"attribute_collector_positive"; -static NSString *const kICMTKNo = @"attribute_collector_negative"; - -#pragma mark - In Apps Quick Replies -static NSString *const kICMTKReply = @"reply"; - -#pragma mark - Carousels/Articles On Buttons -static NSString *const kICMTKPageNotFound = @"page_not_found"; - - -#pragma mark - Homescreen -static NSString *const kICMTKContinueConversation = @"continue_the_conversation"; -static NSString *const kICMTKNothingToSeeHereYet = @"nothing_to_see_here_yet"; -static NSString *const kICMTKNoMessagesFromTeam = @"no_messages_from_the_team"; -static NSString *const kSuggestedArticles = @"suggested_articles"; - -#pragma mark - Surveys -static NSString *const kICMTKNext = @"surveys_next_button"; -static NSString *const kICMTKDone = @"surveys_done_button"; -static NSString *const kICMTKMultiSelectOtherOptionPleaseSpecify = @"surveys_multiselect_other_option"; -static NSString *const kICMTKMultiSelectPleaseSpecifyOther = @"surveys_multiselect_other_option_input_label"; -static NSString *const kICMTKStartTypingPlaceholder = @"surveys_multiselect_other_option_input_placeholder"; -static NSString *const kICMTKOther = @"surveys_multiselect_other_option_value"; -static NSString *const kICMTKSurveysTextInputQuestionPlaceholder = @"surveys_text_input_question_placeholder"; -static NSString *const kICMTKSurveysRequiredResponse = @"surveys_required_response"; -static NSString *const kICMTKSurveysResponseTooLong = @"surveys_response_too_long"; -static NSString *const kICMTKSurveysResponseTooShort = @"surveys_response_too_short"; -static NSString *const kICMTKSurveysMultiSelectTooManyResponses = @"surveys_multi_select_too_many_responses"; -static NSString *const kICMTKSurveysMultiSelectTooFewResponses = @"surveys_multi_select_too_few_responses"; -static NSString *const kICMTKSurveysDismissConfirmation = @"dismiss_survey_confirmation"; -static NSString *const kICMTKSurveysContinue = @"surveys_continue"; -static NSString *const kICMTKSurveysDismiss = @"surveys_dismiss"; - -// Accessibility -static NSString *const kICMTKSurveysFromTeammate = @"surveys_from_teammate"; -static NSString *const kICMTKSurveysFromCompany = @"surveys_from_company"; -static NSString *const kICMTKSurveysQuestions = @"surveys_questions"; -static NSString *const kICMTKSurveysRequiredQuestion = @"surveys_required_question"; -static NSString *const kICMTKSurveysQuestioniOfn = @"surveys_question_question_number_of_question_count"; -static NSString *const kICMTKStarRatingQuestionOneStar = @"surveys_one_star_rating"; -static NSString *const kICMTKStarRatingQuestionManyStars = @"surveys_multi_star_rating"; - -#endif diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTranslationManager.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTranslationManager.h deleted file mode 100644 index 4e48db14..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMTranslationManager.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// Created by Ignacio Delgado on 22/08/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@interface ICMTranslationManager : NSObject - -+ (NSLocale *)translationLocale; -+ (NSString *)translationForKey:(NSString *)key; -+ (NSString *)translationForKey:(NSString *)key params:(NSDictionary *)params; -+ (NSArray *)supportedLocales; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUnreadManager.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUnreadManager.h deleted file mode 100644 index d54cd01a..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUnreadManager.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ICMUnreadManager.h -// IntercomSDK -// -// Created by Gavin Rooney on 31/07/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -static NSString *const kICMConversationMarkedAsReadNotification = @"ICMConversationMarkedAsReadNotification"; - -@interface ICMUnreadManager : NSObject - -@property (nonatomic, strong) NSOrderedSet *unreadConversationIds; - -- (void)conversationIdRead:(NSString *)conversationId; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUserAttributesValidation.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUserAttributesValidation.h deleted file mode 100644 index 149331bb..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUserAttributesValidation.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// ICMUserAttributesValidation.h -// Pods -// -// Created by James Treanor on 17/02/2017. -// -// -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ICMCompany; - -@interface ICMUserAttributesValidation : NSObject - -+ (BOOL)validateNonEmptyString:(NSString *)value forKey:(NSString *)key; -+ (BOOL)validateDate:(NSDate *)value forKey:(NSString *)key; -+ (BOOL)validateNumber:(NSNumber *)value forKey:(NSString *)key; -+ (BOOL)validateCompanies:(NSArray *)companies forKey:(NSString *)key; -+ (BOOL)validateCustomAttributes:(NSDictionary *)customAttributes forKey:(NSString *)key; - -+ (NSDictionary *)replaceNullAttributesAttributesWithNSNull:(NSDictionary *)customAttributes; - -+ (NSString *)nullStringAttribute; -+ (NSNumber *)nullNumberAttribute; -+ (NSDate *)nullDateAttribute; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUtils.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUtils.h deleted file mode 100644 index c46e1767..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMUtils.h +++ /dev/null @@ -1,120 +0,0 @@ -// -// ICMUtils.h -// IntercomSDK -// -// Created by Gavin Rooney on 24/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@class ICMConversationPart; - -#ifdef DEBUG -# define InterLog(fmt, ...) NSLog((@"[Intercom] " fmt), ##__VA_ARGS__); -# define InterLogDebug(fmt, ...) ([ICMUtils debugLoggingEnabled] ? NSLog((@"[Intercom] " fmt), ##__VA_ARGS__) : YES); -# define InterLogPrivate(fmt, ...) NSLog((@"[Intercom] %s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); -#else -# define InterLog(fmt, ...) NSLog((@"[Intercom] " fmt), ##__VA_ARGS__); -# define InterLogDebug(fmt, ...) ([ICMUtils debugLoggingEnabled] ? NSLog((@"[Intercom] " fmt), ##__VA_ARGS__) : YES); -# define InterLogPrivate(...) -#endif - -#define run_or_dispatch_main(block) if ([NSThread isMainThread]) { block(); } else { dispatch_async(dispatch_get_main_queue(), block); } - -#define block_exec(block, ...) if (block) { block(__VA_ARGS__); }; - -#define WEAK_TYPE(x) __weak __typeof(x) -#define STRONG_TYPE(x) __strong __typeof(x) - -UIKIT_EXTERN NSString *const IntercomSDKErrorDomain; - -//------------------------------------------------------------------------------------------------------------------------------ -// result: X-INTERCOM-AGENT: intercom-ios-sdk/x.x.x -#define ICMSDKHeaderValue @"intercom-ios-sdk" -#define ICMSDKDefaultHeader @"X-INTERCOM-AGENT" -#define ICMSDKWrapperHeader @"X-INTERCOM-AGENT-WRAPPER" -#define ICMSDKCordovaHeaderValue @"intercom-sdk-cordova" -#define ICMSDKReactNativeHeaderValue @"intercom-sdk-react-native" - -static const NSInteger kICMConversationAvatarWidth = 28; - -static NSString *const kIntercomSDKVersionIdentifier = @"intercom-sdk-version"; -static NSString *const kIntercomSDKComposerPersistedString = @"intercom-sdk-composer-persisted-string"; -static NSString *const kIntercomSDKComposerPersistedNewKey = @"NewConversation"; // when we want to persist the string in the message composer but don't have a conversationId (i.e. user composes new message) - -static NSString *const kIntercomSDKInboxUpdated = @"intercom-sdk-inbox-updated"; -static NSString *const kICMIntercomDeepLinkNotification = @"kICMIntercomDeepLinkNotification"; -static NSString *const kICMIntercomDidTypeInComposer = @"kICMIntercomDidTypeInComposer"; -static NSString *const kICMIntercomDidChangeComposerInput = @"kICMIntercomDidChangeComposerInput"; -static NSString *const kICMIntercomHelpCenterArticleViewed = @"kICMIntercomHelpCenterArticleViewed"; - -typedef NS_ENUM(NSUInteger, ICMFontWeight){ - ICMFontWeightRegular = 0, - ICMFontWeightBold = 1, - ICMFontWeightMedium = 2, - ICMFontWeightLight = 3, - ICMFontWeightThin = 4, - ICMFontWeightSemibold = 5 -}; - -typedef NS_ENUM(NSInteger, ICMUserIdentityType) { - ICMUserIdentityEmail, - ICMUserIdentityUserId, - ICMUserIdentityIntercomId -}; - -@interface ICMUtils : NSObject - -+ (NSString *)intercomAgent; - -+ (NSString *)intercomVersion; - -+ (NSString *)appVersion; - -+ (NSString *)applicationName; - -+ (NSString *)bundleIdentifier; - -+ (NSString *)minimumOSVersion; - -+ (BOOL)debugLoggingEnabled; - -+ (void)setDebugLoggingEnabled:(BOOL)loggingEnabled; - -+ (void)checkIntegration; - -+ (BOOL)photoUsageDescriptionPresent; - -+ (BOOL)autoIntegratePushNotifications; -+ (BOOL)isRunningNotificationServiceExtension; - -+ (NSBundle *)intercomBundle; -+ (NSBundle *)translationsBundle; - -+ (NSBundle *)loadIntercomAssetsBundle; - -+ (NSString *)intercomDocumentsDirectory; - -+ (NSString *)intercomCachesDirectory; - -+ (UIFont *)fontOfSize:(CGFloat)fontSize weight:(ICMFontWeight)weight; - -+ (NSArray *)jsonArrayFromLocalFile:(NSString *)path error:(NSError * __autoreleasing *)error; - -+ (BOOL)sceneManifestPresent; - -+ (BOOL)shouldShowPhotoUsagePListError; - -+ (NSString *)extractArticleIdFromSheetParams:(NSDictionary *)params; - -+ (BOOL)contentSizeCategoryIsAccessibilityCategory; - -+ (void)enableRTLSupportForContainerClass:(Class )containerClass; - -+ (CGFloat)scaleToAccessibilitySizing:(CGFloat)pointSize; - -+ (NSString *)getFileExtensionFrom:(NSURL *)url httpResponse:(NSHTTPURLResponse *)httpResponse; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMValidator.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMValidator.h deleted file mode 100644 index 1c8f7597..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMValidator.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// ICMValidator.h -// IntercomSDK -// -// Created by Brian Boyle on 05/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import -@protocol ICMValidatorProtocol; - -NS_ASSUME_NONNULL_BEGIN - -@interface ICMValidator : NSObject - -+ (BOOL)validateText:(nullable NSString *)text validators:(NSArray> *)validators error:(NSError * __autoreleasing *)error; -+ (BOOL)validateArray:(nullable NSArray *)array validators:(NSArray> *)validators error:(NSError * __autoreleasing *)error; -+ (BOOL)validateNumber:(nullable NSNumber *)number validators:(NSArray> *)validators error:(NSError * __autoreleasing *)error; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMValidatorProtocol.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMValidatorProtocol.h deleted file mode 100644 index 520a572a..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMValidatorProtocol.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// ICMValidatorProtocol.h -// IntercomSDK -// -// Created by Brian Boyle on 04/03/2019. -// Copyright © 2019 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMValidatorProtocol - -- (BOOL)validateText:(nullable NSString *)text error:(NSError * __autoreleasing *)error; -- (BOOL)validateArray:(nullable NSArray *)array error:(NSError * __autoreleasing *)error; -- (BOOL)validateNumber:(nullable NSNumber *)number error:(NSError * __autoreleasing *)error; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMWindow.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMWindow.h deleted file mode 100644 index 74a83903..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMWindow.h +++ /dev/null @@ -1,11 +0,0 @@ -#import -#import - -@interface ICMWindow : UIWindow - -- (void)tearDown; - -@property (nonatomic, assign) BOOL fullscreen; -@property (nonatomic, strong) ICMRootViewController *rootViewController; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMWindowProvider.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMWindowProvider.h deleted file mode 100644 index 2f1f1871..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ICMWindowProvider.h +++ /dev/null @@ -1,10 +0,0 @@ -#import -#import - -@protocol ICMWindowProvider - -- (UIWindow *)hostAppWindow; - -- (UIWindow *)intercomWindow; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBBlock.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBBlock.h deleted file mode 100644 index 148adb84..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBBlock.h +++ /dev/null @@ -1,117 +0,0 @@ -// -// ITBBaseBlock.h -// Pods -// -// Created by James Treanor on 19/11/2015. -// -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -typedef NS_ENUM(NSInteger, ITBBlockDisplayMode){ - ITBBlockDisplayModeInline = 0, - ITBBlockDisplayModeSingle = 1 -}; - -typedef NS_ENUM(NSInteger, ITBBlockType){ - ITBBlockTypeUnknown = -1, - ITBBlockTypeParagraph = 0, - ITBBlockTypeHeading = 1, - ITBBlockTypeSubheading = 2, - ITBBlockTypeUnorderedList = 3, - ITBBlockTypeOrderedList = 4, - ITBBlockTypeImage = 5, - ITBBlockTypeButton = 6, - ITBBlockTypeTwitter = 7, - ITBBlockTypeFacebook = 8, - ITBBlockTypeCode = 9, - ITBBlockTypeVideo = 10, - ITBBlockTypeAttachmentList = 11, - ITBBlockTypeLink = 12, - ITBBlockTypeNotificationCard = 13, - ITBBlockTypeAttachment = 14, - ITBBlockTypeConversationRating = 15, - ITBBlockTypeTyping = 16, - ITBBlockTypeLinkList = 17, - ITBBlockTypeMessengerCardFallback = 18, - ITBBlockTypeVideoFile = 19, - ITBBlockTypeImageText = 20, - ITBBlockTypeTagList = 21 -}; - -static NSString *const kITBBlockType = @"type"; -static NSString *const kITBHeadingBlockType = @"heading"; -static NSString *const kITBParagraphBlockType = @"paragraph"; -static NSString *const kITBSubheadingBlockType = @"subheading"; -static NSString *const kITBUnorderedListBlockType = @"unorderedList"; -static NSString *const kITBOrderedListBlockType = @"orderedList"; -static NSString *const kITBImageBlockType = @"image"; -static NSString *const kITBButtonBlockType = @"button"; -static NSString *const kITBTwitterBlockType = @"twitterFollowButton"; -static NSString *const kITBFacebookBlockType = @"facebookLikeButton"; -static NSString *const kITBCodeBlockType = @"code"; -static NSString *const kITBVideoBlockType = @"video"; -static NSString *const kITBAttachmentListBlockType = @"attachmentList"; -static NSString *const kITBTypingBlockType = @"internal_typing"; -static NSString *const kITBAttachmentBlockType = @"internal_attachment"; -static NSString *const kITBLinkBlockType = @"link"; -static NSString *const kITBNotificationCardBlockType = @"notificationChannelsCard"; -static NSString *const kITBLinkListType = @"linkList"; -static NSString *const kITBMessengerCardType = @"messengerCard"; -static NSString *const kITBVideoFileType = @"videoFile"; - -static NSString *const kITBVideoViewInvalidateVideoBoundsNotification = @"kITBVideoViewInvalidateVideoBoundsNotification"; - -@protocol ITBBlockViewProtocol; - -@interface ITBBlock : NSObject - -#pragma mark - Network - -@property (nonatomic, copy, nonnull) NSString *text; -@property (nonatomic, copy, nonnull) NSString *align; - -- (instancetype)init __attribute__((unavailable("init is not the designated initializer"))); -+ (instancetype)new __attribute__((unavailable("new is not the designated initializer"))); - -/** - This is the designated initializer for blocks. - - Note: nil will be returned if the dictionary does not have all valid keys or appearance is nil - **/ -- (instancetype)initWithDictionary:(NSDictionary *)aDictionary appearance:(id)appearance NS_DESIGNATED_INITIALIZER; - -/** - Preload any nessesary content for use. - */ -- (void)prepare:(void (^)(void))completion; - -- (void)updateAppearance:(id )appearance; - -#pragma mark - UI - -@property (nonatomic, assign) CGSize estimatedSize; -@property (nonatomic, assign) ITBBlockDisplayMode displayMode; //defaults to ITBBlockDisplayModeInline -@property (nonatomic) BOOL isRequired; - -- (ITBBlockType)type; - -- (Class)viewClass; - -// This is used in for view reuse. It can safely be nil -- (NSString *)blockUniqueIdentifier; - -// Returns the plain text contents of a block where available. -- (nullable NSString *)plainTextRepresentation; - -#pragma mark - Block Validation - -+ (BOOL)validateBlockDictionary:(NSDictionary *)dictionary; -+ (BOOL)isNonEmptyString:(NSString *)string; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBBlockAppearance.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBBlockAppearance.h deleted file mode 100644 index 0b627c1f..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBBlockAppearance.h +++ /dev/null @@ -1,86 +0,0 @@ -// -// ITBBlockAppearance.h -// Pods -// -// Created by James Treanor on 13/12/2015. -// -// - -#import -#import -#import - -@protocol ITBBlockAppearance - -#pragma mark - Colors - -@property (nonatomic, strong) UIColor *linkTextColor; -@property (nonatomic, strong) UIColor *textColor; -@property (nonatomic, strong) UIColor *headingTextColor; -@property (nonatomic, strong) UIColor *subHeadingTextColor; -@property (nonatomic, strong) UIColor *buttonBackgroundColor; -@property (nonatomic, strong) UIColor *buttonTextColor; -@property (nonatomic, strong) UIColor *codeBackgroundColor; -@property (nonatomic, strong) UIColor *codeTextColor; -@property (nonatomic, strong) UIColor *typingDotColor; -@property (nonatomic, strong) UIColor *separatorColor; -@property (nonatomic, strong) UIColor *appPrimaryColor; -@property (nonatomic, strong) UIColor *requiredIndicatorColor; - -#pragma mark - Fonts - -@property (nonatomic, strong) UIFont *paragraphFont; -@property (nonatomic, strong) UIFont *codeFont; -@property (nonatomic, strong) UIFont *headingFont; -@property (nonatomic, strong) UIFont *subheadingFont; -@property (nonatomic, strong) UIFont *buttonFont; - -#pragma mark - Sizing - -@property (nonatomic, assign) UIEdgeInsets textInsets; -@property (nonatomic, assign) UIEdgeInsets codeInsets; -@property (nonatomic, assign) UIEdgeInsets linkInsets; - -#pragma mark - Images -@property (nonatomic, assign) ITBLoadingViewColorType loadingViewColorType; -@property (nonatomic, assign) CGFloat inlineImagePadding; -@property (nonatomic, assign) CGFloat singleImagePadding; - -@property (nonatomic, assign) CGFloat inlineImageCornerRadius; -@property (nonatomic, assign) CGFloat singleImageCornerRadius; - -#pragma mark - Strings - -@property (nonatomic, strong) NSString *twitterFollowString; -@property (nonatomic, strong) NSString *facebookFollowString; - -#pragma mark - Text - -@property (nonatomic, assign) BOOL isTextSelectable; - -@optional -@property (nonatomic, assign) CGFloat avatarRadius; - - -#pragma mark - Link List -@property (nonatomic, strong) UIImage *linkFooterImage; -@property (nonatomic, assign) CGSize linkFooterImageSize; -@property (nonatomic, assign) UIEdgeInsets linkFooterInsets; -@property (nonatomic, assign) CGFloat maxLinkHeight; -@property (nonatomic, assign) CGFloat defaultLinkHeight; - -- (UIImage *)linkAuthorInitialsImageForName:(NSString *)name diameter:(CGFloat)diameter; -- (NSAttributedString *)linkUpdatedAtAttributedStringForDate:(NSDate *)date; -- (NSAttributedString *)linkWrittenByAttributedStringForName:(NSString *)name; - - -#pragma mark - Loading Indicator -@property (nonatomic, strong) UIColor *activityIndicatorColor; -@property (nonatomic, strong) UIImage *activityIndicatorImage; - - -#pragma mark - Messenger App Cards -@property (nonatomic, assign) UIEdgeInsets messengerCardInsets; -@property (nonatomic, assign) BOOL showMessengerAppBorder; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBImageLoader.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBImageLoader.h deleted file mode 100644 index abb83d52..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBImageLoader.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ITBImageLoader.h -// Pods -// -// Created by Brian Boyle on 30/03/2017. -// -// - -#import - -@interface ITBImageLoader : NSObject - -+ (instancetype)defaultLoader; -+ (instancetype)longTermLoader; -+ (void)clearCache; - -- (NSUUID *)loadImageWithURLString:(NSString *)urlString completion:(void (^)(id image))completion; -- (id)cachedImageForURL:(NSURL *)url; -- (id)cachedImageForKey:(NSString *)cacheKey; -- (void)cacheImage:(UIImage *)image ForKey:(NSString *)key; -- (UIImage *)imageForKey:(NSString *)key withGenerationBlock:(UIImage *(^)(void))block; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBLoadingView.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBLoadingView.h deleted file mode 100644 index ab533df5..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/ITBLoadingView.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// ITBLoadingView.h -// IntercomBlocks -// -// Created by Brian Boyle on 23/04/2020. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -typedef enum : NSUInteger { - ITBLoadingViewDarkColor, - ITBLoadingViewLightColor, -} ITBLoadingViewColorType; - -@interface ITBLoadingView : UIView -@property (nonatomic, assign, setter=isLoading:) BOOL loading; - -- (void)setShimmerSpeedForImageWidth:(CGFloat)imageWidth; -- (void)handleLoadingFailure; -- (void)setLoadingViewColorType:(ITBLoadingViewColorType)colorType; -- (void)cleanup; -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/Intercom-Swift.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/Intercom-Swift.h deleted file mode 100644 index e25f42c7..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/Intercom-Swift.h +++ /dev/null @@ -1,1390 +0,0 @@ -#if 0 -#elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) -#ifndef INTERCOM_SWIFT_H -#define INTERCOM_SWIFT_H -#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_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) -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(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#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_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# 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(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# 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_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#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 !defined(IBSegueAction) -# define IBSegueAction -#endif -#if !defined(SWIFT_EXTERN) -# if defined(__cplusplus) -# define SWIFT_EXTERN extern "C" -# else -# define SWIFT_EXTERN extern -# endif -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -@import CoreGraphics; -@import Foundation; -@import ObjectiveC; -@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" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Intercom",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -@class NSString; - -SWIFT_CLASS("_TtC8Intercom15ArticleMetaData") -@interface ArticleMetaData : NSObject -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull searchBrowseSource;) -+ (NSString * _Nonnull)searchBrowseSource SWIFT_WARN_UNUSED_RESULT; -@property (nonatomic, copy) NSString * _Nullable articleId; -@property (nonatomic, copy) NSString * _Nullable articleSource; -- (nonnull instancetype)initWithId:(NSString * _Nullable)id source:(NSString * _Nullable)source OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - -@class NSCoder; - -SWIFT_CLASS("_TtC8Intercom22AvailableTeammatesView") -@interface AvailableTeammatesView : UIStackView -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - -typedef SWIFT_ENUM(NSInteger, CardType, open) { - CardTypePost = 0, - CardTypeTicket = 1, -}; - - -SWIFT_PROTOCOL("_TtP8Intercom16CardViewDelegate_") -@protocol CardViewDelegate -- (void)cardButtonTappedFor:(enum CardType)cardType; -@end - -@protocol ConversationCardInfoProtocol; -@protocol ConversationCardDelegate; -@class UITraitCollection; - -SWIFT_CLASS("_TtC8Intercom16ConversationCard") -@interface ConversationCard : UIView -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger maxRecentConversationsCount;) -+ (NSInteger)maxRecentConversationsCount SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) CGFloat viewPadding;) -+ (CGFloat)viewPadding SWIFT_WARN_UNUSED_RESULT; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithCardInfo:(id _Nonnull)cardInfo delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; -- (CGFloat)heightForCardWithWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT; -- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom31SeeAllConversationsViewDelegate_") -@protocol SeeAllConversationsViewDelegate -- (void)viewPreviousConversations; -@end - - -@interface ConversationCard (SWIFT_EXTENSION(Intercom)) -- (void)viewPreviousConversations; -@end - -@class UIViewController; - -SWIFT_PROTOCOL("_TtP8Intercom24ConversationCardDelegate_") -@protocol ConversationCardDelegate -- (void)startNewConversation; -- (void)viewPreviousConversations; -- (void)reloadConversationHistoryCard; -- (void)navigateToViewController:(UIViewController * _Nonnull)viewController; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom28ConversationCardInfoProtocol_") -@protocol ConversationCardInfoProtocol -@property (nonatomic, readonly) BOOL prominantStyling; -@property (nonatomic, readonly) BOOL accessToTeammateEnabled; -@property (nonatomic, readonly) BOOL hasRecentConversations; -@property (nonatomic, readonly) BOOL hasOtherConversations; -@property (nonatomic, readonly) BOOL startConversationCardDisplayed; -@end - -@protocol ICMConfigProtocol; -@protocol ICMDataManagerProtocol; - -SWIFT_CLASS("_TtC8Intercom20ConversationCardInfo") -@interface ConversationCardInfo : NSObject -@property (nonatomic, readonly) BOOL prominantStyling; -@property (nonatomic) BOOL startConversationCardDisplayed; -@property (nonatomic, readonly) BOOL accessToTeammateEnabled; -@property (nonatomic, readonly) BOOL hasRecentConversations; -@property (nonatomic, readonly) BOOL hasOtherConversations; -- (nonnull instancetype)initWithProminantStyling:(BOOL)prominantStyling config:(id _Nonnull)config dataManager:(id _Nonnull)dataManager OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@class ICMRecentConversationsViewController; - -SWIFT_CLASS("_TtC8Intercom23ConversationHistoryCard") -@interface ConversationHistoryCard : ConversationCard -@property (nonatomic, strong) ICMRecentConversationsViewController * _Nonnull recentConversationsVC; -- (void)reloadConversationHistoryCard; -- (void)navigateToViewController:(UIViewController * _Nonnull)viewController; -- (nonnull instancetype)initWithCardInfo:(id _Nonnull)cardInfo delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; -@end - - -SWIFT_CLASS("_TtC8Intercom11EmojiButton") -@interface EmojiButton : UIButton -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - - -SWIFT_CLASS("_TtC8Intercom16EmojiImageButton") -@interface EmojiImageButton : UIButton -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - -@class NSError; - -SWIFT_CLASS("_TtC8Intercom14ErrorProcessor") -@interface ErrorProcessor : NSObject -+ (NSError * _Nonnull)generateHTTPErrorWithCode:(NSInteger)code message:(NSString * _Nonnull)message SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidUserIdOrEmailError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidUpdateObjectError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generatePushNotificationsNotEnabledError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generatePushNotificationNilDeviceTokenError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidIdentityVerificationError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidDeviceTokenError SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -SWIFT_CLASS("_TtC8Intercom26HelpCenterArticle_Internal") -@interface HelpCenterArticle_Internal : NSObject -@property (nonatomic, copy) NSString * _Nonnull id; -@property (nonatomic, copy) NSString * _Nonnull title; -- (nullable instancetype)initWithDictionary:(NSDictionary * _Nonnull)dictionary OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id title:(NSString * _Nonnull)title OBJC_DESIGNATED_INITIALIZER; -@property (nonatomic, readonly, copy) NSString * _Nonnull description; -- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - -@class NSBundle; - -SWIFT_CLASS("_TtC8Intercom33HelpCenterContainerViewController") -@interface HelpCenterContainerViewController : UIViewController -- (nonnull instancetype)initWithCollections:(NSArray * _Nonnull)collectionIds; -- (nonnull instancetype)initWithCollection:(NSString * _Nonnull)collectionId; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initFromSearchBrowse:(BOOL)fromSearchBrowse; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (void)viewDidLoad; -- (void)viewDidLayoutSubviews; -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; -@end - - -@interface HelpCenterContainerViewController (SWIFT_EXTENSION(Intercom)) -- (void)didSelectErrorAction; -@end - - -@class ICMHelpCenterCollection; -@class ICMHelpCenterCollectionContent; -@class ICMHelpCenterArticleSearchResult; - -SWIFT_CLASS("_TtC8Intercom21HelpCenterDataService") -@interface HelpCenterDataService : NSObject -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)fetchCollectionsWithCompletion:(void (^ _Nonnull)(NSArray * _Nullable, NSError * _Nullable))completion; -- (void)fetchCollectionWithCollectionId:(NSString * _Nonnull)collectionId completion:(void (^ _Nonnull)(ICMHelpCenterCollectionContent * _Nullable, NSError * _Nullable))completion; -- (void)searchResultsFor:(NSString * _Nonnull)searchTerm completion:(void (^ _Nonnull)(NSArray * _Nullable, NSError * _Nullable))completion; -@end - -@class NSNumber; - -SWIFT_CLASS("_TtC8Intercom23HelpCenterMetricService") -@interface HelpCenterMetricService : NSObject -@property (nonatomic) BOOL contextIsSearchBrowse; -+ (void)addSearchBrowseViewedEventWithHomeScreenIndex:(NSInteger)homeScreenIndex; -+ (void)addOpenedFromAPIEvent; -+ (void)addOpenedArticleFromAPIEvent; -+ (void)addOpenedFromConversationEvent; -+ (void)addOpenedFromInAppEvent; -+ (void)addOpenedFromLegacySearchAppEvent; -+ (void)addOpenedFromMessengerHomeAppEvent; -+ (void)addOpenedFromCarousel; -+ (void)addOpenedFromPushNotification; -+ (void)addOpenedFromSurvey; -- (void)addArticleViewedEvent; -- (void)addArticleFailedEventWithErrorCode:(NSNumber * _Nonnull)errorCode; -- (void)addHappyReactionEvent; -- (void)addNeutralReactionEvent; -- (void)addSadReactionEventWithConversationOptionShown:(BOOL)conversationOptionShown; -- (void)addNewConversationFromArticleEventWithAccessToTeammate:(BOOL)accessToTeammate; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - -@protocol HelpCenterStartConversationViewDelegate; - -SWIFT_CLASS("_TtC8Intercom31HelpCenterStartConversationView") -@interface HelpCenterStartConversationView : UIView -@property (nonatomic, weak) id _Nullable startConversationDelegate; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom39HelpCenterStartConversationViewDelegate_") -@protocol HelpCenterStartConversationViewDelegate -- (void)didSelectStartConversation; -@end - -@class UIColor; - -@interface ICMColor (SWIFT_EXTENSION(Intercom)) -+ (BOOL)isLightColor:(UIColor * _Nullable)color SWIFT_WARN_UNUSED_RESULT; -@end - -@class NSDate; -@class ICMParticipant; - -SWIFT_CLASS("_TtC8Intercom9InboxCell") -@interface InboxCell : UITableViewCell -- (nonnull instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString * _Nullable)reuseIdentifier SWIFT_UNAVAILABLE; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (void)configureWithName:(NSString * _Nonnull)name sentTime:(NSDate * _Nonnull)sentTime summary:(NSString * _Nonnull)summary adminsToShow:(NSArray * _Nonnull)adminsToShow unread:(BOOL)unread showDividerLine:(BOOL)showDividerLine; -- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; -@end - - -@protocol NativeArticleReactionsViewDelegate; - -SWIFT_CLASS("_TtC8Intercom26NativeArticleReactionsView") -@interface NativeArticleReactionsView : UIView -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger sadReactionIndex;) -+ (NSInteger)sadReactionIndex SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger neutralReactionIndex;) -+ (NSInteger)neutralReactionIndex SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger happyReactionIndex;) -+ (NSInteger)happyReactionIndex SWIFT_WARN_UNUSED_RESULT; -@property (nonatomic, weak) id _Nullable articleDelegate; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom34NativeArticleReactionsViewDelegate_") -@protocol NativeArticleReactionsViewDelegate -- (void)selectedReactionIndex:(NSInteger)reactionIdex; -@end - - -SWIFT_CLASS_NAMED("SearchBrowseView") -@interface ICMSearchBrowseView : UIView -- (nonnull instancetype)initWithSuggestedArticles:(NSArray * _Nonnull)suggestedArticles; -- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; -- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; -- (void)searchHelpArticlesAction; -- (CGFloat)heightForCardWithWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - - - -SWIFT_CLASS("_TtC8Intercom21StartConversationCard") -@interface StartConversationCard : ConversationCard -- (nonnull instancetype)initWithCardInfo:(id _Nonnull)cardInfo delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom10SurveyInfo_") -@protocol SurveyInfo -@property (nonatomic, readonly, copy) NSString * _Nonnull id; -@end - -enum SurveyFormat : NSInteger; -@class SurveyStep; -@class SurveyCustomizationOptions; - -SWIFT_CLASS("_TtC8Intercom6Survey") -@interface Survey : NSObject -@property (nonatomic, readonly, copy, getter=id) NSString * _Nonnull surveyId; -@property (nonatomic, readonly) NSInteger progressId; -@property (nonatomic, readonly, copy) NSString * _Nullable lastStepId; -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id format:(enum SurveyFormat)format steps:(NSArray * _Nonnull)steps progressId:(NSInteger)progressId customizationOptions:(SurveyCustomizationOptions * _Nullable)customizationOptions stepCount:(NSInteger)stepCount OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithDictionary:(NSDictionary * _Nonnull)dictionary OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@interface Survey (SWIFT_EXTENSION(Intercom)) -- (NSArray *> * _Nonnull)allResponses SWIFT_WARN_UNUSED_RESULT; -@end - - -SWIFT_CLASS("_TtC8Intercom26SurveyCustomizationOptions") -@interface SurveyCustomizationOptions : NSObject -@property (nonatomic, readonly, strong) UIColor * _Nonnull backgroundColor; -@property (nonatomic, readonly, strong) UIColor * _Nonnull buttonColor; -- (nonnull instancetype)initWithBackgroundColor:(UIColor * _Nonnull)backgroundColor buttonColor:(UIColor * _Nonnull)buttonColor OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -typedef SWIFT_ENUM(NSInteger, SurveyFormat, open) { - SurveyFormatSmall = 0, - SurveyFormatLarge = 1, -}; - - -SWIFT_CLASS("_TtC8Intercom8SurveyId") -@interface SurveyId : NSObject -@property (nonatomic, copy) NSString * _Nonnull id; -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - - -SWIFT_CLASS("_TtC8Intercom13SurveyService") -@interface SurveyService : NSObject -SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL currentlyDisplayingSurvey;) -+ (BOOL)currentlyDisplayingSurvey SWIFT_WARN_UNUSED_RESULT; -+ (void)setCurrentlyDisplayingSurvey:(BOOL)value; -+ (void)presentSurvey:(Survey * _Nonnull)survey; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS("_TtC8Intercom10SurveyStep") -@interface SurveyStep : NSObject -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@protocol ICMContentViewControllerDelegate; - -SWIFT_CLASS("_TtC8Intercom20SurveyViewController") -@interface SurveyViewController : UIViewController -@property (nonatomic, weak) id _Nullable contentDelegate; -- (nonnull instancetype)initWith:(id _Nonnull)survey OBJC_DESIGNATED_INITIALIZER; -- (void)viewDidLoad; -- (void)viewDidLayoutSubviews; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; -@end - - -@interface SurveyViewController (SWIFT_EXTENSION(Intercom)) -- (void)didSelectErrorAction; -@end - - - - -@interface SurveyViewController (SWIFT_EXTENSION(Intercom)) -- (void)reload; -- (void)closeButtonTapped; -- (void)viewDidDismissBySwipe; -@end - -@class TicketStatus; -@class ICMFormAttribute; - -SWIFT_CLASS("_TtC8Intercom6Ticket") -@interface Ticket : NSObject -- (nonnull instancetype)initWithTitle:(NSString * _Nonnull)title ticketDescription:(NSString * _Nullable)ticketDescription iconURL:(NSString * _Nullable)iconURL currentStatus:(TicketStatus * _Nonnull)currentStatus statusList:(NSArray * _Nonnull)statusList attributes:(NSArray * _Nonnull)attributes assignee:(ICMParticipant * _Nonnull)assignee OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithDictionary:(NSDictionary * _Nonnull)dictionary OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@protocol IntercomConversationPart; -@protocol IntercomConversationPartDelegate; - -SWIFT_CLASS("_TtC8Intercom14TicketCardView") -@interface TicketCardView : IntercomConversationCustomCell -@property (nonatomic, weak) id _Nullable delegate; -- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (void)configureWithPart:(id _Null_unspecified)part reloadDelegate:(id _Null_unspecified)delegate; -+ (CGSize)estimatedSizeForPart:(id _Null_unspecified)part withinWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT; -@end - - -SWIFT_CLASS("_TtC8Intercom27TicketDetailsViewController") -@interface TicketDetailsViewController : UIViewController -- (void)viewDidLoad; -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; -@end - - - -SWIFT_CLASS("_TtC8Intercom12TicketStatus") -@interface TicketStatus : NSObject -@property (nonatomic, readonly, copy) NSString * _Nonnull description; -- (nonnull instancetype)initWithTitle:(NSString * _Nonnull)title createdDate:(NSDate * _Nullable)createdDate statusDetail:(NSString * _Nullable)statusDetail isCurrentStatus:(BOOL)isCurrentStatus OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@class UIEvent; -@class UICollectionViewLayout; - -SWIFT_CLASS("_TtC8Intercom30TouchTransparentCollectionView") -@interface TouchTransparentCollectionView : UICollectionView -- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout * _Nonnull)layout OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; -@end - - - - -@interface UIColor (SWIFT_EXTENSION(Intercom)) -/// Returns true if the color is white, or almost white. -@property (nonatomic, readonly) BOOL isWhite; -/// Returns true if the color is black, or almost black. -@property (nonatomic, readonly) BOOL isBlack; -@end - - -@interface UIColor (SWIFT_EXTENSION(Intercom)) -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomGrey;) -+ (UIColor * _Nullable)intercomGrey SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomBlack;) -+ (UIColor * _Nullable)intercomBlack SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomBlack5;) -+ (UIColor * _Nullable)intercomBlack5 SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomBlack20;) -+ (UIColor * _Nullable)intercomBlack20 SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomLightGrey;) -+ (UIColor * _Nullable)intercomLightGrey SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable backButtonBackgroundLight;) -+ (UIColor * _Nullable)backButtonBackgroundLight SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable backButtonBackgroundDark;) -+ (UIColor * _Nullable)backButtonBackgroundDark SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable coolGray1;) -+ (UIColor * _Nullable)coolGray1 SWIFT_WARN_UNUSED_RESULT; -@end - - -@interface UIFont (SWIFT_EXTENSION(Intercom)) -+ (UIFont * _Nonnull)preferredFontForTextStyle:(UIFontTextStyle _Nonnull)style weight:(UIFontWeight)weight SWIFT_WARN_UNUSED_RESULT; -@end - - - - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) -#ifndef INTERCOM_SWIFT_H -#define INTERCOM_SWIFT_H -#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_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) -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(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#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_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# 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(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# 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_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#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 !defined(IBSegueAction) -# define IBSegueAction -#endif -#if !defined(SWIFT_EXTERN) -# if defined(__cplusplus) -# define SWIFT_EXTERN extern "C" -# else -# define SWIFT_EXTERN extern -# endif -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -@import CoreGraphics; -@import Foundation; -@import ObjectiveC; -@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" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Intercom",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -@class NSString; - -SWIFT_CLASS("_TtC8Intercom15ArticleMetaData") -@interface ArticleMetaData : NSObject -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull searchBrowseSource;) -+ (NSString * _Nonnull)searchBrowseSource SWIFT_WARN_UNUSED_RESULT; -@property (nonatomic, copy) NSString * _Nullable articleId; -@property (nonatomic, copy) NSString * _Nullable articleSource; -- (nonnull instancetype)initWithId:(NSString * _Nullable)id source:(NSString * _Nullable)source OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - -@class NSCoder; - -SWIFT_CLASS("_TtC8Intercom22AvailableTeammatesView") -@interface AvailableTeammatesView : UIStackView -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - -typedef SWIFT_ENUM(NSInteger, CardType, open) { - CardTypePost = 0, - CardTypeTicket = 1, -}; - - -SWIFT_PROTOCOL("_TtP8Intercom16CardViewDelegate_") -@protocol CardViewDelegate -- (void)cardButtonTappedFor:(enum CardType)cardType; -@end - -@protocol ConversationCardInfoProtocol; -@protocol ConversationCardDelegate; -@class UITraitCollection; - -SWIFT_CLASS("_TtC8Intercom16ConversationCard") -@interface ConversationCard : UIView -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger maxRecentConversationsCount;) -+ (NSInteger)maxRecentConversationsCount SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) CGFloat viewPadding;) -+ (CGFloat)viewPadding SWIFT_WARN_UNUSED_RESULT; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithCardInfo:(id _Nonnull)cardInfo delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; -- (CGFloat)heightForCardWithWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT; -- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom31SeeAllConversationsViewDelegate_") -@protocol SeeAllConversationsViewDelegate -- (void)viewPreviousConversations; -@end - - -@interface ConversationCard (SWIFT_EXTENSION(Intercom)) -- (void)viewPreviousConversations; -@end - -@class UIViewController; - -SWIFT_PROTOCOL("_TtP8Intercom24ConversationCardDelegate_") -@protocol ConversationCardDelegate -- (void)startNewConversation; -- (void)viewPreviousConversations; -- (void)reloadConversationHistoryCard; -- (void)navigateToViewController:(UIViewController * _Nonnull)viewController; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom28ConversationCardInfoProtocol_") -@protocol ConversationCardInfoProtocol -@property (nonatomic, readonly) BOOL prominantStyling; -@property (nonatomic, readonly) BOOL accessToTeammateEnabled; -@property (nonatomic, readonly) BOOL hasRecentConversations; -@property (nonatomic, readonly) BOOL hasOtherConversations; -@property (nonatomic, readonly) BOOL startConversationCardDisplayed; -@end - -@protocol ICMConfigProtocol; -@protocol ICMDataManagerProtocol; - -SWIFT_CLASS("_TtC8Intercom20ConversationCardInfo") -@interface ConversationCardInfo : NSObject -@property (nonatomic, readonly) BOOL prominantStyling; -@property (nonatomic) BOOL startConversationCardDisplayed; -@property (nonatomic, readonly) BOOL accessToTeammateEnabled; -@property (nonatomic, readonly) BOOL hasRecentConversations; -@property (nonatomic, readonly) BOOL hasOtherConversations; -- (nonnull instancetype)initWithProminantStyling:(BOOL)prominantStyling config:(id _Nonnull)config dataManager:(id _Nonnull)dataManager OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@class ICMRecentConversationsViewController; - -SWIFT_CLASS("_TtC8Intercom23ConversationHistoryCard") -@interface ConversationHistoryCard : ConversationCard -@property (nonatomic, strong) ICMRecentConversationsViewController * _Nonnull recentConversationsVC; -- (void)reloadConversationHistoryCard; -- (void)navigateToViewController:(UIViewController * _Nonnull)viewController; -- (nonnull instancetype)initWithCardInfo:(id _Nonnull)cardInfo delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; -@end - - -SWIFT_CLASS("_TtC8Intercom11EmojiButton") -@interface EmojiButton : UIButton -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - - -SWIFT_CLASS("_TtC8Intercom16EmojiImageButton") -@interface EmojiImageButton : UIButton -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - -@class NSError; - -SWIFT_CLASS("_TtC8Intercom14ErrorProcessor") -@interface ErrorProcessor : NSObject -+ (NSError * _Nonnull)generateHTTPErrorWithCode:(NSInteger)code message:(NSString * _Nonnull)message SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidUserIdOrEmailError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidUpdateObjectError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generatePushNotificationsNotEnabledError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generatePushNotificationNilDeviceTokenError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidIdentityVerificationError SWIFT_WARN_UNUSED_RESULT; -+ (NSError * _Nonnull)generateInvalidDeviceTokenError SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -SWIFT_CLASS("_TtC8Intercom26HelpCenterArticle_Internal") -@interface HelpCenterArticle_Internal : NSObject -@property (nonatomic, copy) NSString * _Nonnull id; -@property (nonatomic, copy) NSString * _Nonnull title; -- (nullable instancetype)initWithDictionary:(NSDictionary * _Nonnull)dictionary OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id title:(NSString * _Nonnull)title OBJC_DESIGNATED_INITIALIZER; -@property (nonatomic, readonly, copy) NSString * _Nonnull description; -- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - -@class NSBundle; - -SWIFT_CLASS("_TtC8Intercom33HelpCenterContainerViewController") -@interface HelpCenterContainerViewController : UIViewController -- (nonnull instancetype)initWithCollections:(NSArray * _Nonnull)collectionIds; -- (nonnull instancetype)initWithCollection:(NSString * _Nonnull)collectionId; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initFromSearchBrowse:(BOOL)fromSearchBrowse; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (void)viewDidLoad; -- (void)viewDidLayoutSubviews; -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; -@end - - -@interface HelpCenterContainerViewController (SWIFT_EXTENSION(Intercom)) -- (void)didSelectErrorAction; -@end - - -@class ICMHelpCenterCollection; -@class ICMHelpCenterCollectionContent; -@class ICMHelpCenterArticleSearchResult; - -SWIFT_CLASS("_TtC8Intercom21HelpCenterDataService") -@interface HelpCenterDataService : NSObject -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)fetchCollectionsWithCompletion:(void (^ _Nonnull)(NSArray * _Nullable, NSError * _Nullable))completion; -- (void)fetchCollectionWithCollectionId:(NSString * _Nonnull)collectionId completion:(void (^ _Nonnull)(ICMHelpCenterCollectionContent * _Nullable, NSError * _Nullable))completion; -- (void)searchResultsFor:(NSString * _Nonnull)searchTerm completion:(void (^ _Nonnull)(NSArray * _Nullable, NSError * _Nullable))completion; -@end - -@class NSNumber; - -SWIFT_CLASS("_TtC8Intercom23HelpCenterMetricService") -@interface HelpCenterMetricService : NSObject -@property (nonatomic) BOOL contextIsSearchBrowse; -+ (void)addSearchBrowseViewedEventWithHomeScreenIndex:(NSInteger)homeScreenIndex; -+ (void)addOpenedFromAPIEvent; -+ (void)addOpenedArticleFromAPIEvent; -+ (void)addOpenedFromConversationEvent; -+ (void)addOpenedFromInAppEvent; -+ (void)addOpenedFromLegacySearchAppEvent; -+ (void)addOpenedFromMessengerHomeAppEvent; -+ (void)addOpenedFromCarousel; -+ (void)addOpenedFromPushNotification; -+ (void)addOpenedFromSurvey; -- (void)addArticleViewedEvent; -- (void)addArticleFailedEventWithErrorCode:(NSNumber * _Nonnull)errorCode; -- (void)addHappyReactionEvent; -- (void)addNeutralReactionEvent; -- (void)addSadReactionEventWithConversationOptionShown:(BOOL)conversationOptionShown; -- (void)addNewConversationFromArticleEventWithAccessToTeammate:(BOOL)accessToTeammate; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - -@protocol HelpCenterStartConversationViewDelegate; - -SWIFT_CLASS("_TtC8Intercom31HelpCenterStartConversationView") -@interface HelpCenterStartConversationView : UIView -@property (nonatomic, weak) id _Nullable startConversationDelegate; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom39HelpCenterStartConversationViewDelegate_") -@protocol HelpCenterStartConversationViewDelegate -- (void)didSelectStartConversation; -@end - -@class UIColor; - -@interface ICMColor (SWIFT_EXTENSION(Intercom)) -+ (BOOL)isLightColor:(UIColor * _Nullable)color SWIFT_WARN_UNUSED_RESULT; -@end - -@class NSDate; -@class ICMParticipant; - -SWIFT_CLASS("_TtC8Intercom9InboxCell") -@interface InboxCell : UITableViewCell -- (nonnull instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString * _Nullable)reuseIdentifier SWIFT_UNAVAILABLE; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (void)configureWithName:(NSString * _Nonnull)name sentTime:(NSDate * _Nonnull)sentTime summary:(NSString * _Nonnull)summary adminsToShow:(NSArray * _Nonnull)adminsToShow unread:(BOOL)unread showDividerLine:(BOOL)showDividerLine; -- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; -@end - - -@protocol NativeArticleReactionsViewDelegate; - -SWIFT_CLASS("_TtC8Intercom26NativeArticleReactionsView") -@interface NativeArticleReactionsView : UIView -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger sadReactionIndex;) -+ (NSInteger)sadReactionIndex SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger neutralReactionIndex;) -+ (NSInteger)neutralReactionIndex SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger happyReactionIndex;) -+ (NSInteger)happyReactionIndex SWIFT_WARN_UNUSED_RESULT; -@property (nonatomic, weak) id _Nullable articleDelegate; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom34NativeArticleReactionsViewDelegate_") -@protocol NativeArticleReactionsViewDelegate -- (void)selectedReactionIndex:(NSInteger)reactionIdex; -@end - - -SWIFT_CLASS_NAMED("SearchBrowseView") -@interface ICMSearchBrowseView : UIView -- (nonnull instancetype)initWithSuggestedArticles:(NSArray * _Nonnull)suggestedArticles; -- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; -- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; -- (void)searchHelpArticlesAction; -- (CGFloat)heightForCardWithWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - - - -SWIFT_CLASS("_TtC8Intercom21StartConversationCard") -@interface StartConversationCard : ConversationCard -- (nonnull instancetype)initWithCardInfo:(id _Nonnull)cardInfo delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; -@end - - -SWIFT_PROTOCOL("_TtP8Intercom10SurveyInfo_") -@protocol SurveyInfo -@property (nonatomic, readonly, copy) NSString * _Nonnull id; -@end - -enum SurveyFormat : NSInteger; -@class SurveyStep; -@class SurveyCustomizationOptions; - -SWIFT_CLASS("_TtC8Intercom6Survey") -@interface Survey : NSObject -@property (nonatomic, readonly, copy, getter=id) NSString * _Nonnull surveyId; -@property (nonatomic, readonly) NSInteger progressId; -@property (nonatomic, readonly, copy) NSString * _Nullable lastStepId; -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id format:(enum SurveyFormat)format steps:(NSArray * _Nonnull)steps progressId:(NSInteger)progressId customizationOptions:(SurveyCustomizationOptions * _Nullable)customizationOptions stepCount:(NSInteger)stepCount OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithDictionary:(NSDictionary * _Nonnull)dictionary OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@interface Survey (SWIFT_EXTENSION(Intercom)) -- (NSArray *> * _Nonnull)allResponses SWIFT_WARN_UNUSED_RESULT; -@end - - -SWIFT_CLASS("_TtC8Intercom26SurveyCustomizationOptions") -@interface SurveyCustomizationOptions : NSObject -@property (nonatomic, readonly, strong) UIColor * _Nonnull backgroundColor; -@property (nonatomic, readonly, strong) UIColor * _Nonnull buttonColor; -- (nonnull instancetype)initWithBackgroundColor:(UIColor * _Nonnull)backgroundColor buttonColor:(UIColor * _Nonnull)buttonColor OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -typedef SWIFT_ENUM(NSInteger, SurveyFormat, open) { - SurveyFormatSmall = 0, - SurveyFormatLarge = 1, -}; - - -SWIFT_CLASS("_TtC8Intercom8SurveyId") -@interface SurveyId : NSObject -@property (nonatomic, copy) NSString * _Nonnull id; -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - - -SWIFT_CLASS("_TtC8Intercom13SurveyService") -@interface SurveyService : NSObject -SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL currentlyDisplayingSurvey;) -+ (BOOL)currentlyDisplayingSurvey SWIFT_WARN_UNUSED_RESULT; -+ (void)setCurrentlyDisplayingSurvey:(BOOL)value; -+ (void)presentSurvey:(Survey * _Nonnull)survey; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS("_TtC8Intercom10SurveyStep") -@interface SurveyStep : NSObject -- (nonnull instancetype)initWithId:(NSString * _Nonnull)id OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@protocol ICMContentViewControllerDelegate; - -SWIFT_CLASS("_TtC8Intercom20SurveyViewController") -@interface SurveyViewController : UIViewController -@property (nonatomic, weak) id _Nullable contentDelegate; -- (nonnull instancetype)initWith:(id _Nonnull)survey OBJC_DESIGNATED_INITIALIZER; -- (void)viewDidLoad; -- (void)viewDidLayoutSubviews; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; -@end - - -@interface SurveyViewController (SWIFT_EXTENSION(Intercom)) -- (void)didSelectErrorAction; -@end - - - - -@interface SurveyViewController (SWIFT_EXTENSION(Intercom)) -- (void)reload; -- (void)closeButtonTapped; -- (void)viewDidDismissBySwipe; -@end - -@class TicketStatus; -@class ICMFormAttribute; - -SWIFT_CLASS("_TtC8Intercom6Ticket") -@interface Ticket : NSObject -- (nonnull instancetype)initWithTitle:(NSString * _Nonnull)title ticketDescription:(NSString * _Nullable)ticketDescription iconURL:(NSString * _Nullable)iconURL currentStatus:(TicketStatus * _Nonnull)currentStatus statusList:(NSArray * _Nonnull)statusList attributes:(NSArray * _Nonnull)attributes assignee:(ICMParticipant * _Nonnull)assignee OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithDictionary:(NSDictionary * _Nonnull)dictionary OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@protocol IntercomConversationPart; -@protocol IntercomConversationPartDelegate; - -SWIFT_CLASS("_TtC8Intercom14TicketCardView") -@interface TicketCardView : IntercomConversationCustomCell -@property (nonatomic, weak) id _Nullable delegate; -- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; -- (void)configureWithPart:(id _Null_unspecified)part reloadDelegate:(id _Null_unspecified)delegate; -+ (CGSize)estimatedSizeForPart:(id _Null_unspecified)part withinWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT; -@end - - -SWIFT_CLASS("_TtC8Intercom27TicketDetailsViewController") -@interface TicketDetailsViewController : UIViewController -- (void)viewDidLoad; -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; -@end - - - -SWIFT_CLASS("_TtC8Intercom12TicketStatus") -@interface TicketStatus : NSObject -@property (nonatomic, readonly, copy) NSString * _Nonnull description; -- (nonnull instancetype)initWithTitle:(NSString * _Nonnull)title createdDate:(NSDate * _Nullable)createdDate statusDetail:(NSString * _Nullable)statusDetail isCurrentStatus:(BOOL)isCurrentStatus OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -@class UIEvent; -@class UICollectionViewLayout; - -SWIFT_CLASS("_TtC8Intercom30TouchTransparentCollectionView") -@interface TouchTransparentCollectionView : UICollectionView -- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout * _Nonnull)layout OBJC_DESIGNATED_INITIALIZER; -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; -@end - - - - -@interface UIColor (SWIFT_EXTENSION(Intercom)) -/// Returns true if the color is white, or almost white. -@property (nonatomic, readonly) BOOL isWhite; -/// Returns true if the color is black, or almost black. -@property (nonatomic, readonly) BOOL isBlack; -@end - - -@interface UIColor (SWIFT_EXTENSION(Intercom)) -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomGrey;) -+ (UIColor * _Nullable)intercomGrey SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomBlack;) -+ (UIColor * _Nullable)intercomBlack SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomBlack5;) -+ (UIColor * _Nullable)intercomBlack5 SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomBlack20;) -+ (UIColor * _Nullable)intercomBlack20 SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable intercomLightGrey;) -+ (UIColor * _Nullable)intercomLightGrey SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable backButtonBackgroundLight;) -+ (UIColor * _Nullable)backButtonBackgroundLight SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable backButtonBackgroundDark;) -+ (UIColor * _Nullable)backButtonBackgroundDark SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) UIColor * _Nullable coolGray1;) -+ (UIColor * _Nullable)coolGray1 SWIFT_WARN_UNUSED_RESULT; -@end - - -@interface UIFont (SWIFT_EXTENSION(Intercom)) -+ (UIFont * _Nonnull)preferredFontForTextStyle:(UIFontTextStyle _Nonnull)style weight:(UIFontWeight)weight SWIFT_WARN_UNUSED_RESULT; -@end - - - - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#endif diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/IntercomConversationCustomCell.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/IntercomConversationCustomCell.h deleted file mode 100644 index 68b1916e..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/IntercomConversationCustomCell.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// IntercomConversationCustomCell.h -// Pods -// -// Created by James Treanor on 26/03/2015. -// -// - -#import -#import - -@interface IntercomConversationCustomCell : UICollectionViewCell - -+ (CGSize)estimatedSizeForPart:(id)part withinWidth:(CGFloat)width; -- (void)configureWithPart:(id)part reloadDelegate:(id )delegate; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/IntercomConversationPart.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/IntercomConversationPart.h deleted file mode 100644 index ce6d8380..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/IntercomConversationPart.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// IntercomConversationPart.h -// Pods -// -// Created by James Treanor on 06/01/2016. -// -// - -#import -@class ITBBlock; - -typedef NS_ENUM(NSInteger, IntercomConversationPartState) { - IntercomConversationPartStateSent, - IntercomConversationPartStateSending, - IntercomConversationPartStateFailed -}; - -@protocol IntercomConversationPart - -@property (nullable, nonatomic, strong) NSArray *blocks; -@property (nonatomic, assign) IntercomConversationPartState state; - -@property (nonatomic, assign) CGFloat maxLayoutWidth; -@property (nonatomic, assign) CGSize estimatedSize; - -@property (nonatomic, assign) BOOL participantIsAdmin; - -@end - -@protocol IntercomConversationPartDelegate -- (void)reloadRequiredForPart:(nonnull id)part; -- (nonnull UIViewController *)viewControllerForModalPresentation; -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/UIImage+ICMImageUtils.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/UIImage+ICMImageUtils.h deleted file mode 100644 index 12cb994c..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Headers/UIImage+ICMImageUtils.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// UIImage+ICMGrayscale.h -// Pods -// -// Created by Brian Boyle on 19/01/2017. -// -// - -#import - -@interface UIImage (ICMImageUtils) - -- (UIImage *)icm_grayscale; -- (UIImage *)icm_resizeImageToSize:(CGSize)newSize; -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Modules/module.private.modulemap b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Modules/module.private.modulemap deleted file mode 100644 index ad1a0425..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/Modules/module.private.modulemap +++ /dev/null @@ -1,40 +0,0 @@ - framework module Intercom_Private { - header "ICMAssets.h" - header "ICMHTTPClientProtocol.h" - header "ICMDataManagerProtocol.h" - header "ICMHTTPClient.h" - header "ICMTranslationManager.h" - header "ICMHelpCenterTranslationManager.h" - header "ICMTranslationKeys.h" - header "ICMEngine.h" - header "ICMNavigationController.h" - header "ICMErrorViewController.h" - header "ICMLoadingViewController.h" - header "ICMNavigationBarCloseButton.h" - header "ICMErrorViewDelegate.h" - header "ICMColor.h" - header "ICMArticleWebViewController.h" - header "ICMContentViewControllerDelegate.h" - header "ICMContentViewController.h" - header "ICMUtils.h" - header "UIImage+ICMImageUtils.h" - header "ICMFeedbackGenerator.h" - header "ICMActiveAdminsAvatarView.h" - header "ICMStartConversationButton.h" - header "ICMConfig.h" - header "ICMSafeNetworkModel.h" - header "ICMPresentationManager.h" - header "ICMMetric.h" - header "ICMMetricEvent.h" - header "ICMDataManager.h" - header "ICMUnreadManager.h" - header "ICMTeamPresence.h" - header "ICMParticipant.h" - header "ICMAvatar.h" - header "ICMParticipatingAdmin.h" - header "ICMRecentConversationsViewController.h" - header "ICMMultipleAvatarView.h" - header "ICMTimestampCalculator.h" - export * -} - diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMActiveAdminsAvatarView.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMActiveAdminsAvatarView.h deleted file mode 100644 index b793f183..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMActiveAdminsAvatarView.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMActiveAdminsAvatarView.h -// IntercomSDK-Dynamic -// -// Created by Michael Isaakidis on 17/05/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -@interface ICMActiveAdminsAvatarView : UIView - -- (instancetype)initWithHeight:(CGFloat)avatarHeight - overlap:(CGFloat) avatarOverlap - maxCount:(NSInteger) maxAvatarCount; -- (NSUInteger)numberOfAvatarsDisplayed; -- (void)updateVisibleAvatars; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMArticleWebViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMArticleWebViewController.h deleted file mode 100644 index f403b383..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMArticleWebViewController.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMArticleWebViewController.m -// IntercomSDK-Dynamic -// -// Created by Katherine Brennan on 02/10/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import -#import "ICMContentViewController.h" -@class HelpCenterMetricService; - -@protocol ICMContentViewControllerDelegate; - -@interface ICMArticleWebViewController : UIViewController - -@property (nonatomic, weak) id contentDelegate; -- (instancetype)initWithId:(NSString *)articleId metricService:(id)metricService; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAssets.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAssets.h deleted file mode 100644 index 065aa6b6..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAssets.h +++ /dev/null @@ -1,99 +0,0 @@ -// -// Created by Ignacio Delgado on 17/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@interface ICMAssets : NSObject - -+ (UIImage *)intercomLogoImage; - -+ (UIImage *)openPostFromCardImage; - -+ (UIImage *)spinnerImage; - -+ (UIImage *)defaultAvatarImageWithInitials:(NSString *)userInitials diameter:(CGFloat)diameter; // if there are initials, show them; if not, fall back to image -+ (UIImage *)warningImage; - -+ (UIImage *)backButtonImage; -+ (UIImage *)submitButtonBackgroundImage; -+ (UIImage *)submitButtonBackgroundImageClear; -+ (UIImage *)submitImage; -+ (UIImage *)pickerSelector; -+ (UIImage *)dateSelector; -+ (UIImage *)greenCheckImage; -+ (UIImage *)buttonLoadingImage; -+ (UIImage *)textFieldBackgroundImage; -+ (UIImage *)textFieldErrorBackgroundImage; -+ (UIImage *)booleanButtonLeftImage; -+ (UIImage *)booleanButtonLeftImageSelected; -+ (UIImage *)booleanButtonRightImage; -+ (UIImage *)booleanButtonRightImageSelected; - -+ (UIImage *)closeImage; - -+ (UIImage *)startConversationImage; -+ (UIImage *)askAQuestion; - -+ (UIImage *)messageFailedImage; - -+ (UIImage *)uploadButtonImage; -+ (UIImage *)chatBubbleImage; - -+ (UIImage *)launcherImage; - -+ (UIImage *)twitterIcon; -+ (UIImage *)linkedinIcon; - -+ (UIImage *)snoozeIcon; - -+ (UIImage *)sendIcon; -+ (UIImage *)undoIcon; - -+ (UIImage *)homescreenFailedImage; -+ (UIImage *)searchIcon; - -+ (UIImage *)replyTimeIcon; - -// Help Center -+ (UIImage *)helpCenterLoadingImage; -+ (UIImage *)helpCenterChevron; - -// Carousel -+ (UIImage *)screenActionCheckmark; -+ (UIImage *)carouselLoadingImage; - -// Articles -+ (UIImage *)articleLoadingImage; - -// Teammate Profile -+ (UIImage *)teammateTimeIcon; -+ (UIImage *)teammateRoleIcon; -+ (UIImage *)teammateIntroIcon; - -//Text Input -+ (UIImage *)textInputIcon; -+ (UIImage *)textInputSelectedIcon; - -//Photo Input -+ (UIImage *)photoInputIcon; -+ (UIImage *)photoInputSelectedIcon; -+ (UIImage *)expandPhotosIcon; - -//GIF Input -+ (UIImage *)gifInputIcon; -+ (UIImage *)gifInputSelectedIcon; - -+ (UIImage *)footerLinkIcon; - -// Sounds -+ (NSURL *)soundForMessageSending; -+ (NSURL *)soundForMessageSendingFailure; -+ (NSURL *)soundForIncomingAdminMessage; -+ (NSURL *)soundForIncomingOperatorMessage; - - -+ (UIImage *)playIcon; -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAutoLayout.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAutoLayout.h deleted file mode 100644 index 9e5669cf..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAutoLayout.h +++ /dev/null @@ -1,193 +0,0 @@ -// -// ICMAutoLayout.h -// Pods -// -// Created by James Treanor on 16/04/2015. -// -// - -#import - -typedef NS_OPTIONS(NSUInteger, ICM_JRTViewPinEdges) -{ - /// Pins the top edge of an item. - ICM_JRTViewPinTopEdge = 1 << 0, - - /// Pins the right edge of an item. - ICM_JRTViewPinRightEdge = 1 << 1, - - /// Pins the bottom edge of an item. - ICM_JRTViewPinBottomEdge = 1 << 2, - - /// Pins the left edge of an item. - ICM_JRTViewPinLeftEdge = 1 << 3, - - /// Pins all edges of an item. - ICM_JRTViewPinAllEdges = ~0UL -}; - -@interface ICMAutoLayout : NSObject - -/** - * @name Centering Views - */ - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis; - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * @param constant Constraint constant value. - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+ (NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis withConstant:(CGFloat)constant; - -/** - * Centers the receiver in the superview on a specified axis. - * - * @param axis The axis of the superview you wish to center the receiver in. This parameter accepts `NSLayoutAttributeCenterX` or `NSLayoutAttributeCenterY`. - * @param constant Constraint constant value. - * @param priority Constraint priority value. - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+ (NSLayoutConstraint *)centerView:(UIView *)primaryView inContainerOnAxis:(NSLayoutAttribute)axis withConstant:(CGFloat)constant withPriority:(UILayoutPriority)priority; - -/** - * @name Constraining to a fixed size - */ - -/** - * Constrains the receiver to a fixed size. - * @warning Setting an axis to 0.0 will result in no constraint being applied to that axis. - * - * @param size The size to constrain the receiver to. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)constrainView:(UIView *)primaryView toSize:(CGSize)size; - -/** - * Constrains the receiver to a fixed width. - * - * @param width The width to constrain the receiver to - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toWidth:(CGFloat)width; - -/** - * Constrains the receiver to a fixed width. - * - * @param width The width to constrain the receiver to - * @param priority The UILayoutPriority of the constraint - * - * @return The `NSLayoutConstraint` generated by this method. -*/ - -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toWidth:(CGFloat)width withPriority:(UILayoutPriority)priority; - -/** - * Constrains the receiver to a fixed height. - * - * @param height The height to constrain the receiver to - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)constrainView:(UIView *)primaryView toHeight:(CGFloat)height; - -/** - * Constrains the receiver to a fixed height. - * - * @param height The height to constrain the receiver to - * @param priority The UILayoutPriority of the constraint - * - * @return The `NSLayoutConstraint` generated by this method. -*/ -+ (NSLayoutConstraint *)constrainView:(UIView *)primaryView toHeight:(CGFloat)height withPriority:(UILayoutPriority)priority; - -/** - * @name Pinning to other items - */ - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem; - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. Provide a constant for offset/inset. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * @param constant The constant that you want to apply to the constraint. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem withConstant:(CGFloat)constant; - -/** - * Pins an attribute to any valid attribute of the peer item. The item may be the layout guide of a view controller. Provide a constant for offset/inset along with a relation. - * - * @param attribute The attribute of the receiver that you want to pin. - * @param toAttribute The attribute of the `peerView` that you want to pin. - * @param peerItem The item that you want to pin the receiver to. (either `UIView` or `UILayoutSupport`). - * @param constant The constant that you want to apply to the constraint. - * @param relation The relation that you wish to apply to the constraint. - * - * @return The `NSLayoutConstraint` generated by this method. - */ -+(NSLayoutConstraint *)pinView:(UIView *)primaryView attribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofItem:(id)peerItem withConstant:(CGFloat)constant relation:(NSLayoutRelation)relation; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * @param inset The inset that is applied to the attributes. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. - */ -+(NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView inset:(CGFloat)inset; - -/** - * Pins the receivers edge(s) to another views edge(s). Both views must be in the same view hierarchy. - * - * @param edges The edges that should be pinned to the peerView's edges. - * @param peerView The view that the receiver is being pinned to. - * @param inset The inset that is applied to the attributes. - * @param priority The resulting constraints' priorities. - * - * @return An array of `NSLayoutConstraint` objects generated by this method. -*/ -+ (NSArray *)pinView:(UIView *)primaryView edges:(ICM_JRTViewPinEdges)edges toSameEdgesOfView:(UIView *)peerView inset:(CGFloat)inset withPriority:(UILayoutPriority)priority; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAvatar.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAvatar.h deleted file mode 100644 index 380e9f48..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMAvatar.h +++ /dev/null @@ -1,11 +0,0 @@ -#import -#import "ICMSafeNetworkModel.h" - -@interface ICMAvatar : ICMSafeNetworkModel - -@property (nonatomic, copy, readonly) NSString *imageUrl; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; -- (BOOL)isEqualToAvatar:(ICMAvatar *)other; -- (NSString *)chatHeadURL; -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMColor.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMColor.h deleted file mode 100644 index 8fc6b7a0..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMColor.h +++ /dev/null @@ -1,95 +0,0 @@ -#import -#import - -@interface ICMColor : NSObject - -+ (UIColor *)primaryColor; - -+ (UIColor *)darkPrimaryColor; -+ (UIColor *)primaryTextColor; -+ (UIColor *)primaryColorVariant; -+ (UIColor *)primaryOrDarkColor; -+ (UIColor *)whiteOrDarkForPrimaryColor; -+ (UIColor *)secondaryColor; -+ (UIColor *)darkSecondaryColor; -+ (UIColor *)lightSecondaryColor; -+ (UIColor *)secondaryTextColor; -+ (UIColor *)secondaryColorVariant; -+ (UIColor *)helpCenterThemeColor; -+ (UIColor *)helpCenterTextColor; -+ (UIColor *)helpCenterSearchPlaceholderColor; -+ (UIColor *)helpCenterSearchBarBackgroundColor; -+ (UIColor *)bubbleTextColorUser; -+ (UIColor *)bubbleFillColorUser; -+ (UIColor *)launcherImageColor; -+ (UIColor *)intercomLinkColor; -+ (UIColor *)composerSeparatorColor; - - -#pragma mark - Colour Palette - -+ (UIColor *)ghostWhite; -+ (UIColor *)dark; -+ (UIColor *)charcoalGrey; -+ (UIColor *)silver; -+ (UIColor *)intercomBlue; -+ (UIColor *)errorColor; -+ (UIColor *)closeButtonDarkColorWithAlpha:(CGFloat)alpha; -+ (UIColor *)closeButtonLightColor; -+ (UIColor *)closeButtonLightColorWithAlpha:(CGFloat)alpha; -+ (BOOL)isLightColor:(UIColor *)backgroundColor; - - -#pragma mark - Active/Away States - -+ (UIColor *)activeColour; -+ (UIColor *)awayColour; - - -#pragma mark - Button colors - -/** - * Calculates and returns a darker version of the passed in color. This should be used as the text color of an ICMButton. - * - * @param color The original color. - * @return The darker color to be used as the text color of an ICMButton. -*/ -+ (UIColor *)buttonTextColorVarient:(UIColor *)color; - -/** - * Calculates and returns a lighter version of the passed in color. This should be used as the background of an ICMButton. - * - * @param color The original color. - * @return The lighter color to be used as the background of an ICMButton. -*/ -+ (UIColor *)buttonBackgroundColorVarient:(UIColor *)color; - -/** - * Calculates and returns a darker version of the passed in colour. This should be used as the background color of an ICMButton while it is being tapped. - * - * @param color The original color. - * @return The darker color to be used as the background of am ICMButton while it is being tapped. -*/ -+ (UIColor *)buttonHighlightColor:(UIColor *)color; - - -#pragma mark - Colour Utils - -+ (UIColor *)colorWithR:(int)r g:(int)g b:(int)b; -+ (UIColor *)colorWithR:(int)r g:(int)g b:(int)b alpha:(CGFloat)alpha; -+ (UIColor *)colorWithHexString:(NSString *)hexString; - -/** - * Fades between firstColor and secondColor at the specified ratio: - * - * @ ratio 0.0 - fully firstColor - * @ ratio 0.5 - halfway between firstColor and secondColor - * @ ratio 1.0 - fully secondColor - * - */ - -+ (UIColor *)colorForFadeBetweenFirstColor:(UIColor *)firstColor - secondColor:(UIColor *)secondColor - atRatio:(CGFloat)ratio; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMConfig.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMConfig.h deleted file mode 100644 index 895013b2..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMConfig.h +++ /dev/null @@ -1,82 +0,0 @@ -#import -#import "ICMSafeNetworkModel.h" - -static NSString *const kICMIntercomConfigChangedNotification = @"kICMIntercomConfigChangedNotification"; -static NSString *const kICMMessengerBackgroundImageLoadedNotification = @"kICMMessengerBackgroundImageLoadedNotification"; -static NSString *const kICMMessengerLogoImageLoadedNotification = @"kICMMessengerLogoImageLoadedNotification"; -static NSString *const kICMLauncherCustomLogoImageLoadedNotification = @"kICMLauncherCustomLogoImageLoadedNotification"; - -@protocol ICMConfigProtocol -@property (readonly) BOOL inboundMessages; -@property (readonly) BOOL accessToTeammateEnabled; -@property (readonly) BOOL helpCenterRequireSearch; -@end - -@interface ICMConfig : ICMSafeNetworkModel - -@property (nonatomic, copy) NSString *primaryColorString; -@property (nonatomic, copy) NSString *secondaryColorString; -@property (nonatomic, copy) NSString *appName; -@property (nonatomic, copy) NSString *teamIntro; -@property (nonatomic, copy) NSString *messengerBackgroundImageUrlString; -@property (nonatomic, copy) NSString *messengerLogoUrlString; -@property (nonatomic, copy) NSString *teamGreeting; -@property (nonatomic, copy) NSString *launcherAlignment; -@property (nonatomic, copy) NSString *temporaryExpectationsMessage; -@property (nonatomic, assign) NSInteger launcherBottomPadding; -@property (nonatomic, copy) NSString *launcherCustomLogoURLString; -@property (nonatomic, assign) NSInteger uploadSizeLimit; - -@property (nonatomic, assign) BOOL inboundMessages; -@property (nonatomic, assign) BOOL attachmentsEnabled; -@property (nonatomic, assign) BOOL gifsEnabled; -@property (nonatomic, assign) BOOL showIntercomLink; -@property (nonatomic, assign) BOOL audioEnabled; -@property (nonatomic, assign) BOOL metricsEnabled; -@property (nonatomic, assign) BOOL backgroundRequestsEnabled; -@property (nonatomic, assign) BOOL shouldDisplayDarkPrimaryColor; -@property (nonatomic, assign) BOOL shouldDisplayDarkSecondaryColor; -@property (nonatomic, assign) BOOL shouldDisplayDarkHelpCenterColor; -@property (nonatomic, assign) BOOL identityVerificationEnabled; -@property (nonatomic, assign) BOOL accessToTeammateEnabled; -@property (nonatomic, assign) BOOL helpCenterRequireSearch; -@property (nonatomic, assign) BOOL preventMultipleInboundConversations; - -@property (nonatomic, assign) NSTimeInterval userUpdateDupCacheMaxAge; -@property (nonatomic, assign) NSTimeInterval newSessionThreshold; -@property (nonatomic, assign) NSTimeInterval batchUserUpdatePeriod; -@property (nonatomic, assign) NSTimeInterval softResetTimeout; -@property (nonatomic, assign) NSTimeInterval pingDelay; - -@property (nonatomic, assign) NSTimeInterval rateLimitPeriod; -@property (nonatomic, assign) NSUInteger rateLimit; - -@property (nonatomic, copy) NSString *helpCenterUrlString; -@property (nonatomic, copy) NSArray *helpCenterUrlStrings; -@property (nonatomic, copy) NSString *helpCenterBaseColorString; - -@property (nonatomic, strong) NSLocale *intercomLocale; -@property (nonatomic, strong) NSLocale *helpCenterLocale; -@property (nonatomic, strong) NSSet *features; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; - -+ (void)updateSharedInstanceFromDictionary:(NSDictionary *)aDictionary; - -+ (instancetype)sharedConfig; -+ (void)deleteSharedConfig; - -- (BOOL)isEqualToConfig:(ICMConfig *)other; -- (void)saveIfNeeded; -- (void)save; -- (UIImage *)messengerBackgroundImage; -- (UIImage *)messengerLogoImage; -- (UIImage *)customLauncherImage; -- (UIColor *)primaryColor; -- (UIColor *)secondaryColor; -- (UIColor *)helpCenterBaseColor; -- (BOOL)hasFeature:(NSString *)feature; -- (BOOL)receivedFromServer; -- (BOOL)useDefaultLauncherAlignment; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMContentViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMContentViewController.h deleted file mode 100644 index 1f2f47b1..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMContentViewController.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// ICMContentViewController.h -// IntercomSDK -// -// Created by Michael McNamara on 05/10/2020. -// Copyright © 2020 Intercom. All rights reserved. -// - -#import -#import "ICMContentViewControllerDelegate.h" - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMContentViewController - -@property (nonatomic, weak) id contentDelegate; - -@required -- (void)reload; - -@optional -- (void)closeButtonTapped; -- (void)viewDidDismissBySwipe; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMContentViewControllerDelegate.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMContentViewControllerDelegate.h deleted file mode 100644 index 3f896f0b..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMContentViewControllerDelegate.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// ICMContentViewControllerDelegate.h -// IntercomSDK -// -// Created by Michael McNamara on 30/03/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMContentViewControllerDelegate - -@required -- (void)contentDidLoadWithDismissEnabled:(BOOL)dismissEnabled; -- (void)showLoadingViewWithImage:(UIImage *)image; -- (void)contentLoadingDidFail:(NSString *)errorMessage - showActionButton:(BOOL)showActionButton - actionButtonTitle:(NSString * _Nullable)actionButtonTitle; -- (void)configureCloseButtonForBackgroundColor:(UIColor *)backgroundColor; -- (void)closeContentModal; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMDataManager.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMDataManager.h deleted file mode 100644 index c0e56f58..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMDataManager.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// ICMDataManager.h -// IntercomSDK -// -// Created by Dale Cantwell on 28/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import -#import "ICMUnreadManager.h" -#import "ICMDataManagerProtocol.h" - -@class ICMConversation; - -@interface ICMDataManager : NSObject -@property (nonatomic, readonly) NSMutableArray *conversations; -@property (nonatomic, strong) NSString *conversationToMark; -@property (nonatomic, strong) ICMUnreadManager *unreadManager; -@property (nonatomic, strong) ICMConversation *lastViewedConversation; -@property (nonatomic, assign) BOOL morePagesAvailable; -@property (nonatomic, assign) BOOL hasReceivedConversationsResponse; - -+ (instancetype)sharedManager; -- (void)updateConversationsBefore:(NSDate *)before success:(void (^)(NSArray *conversations, BOOL newElementsAdded))success failure:(void (^)(NSError *error))failure; -- (void)updateConversationsWithSuccess:(void (^)(NSArray *conversations))success failure:(void (^)(NSError *error))failure; -- (void)updateWithConversation:(ICMConversation *)conversation; -- (void)getUnreadConversationsIfNeeded; -- (NSArray *)getRecentConversations; -- (NSArray *)getPreviousConversations; -- (void)clearConversations; -- (BOOL)hasRecentConversations; -- (BOOL)hasPreviousConversations; -- (NSInteger)recentConversationCount; -- (BOOL)hasConversations; -- (BOOL)hasOpenInboundConversation; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMDataManagerProtocol.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMDataManagerProtocol.h deleted file mode 100644 index 98b4d60b..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMDataManagerProtocol.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// ICMDataManagerProtocol.h -// IntercomSDK -// -// Created by Michael McNamara on 14/09/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#ifndef ICMDataManagerProtocol_h -#define ICMDataManagerProtocol_h - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMDataManagerProtocol - -- (BOOL)hasRecentConversations; -- (BOOL)hasPreviousConversations; -- (int)recentConversationCount; - -@end - -NS_ASSUME_NONNULL_END - -#endif /* ICMDataManagerProtocol_h */ diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMEngine.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMEngine.h deleted file mode 100644 index ff013fe4..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMEngine.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMEngine.h -// Intercom -// -// Created by Brian Boyle on 16/08/2016. -// -// - -@protocol ICMFileUploadConfig; - -typedef void (^ICMHTTPEmptySuccess)(void); -typedef void (^ICMHTTPClientError) (NSError *error); -typedef void (^ICMHTTPClientProgress) (double progress); - -@interface ICMEngine : NSObject - -- (void)requestWithoutRedirects:(NSURLRequest *)request success:(ICMHTTPEmptySuccess)success failure:(ICMHTTPClientError)failure; -- (NSURLSessionUploadTask *)uploadFileWithFileName:(NSString *)filename data:(NSData *)data uploadConfig:(id)uploadConfig success:(ICMHTTPEmptySuccess)success progress:(ICMHTTPClientProgress)progress failure:(ICMHTTPClientError)failure; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMErrorViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMErrorViewController.h deleted file mode 100644 index fe91efc6..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMErrorViewController.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// ICMErrorViewController.h -// IntercomSDK -// -// Created by Roland Gropmair on 12/11/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMErrorViewDelegate; - -@interface ICMErrorViewController : UIViewController - -@property (nonatomic, weak) id errorDelegate; - -- (instancetype)initWithTitle:(NSString *)title showActionButton:(BOOL)showRetryButton actionButtonTitle:(NSString * _Nullable)retryButtonTitle; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMErrorViewDelegate.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMErrorViewDelegate.h deleted file mode 100644 index ec703d62..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMErrorViewDelegate.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMErrorViewDelegate.h -// IntercomSDK-Dynamic -// -// Created by Brian Boyle on 29/03/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMErrorViewDelegate - -@optional -- (void) didSelectErrorAction; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMFeedbackGenerator.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMFeedbackGenerator.h deleted file mode 100644 index 3548df4a..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMFeedbackGenerator.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// ICMFeedbackGenerator.h -// IntercomSDK -// -// Created by Michael Isaakidis on 31/08/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -typedef NS_ENUM(NSUInteger, ICMFeedbackGeneratorType) { - ICMFeedbackGeneratorTypeSelection, - ICMFeedbackGeneratorTypeError, - ICMFeedbackGeneratorTypeSuccess, - ICMFeedbackGeneratorTypeWarning, -}; - -@interface ICMFeedbackGenerator : NSObject - -+ (void)feedbackWithType:(ICMFeedbackGeneratorType)type; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHTTPClient.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHTTPClient.h deleted file mode 100644 index 9f452cab..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHTTPClient.h +++ /dev/null @@ -1,183 +0,0 @@ -// -// Created by Ignacio Delgado on 15/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import "ICMHTTPClientProtocol.h" - -@class ArticleMetaData; - -@interface ICMHTTPClient : NSObject - -#pragma mark - User Updates - -+ (void)updateUserWithUserAttributes:(NSDictionary *)attributes - newSession:(BOOL)newSession - sentFromBackground:(BOOL)sentFromBackground - carouselVisible:(BOOL)carouselCurrentlyPresented - success:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Push Notification Tokens - -+ (void)submitDeviceToken; -+ (void)deleteDeviceToken:(NSString *)deviceTokenString - forUserIdentity:(ICMUserIdentity *)userIdentity - completion:(ICMHTTPEmptyBlock)completion; - - -#pragma mark - Events - -+ (void)logEventWithName:(NSString *)name - metadata:(NSDictionary *)metadata - sentFromBackground:(BOOL)sentFromBackground - carouselVisible:(BOOL)carouselCurrentlyPresented - success:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Conversations - -+ (void)markConversationAsRead:(NSString *)conversationId success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; -+ (void)markConversationAsDismissed:(NSString *)conversationId success:(ICMHTTPEmptySuccess)success error:(ICMHTTPClientError)failure; -+ (void)recordInteractions:(NSString *)conversationId - interactions:(NSArray *)interactions; -+ (void)unreadConversations:(NSInteger)pageSize success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; -+ (void)conversationsBefore:(NSDate *)beforeTimestamp pageSize:(NSInteger)pageSize success:(ICMHTTPConversationsSuccess)success error:(ICMHTTPClientError)failure; - -/// Create a new conversation. -/// @param blocks The blocks. -/// @param articleMetaData If a conversation is started from an article, the articleId should be passed through. This allows teammates know what article a conversation was started from. The articleSource will also be included when Help Center when opened from the Search/Browse card -/// @param success Success completion block. -/// @param failure Failure completion block. -+ (void)createConversationWithBlocks:(NSArray *)blocks - articleMetaData:(ArticleMetaData *)articleMetaData - success:(ICMHTTPConversationSuccess)success - error:(ICMHTTPClientError)failure; -+ (void)replyToConversation:(NSString *)conversationId - withBlocks:(NSArray *)blocks - success:(ICMHTTPReplyConversationSuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)reactToConversation:(NSString *)conversationId withReactionIndex:(NSUInteger)index; -+ (void)conversationDetail:(NSString *)conversationId success:(ICMHTTPConversationSuccess)success error:(ICMHTTPClientError)failure; - - -#pragma mark - Conversation Ratings - -+ (void)rateConversation:(NSString *)conversationId withRatingIndex:(NSUInteger)ratingIndex; -+ (void)addConversationRatingRemarkForConversation:(NSString *)conversationId remark:(NSString *)remark; - - -#pragma mark - Articles - -+ (void)article:(NSString *)articleId success:(ICMHTTPArticleSuccess)success error:(ICMHTTPClientError)failure; -+ (void)reactToArticle:(NSString *)articleId articleContentId:(NSString *)articleContentId withReactionIndex:(NSUInteger)index allowAutoResponses:(BOOL)allowAutoResponses articleSource:(NSString *)articleSource; - - -#pragma mark - GIFs - -+ (void)loadGIFs:(NSString *)searchQuery - success:(ICMHTTPGIFSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Metrics - -+ (void)submitMetrics:(NSArray *> *)metrics - opsMetrics:(NSArray *> *)opsMetrics - success:(ICMHTTPEmptySuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Uploads - -+ (void)createUploadWithUpload:(ITBUpload *)upload success:(ICMHTTPUploadCreateSuccess)success progress:(ICMHTTPClientProgress)progress error:(ICMHTTPClientError)failure; - - -#pragma mark - URL Tracker - -+ (void)trackURL:(NSString *)url; - - -#pragma mark - Operator - -+ (void)operatorConditionSatisfied:(NSString *)transitionId - converstionId:(NSString *)conversationId - error:(ICMHTTPClientError)failure; - - -#pragma mark - Sheets - -+ (void)fetchMessengerSheetData:(NSDictionary *)sheetParams success:(ICMHTTPSheetSuccess)success failure:(ICMHTTPClientError)failure; -+ (void)submitMessengerSheet:(NSDictionary *)sheetPayload uri:(NSString *)uri success:(ICMHTTPEmptyBlock)success failure:(ICMHTTPClientError)failure; - - -#pragma mark - Homescreen - -+ (void)fetchHomescreenWithSuccess:(ICMHTTPHomescreenSuccess)success failure:(ICMHTTPClientError)failure; - - -#pragma mark - Quick Reply - -+ (void)quickReplyToConversation:(NSString *)conversationId - withPartId:(NSString *)quickReplyPartId - withOptionUUID:(NSString *)uuid - success:(ICMHTTPReplyConversationSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Attribute Collector - -+ (void)submitFormParams:(NSDictionary *)formParams - forConversation:(NSString *)conversationId - success:(ICMHTTPSubmitFormSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Inbound Custom Bots - -+ (void)triggerInboundBotWithOptionUUID:(NSString *)uuid - success:(ICMHTTPConversationSuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Stats System - -+ (void)recordStatistic:(NSString *)statToRecord withInstanceId:(NSString *)instanceId statsMetadata:(NSDictionary *)statsMetadata success:(ICMHTTPBaseSuccess)success error:(ICMHTTPClientError)failure; - - -#pragma mark - Carousels - -+ (void)getCarouselWithId:(NSString*)carouselId - success:(ICMHTTPCarouselSuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getCarouselWithInstanceId:(NSString*)carouselInstanceId - success:(ICMHTTPCarouselSuccess)success - error:(ICMHTTPClientError)failure; - -#pragma mark - Help Center - -+ (void)getHelpCenterCollections:(ICMHTTPArraySuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getHelpCenterCollection:(NSString*)collectionId - success:(ICMHTTPDictionarySuccess)success - error:(ICMHTTPClientError)failure; - -+ (void)getHelpCenterSearchResults:(NSString*)searchText - source:(NSString*)source - success:(ICMHTTPArraySuccess)success - error:(ICMHTTPClientError)failure; - - -#pragma mark - Composer suggestions - - -+ (void)openMessenger:(ICMHTTPBaseSuccess)success - error:(ICMHTTPClientError)failure; -@end - diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHTTPClientProtocol.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHTTPClientProtocol.h deleted file mode 100644 index 0e4cb703..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHTTPClientProtocol.h +++ /dev/null @@ -1,66 +0,0 @@ -// -// ICMHTTPClientProtocol.h -// IntercomSDK -// -// Created by Michael McNamara on 14/04/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#ifndef ICMHTTPClientProtocol_h -#define ICMHTTPClientProtocol_h - -#import "ICMEngine.h" - -@class ITBUpload; -@class ICMConversationsResponse; -@class ICMConversation; -@class ICMConversationPart; -@class ICMArticle; -@class ICMGIFResponse; -@class ICMSheet; -@class ICMHomescreen; -@class ICMBaseResponse; -@class ICMCarousel; -@class ICMUserIdentity; -@class ICMComposerSuggestions; - -static const NSInteger kICMHTTPClientDefaultPageSize = 10; -static const NSInteger kNewContentEventTypeCarousel = 44; - -NS_ASSUME_NONNULL_BEGIN - -typedef void (^ICMHTTPBaseSuccess)(ICMBaseResponse *response); -typedef void (^ICMHTTPConversationsSuccess)(ICMConversationsResponse *response); -typedef void (^ICMHTTPConversationSuccess)(ICMConversation *response); -typedef void (^ICMHTTPReplyConversationSuccess)(ICMConversationPart *response); -typedef void (^ICMHTTPUploadCreateSuccess)(NSString * _Nullable publicUrl); -typedef void (^ICMHTTPArticleSuccess)(ICMArticle *article); -typedef void (^ICMHTTPGIFSuccess)(ICMGIFResponse *gifResponse); -typedef void (^ICMHTTPSheetSuccess)(ICMSheet *sheet); -typedef void (^ICMHTTPHomescreenSuccess)(ICMHomescreen *sheet); -typedef void (^ICMHTTPEmptyBlock) (void); -typedef void (^ICMHTTPSubmitFormSuccess)(ICMConversation *response); -typedef void (^ICMHTTPCarouselSuccess)(ICMCarousel *carousel); -typedef void (^ICMHTTPArraySuccess)(NSArray *array); -typedef void (^ICMHTTPDictionarySuccess)(NSDictionary *object); -typedef void (^ICMHTTPComposerSuggestionsSuccess)(ICMComposerSuggestions *composerSuggestions); - -@protocol ICMHTTPClientProtocol -+ (void)getHelpCenterCollections:(nullable ICMHTTPArraySuccess)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)getHelpCenterCollection:(nullable NSString*)collectionId - success:(nullable ICMHTTPDictionarySuccess)success - error:(nullable ICMHTTPClientError)failure; - -+ (void)getHelpCenterSearchResults:(NSString*)searchText - source:(nullable NSString*)source - success:(nullable ICMHTTPArraySuccess)success - error:(nullable ICMHTTPClientError)failure; - -@end - -NS_ASSUME_NONNULL_END - - -#endif /* ICMHTTPClientProtocol_h */ diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHelpCenterTranslationManager.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHelpCenterTranslationManager.h deleted file mode 100644 index 0f28842a..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMHelpCenterTranslationManager.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// ICMHelpCenterTranslationManager.h -// IntercomSDK-Dynamic -// -// Created by Michael McNamara on 16/06/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import "ICMTranslationManager.h" - -NS_ASSUME_NONNULL_BEGIN - -/// A `ICMTranslationManager` subclass that uses our `help_center_locale` instead of the standard Intercom locale. -/// This should be used to translate any strings in our native Help Center. -@interface ICMHelpCenterTranslationManager : ICMTranslationManager - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMLoadingViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMLoadingViewController.h deleted file mode 100644 index 002c2730..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMLoadingViewController.h +++ /dev/null @@ -1,10 +0,0 @@ - -#import -#import - -@interface ICMLoadingViewController : UIViewController - -- (instancetype)initWithImage:(UIImage *)loadingImage accessibilityText:(NSString *)accessibilityText; -- (void)hideLoadingSpinner; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMetric.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMetric.h deleted file mode 100644 index 5b2a27da..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMetric.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// ICMMetric.h -// Pods -// -// Created by James Treanor on 07/08/2015. -// -// - -#import -#import "ICMMetricEvent.h" -@class ICMOpsMetricEvent; - -@interface ICMMetric : NSObject - -+ (instancetype)sharedInstance; - -- (void)addEvent:(ICMMetricEvent *)event; -- (void)addOpsEvent:(ICMOpsMetricEvent *)opsEvent; -- (NSSet *)events; -- (NSSet *)opsEvents; -- (void)clearAllEvents; -- (void)clearEvents:(NSSet *)events opsEvents:(NSSet *)opsEvents; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMetricEvent.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMetricEvent.h deleted file mode 100644 index 85232ab1..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMetricEvent.h +++ /dev/null @@ -1,207 +0,0 @@ -// -// ICMMetricEvent.h -// Pods -// -// Created by James Treanor on 15/03/2016. -// -// - -#import - -typedef NS_ENUM(NSUInteger, ICMMetricEventType) { - ICMMetricEventTypeMessenger = 0, - ICMMetricEventTypeEducate = 1, - ICMMetricEventTypeCarousel = 2, - ICMMetricEventTypeSearchBrowse = 3 -}; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Actions -static NSString *const ICMMetricEventActionOpened = @"opened"; -static NSString *const ICMMetricEventActionClosed = @"closed"; -static NSString *const ICMMetricEventActionReceived = @"received"; -static NSString *const ICMMetricEventActionDismissed = @"dismissed"; -static NSString *const ICMMetricEventActionViewed = @"viewed"; -static NSString *const ICMMetricEventActionSent = @"sent"; -static NSString *const ICMMetricEventActionTyped = @"typed"; -static NSString *const ICMMetricEventActionClicked = @"clicked"; -static NSString *const ICMMetricEventActionSearched = @"searched"; -static NSString *const ICMMetricEventActionCompleted = @"completed"; -static NSString *const ICMMetricEventActionStarted = @"started"; -static NSString *const ICMMetricEventActionFailed = @"failed"; -static NSString *const ICMMetricEventActionRequested = @"requested"; - -#pragma mark - Objects -static NSString *const ICMMetricEventObjectConversation = @"conversation"; -static NSString *const ICMMetricEventObjectNewConversation = @"new_conversation"; -static NSString *const ICMMetricEventObjectMessenger = @"messenger"; -static NSString *const ICMMetricEventObjectMessage = @"message"; -static NSString *const ICMMetricEventObjectReply = @"reply"; -static NSString *const ICMMetricEventObjectQuickReplies = @"quick_replies"; -static NSString *const ICMMetricEventObjectQuickReply = @"quick_reply"; -static NSString *const ICMMetricEventObjectReaction = @"reaction"; -static NSString *const ICMMetricEventObjectBadge = @"badge"; -static NSString *const ICMMetricEventObjectTeamProfile = @"team_profile"; -static NSString *const ICMMetricEventObjectTeammateProfile = @"teammate_profile"; -static NSString *const ICMMetricEventObjectArticle = @"article"; -static NSString *const ICMMetricEventObjectArticlePreload = @"article_preload"; -static NSString *const ICMMetricEventObjectHelpCenter = @"help_center"; -static NSString *const ICMMetricEventObjectGIFInput = @"gif_input"; -static NSString *const ICMMetricEventObjectTextInput = @"text_input"; -static NSString *const ICMMetricEventObjectImageInput = @"image_input"; -static NSString *const ICMMetricEventObjectExpandedImageInput = @"expanded_image_input"; -static NSString *const ICMMetricEventObjectExpandedGIFInput = @"expanded_gif_input"; -static NSString *const ICMMetricEventObjectMessengerSheet = @"messenger_sheet"; -static NSString *const ICMMetricEventObjectHomescreen = @"home_screen"; -static NSString *const ICMMetricEventObjectHelpCenterData = @"help_center_data"; -static NSString *const ICMMetricEventObjectArticleReaction = @"article_reaction"; -static NSString *const ICMMetricEventObjectSearchBrowse = @"search_browse_card"; -static NSString *const ICMMetricEventObjectSearchBrowseInput = @"search_browse_card_input"; - -#pragma mark Carousel -static NSString *const ICMMetricEventObjectCarouselMessage = @"carousel_message"; -static NSString *const ICMMetricEventObjectCarouselMessagePreload = @"carousel_message_preload"; -static NSString *const ICMMetricEventObjectCarouselPermissionSkipped = @"carousel_permission_skipped"; -static NSString *const ICMMetricEventObjectCarouselPermissionDialog = @"carousel_permission_dialog"; -static NSString *const ICMMetricEventObjectCarouselPermissionSettings = @"carousel_permission_settings"; - - -#pragma mark - Place -static NSString *const ICMMetricEventPlaceMessenger = @"messenger"; -static NSString *const ICMMetricEventPlaceMessengerHomeApp = @"messenger_home_app"; -static NSString *const ICMMetricEventPlaceConversation = @"conversation"; -static NSString *const ICMMetricEventPlaceInApp = @"in_app"; -static NSString *const ICMMetricEventPlaceCarouselMessage = @"carousel_message"; -static NSString *const ICMMetricEventPlaceWebview = @"webview"; -static NSString *const ICMMetricEventPlaceHelpCenterCollectionList = @"collection_list"; -static NSString *const ICMMetricEventPlaceHelpCenterArticleList = @"article_list"; -static NSString *const ICMMetricEventPlaceHelpCenterSearchResults = @"search_results"; -static NSString *const ICMMetricEventPlaceHelpCenterArticle = @"article"; -static NSString *const ICMMetricEventPlaceHelpCenterAPI = @"api"; -static NSString *const ICMMetricEventPlaceLegacyArticleSearchApp = @"legacy_article_search_app"; -static NSString *const ICMMetricEventPlacePushNotification = @"push"; -static NSString *const ICMMetricEventPlaceHomeScreen = @"home-screen"; -static NSString *const ICMMetricEventPlaceSearchBrowse = @"search_browse"; - - -#pragma mark - Context -static NSString *const ICMMetricEventContextNoContext = @"no_context"; -static NSString *const ICMMetricEventContextFromDefaultLauncher = @"from_launcher"; -static NSString *const ICMMetricEventContextFromCustomLauncher = @"from_custom_launcher"; -static NSString *const ICMMetricEventContextFromCloseButton = @"from_close_button"; -static NSString *const ICMMetricEventContextFromBadge = @"from_badge"; -static NSString *const ICMMetricEventContextFromSnippet = @"from_snippet"; -static NSString *const ICMMetricEventContextFromFull = @"from_full"; -static NSString *const ICMMetricEventContextFromConversationList = @"from_conversation_list"; -static NSString *const ICMMetricEventContextInConversation = @"in_conversation"; -static NSString *const ICMMetricEventContextInNewConversation = @"in_new_conversation"; -static NSString *const ICMMetricEventContextFromConversation = @"from_conversation"; -static NSString *const ICMMetricEventContextFromNewConversation = @"from_new_conversation"; -static NSString *const ICMMetricEventContextFromClosedConversation = @"from_closed_conversation"; -static NSString *const ICMMetricEventContextInFollowUpConversation = @"in_followup_conversation"; -static NSString *const ICMMetricEventContextFromClicking = @"from_clicking"; -static NSString *const ICMMetricEventContextFromScrolling = @"from_scrolling"; -static NSString *const ICMMetricEventContextFromAuto = @"from_auto"; -static NSString *const ICMMetricEventContextFromPush = @"from_push"; -static NSString *const ICMMetricEventContextOnArticle = @"on_article"; -static NSString *const ICMMetricEventContextFromHelpCenterWebView = @"from_help_center_webview"; -static NSString *const ICMMetricEventContextFromArticleOnButton = @"from_article_on_button"; -static NSString *const ICMMetricEventContextHomescreen = @"home_screen"; -static NSString *const ICMMetricEventContextConversation = @"conversation"; -static NSString *const ICMMetricEventContextFromCarousel = @"from_carousel"; -static NSString *const ICMMetricEventContextFromRetry = @"from_retry"; -static NSString *const ICMMetricEventContextFromSwipe = @"from_swipe"; -static NSString *const ICMMetricEventContextFromCTA = @"from_cta"; -static NSString *const ICMMetricEventContextFromPermission = @"from_permission"; -static NSString *const ICMMetricEventContextFromPermissionSkipped = @"from_permission_skipped"; -static NSString *const ICMMetricEventContextReactionHappy = @"reaction_happy"; -static NSString *const ICMMetricEventContextReactionNeutral = @"reaction_neutral"; -static NSString *const ICMMetricEventContextReactionSad = @"reaction_sad"; -static NSString *const ICMMetricEventContextHumanStyle = @"style_human"; -static NSString *const ICMMetricEventContextBotStyle = @"style_bot"; -static NSString *const ICMMetricEventContextArticle = @"article"; -static NSString *const ICMMetricEventContextMessenger = @"messenger"; - -#pragma mark Carousel Permissions -static NSString *const ICMMetricEventContextPushNotification = @"push_notifications_permission"; -static NSString *const ICMMetricEventContextLocation = @"location_permission"; -static NSString *const ICMMetricEventContextCamera = @"camera_permission"; -static NSString *const ICMMetricEventContextPhotoGallery = @"photos_permission"; -static NSString *const ICMMetricEventContextMicrophone = @"microphone_permission"; - -#pragma mark - Info Keys -static NSString *const kICMMetricEventInfoConversationId = @"conversation_id"; -static NSString *const kICMMetricEventInfoClosedConversationId = @"closed_conversation_id"; -static NSString *const kICMMetricEventInfoConversation = @"conversation"; -static NSString *const kICMMetricEventInfoPushInstanceId = @"instance_id"; -static NSString *const kICMMetricEventInfoConversationPart = @"conversation_part"; -static NSString *const kICMMetricEventInfoMessageText = @"message_text"; -static NSString *const kICMMetricEventInfoIsAttachment = @"is_attachment"; -static NSString *const kICMMetricEventInfoIsAnnotated = @"is_annotated"; -static NSString *const kICMMetricEventInfoIsSticker = @"is_sticker"; -static NSString *const kICMMetricEventInfoHasArticleCard = @"has_article_card"; -static NSString *const kICMMetricEventInfoLauncherState = @"state"; -static NSString *const kICMMetricEventInfoPushType = @"push_type"; -static NSString *const kICMMetricEventInfoMessageType = @"message_type"; -static NSString *const kICMMetricEventInfoBadgeValue = @"badge_value"; -static NSString *const kICMMetricEventInfoArticleId = @"article_id"; -static NSString *const kICMMetricEventInfoIsGIF = @"is_gif"; -static NSString *const kICMMetricEventInfoGIFSearchQuery = @"search_query"; -static NSString *const kICMMetricEventInfoTeamMateStatus = @"teammate_status"; -static NSString *const kICMMetricEventInfoTimeSinceLastActive = @"time_since_last_active"; -static NSString *const kICMMetricEventInfoWithinOfficeHours = @"within_office_hours"; -static NSString *const kICMMetricEventInfoURL = @"url"; -static NSString *const kICMMetricEventInfoQuickReplyId = @"quick_reply_id"; -static NSString *const kICMMetricEventInfoScreensInMessage = @"screens_in_message"; -static NSString *const kICMMetricEventInfoScreensShown = @"screens_shown"; -static NSString *const kICMMetricEventInfoScreensSeen = @"screens_seen"; -static NSString *const kICMMetricEventInfoPermissionGranted = @"permission_granted"; -static NSString *const kICMMetricEventInfoCarouselInstanceId = @"instance_id"; -static NSString *const kICMMetricEventInfoRequestedInstanceId = @"requested_instance_id"; -static NSString *const kICMMetricEventInfoRequestedContentId = @"requested_content_id"; -static NSString *const kICMMetricEventInfoSource = @"source"; -static NSString *const kICMMetricEventInfoErrorCode = @"error_code"; -static NSString *const kICMMetricEventInfoSuggestedArticlesShown = @"articles_shown"; -static NSString *const kICMMetricEventInfoSuggestedArticlesCount = @"articles_count"; -static NSString *const kICMMetricEventInfoConversationShown = @"conversation_shown"; -static NSString *const kICMMetricEventInfoFiltered = @"filtered"; -static NSString *const kICMMetricEventInfoHomeScreenIndex = @"home_screen_index"; - -#pragma mark - Info Values -static NSString *const kICMMetricEventInfoLauncherStateEmpty = @"empty"; -static NSString *const kICMMetricEventInfoLauncherStateBadge = @"badge"; -static NSString *const kICMMetricEventInfoLauncherStateSnippet = @"snippet"; -static NSString *const kICMMetricEventInfoLauncherStateFull = @"full"; -static NSString *const kICMMetricEventInfoLauncherStateMultipleSnippets = @"multiple snippets"; -static NSString *const kICMMetricEventInfoPushTypeMessage = @"message"; -static NSString *const kICMMetricEventInfoPushTypeNotification = @"notification"; -static NSString *const kICMMetricEventInfoMessageTypeNote = @"note"; -static NSString *const kICMMetricEventInfoMessageTypePost = @"post"; -static NSString *const kICMMetricEventInfoMessageTypeChat = @"chat"; -static NSString *const kICMMetricEventInfoTeamMateActive = @"active"; -static NSString *const kICMMetricEventInfoTeamMateAway = @"away"; -static NSString *const kICMMetricEventInfoProgrammatic = @"programmatic"; -static NSString *const kICMMetricEventInfoAutomatic = @"automatic"; - - -@interface ICMMetricEvent : NSObject - -+ (instancetype)eventWithAction:(NSString *)action - object:(NSString *)object - place:(nullable NSString *)place - context:(nullable NSString *)context; - -+ (instancetype)eventWithAction:(NSString *)action - object:(NSString *)object - place:(nullable NSString *)place - context:(nullable NSString *)context - additionalInfo:(nullable NSDictionary *)info; - -- (NSDictionary *)eventDictionary; - -@property (nonatomic, assign) ICMMetricEventType eventType; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMultipleAvatarView.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMultipleAvatarView.h deleted file mode 100644 index 2a39cf79..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMMultipleAvatarView.h +++ /dev/null @@ -1,15 +0,0 @@ -#import - -@class ICMParticipant; - -@interface ICMMultipleAvatarView : UIView - -@property (nonatomic, strong) UIColor *avatarBorderColor; - -- (id)initWithWidth:(CGFloat)width; - -- (void)bindAdmins:(NSArray *)admins; - -- (void)cancelImageLoad; -- (void)keepUserPresenceViewBackgroundColor; -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMNavigationBarCloseButton.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMNavigationBarCloseButton.h deleted file mode 100644 index 12506407..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMNavigationBarCloseButton.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// ICMCloseBarButtonItem.h -// IntercomSDK -// -// Created by Michael Isaakidis on 28/06/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -#import - -typedef NS_ENUM(NSInteger, ICMNavigationBarCloseButtonStyle) { - ICMNavigationBarCloseButtonStyleLight, - ICMNavigationBarCloseButtonStyleDark, - ICMNavigationBarCloseButtonStyleText -}; - -extern const CGFloat kICMContentHolderDismissButtonBackgroundAlpha; - -@interface ICMNavigationBarCloseButton : UIButton - -@property (nonatomic, assign) CGFloat backgroundViewAlpha; -@property (nonatomic) ICMNavigationBarCloseButtonStyle style; -- (instancetype)initWithFrame:(CGRect)frame style:(ICMNavigationBarCloseButtonStyle)style; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMNavigationController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMNavigationController.h deleted file mode 100644 index 73b3d04b..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMNavigationController.h +++ /dev/null @@ -1,33 +0,0 @@ -#import -#import - -typedef enum : NSUInteger { - Messenger, - HelpCenter, - ContentModal, - Sheet -} IntercomPresentationContext; - -@class ICMHostAppState; -@class ICMNavigationBarCloseButton; - -@protocol ICMCloseIntercomModalDelegate -- (void)closeIntercomModal; -@end - -@interface ICMNavigationController : UINavigationController - -- (instancetype)initWithHostAppState:(ICMHostAppState *)hostAppState - closeIntercomModalDelegate:(id)closeIntercomModalDelegate - presentationContext:(IntercomPresentationContext)presentationContext; - -- (void)setWallpaperHeight:(CGFloat)height; -- (void)displayCloseButton; -- (void)removeCloseButton; -- (void)addBackButton; -- (void)closeIntercomModal; - -@property (nonatomic, strong) ICMNavigationBarCloseButton *closeButton; -@property (nonatomic, assign) IntercomPresentationContext presentationContext; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMParticipant.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMParticipant.h deleted file mode 100644 index c1522543..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMParticipant.h +++ /dev/null @@ -1,21 +0,0 @@ -#import -#import "ICMSafeNetworkModel.h" -#import "ICMAvatar.h" - -@interface ICMParticipant : ICMSafeNetworkModel - -@property (nonatomic, strong) ICMAvatar *avatar; -@property (nonatomic, copy) NSString *email; -@property (nonatomic, copy) NSString *participantId; -@property (nonatomic, copy) NSString *name; -@property (nonatomic, copy) NSString *firstName; -@property (nonatomic, copy) NSString *type; -@property (nonatomic, assign) BOOL isBot; - -+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary; -- (BOOL)isEqualToParticipant:(ICMParticipant *)other; -- (NSString *)firstName; -- (BOOL)isAdmin; -- (NSAttributedString *)adminAppNameTitle:(NSDictionary *)styleAttributes; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMParticipatingAdmin.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMParticipatingAdmin.h deleted file mode 100644 index 1f5986b9..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMParticipatingAdmin.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// ICMParticipatingAdmin.h -// Pods -// -// Created by James Treanor on 10/03/2016. -// -// - -#import "ICMParticipant.h" -@class ICMSocialAccount; - -@interface ICMParticipatingAdmin : ICMParticipant - -@property (nonatomic, copy) NSDate *lastActive; -@property (nonatomic, assign) BOOL isActive; -@property (nonatomic, copy) NSString *intro; -@property (nonatomic, copy) NSString *jobTitle; -@property (nonatomic, copy) NSString *locationString; -@property (nonatomic, copy) NSNumber *timezoneOffset; -@property (nonatomic, strong) NSArray *socialAccounts; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMPresentationManager.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMPresentationManager.h deleted file mode 100644 index 7a910712..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMPresentationManager.h +++ /dev/null @@ -1,53 +0,0 @@ -// -// Created by Ignacio Delgado on 17/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class ICMConversation; -@class ICMCarousel; -@class ICMMessengerSheetViewController; - -@interface ICMPresentationManager : NSObject - -@property (nonatomic, assign) CGFloat inAppBottomPadding; -@property (nonatomic, assign) BOOL launcherVisible; -@property (nonatomic, assign) BOOL inAppMessagesVisible; -@property (nonatomic, assign) BOOL manualInAppBottomPaddingSet; - -+ (instancetype) sharedInstance; -+ (void)observeSceneWillEnterForeground; - -- (void)setUnreadConversations:(NSArray *)conversations completion:(void (^ __nullable)(void))completion; -- (void)presentCarousel:(ICMCarousel *)carousel; -- (void)presentMessenger; -- (void)presentMessageComposerWithInitialMessage:(nullable NSString *)message; -- (void)presentHomescreen; -- (void)presentSheet:(ICMMessengerSheetViewController *)sheetVC; - -#pragma mark - Help Center Presentation -- (void)presentHelpCenter; -- (void)presentHelpCenterFromSearchBrowse; -- (void)presentHelpCenterCollections:(NSArray *)collectionIds; -- (void)presentHelpCenterCollection:(NSString *)collectionId; -- (void)presentArticle:(NSString *)articleId; - -- (void)showLauncherOrInAppsIfNeeded; -- (void)hideIntercomUI; -- (void)userChanged; - -- (void)presentConversation:(ICMConversation *)conversation; - -- (void)setNeedsHostAppStatusBarAppearanceUpdate; -- (BOOL)isMessengerPresented; -- (void)dismissAllIntercomViews; -- (void)sceneWillEnterForeground:(NSNotification *)notification; -- (BOOL)isContentCurrentlyPresented; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMRecentConversationsViewController.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMRecentConversationsViewController.h deleted file mode 100644 index 80d29fce..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMRecentConversationsViewController.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ICMRecentConversationsViewController.h -// IntercomSDK-Dynamic -// -// Created by Brian Boyle on 11/09/2021. -// Copyright © 2021 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol ICMRecentConversationsViewControllerDelegate -- (void)reloadConversationHistoryCard; -- (void)navigateToViewController:(UIViewController *)viewController NS_SWIFT_NAME(navigate(toViewController:)); -@end - -@interface ICMRecentConversationsViewController : UIViewController -@property (nonatomic, weak) id delegate; -- (void)reloadTableView; -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMSafeNetworkModel.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMSafeNetworkModel.h deleted file mode 100644 index eeaa4e01..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMSafeNetworkModel.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// ICMSafeNetworkModel.h -// Pods -// -// Created by James Treanor on 23/02/2015. -// -// - -#import - -@interface ICMSafeNetworkModel : NSObject - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMStartConversationButton.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMStartConversationButton.h deleted file mode 100644 index d7a8f064..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMStartConversationButton.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// ICMStartConversationButton.h -// IntercomSDK -// -// Created by Michael Isaakidis on 29/05/2018. -// Copyright © 2018 Intercom. All rights reserved. -// - -typedef NS_ENUM(NSUInteger, ICMStartConversationButtonStyle) { - ICMStartConversationButtonStyleFilled, - ICMStartConversationButtonStyleBordered, -}; - -static const CGFloat kStartConversationButtonHeight = 40.f; - -@interface ICMStartConversationButton : UIButton - -- (void)configureWithStyle:(ICMStartConversationButtonStyle)style; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTeamPresence.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTeamPresence.h deleted file mode 100644 index 996ba66c..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTeamPresence.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// ICMTeamPresence.h -// -// -// Created by Adam McCarthy on 19/01/2016. -// Copyright (c) 2016 Intercom. All rights reserved. -// - -#import -#import "ICMSafeNetworkModel.h" - -@class ICMParticipant; - -static NSString *const kICMTeamPresenceUpdated = @"ICMTeamPresenceUpdated"; - -@interface ICMTeamPresence : ICMSafeNetworkModel - -@property (nonatomic, copy) NSArray *activeAdmins; -@property (nonatomic, strong) NSDate *lastActive; -@property (nonatomic, copy) NSString *officeHours; -@property (nonatomic, copy) NSString *responseDelayFull; -@property (nonatomic, copy) NSString *responseDelayDescription; -@property (nonatomic, copy) NSString *responseDelayTimePeriod; - -+ (void)updateSharedInstanceWithDictionary:(NSDictionary *)aDictionary; - -- (void)setAttributesFromDictionary:(NSDictionary *)aDictionary; - -+ (instancetype)sharedInstance; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTimestampCalculator.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTimestampCalculator.h deleted file mode 100644 index ce32dfcb..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTimestampCalculator.h +++ /dev/null @@ -1,39 +0,0 @@ -#import - -@class ICMConversationPart; - -typedef NS_ENUM(NSUInteger, ICMTimestampCalculatorRecentTimeMessage) { - ICMTimestampCalculatorRecentTimeMessageJustNow, - ICMTimestampCalculatorRecentTimeMessageDelivered -}; - -typedef NS_ENUM(NSUInteger, ICMTimestampCalculatorTimeAgoFormat) { - ICMTimestampCalculatorTimeAgoFormatShort, - ICMTimestampCalculatorTimeAgoFormatLong -}; - -@interface ICMTimestampCalculator : NSObject - -+ (instancetype)sharedInstance; - -- (NSString *)timestampTextForDate:(NSDate *)date format:(enum ICMTimestampCalculatorTimeAgoFormat)format recentTimeMessage:(enum ICMTimestampCalculatorRecentTimeMessage)recentTimeMessage; - -- (NSString *)textForLastActiveDate:(NSDate *)date; - -- (NSString *)lastActiveMinutesAgo:(NSDate *)date; - -- (NSTimeInterval)secondsUntilTimestampExpiresForDate:(NSDate *)date; - -- (BOOL)part:(ICMConversationPart *)firstPart isFromDifferentDayAsPart:(ICMConversationPart *)secondPart; - -- (NSString *)appendSeenStateToTimestampText:(NSString *)timestampText forPart:(ICMConversationPart *)part; - -- (NSString *)dayTextForPart:(ICMConversationPart *)part; - -- (NSString *)absoluteTimeTextForPart:(ICMConversationPart *)part; - -- (NSString *)timestampTextForUpdatedDate:(NSDate *)date; - -- (NSString *)timestampTextForDate:(NSDate *)date timeZone:(NSTimeZone *)timeZone; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTranslationKeys.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTranslationKeys.h deleted file mode 100644 index 2a043a5d..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTranslationKeys.h +++ /dev/null @@ -1,158 +0,0 @@ -// -// ICMTranslationKeys.h -// IntercomSDK -// -// Created by Ignacio Delgado on 21/08/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#ifndef IntercomSDK_ICMTranslationKeys_h -#define IntercomSDK_ICMTranslationKeys_h - -#pragma mark - Strings -static NSString *const kICMTKNavBarTitleConversations = @"conversations_with_app_two_lines"; -static NSString *const kICMTKNavBarTitleConversationsNoAppName = @"conversations"; -static NSString *const kICMTKActionSheetMessageFailDelivery = @"failed_delivery"; -static NSString *const kICMTKActionSheetCancel = @"cancel"; -static NSString *const kICMTKActionSheetDelete = @"delete"; -static NSString *const kICMTKMessageStateSending = @"message_state_sending"; -static NSString *const kICMTKFacebookLikeUs = @"facebook_like"; -static NSString *const kICMTKTwitterFollowUs = @"twitter_follow"; -static NSString *const kICMTKSendUsAMessage = @"send_us_a_message"; -static NSString *const kICMTKNavBarTitleNewConversation = @"new_conversation"; -static NSString *const kICMTKConversationHasEnded = @"conversation_has_ended"; -static NSString *const kICMTKErrorLoadingConversation = @"error_loading_conversation"; -static NSString *const kICMTKErrorNoConversationsTitle = @"no_conversations"; -static NSString *const kICMTKErrorNoConversationsMessage = @"empty_conversations"; -static NSString *const kICMTKErrorNoConversationsMessageNoAppName = @"error_no_conversations_message_no_app_name"; -static NSString *const kICMTKErrorTitle = @"inbox_error_state_title"; -static NSString *const kICMTKErrorLoadingConversationsFallback = @"failed_to_load_conversation_with_admin"; -static NSString *const kICMTKErrorLoadingConversationsFallbackNoAppName = @"failed_to_load_conversation"; -static NSString *const kICMTKErrorStartingConversationFallback = @"start_conversation_error"; -static NSString *const kICMTKErrorTapToRetry = @"retry"; -static NSString *const kICMTKMessageViewPlaceholderWriteAReply = @"reply_to_conversation"; -static NSString *const kICMTKMessageViewPlaceholderStartAConversation = @"start_conversation"; -static NSString *const kICMTKMessageViewSend = @"send"; -static NSString *const kICMTKWeRunOnIntercom = @"we_run_on_intercom"; -static NSString *const kICMTKTimeDifferenceJustNow = @"time_just_now"; -static NSString *const kICMTKAlertNewSDKUserTitle = @"congratulations"; -static NSString *const kICMTKAlertNewSDKUserMessage = @"alert_new_sdk_user_message"; -static NSString *const kICMTKThankYou = @"thank_you"; -static NSString *const kICMTKLastActiveLast15Minutes = @"active_15m_ago"; -static NSString *const kICMTKLastActiveLastXMinutes = @"active_minute_ago"; -static NSString *const kICMTKLastActiveOver1WeekAgo = @"active_week_ago"; -static NSString *const kICMTKAdminActive = @"active_state"; -static NSString *const kICMTKAdminAway = @"away_state"; -static NSString *const kICMTKBack = @"navigation_back"; -static NSString *const kICMTKClose = @"close"; -static NSString *const kICMTKTryAgain = @"try_again"; -static NSString *const kICMTKTimeLocationFormat = @"profile_location"; -static NSString *const kICMTKDelivered = @"delivered"; -static NSString *const kICMTKMessageSeen = @"message_seen"; -static NSString *const kICMTKMessageNotSeen = @"message_unseen"; -static NSString *const kICMTKInboxYou = @"you"; -static NSString *const kICMTKCameraRoll = @"camera_roll"; -static NSString *const kICMTKPlustMore = @"plus_x_more"; -static NSString *const kICMTKNameAnd1Other = @"name_and_1_other"; -static NSString *const kICMTKNameAndXOthers = @"name_and_x_others"; -static NSString *const kICMTKAlsoInThisConversation = @"also_in_this_conversation"; -static NSString *const kICMTKRateYourConversation = @"rate_your_conversation"; -static NSString *const kICMTKTellUsMore = @"tell_us_more"; -static NSString *const kICMTKYouRatedTheConversation = @"you_rated_the_conversation"; -static NSString *const kICMTKThanksForLettingUsKnow = @"thanks_for_letting_us_know"; -static NSString *const kICMTKOkay = @"ok_description"; -static NSString *const kICMTKCouldntLoadContent = @"couldnt_load_content"; -static NSString *const kICMTKGiveItAnotherTry = @"give_it_another_try"; -static NSString *const kICMTKReload = @"reload"; -static NSString *const lICMCouldntCompleteAction = @"couldnt_complete_action"; -static NSString *const kICMYourConversations = @"your_conversations"; -static NSString *const kICMStartAConversation = @"start_a_conversation"; -static NSString *const kICMStartAnotherConversation = @"start_another_conversation"; -static NSString *const kICMSeePastConversations = @"see_past_conversations"; -static NSString *const kICMSeeAll = @"see_all"; -static NSString *const kICMTKAskAQuestion = @"ask_a_question"; -static NSString *const kICMTKHowCanWeHelp = @"how_can_we_help"; -static NSString *const kICMTKTellUsWhatYouNeed = @"tell_us_what_you_need"; -static NSString *const kICMSeeAllYourConversations = @"see_all_conversations"; - - -#pragma mark - Formats -static NSString *const kICMTKParticipantFromAppFormat = @"teammate_from_company"; -static NSString *const kICMTKReplyFromParticipantFormat = @"reply_from_admin"; -static NSString *const kICMTKTimeDifferenceFormatWeeksAgo = @"time_week_ago"; -static NSString *const kICMTKTimeDifferenceFormatDaysAgo = @"time_day_ago"; -static NSString *const kICMTKTimeDifferenceFormatHoursAgo = @"time_hour_ago"; -static NSString *const kICMTKTimeDifferenceFormatMinutesAgo = @"time_minute_ago"; -static NSString *const kICMTKLastActiveFormatHoursAgo = @"active_hour_ago"; -static NSString *const kICMTKLastActiveFormatDaysAgo = @"active_day_ago"; - -static NSString *const kICMTKArticleQuestion = @"article_question"; -static NSString *const kICMTKArticleReaction = @"article_response"; -static NSString *const kICMTKAskedAbout = @"asked_about"; -static NSString *const kICMTKErrorLoadingArticle = @"article_load_error"; - -static NSString *const kICMTKHelpCenter = @"help_center"; -static NSString *const kICMTTeamCanHelp = @"the_team_can_help_if_needed"; -static NSString *const kICMTKBotExpectation = @"bot_expectation_text"; -static NSString *const kICMTKLoading = @"loading"; -static NSString *const kICMTKSearchHelpArticles = @"search_help_articles"; -static NSString *const kICMTKArticleSearchHint = @"article_search_hint_text"; -static NSString *const kICMTKSearchBrowseEmptyState = @"search_browse_empty_state_text"; -static NSString *const kICMTKGetHelp = @"get_help"; -static NSString *const kICMTKGrinningFaceBigEyesEmoji = @"grinning_face_with_big_eyes_emoji"; -static NSString *const kICMTKNeutralFaceEmoji = @"neutral_face_emoji"; -static NSString *const kICMTKDisappointedFaceEmoji = @"disappointed_face_emoji"; -static NSString *const kICMTKBrowseAllHelpTopics = @"browse_all_help_topics"; -static NSString *const kICMTKSearchForHelp = @"search_for_help"; - -#pragma mark - Photos -static NSString *const kICMTKNoPhotos = @"no_photos"; -static NSString *const kICMTKNoPhotosOnDevice = @"no_photos_on_device"; -static NSString *const kICMTKAccessPhotos = @"access_photos"; -static NSString *const kICMTKPermissionSettings = @"access_device_settings"; -static NSString *const kICMTKEnablePermissions = @"go_to_settings"; - -#pragma mark - GIFs -static NSString *const kICMTKSearchGIFs = @"search_gif"; -static NSString *const kICMTKNoGIFsFoundTitle = @"no_gifs_found"; -static NSString *const kICMTKNoGIFsFoundMessage = @"no_gifs_matching_query"; -static NSString *const kICMTKImageAttribution = @"gif_attribution"; -static NSString *const kICMTKGIFErrorTitle = @"gifs_load_error"; -static NSString *const kICMTKGIFErrorDescription = @"try_again_minute"; - -#pragma mark - Attribute Collector Picker submit -static NSString *const kICMAttributeColelctorSubmitButton = @"submit"; - -#pragma mark - Input placeholders -static NSString *const kICMTKListPlaceholder = @"choose_one"; -static NSString *const kICMTKDatePlaceholder = @"choose_the_date"; - -#pragma mark - Input Validation -static NSString *const kICMTKInvalidEmail = @"that_email_address_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidNumber = @"that_number_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidString = @"string_is_incorrect"; -static NSString *const kICMTKSomethingWentWrongTryAgain = @"something_went_wrong_try_again"; - -static NSString *const kICMTKInvalidCountryCode = @"that_country_code_doesnt_look_quite_right"; -static NSString *const kICMTKInvalidNumberTooManyDigits = @"that_number_has_too_many_digits"; -static NSString *const kICMTKInvalidNumberMissingDigits = @"that_number_is_missing_a_few_digits"; -static NSString *const kICMTKInvalidMissingPrefix = @"that_number_needs_a_prefix"; - -#pragma mark - Attribute Collector -static NSString *const kICMTKYes = @"attribute_collector_positive"; -static NSString *const kICMTKNo = @"attribute_collector_negative"; - -#pragma mark - In Apps Quick Replies -static NSString *const kICMTKReply = @"reply"; - -#pragma mark - Carousels/Articles On Buttons -static NSString *const kICMTKPageNotFound = @"page_not_found"; - - -#pragma mark - Homescreen -static NSString *const kContinueConversation = @"continue_the_conversation"; -static NSString *const kNothingToSeeHereYet = @"nothing_to_see_here_yet"; -static NSString *const kNoMessagesFromTeam = @"no_messages_from_the_team"; -static NSString *const kSuggestedArticles = @"suggested_articles"; - -#endif diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTranslationManager.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTranslationManager.h deleted file mode 100644 index 789c4ef4..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMTranslationManager.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// Created by Ignacio Delgado on 22/08/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import "ICMTranslationKeys.h" - -@interface ICMTranslationManager : NSObject - -+ (NSLocale *)translationLocale; -+ (NSString *)translationForKey:(NSString *)key; -+ (NSString *)translationForKey:(NSString *)key params:(NSDictionary *)params; -+ (NSArray *)supportedLocales; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMUnreadManager.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMUnreadManager.h deleted file mode 100644 index d54cd01a..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMUnreadManager.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// ICMUnreadManager.h -// IntercomSDK -// -// Created by Gavin Rooney on 31/07/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -static NSString *const kICMConversationMarkedAsReadNotification = @"ICMConversationMarkedAsReadNotification"; - -@interface ICMUnreadManager : NSObject - -@property (nonatomic, strong) NSOrderedSet *unreadConversationIds; - -- (void)conversationIdRead:(NSString *)conversationId; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMUtils.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMUtils.h deleted file mode 100644 index f6a59b1d..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMUtils.h +++ /dev/null @@ -1,115 +0,0 @@ -// -// ICMUtils.h -// IntercomSDK -// -// Created by Gavin Rooney on 24/04/2014. -// Copyright (c) 2014 Intercom. All rights reserved. -// - -#import -#import - -@class ICMConversationPart; - -#ifdef DEBUG -# define InterLog(fmt, ...) NSLog((@"[Intercom] " fmt), ##__VA_ARGS__); -# define InterLogDebug(fmt, ...) ([ICMUtils debugLoggingEnabled] ? NSLog((@"[Intercom] " fmt), ##__VA_ARGS__) : YES); -# define InterLogPrivate(fmt, ...) NSLog((@"[Intercom] %s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); -#else -# define InterLog(fmt, ...) NSLog((@"[Intercom] " fmt), ##__VA_ARGS__); -# define InterLogDebug(fmt, ...) ([ICMUtils debugLoggingEnabled] ? NSLog((@"[Intercom] " fmt), ##__VA_ARGS__) : YES); -# define InterLogPrivate(...) -#endif - -#define run_or_dispatch_main(block) if ([NSThread isMainThread]) { block(); } else { dispatch_async(dispatch_get_main_queue(), block); } - -#define WEAK_TYPE(x) __weak __typeof(x) -#define STRONG_TYPE(x) __strong __typeof(x) - -UIKIT_EXTERN NSString *const IntercomSDKErrorDomain; - -//------------------------------------------------------------------------------------------------------------------------------ -// result: X-INTERCOM-AGENT: intercom-ios-sdk/x.x.x -#define ICMSDKHeaderValue @"intercom-ios-sdk" -#define ICMSDKDefaultHeader @"X-INTERCOM-AGENT" -#define ICMSDKWrapperHeader @"X-INTERCOM-AGENT-WRAPPER" -#define ICMSDKCordovaHeaderValue @"intercom-sdk-cordova" -#define ICMSDKReactNativeHeaderValue @"intercom-sdk-react-native" - -static const NSInteger kICMConversationAvatarWidth = 28; - -static NSString *const kIntercomSDKVersionIdentifier = @"intercom-sdk-version"; -static NSString *const kIntercomSDKComposerPersistedString = @"intercom-sdk-composer-persisted-string"; -static NSString *const kIntercomSDKComposerPersistedNewKey = @"NewConversation"; // when we want to persist the string in the message composer but don't have a conversationId (i.e. user composes new message) - -static NSString *const kIntercomSDKInboxUpdated = @"intercom-sdk-inbox-updated"; -static NSString *const kICMIntercomDeepLinkNotification = @"kICMIntercomDeepLinkNotification"; -static NSString *const kICMIntercomDidTypeInComposer = @"kICMIntercomDidTypeInComposer"; -static NSString *const kICMIntercomDidChangeComposerInput = @"kICMIntercomDidChangeComposerInput"; -static NSString *const kICMIntercomHelpCenterArticleViewed = @"kICMIntercomHelpCenterArticleViewed"; - -typedef NS_ENUM(NSUInteger, ICMFontWeight){ - ICMFontWeightRegular = 0, - ICMFontWeightBold = 1, - ICMFontWeightMedium = 2, - ICMFontWeightLight = 3, - ICMFontWeightThin = 4, - ICMFontWeightSemibold = 5 -}; - -typedef NS_ENUM(NSInteger, ICMUserIdentityType) { - ICMUserIdentityEmail, - ICMUserIdentityUserId, - ICMUserIdentityIntercomId -}; - -@interface ICMUtils : NSObject - -+ (NSString *)intercomAgent; - -+ (NSString *)intercomVersion; - -+ (NSString *)appVersion; - -+ (NSString *)applicationName; - -+ (NSString *)bundleIdentifier; - -+ (NSString *)minimumOSVersion; - -+ (BOOL)debugLoggingEnabled; - -+ (void)setDebugLoggingEnabled:(BOOL)loggingEnabled; - -+ (void)checkIntegration; - -+ (BOOL)photoUsageDescriptionPresent; - -+ (BOOL)autoIntegratePushNotifications; - -+ (NSBundle *)intercomBundle; -+ (NSBundle *)translationsBundle; - -+ (NSBundle *)loadIntercomAssetsBundle; - -+ (NSString *)intercomDocumentsDirectory; - -+ (NSString *)intercomCachesDirectory; - -+ (UIFont *)fontOfSize:(CGFloat)fontSize weight:(ICMFontWeight)weight; - -+ (NSArray *)jsonArrayFromLocalFile:(NSString *)path error:(NSError * __autoreleasing *)error; - -+ (BOOL)sceneManifestPresent; - -+ (BOOL)shouldShowPhotoUsagePListError; - -+ (NSString *)extractArticleIdFromSheetParams:(NSDictionary *)params; - -+ (BOOL)contentSizeCategoryIsAccessibilityCategory; - -+ (void)enableRTLSupportForContainerClass:(Class )containerClass; - -+ (CGFloat)scaleToAccessibilitySizing:(CGFloat)pointSize; - -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/UIImage+ICMImageUtils.h b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/UIImage+ICMImageUtils.h deleted file mode 100644 index 12cb994c..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/PrivateHeaders/UIImage+ICMImageUtils.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// UIImage+ICMGrayscale.h -// Pods -// -// Created by Brian Boyle on 19/01/2017. -// -// - -#import - -@interface UIImage (ICMImageUtils) - -- (UIImage *)icm_grayscale; -- (UIImage *)icm_resizeImageToSize:(CGSize)newSize; -@end diff --git a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/config.yml b/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/config.yml deleted file mode 100644 index a418cd99..00000000 --- a/Intercom.xcframework/ios-arm64_x86_64-simulator/Intercom.framework/config.yml +++ /dev/null @@ -1,901 +0,0 @@ -parameters: - iphone_large: - type: string - default: "platform=iOS Simulator,name=iPhone 11 Pro,OS=15.4" - iphone_small: - type: string - default: "platform=iOS Simulator,name=iPhone 8,OS=15.4" - -# Default VM config to be used for macOS builds -macos_config: &macos_config - macos: - xcode: 13.3.0 - resource_class: macos.x86.medium.gen2 - shell: /bin/bash --login -eo pipefail - -# Always run job -run_always: &run_always - filters: - tags: - only: /.*/ - -# Only run job on Release build -run_on_release: &run_on_release - filters: - tags: - only: /.*/ - branches: - ignore: /.*/ - -# Only run job on Master build -run_on_master: &run_on_master - filters: - branches: - only: master - -run_on_release_and_master: &run_on_release_and_master - filters: - tags: - only: /.*/ - branches: - only: master - - -# Cache the project dependencies -cache_dependencies: &cache_dependencies - save_cache: - key: v3-ios-sdk-dependencies-cache-{{ checksum "Gemfile.lock" }}-{{ checksum "Podfile.lock" }} - paths: - - Pods - - IntercomSDK.xcworkspace - - vendor - - -# Restore project dependencies from the cache -restore_dependencies_cache: &restore_dependencies_cache - restore_cache: - keys: - - v3-ios-sdk-dependencies-cache-{{ checksum "Gemfile.lock" }}-{{ checksum "Podfile.lock" }} - - v3-ios-sdk-dependencies-cache-{{ checksum "Gemfile.lock" }}-{{ checksum "Podfile.lock" }}- - - v3-ios-sdk-dependencies-cache-{{ checksum "Gemfile.lock" }}- - - v3-ios-sdk-dependencies-cache- - - -# Run the dependencies.sh script to update the project dependencies if needed -update_dependencies_if_needed: &update_dependencies_if_needed - run: - name: Update dependencies if needed - command: ./script/circle/dependencies.sh - -setup_ruby: &setup_ruby - run: - name: Setup Ruby - command: sed -i '' 's/.*chruby ruby.*/chruby ruby-2.7.5/' ~/.bash_profile - -setup_bundler: &setup_bundler - run: - name: Setup Bundler - command: gem install bundler - - -# This maps stores simulator crash reports as build artifacts -store_crash_logs: &store_crash_logs - store_artifacts: - path: ~/Library/Logs/DiagnosticReports - destination: CrashReports - - -# Run UI Tests for the specified $DEVICE_TARGET and $TEST_BUCKET -ui_tests: &ui_tests - steps: - - run-steps-command: - steps-to-run: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Test - command: | - cd Sample - export APP_BUNDLE_PATH="../DerivedData/Build/Products/Debug-iphonesimulator/UI Tests.app" - bundle exec cucumber -t ${TEST_BUCKET} --retry 3 --no-strict --format pretty --format junit --out ./test-output - - store_test_results: - path: Sample/test-output - - <<: *store_crash_logs - - run: - name: Store screenshots - command: | - mkdir -p /tmp/failure_screenshots - cp Sample/*.png /tmp/failure_screenshots - when: on_fail - - store_artifacts: - path: /tmp/failure_screenshots - - <<: *store_crash_logs - - -# Run smoke tests for the $SMOKE_TEST_SCHEME scheme -smoke_test_steps: &smoke_test_steps - steps: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - run: - name: Setup code signing - command: cd "Smoke Test" && bundle exec fastlane appstore_code_signing - - run: - name: Pod Install - command: cd "Smoke Test" && bundle exec pod install - - run: - name: Validate - command: ./Smoke\ Test/scripts/validate_scheme.sh "${SMOKE_TEST_SCHEME}" - -#Run Unit tests for speicified $TEST_PLAN -unit_tests: &unit_tests - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Unit tests - command: xcodebuild test-without-building -sdk iphonesimulator -destination "<< pipeline.parameters.iphone_large >>" -xctestrun DerivedData/Build/Products/Unit\ Tests_${TEST_PLAN}*.xctestrun -only-test-configuration "$CONFIGURATION" -resultBundlePath UnitTestResults.xcresult | bundle exec xcpretty - - run: - name: Generate Test Reports - command: bundle exec fastlane upload_test_reports - when: always - - store_test_results: - path: UnitTestResults.xml - - run: - name: Zip Test Results - command: zip -r UnitTestResults.zip UnitTestResults.xcresult - when: on_fail - - store_artifacts: - path: UnitTestResults.zip - - <<: *store_crash_logs - - -# Define the each of the jobs used for building and testing the iOS SDK -version: 2.1 -orbs: - slack: circleci/slack@4.2.0 - -jobs: - - # Load the project dependencies - dependencies: - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - <<: *cache_dependencies - - persist_to_workspace: - root: . - paths: - - .bundle - - Gemfile - - Gemfile.lock - - vendor - - .ruby-version - - - # Perform linting on the codebase - lint_objectiveC: - docker: - - image: golang:1.12 - steps: - - run-steps-command: - steps-to-run: - - checkout - - run: - name: Install The Silver Searcher - command: apt-get update && apt-get install silversearcher-ag - - run: - name: Rum Objective-C Linting - command: go run heimdall.go - - # Create a Device archive - create_device_archive: - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - run: - name: Create Device Archive - command: ./script/build/create_device_archive.sh - - persist_to_workspace: - root: . - paths: - - "DerivedData/archive/IntercomSDK.framework-iphoneos.xcarchive" - - # Create a Simulator archive - create_simulator_archive: - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - run: - name: Create Simulator Archive - command: ./script/build/create_simulator_archive.sh - - persist_to_workspace: - root: . - paths: - - "DerivedData/archive/IntercomSDK.framework-iphonesimulator.xcarchive" - - # Build an XCFramework and save the binary to disk. - build_xcframework: - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - attach_workspace: - at: . - - run: - name: Build XCFramework - command: ./script/build/build_xcframework.sh - - persist_to_workspace: - root: . - paths: - - Frameworks/Intercom.xcframework - - Frameworks/dSYMs - #Need to persist these paths so they are availabe for the prepare_release step later. - - IntercomSDK/Resources - - script - - .git - - Rakefile - - IntercomSDK/Supporting Files/IntercomSDK-Common.xcconfig - - # Build the Test App used for Unit testing and save it to the workspace so that it can be used by multiple jobs - build_unit_test_app: &build_unit_test_app - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - attach_workspace: - at: . - - run: - name: Build - command: xcodebuild -derivedDataPath DerivedData -workspace IntercomSDK.xcworkspace -scheme "Unit Tests" -sdk iphonesimulator -destination "<< pipeline.parameters.iphone_large >>" build-for-testing | bundle exec xcpretty - - persist_to_workspace: - root: . - paths: - - "DerivedData/Build/Products/Unit\ Tests_*.xctestrun" - - "DerivedData/Build/Products/Debug-iphonesimulator/IntercomSDKTests.xctest" - - "DerivedData/Build/Products/Debug-iphonesimulator/Intercom.framework" - - # Run Release Deployment tests - release_deployment_tests: - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - run: - name: Test Release Deployment Scripts - command: bundle exec rspec script/deploy/spec/ - - - # Build the Test App used for UI Testing and save is to the workspace. This allows it to be used by other jobs. - build_ui_test_app: &build_ui_test_app - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - attach_workspace: - at: . - - run: - name: Build - command: xcodebuild -derivedDataPath DerivedData -workspace IntercomSDK.xcworkspace -scheme "Calabash UI Tests" -sdk iphonesimulator build | bundle exec xcpretty - - persist_to_workspace: - root: . - paths: - - "DerivedData/Build/Products/Debug-iphonesimulator/UI Tests.app" - - Sample - - # Build the Test App used for UI Testing and save is to the workspace. This allows it to be used by other jobs. - build_xcui_for_testing: &build_xcui_for_testing - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - attach_workspace: - at: . - - run: - name: Build - command: xcodebuild build-for-testing -derivedDataPath DerivedData -workspace IntercomSDK.xcworkspace -scheme "XCUI Tests" -sdk iphonesimulator | bundle exec xcpretty - - persist_to_workspace: - root: . - paths: - - "DerivedData/Build/Products/*.xctestrun" - - "DerivedData/Build/Products/Debug-iphonesimulator/SampleUITests-Runner.app" - - "DerivedData/Build/Products/Debug-iphonesimulator/XCUI Tests.app" - - fastlane - - <<: *store_crash_logs - - - # Run XCUITests - xcui_tests: &xcui_tests - <<: *macos_config - steps: - - run-steps-command: - steps-to-run: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: XCUITests - command: xcodebuild test-without-building -sdk iphonesimulator -destination "$DESTINATION" -xctestrun DerivedData/Build/Products/XCUI\ Tests_${TEST_GROUP}*.xctestrun -resultBundlePath XCUI_TestResults.xcresult - - run: - name: Generate Test Reports - command: bundle exec fastlane upload_test_reports - when: always - - store_test_results: - path: XCUI_TestResults.xml - - run: - name: Zip Test Results - command: zip -r XCUI_TestResults.zip XCUI_TestResults.xcresult - when: on_fail - - store_artifacts: - path: XCUI_TestResults.zip - - store_test_results: - path: build/reports - - <<: *store_crash_logs - - - # Unit tests - - standard_unit_tests: - <<: *macos_config - <<: *unit_tests - environment: - - TEST_PLAN: "Unit" - - CONFIGURATION: "Configuration 1" - - ltr_snapshot_tests: - <<: *macos_config - <<: *unit_tests - environment: - - TEST_PLAN: "Snapshot" - - CONFIGURATION: "LTR" - - rtl_snapshot_tests: - <<: *macos_config - <<: *unit_tests - environment: - - TEST_PLAN: "Snapshot" - - CONFIGURATION: "RTL" - - xxxl_snapshot_tests: - <<: *macos_config - <<: *unit_tests - environment: - - TEST_PLAN: "Snapshot" - - CONFIGURATION: "XXXLarge" - - accessibility_large_snapshot_tests: - <<: *macos_config - <<: *unit_tests - environment: - - TEST_PLAN: "Snapshot" - - CONFIGURATION: "AX2" - - # UI tests for iPhone 8 (15.4) devices. One test for each test bucket. - - UI_1_iphone_8: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 8 (15.4)" - - TEST_BUCKET: "@test_bucket_1" - - UI_2_iphone_8: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 8 (15.4)" - - TEST_BUCKET: "@test_bucket_2" - - UI_3_iphone_8: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 8 (15.4)" - - TEST_BUCKET: "@test_bucket_3" - - UI_4_iphone_8: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 8 (15.4)" - - TEST_BUCKET: "@test_bucket_4" - - XCUI_1_iphone_8: - <<: *xcui_tests - environment: - - DESTINATION: << pipeline.parameters.iphone_small >> - - TEST_GROUP: "Group1" - - XCUI_2_iphone_8: - <<: *xcui_tests - environment: - - DESTINATION: << pipeline.parameters.iphone_small >> - - TEST_GROUP: "Group2" - - # UI tests for iPhone 11 Pro (15.4) devices. One test for each test bucket. - - UI_1_iphone_11_pro: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 11 Pro (15.4)" - - TEST_BUCKET: "@test_bucket_1" - - UI_2_iphone_11_pro: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 11 Pro (15.4)" - - TEST_BUCKET: "@test_bucket_2" - - UI_3_iphone_11_pro: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 11 Pro (15.4)" - - TEST_BUCKET: "@test_bucket_3" - - UI_4_iphone_11_pro: - <<: *macos_config - <<: *ui_tests - environment: - - DEVICE_TARGET: "iPhone 11 Pro (15.4)" - - TEST_BUCKET: "@test_bucket_4" - - XCUI_1_iphone_11_pro: - <<: *xcui_tests - environment: - - DESTINATION: << pipeline.parameters.iphone_large >> - - TEST_GROUP: "Group1" - - XCUI_2_iphone_11_pro: - <<: *xcui_tests - environment: - - DESTINATION: << pipeline.parameters.iphone_large >> - - TEST_GROUP: "Group2" - - - # Run Smoke Tests for Swift - - smoke_test_manual_swift: - <<: *macos_config - <<: *smoke_test_steps - environment: - - SMOKE_TEST_SCHEME: IntercomIntegration-Manual-Swift - - smoke_test_cocoapods_swift: - <<: *macos_config - <<: *smoke_test_steps - environment: - - SMOKE_TEST_SCHEME: IntercomIntegration-CocoaPods-Swift - - - # Run Smoke Tests for Objective-C - smoke_test_manual_objc: - <<: *macos_config - <<: *smoke_test_steps - environment: - - SMOKE_TEST_SCHEME: IntercomIntegration-Manual-ObjC - - smoke_test_cocoapods_frameworks_objc: - <<: *macos_config - <<: *smoke_test_steps - environment: - - SMOKE_TEST_SCHEME: IntercomIntegration-CocoaPods-Frameworks-ObjC - - # Run the prepare_release.sh script - prepare_release: - <<: *macos_config - steps: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Prepare Public Repo for Release - command: ./script/deploy/prepare_release.sh - - persist_to_workspace: - root: . - paths: - - Artifacts - - commit_release: - <<: *macos_config - steps: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Zip Release Artifacts - command: zip -r Release_Artifacts.zip Artifacts - - store_artifacts: - path: Release_Artifacts.zip - - run: - name: Commit Release to GitHub - command: bundle exec rake commit_release - - create_github_release: - <<: *macos_config - steps: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Create GitHub Release - command: bundle exec rake create_new_release - - publish_new_cocoapod: - <<: *macos_config - steps: - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - run: - name: Publish to CocoaPods - command: bundle exec rake publish_to_cocoapods - - run: - name: Extract Release Notes - command: | - bundle exec rake slack_release_notes - - send-slack-notification: - release-notes: $(cat release_notes.txt) - - # Upload Sample.ipa to Testfairy - upload_to_testfairy: - <<: *macos_config - steps: - - checkout - - <<: *setup_ruby - - <<: *setup_bundler - - attach_workspace: - at: . - - <<: *restore_dependencies_cache - - <<: *update_dependencies_if_needed - - run: - name: Upload Sample.ipa to Testfairy. - command: bundle exec fastlane upload_testfairy - -commands: - - run-steps-command: - parameters: - steps-to-run: - description: "Run steps on all branches except release branches. For release branches, the job skips the steps and is marked as succeeded" - type: steps - default: [] - steps: - - when: - condition: - not: - matches: { pattern: "^(?:release/)(?:\\d+\\.\\d+\\.\\d+)$", value: << pipeline.git.branch >> } - steps: << parameters.steps-to-run >> - - run: - command: echo "Job Succeeded" - - send-slack-notification: - parameters: - release-notes: - description: "Send release notes notification to #ask-mobile, #team-mobile-private, and #team-messenger-mobile-engage-private" - type: string - default: No release notes - steps: - - slack/notify: - channel: 'CCWEGFKRA, G9KSFMDRS, C02KG61GX7W' - custom: | - { - "blocks": [ - { - "type": "header", - "text": { - "type": "plain_text", - "text": "iOS SDK Release", - "emoji": true - } - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": " has been released 🎉" - } - }, - { - "type": "divider" - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "<< parameters.release-notes >>" - } - }, - { - "type": "context", - "elements": [ - { - "type": "image", - "image_url": "https://user-images.githubusercontent.com/3185423/152659114-9f3be97c-4744-4c9a-b239-0689619f7e97.png", - "alt_text": "Intercom iOS" - }, - { - "type": "mrkdwn", - "text": "" - } - ] - } - ] - } - event: pass - - -# Workflow that runs all the jobs in a defined order -workflows: - version: 2.1 - test_and_build_workflow: - jobs: - - dependencies: - <<: *run_always - - - lint_objectiveC: - <<: *run_always - - - build_unit_test_app: - <<: *run_always - requires: - - dependencies - - - standard_unit_tests: - <<: *run_always - requires: - - build_unit_test_app - - - ltr_snapshot_tests: - <<: *run_always - requires: - - build_unit_test_app - - - rtl_snapshot_tests: - <<: *run_always - requires: - - build_unit_test_app - - - xxxl_snapshot_tests: - <<: *run_always - requires: - - build_unit_test_app - - - accessibility_large_snapshot_tests: - <<: *run_always - requires: - - build_unit_test_app - - - release_deployment_tests: - <<: *run_always - requires: - - dependencies - - - build_xcui_for_testing: - <<: *run_always - requires: - - dependencies - - - XCUI_1_iphone_8: - <<: *run_always - requires: - - build_xcui_for_testing - - # XCUI_2 tests currently disabled due to persistent flakiness - # - XCUI_2_iphone_8: - # <<: *run_always - # requires: - # - build_xcui_for_testing - - - - XCUI_1_iphone_11_pro: - <<: *run_always - requires: - - build_xcui_for_testing - - # XCUI_2 tests currently disabled due to persistent flakiness - # - XCUI_2_iphone_11_pro: - # <<: *run_always - # requires: - # - build_xcui_for_testing - - - - build_ui_test_app: - <<: *run_always - requires: - - dependencies - - - UI_1_iphone_8: - <<: *run_always - requires: - - build_ui_test_app - - - UI_2_iphone_8: - <<: *run_always - requires: - - build_ui_test_app - - - UI_3_iphone_8: - <<: *run_always - requires: - - build_ui_test_app - - - UI_4_iphone_8: - <<: *run_always - requires: - - build_ui_test_app - - - UI_1_iphone_11_pro: - <<: *run_always - requires: - - build_ui_test_app - - - UI_2_iphone_11_pro: - <<: *run_always - requires: - - build_ui_test_app - - - UI_3_iphone_11_pro: - <<: *run_always - requires: - - build_ui_test_app - - - UI_4_iphone_11_pro: - <<: *run_always - requires: - - build_ui_test_app - - - create_device_archive: - <<: *run_always - requires: - - dependencies - - - create_simulator_archive: - <<: *run_always - requires: - - dependencies - - - build_xcframework: - <<: *run_always - requires: - - create_device_archive - - create_simulator_archive - - - smoke_test_manual_swift: - <<: *run_on_release_and_master - requires: - - prepare_release - - - smoke_test_cocoapods_swift: - <<: *run_on_release_and_master - requires: - - prepare_release - - - smoke_test_manual_objc: - <<: *run_on_release_and_master - requires: - - prepare_release - - - smoke_test_cocoapods_frameworks_objc: - <<: *run_on_release_and_master - requires: - - prepare_release - - - upload_to_testfairy: - <<: *run_on_master - requires: - - standard_unit_tests - - ltr_snapshot_tests - - rtl_snapshot_tests - - xxxl_snapshot_tests - - accessibility_large_snapshot_tests - - UI_1_iphone_8 - - UI_2_iphone_8 - - UI_3_iphone_8 - - UI_4_iphone_8 - - UI_1_iphone_11_pro - - UI_2_iphone_11_pro - - UI_3_iphone_11_pro - - UI_4_iphone_11_pro - - XCUI_1_iphone_8 - - XCUI_1_iphone_11_pro - - lint_objectiveC - - - prepare_release: - <<: *run_on_release_and_master - requires: - - build_xcframework - - release_deployment_tests - - - - commit_release: - <<: *run_on_release - requires: - - smoke_test_manual_swift - - smoke_test_cocoapods_swift - - smoke_test_manual_objc - - smoke_test_cocoapods_frameworks_objc - - UI_1_iphone_8 - - UI_2_iphone_8 - - UI_3_iphone_8 - - UI_4_iphone_8 - - UI_1_iphone_11_pro - - UI_2_iphone_11_pro - - UI_3_iphone_11_pro - - UI_4_iphone_11_pro - - XCUI_1_iphone_8 - - XCUI_1_iphone_11_pro - - standard_unit_tests - - ltr_snapshot_tests - - rtl_snapshot_tests - - xxxl_snapshot_tests - - accessibility_large_snapshot_tests - - - create_github_release: - <<: *run_on_release - requires: - - commit_release - - - publish_new_cocoapod: - <<: *run_on_release - requires: - - commit_release - - create_github_release