react-native-cliqit 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +209 -0
- package/android/build.gradle +27 -0
- package/android/src/main/AndroidManifest.xml +1 -0
- package/android/src/main/java/com/cliqit/CliqItModule.kt +242 -0
- package/android/src/main/java/com/cliqit/CliqItPackage.kt +14 -0
- package/android/src/main/java/com/cliqit/sdk/CliqItDefaults.kt +17 -0
- package/android/src/main/java/com/cliqit/sdk/CliqItDeviceInfo.kt +196 -0
- package/android/src/main/java/com/cliqit/sdk/CliqItHttp.kt +98 -0
- package/android/src/main/java/com/cliqit/sdk/CliqItModels.kt +130 -0
- package/android/src/main/java/com/cliqit/sdk/CliqItSDK.kt +514 -0
- package/android/src/main/java/com/cliqit/sdk/CliqItWebFingerprint.kt +230 -0
- package/ios/CliqItModule.m +14 -0
- package/ios/CliqItModule.swift +238 -0
- package/ios/Frameworks/CliqIt.xcframework/Info.plist +44 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64/CliqIt.framework/CliqIt +0 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64/CliqIt.framework/Headers/CliqIt-Swift.h +382 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64/CliqIt.framework/Info.plist +0 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64/CliqIt.framework/Modules/CliqIt.swiftmodule/arm64-apple-ios.abi.json +12111 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64/CliqIt.framework/Modules/CliqIt.swiftmodule/arm64-apple-ios.private.swiftinterface +419 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64/CliqIt.framework/Modules/CliqIt.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64/CliqIt.framework/Modules/CliqIt.swiftmodule/arm64-apple-ios.swiftinterface +419 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64/CliqIt.framework/Modules/module.modulemap +3 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/CliqIt +0 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/Headers/CliqIt-Swift.h +760 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/Info.plist +0 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/Modules/CliqIt.swiftmodule/arm64-apple-ios-simulator.abi.json +12111 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/Modules/CliqIt.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +419 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/Modules/CliqIt.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/Modules/CliqIt.swiftmodule/arm64-apple-ios-simulator.swiftinterface +419 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/Modules/CliqIt.swiftmodule/x86_64-apple-ios-simulator.abi.json +12111 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/Modules/CliqIt.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +419 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/Modules/CliqIt.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/Modules/CliqIt.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +419 -0
- package/ios/Frameworks/CliqIt.xcframework/ios-arm64_x86_64-simulator/CliqIt.framework/Modules/module.modulemap +3 -0
- package/package.json +48 -0
- package/react-native-cliqit.podspec +27 -0
- package/react-native.config.js +11 -0
- package/src/index.d.ts +92 -0
- package/src/index.js +152 -0
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name CliqIt
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
|
|
5
|
+
import CryptoKit
|
|
6
|
+
import Foundation
|
|
7
|
+
import Network
|
|
8
|
+
import Swift
|
|
9
|
+
import SwiftUI
|
|
10
|
+
import UIKit
|
|
11
|
+
import WebKit
|
|
12
|
+
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
14
|
+
import _SwiftConcurrencyShims
|
|
15
|
+
public typealias CliqItHandler = (CliqIt.CliqItPayload) -> Swift.Void
|
|
16
|
+
extension Foundation.NSNotification.Name {
|
|
17
|
+
public static let cliqItDeepLinkIgnored: Foundation.Notification.Name
|
|
18
|
+
}
|
|
19
|
+
@_hasMissingDesignatedInitializers final public class CliqItSDK : @unchecked Swift.Sendable {
|
|
20
|
+
public static let shared: CliqIt.CliqItSDK
|
|
21
|
+
final public var isConfigured: Swift.Bool {
|
|
22
|
+
get
|
|
23
|
+
}
|
|
24
|
+
final public var currentDeferredMatchDebugResponse: CliqIt.CliqItDeferredMatchResponse? {
|
|
25
|
+
get
|
|
26
|
+
}
|
|
27
|
+
final public var currentMatchDebugRequestJSON: Swift.String? {
|
|
28
|
+
get
|
|
29
|
+
}
|
|
30
|
+
final public var currentWebFingerprint: CliqIt.CliqItWebFingerprint? {
|
|
31
|
+
get
|
|
32
|
+
}
|
|
33
|
+
final public var combinedFingerprint: CliqIt.CliqItCombinedFingerprint {
|
|
34
|
+
get
|
|
35
|
+
}
|
|
36
|
+
final public func collectWebFingerprint() async -> CliqIt.CliqItWebFingerprint?
|
|
37
|
+
final public func collectCombinedFingerprint() async -> CliqIt.CliqItCombinedFingerprint
|
|
38
|
+
final public var currentDirectLinkDetails: CliqIt.CliqItLinkDetails? {
|
|
39
|
+
get
|
|
40
|
+
}
|
|
41
|
+
final public var currentVerifyJSON: Swift.String? {
|
|
42
|
+
get
|
|
43
|
+
}
|
|
44
|
+
final public var currentVerifyOutcome: CliqIt.CliqItVerifyOutcome? {
|
|
45
|
+
get
|
|
46
|
+
}
|
|
47
|
+
final public var isDeferredMatchInFlight: Swift.Bool {
|
|
48
|
+
get
|
|
49
|
+
}
|
|
50
|
+
final public var hasDeferredMatchBeenReported: Swift.Bool {
|
|
51
|
+
get
|
|
52
|
+
}
|
|
53
|
+
@discardableResult
|
|
54
|
+
final public func configure(apiKey: Swift.String) -> CliqIt.CliqItSDK
|
|
55
|
+
@discardableResult
|
|
56
|
+
final public func configure(_ configuration: CliqIt.CliqItConfiguration) -> CliqIt.CliqItSDK
|
|
57
|
+
final public func onVerify(_ handler: @escaping CliqIt.CliqItVerifyHandler)
|
|
58
|
+
final public func onDeferredMatchDebug(_ handler: @escaping CliqIt.CliqItDeferredMatchDebugHandler)
|
|
59
|
+
final public func onDeferredMatch(_ handler: @escaping CliqIt.CliqItDeferredMatchHandler)
|
|
60
|
+
final public func onDeferredMatchDebugRequest(_ handler: @escaping CliqIt.CliqItDeferredMatchDebugRequestHandler)
|
|
61
|
+
final public func runDeferredMatchDebug(clickSessionId: Swift.String? = nil)
|
|
62
|
+
final public func onDeepLink(_ handler: @escaping CliqIt.CliqItHandler)
|
|
63
|
+
@discardableResult
|
|
64
|
+
final public func handle(url: Foundation.URL) -> Swift.Bool
|
|
65
|
+
final public func onDirectLinkLookup(_ handler: @escaping CliqIt.CliqItDirectLinkLookupHandler)
|
|
66
|
+
@discardableResult
|
|
67
|
+
final public func handle(userActivity: Foundation.NSUserActivity) -> Swift.Bool
|
|
68
|
+
final public func consumePendingDeepLink() -> CliqIt.CliqItPayload?
|
|
69
|
+
@objc deinit
|
|
70
|
+
}
|
|
71
|
+
public struct CliqItConfiguration : Swift.Sendable {
|
|
72
|
+
public let apiKey: Swift.String
|
|
73
|
+
public let serverURL: Foundation.URL
|
|
74
|
+
public let debugLogging: Swift.Bool
|
|
75
|
+
public let universalLinkDomain: Swift.String?
|
|
76
|
+
public let customURLScheme: Swift.String?
|
|
77
|
+
public init(apiKey: Swift.String)
|
|
78
|
+
}
|
|
79
|
+
public enum CliqItDefaults {
|
|
80
|
+
public static let licenseServerURL: Foundation.URL
|
|
81
|
+
public static let deferredMatchPath: Swift.String
|
|
82
|
+
public static let linkLookupPath: Swift.String
|
|
83
|
+
public static let verifyPath: Swift.String
|
|
84
|
+
public static let apiKeyHeader: Swift.String
|
|
85
|
+
public static let apiMaxRetryAttempts: Swift.Int
|
|
86
|
+
public static let apiRetryInitialDelay: Swift.Double
|
|
87
|
+
public static let allowedLinkDomain: Swift.String
|
|
88
|
+
}
|
|
89
|
+
public enum CliqItSource : Swift.String, Swift.Sendable {
|
|
90
|
+
case universalLink
|
|
91
|
+
case customScheme
|
|
92
|
+
case deferred
|
|
93
|
+
case unknown
|
|
94
|
+
public init?(rawValue: Swift.String)
|
|
95
|
+
public typealias RawValue = Swift.String
|
|
96
|
+
public var rawValue: Swift.String {
|
|
97
|
+
get
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
public enum CliqItParam : Swift.String, Swift.CaseIterable, Swift.Sendable {
|
|
101
|
+
case session
|
|
102
|
+
case clickSessionId
|
|
103
|
+
case click_session_id
|
|
104
|
+
public init?(rawValue: Swift.String)
|
|
105
|
+
public typealias AllCases = [CliqIt.CliqItParam]
|
|
106
|
+
public typealias RawValue = Swift.String
|
|
107
|
+
nonisolated public static var allCases: [CliqIt.CliqItParam] {
|
|
108
|
+
get
|
|
109
|
+
}
|
|
110
|
+
public var rawValue: Swift.String {
|
|
111
|
+
get
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
public struct CliqItPayload : Swift.Sendable, Swift.Equatable {
|
|
115
|
+
public let url: Foundation.URL
|
|
116
|
+
public let path: Swift.String
|
|
117
|
+
public let pathComponents: [Swift.String]
|
|
118
|
+
public let queryParameters: [Swift.String : Swift.String]
|
|
119
|
+
public let source: CliqIt.CliqItSource
|
|
120
|
+
public let isDeferred: Swift.Bool
|
|
121
|
+
public let receivedAt: Foundation.Date
|
|
122
|
+
public init(url: Foundation.URL, path: Swift.String, pathComponents: [Swift.String], queryParameters: [Swift.String : Swift.String], source: CliqIt.CliqItSource, receivedAt: Foundation.Date = Date(), isDeferred: Swift.Bool = false)
|
|
123
|
+
public subscript(query key: Swift.String) -> Swift.String? {
|
|
124
|
+
get
|
|
125
|
+
}
|
|
126
|
+
public subscript(param: CliqIt.CliqItParam) -> Swift.String? {
|
|
127
|
+
get
|
|
128
|
+
}
|
|
129
|
+
public var clickSessionId: Swift.String? {
|
|
130
|
+
get
|
|
131
|
+
}
|
|
132
|
+
public static func == (a: CliqIt.CliqItPayload, b: CliqIt.CliqItPayload) -> Swift.Bool
|
|
133
|
+
}
|
|
134
|
+
public enum CliqItSceneSupport {
|
|
135
|
+
public static func handle(connectionOptions: UIKit.UIScene.ConnectionOptions)
|
|
136
|
+
@discardableResult
|
|
137
|
+
public static func handle(userActivity: Foundation.NSUserActivity) -> Swift.Bool
|
|
138
|
+
public static func handle(urlContexts: Swift.Set<UIKit.UIOpenURLContext>)
|
|
139
|
+
}
|
|
140
|
+
public struct CliqItDeferredMatchOptions : Swift.Sendable {
|
|
141
|
+
public let clickSessionId: Swift.String?
|
|
142
|
+
public init(clickSessionId: Swift.String? = nil)
|
|
143
|
+
}
|
|
144
|
+
public enum CliqItDeferredMatchField : Swift.String, Swift.CaseIterable, Swift.Sendable {
|
|
145
|
+
case matched
|
|
146
|
+
case tier
|
|
147
|
+
case confidence
|
|
148
|
+
case score
|
|
149
|
+
case destinationPath
|
|
150
|
+
case slug
|
|
151
|
+
public init?(rawValue: Swift.String)
|
|
152
|
+
public typealias AllCases = [CliqIt.CliqItDeferredMatchField]
|
|
153
|
+
public typealias RawValue = Swift.String
|
|
154
|
+
nonisolated public static var allCases: [CliqIt.CliqItDeferredMatchField] {
|
|
155
|
+
get
|
|
156
|
+
}
|
|
157
|
+
public var rawValue: Swift.String {
|
|
158
|
+
get
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
public enum CliqItDeferredMatchOutcome : Swift.Sendable, Swift.Equatable {
|
|
162
|
+
case matched(CliqIt.CliqItDeferredMatchInfo)
|
|
163
|
+
case notMatched(CliqIt.CliqItDeferredMatchInfo)
|
|
164
|
+
case failed(CliqIt.CliqItDeferredMatchError)
|
|
165
|
+
public var isMatched: Swift.Bool {
|
|
166
|
+
get
|
|
167
|
+
}
|
|
168
|
+
public var info: CliqIt.CliqItDeferredMatchInfo? {
|
|
169
|
+
get
|
|
170
|
+
}
|
|
171
|
+
public var destinationPath: Swift.String? {
|
|
172
|
+
get
|
|
173
|
+
}
|
|
174
|
+
public static func == (a: CliqIt.CliqItDeferredMatchOutcome, b: CliqIt.CliqItDeferredMatchOutcome) -> Swift.Bool
|
|
175
|
+
}
|
|
176
|
+
public struct CliqItDeferredMatchInfo : Swift.Sendable, Swift.Equatable {
|
|
177
|
+
public let matched: Swift.Bool
|
|
178
|
+
public let tier: Swift.String?
|
|
179
|
+
public let confidence: Swift.String?
|
|
180
|
+
public let score: Swift.Double?
|
|
181
|
+
public let destinationPath: Swift.String?
|
|
182
|
+
public let slug: Swift.String?
|
|
183
|
+
public init(from response: CliqIt.CliqItDeferredMatchResponse)
|
|
184
|
+
public subscript(field: CliqIt.CliqItDeferredMatchField) -> Swift.String? {
|
|
185
|
+
get
|
|
186
|
+
}
|
|
187
|
+
public static func == (a: CliqIt.CliqItDeferredMatchInfo, b: CliqIt.CliqItDeferredMatchInfo) -> Swift.Bool
|
|
188
|
+
}
|
|
189
|
+
public struct CliqItDeferredMatchResponse : Swift.Decodable, Swift.Sendable, Swift.Equatable {
|
|
190
|
+
public let matched: Swift.Bool
|
|
191
|
+
public let tier: Swift.String?
|
|
192
|
+
public let confidence: Swift.String?
|
|
193
|
+
public let score: Swift.Double?
|
|
194
|
+
public let destinationPath: Swift.String?
|
|
195
|
+
public let slug: Swift.String?
|
|
196
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
197
|
+
public var info: CliqIt.CliqItDeferredMatchInfo {
|
|
198
|
+
get
|
|
199
|
+
}
|
|
200
|
+
public var outcome: CliqIt.CliqItDeferredMatchOutcome {
|
|
201
|
+
get
|
|
202
|
+
}
|
|
203
|
+
public subscript(field: CliqIt.CliqItDeferredMatchField) -> Swift.String? {
|
|
204
|
+
get
|
|
205
|
+
}
|
|
206
|
+
public static func == (a: CliqIt.CliqItDeferredMatchResponse, b: CliqIt.CliqItDeferredMatchResponse) -> Swift.Bool
|
|
207
|
+
}
|
|
208
|
+
public enum CliqItDeferredMatchError : Swift.Error, Swift.Sendable, Swift.Equatable, Foundation.LocalizedError {
|
|
209
|
+
case notConfigured
|
|
210
|
+
case message(Swift.String)
|
|
211
|
+
public var errorDescription: Swift.String? {
|
|
212
|
+
get
|
|
213
|
+
}
|
|
214
|
+
public static func == (a: CliqIt.CliqItDeferredMatchError, b: CliqIt.CliqItDeferredMatchError) -> Swift.Bool
|
|
215
|
+
}
|
|
216
|
+
public typealias CliqItDeferredMatchHandler = (CliqIt.CliqItDeferredMatchOutcome) -> Swift.Void
|
|
217
|
+
public typealias CliqItDeferredMatchDebugOptions = CliqIt.CliqItDeferredMatchOptions
|
|
218
|
+
public typealias CliqItDeferredMatchDebugResponse = CliqIt.CliqItDeferredMatchResponse
|
|
219
|
+
public typealias CliqItDeferredMatchDebugError = CliqIt.CliqItDeferredMatchError
|
|
220
|
+
public typealias CliqItDeferredMatchDebugHandler = (Swift.Result<CliqIt.CliqItDeferredMatchResponse, CliqIt.CliqItDeferredMatchError>) -> Swift.Void
|
|
221
|
+
public typealias CliqItDeferredMatchDebugRequestHandler = (Swift.String) -> Swift.Void
|
|
222
|
+
public enum CliqItSmartLinkBuilder {
|
|
223
|
+
public static func makeWebURL(path: Swift.String, queryItems: [Foundation.URLQueryItem] = [], configuration: CliqIt.CliqItSmartLinkConfiguration) -> Foundation.URL?
|
|
224
|
+
public static func makeAppURL(path: Swift.String, queryItems: [Foundation.URLQueryItem] = [], scheme: Swift.String) -> Foundation.URL?
|
|
225
|
+
}
|
|
226
|
+
public struct CliqItSmartLinkConfiguration : Swift.Sendable {
|
|
227
|
+
public let webDomain: Swift.String
|
|
228
|
+
public let customURLScheme: Swift.String
|
|
229
|
+
public let iOSAppStoreURL: Foundation.URL
|
|
230
|
+
public init(webDomain: Swift.String, customURLScheme: Swift.String, iOSAppStoreURL: Foundation.URL)
|
|
231
|
+
}
|
|
232
|
+
public struct CliqItWebFingerprint : Swift.Sendable, Swift.Equatable {
|
|
233
|
+
public let canvasHash: Swift.String?
|
|
234
|
+
public let webglHash: Swift.String?
|
|
235
|
+
public let webglVendor: Swift.String?
|
|
236
|
+
public let webglRenderer: Swift.String?
|
|
237
|
+
public let audioHash: Swift.String?
|
|
238
|
+
public let clockSkewMs: Swift.Double?
|
|
239
|
+
public let fontHash: Swift.String?
|
|
240
|
+
public let jsTimezone: Swift.String?
|
|
241
|
+
public let jsLanguages: Swift.String?
|
|
242
|
+
public let jsScreen: Swift.String?
|
|
243
|
+
public var gpuRenderer: Swift.String? {
|
|
244
|
+
get
|
|
245
|
+
}
|
|
246
|
+
public var audioFingerprint: Swift.String? {
|
|
247
|
+
get
|
|
248
|
+
}
|
|
249
|
+
public var isEmpty: Swift.Bool {
|
|
250
|
+
get
|
|
251
|
+
}
|
|
252
|
+
public var debugDescription: Swift.String {
|
|
253
|
+
get
|
|
254
|
+
}
|
|
255
|
+
public static func == (a: CliqIt.CliqItWebFingerprint, b: CliqIt.CliqItWebFingerprint) -> Swift.Bool
|
|
256
|
+
}
|
|
257
|
+
@_Concurrency.MainActor @preconcurrency public struct CliqItHandlerModifier : SwiftUICore.ViewModifier {
|
|
258
|
+
@_Concurrency.MainActor @preconcurrency public init(handler: @escaping CliqIt.CliqItHandler)
|
|
259
|
+
@_Concurrency.MainActor @preconcurrency public func body(content: CliqIt.CliqItHandlerModifier.Content) -> some SwiftUICore.View
|
|
260
|
+
|
|
261
|
+
public typealias Body = @_opaqueReturnTypeOf("$s6CliqIt0aB15HandlerModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tF", 0) __
|
|
262
|
+
}
|
|
263
|
+
extension SwiftUICore.View {
|
|
264
|
+
@_Concurrency.MainActor @preconcurrency public func handleCliqItDeepLinks(_ handler: @escaping CliqIt.CliqItHandler) -> some SwiftUICore.View
|
|
265
|
+
|
|
266
|
+
}
|
|
267
|
+
public struct CliqItCombinedFingerprint : Swift.Sendable, Swift.Equatable {
|
|
268
|
+
public let digest: Swift.String
|
|
269
|
+
public let parts: [Swift.String : Swift.String]
|
|
270
|
+
public var shortDigest: Swift.String {
|
|
271
|
+
get
|
|
272
|
+
}
|
|
273
|
+
public static func == (a: CliqIt.CliqItCombinedFingerprint, b: CliqIt.CliqItCombinedFingerprint) -> Swift.Bool
|
|
274
|
+
}
|
|
275
|
+
public enum CliqItLinkField : Swift.String, Swift.CaseIterable, Swift.Sendable {
|
|
276
|
+
case destination
|
|
277
|
+
case iosDestination
|
|
278
|
+
case androidDestination
|
|
279
|
+
case ogTitle
|
|
280
|
+
case ogDescription
|
|
281
|
+
case ogImage
|
|
282
|
+
case ogUrl
|
|
283
|
+
case slug
|
|
284
|
+
case webFallback
|
|
285
|
+
case showInterstitial
|
|
286
|
+
case isDeepLink
|
|
287
|
+
case appleTeamId
|
|
288
|
+
case iosBundleId
|
|
289
|
+
case androidPackageName
|
|
290
|
+
case resolvedPath
|
|
291
|
+
public init?(rawValue: Swift.String)
|
|
292
|
+
public typealias AllCases = [CliqIt.CliqItLinkField]
|
|
293
|
+
public typealias RawValue = Swift.String
|
|
294
|
+
nonisolated public static var allCases: [CliqIt.CliqItLinkField] {
|
|
295
|
+
get
|
|
296
|
+
}
|
|
297
|
+
public var rawValue: Swift.String {
|
|
298
|
+
get
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
public enum CliqItLinkLookupOutcome : Swift.Sendable, Swift.Equatable {
|
|
302
|
+
case resolved(CliqIt.CliqItLinkDetails)
|
|
303
|
+
case failed(CliqIt.CliqItDeferredMatchError)
|
|
304
|
+
public var details: CliqIt.CliqItLinkDetails? {
|
|
305
|
+
get
|
|
306
|
+
}
|
|
307
|
+
public var resolvedPath: Swift.String? {
|
|
308
|
+
get
|
|
309
|
+
}
|
|
310
|
+
public static func == (a: CliqIt.CliqItLinkLookupOutcome, b: CliqIt.CliqItLinkLookupOutcome) -> Swift.Bool
|
|
311
|
+
}
|
|
312
|
+
public struct CliqItLinkDetails : Swift.Decodable, Swift.Sendable, Swift.Equatable {
|
|
313
|
+
public let destination: Swift.String?
|
|
314
|
+
public let iosDestination: Swift.String?
|
|
315
|
+
public let androidDestination: Swift.String?
|
|
316
|
+
public let ogTitle: Swift.String?
|
|
317
|
+
public let ogDescription: Swift.String?
|
|
318
|
+
public let ogImage: Swift.String?
|
|
319
|
+
public let ogUrl: Swift.String?
|
|
320
|
+
public let slug: Swift.String?
|
|
321
|
+
public let webFallback: Swift.String?
|
|
322
|
+
public let showInterstitial: Swift.Bool?
|
|
323
|
+
public let isDeepLink: Swift.Bool?
|
|
324
|
+
public let appleTeamId: Swift.String?
|
|
325
|
+
public let iosBundleId: Swift.String?
|
|
326
|
+
public let androidPackageName: Swift.String?
|
|
327
|
+
public var resolvedPath: Swift.String? {
|
|
328
|
+
get
|
|
329
|
+
}
|
|
330
|
+
public subscript(field: CliqIt.CliqItLinkField) -> Swift.String? {
|
|
331
|
+
get
|
|
332
|
+
}
|
|
333
|
+
public static func == (a: CliqIt.CliqItLinkDetails, b: CliqIt.CliqItLinkDetails) -> Swift.Bool
|
|
334
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
335
|
+
}
|
|
336
|
+
public struct CliqItLinkLookupResponse : Swift.Decodable, Swift.Sendable, Swift.Equatable {
|
|
337
|
+
public let status: Swift.Bool
|
|
338
|
+
public let message: Swift.String?
|
|
339
|
+
public let data: CliqIt.CliqItLinkDetails?
|
|
340
|
+
public var outcome: CliqIt.CliqItLinkLookupOutcome {
|
|
341
|
+
get
|
|
342
|
+
}
|
|
343
|
+
public subscript(field: CliqIt.CliqItLinkField) -> Swift.String? {
|
|
344
|
+
get
|
|
345
|
+
}
|
|
346
|
+
public static func == (a: CliqIt.CliqItLinkLookupResponse, b: CliqIt.CliqItLinkLookupResponse) -> Swift.Bool
|
|
347
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
348
|
+
}
|
|
349
|
+
public typealias CliqItDirectLinkLookupHandler = (Swift.Result<CliqIt.CliqItLinkDetails, CliqIt.CliqItDeferredMatchError>) -> Swift.Void
|
|
350
|
+
public struct CliqItVerifyCheck : Swift.Decodable, Swift.Sendable, Swift.Equatable {
|
|
351
|
+
public let actual: Swift.String?
|
|
352
|
+
public let expected: Swift.String?
|
|
353
|
+
public let match: Swift.Bool
|
|
354
|
+
public var summary: Swift.String {
|
|
355
|
+
get
|
|
356
|
+
}
|
|
357
|
+
public static func == (a: CliqIt.CliqItVerifyCheck, b: CliqIt.CliqItVerifyCheck) -> Swift.Bool
|
|
358
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
359
|
+
}
|
|
360
|
+
public enum CliqItVerifyCheckField : Swift.String, Swift.CaseIterable, Swift.Sendable {
|
|
361
|
+
case bundleId
|
|
362
|
+
case packageName
|
|
363
|
+
case androidSha256
|
|
364
|
+
public init?(rawValue: Swift.String)
|
|
365
|
+
public typealias AllCases = [CliqIt.CliqItVerifyCheckField]
|
|
366
|
+
public typealias RawValue = Swift.String
|
|
367
|
+
nonisolated public static var allCases: [CliqIt.CliqItVerifyCheckField] {
|
|
368
|
+
get
|
|
369
|
+
}
|
|
370
|
+
public var rawValue: Swift.String {
|
|
371
|
+
get
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
public struct CliqItVerifyResult : Swift.Decodable, Swift.Sendable, Swift.Equatable {
|
|
375
|
+
public let ok: Swift.Bool
|
|
376
|
+
public let appId: Swift.String?
|
|
377
|
+
public let appName: Swift.String?
|
|
378
|
+
public let checks: [Swift.String : CliqIt.CliqItVerifyCheck]
|
|
379
|
+
public var failedChecks: [(field: Swift.String, check: CliqIt.CliqItVerifyCheck)] {
|
|
380
|
+
get
|
|
381
|
+
}
|
|
382
|
+
public var mismatchMessage: Swift.String {
|
|
383
|
+
get
|
|
384
|
+
}
|
|
385
|
+
public subscript(field: CliqIt.CliqItVerifyCheckField) -> CliqIt.CliqItVerifyCheck? {
|
|
386
|
+
get
|
|
387
|
+
}
|
|
388
|
+
public static func == (a: CliqIt.CliqItVerifyResult, b: CliqIt.CliqItVerifyResult) -> Swift.Bool
|
|
389
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
390
|
+
}
|
|
391
|
+
public enum CliqItVerifyOutcome : Swift.Sendable, Swift.Equatable {
|
|
392
|
+
case passed(CliqIt.CliqItVerifyResult)
|
|
393
|
+
case mismatched(CliqIt.CliqItVerifyResult)
|
|
394
|
+
case error(CliqIt.CliqItDeferredMatchError)
|
|
395
|
+
public var isOk: Swift.Bool {
|
|
396
|
+
get
|
|
397
|
+
}
|
|
398
|
+
public var result: CliqIt.CliqItVerifyResult? {
|
|
399
|
+
get
|
|
400
|
+
}
|
|
401
|
+
public static func == (a: CliqIt.CliqItVerifyOutcome, b: CliqIt.CliqItVerifyOutcome) -> Swift.Bool
|
|
402
|
+
}
|
|
403
|
+
public typealias CliqItVerifyHandler = (CliqIt.CliqItVerifyOutcome) -> Swift.Void
|
|
404
|
+
extension CliqIt.CliqItSource : Swift.Equatable {}
|
|
405
|
+
extension CliqIt.CliqItSource : Swift.Hashable {}
|
|
406
|
+
extension CliqIt.CliqItSource : Swift.RawRepresentable {}
|
|
407
|
+
extension CliqIt.CliqItParam : Swift.Equatable {}
|
|
408
|
+
extension CliqIt.CliqItParam : Swift.Hashable {}
|
|
409
|
+
extension CliqIt.CliqItParam : Swift.RawRepresentable {}
|
|
410
|
+
extension CliqIt.CliqItDeferredMatchField : Swift.Equatable {}
|
|
411
|
+
extension CliqIt.CliqItDeferredMatchField : Swift.Hashable {}
|
|
412
|
+
extension CliqIt.CliqItDeferredMatchField : Swift.RawRepresentable {}
|
|
413
|
+
extension CliqIt.CliqItHandlerModifier : Swift.Sendable {}
|
|
414
|
+
extension CliqIt.CliqItLinkField : Swift.Equatable {}
|
|
415
|
+
extension CliqIt.CliqItLinkField : Swift.Hashable {}
|
|
416
|
+
extension CliqIt.CliqItLinkField : Swift.RawRepresentable {}
|
|
417
|
+
extension CliqIt.CliqItVerifyCheckField : Swift.Equatable {}
|
|
418
|
+
extension CliqIt.CliqItVerifyCheckField : Swift.Hashable {}
|
|
419
|
+
extension CliqIt.CliqItVerifyCheckField : Swift.RawRepresentable {}
|