Build Information
Failed to build BoxSdkGen, reference 0.5.1-cryptomator (af929b), with Swift 6.1 for Wasm on 15 Oct 2026 18:23:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
28 | /// - urlResponse: Represents a response to an HTTP URL
29 | /// - responseType: Represents response type, either data or downloaded file
30 | init(options: FetchOptions, urlRequest: URLRequest, urlResponse: HTTPURLResponse, responseType: ResponseType) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | self.options = options
32 | self.urlRequest = urlRequest
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:43:54: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | switch self.responseType {
42 | case let .data(data):
43 | return FetchResponse(status: urlResponse.statusCode, data: SerializedData(data: data))
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
44 | case let .url(url):
45 | return FetchResponse(status: urlResponse.statusCode, data: SerializedData(data: Data()), downloadDestinationURL: url)
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:45:54: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | return FetchResponse(status: urlResponse.statusCode, data: SerializedData(data: data))
44 | case let .url(url):
45 | return FetchResponse(status: urlResponse.statusCode, data: SerializedData(data: Data()), downloadDestinationURL: url)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
46 | }
47 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:20:37: error: cannot find 'DispatchQueue' in scope
18 | public static let shared = NetworkClient()
19 |
20 | private let continuationQueue = DispatchQueue(label: "BoxSdkGen.NetworkClient.continuationQueue.\(UUID().uuidString)")
| `- error: cannot find 'DispatchQueue' in scope
21 | private var taskInfos: [URLSessionTask: TaskInfo] = [:]
22 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:21:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
19 |
20 | private let continuationQueue = DispatchQueue(label: "BoxSdkGen.NetworkClient.continuationQueue.\(UUID().uuidString)")
21 | private var taskInfos: [URLSessionTask: TaskInfo] = [:]
| `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
22 |
23 | private override init() {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:21:29: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | private let continuationQueue = DispatchQueue(label: "BoxSdkGen.NetworkClient.continuationQueue.\(UUID().uuidString)")
21 | private var taskInfos: [URLSessionTask: TaskInfo] = [:]
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | private override init() {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:87:48: error: cannot find type 'URLRequest' in scope
85 | /// - Returns: Tuple of (Data, URLResponse)
86 | /// - Throws: An error if the request fails for any reason.
87 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
88 | let task = networkSession.session.dataTask(with: urlRequest)
89 | return try await send(task) { continuation in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:87:115: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | /// - Returns: Tuple of (Data, URLResponse)
86 | /// - Throws: An error if the request fails for any reason.
87 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 | let task = networkSession.session.dataTask(with: urlRequest)
89 | return try await send(task) { continuation in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:102:52: error: cannot find type 'URLRequest' in scope
100 | /// - Returns: Tuple of (URL, URLResponse)
101 | /// - Throws: An error if the request fails for any reason.
102 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
103 | let task = networkSession.session.downloadTask(with: urlRequest)
104 | return try await send(task) { continuation in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:102:147: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | /// - Returns: Tuple of (URL, URLResponse)
101 | /// - Throws: An error if the request fails for any reason.
102 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | let task = networkSession.session.downloadTask(with: urlRequest)
104 | return try await send(task) { continuation in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:50: error: cannot find type 'URLRequest' in scope
114 | /// - Returns: Tuple of (Data, URLResponse)
115 | /// - Throws: An error if the request fails for any reason.
116 | private func sendUploadRequest(_ urlRequest: URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
117 | let task: URLSessionUploadTask
118 | var multipartTempFileURL: URL?
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:140: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 | /// - Returns: Tuple of (Data, URLResponse)
115 | /// - Throws: An error if the request fails for any reason.
116 | private func sendUploadRequest(_ urlRequest: URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
117 | let task: URLSessionUploadTask
118 | var multipartTempFileURL: URL?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:148:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
146 | /// - Returns: The value the continuation is resumed with.
147 | /// - Throws: `CancellationError` if the current Swift task is cancelled, or an error if the request fails for any reason.
148 | private func send<T>(_ task: URLSessionTask, createTaskInfo: (CheckedContinuation<T, Error>) -> TaskInfo) async throws -> T {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 | return try await withTaskCancellationHandler {
150 | try await withCheckedThrowingContinuation { continuation in
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:176:43: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 | /// - Parameters:
175 | /// - task: The task that is being cancelled.
176 | private func cancelTaskInfo(for task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 | taskInfos.removeValue(forKey: task)?.resume(throwing: CancellationError())
178 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:187:69: error: cannot find type 'URLRequest' in scope
185 | /// - Returns: The URL of the multipart file created.
186 | /// - Throws: An error if writing fails.
187 | private func updateRequestWithMultipartData(_ urlRequest: inout URLRequest, multipartData: [MultipartItem]) throws -> URL {
| `- error: cannot find type 'URLRequest' in scope
188 | let boundary = "Boundary-\(UUID().uuidString)"
189 | urlRequest.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: HTTPHeaderKey.contentType)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:233:23: error: cannot find type 'URLRequest' in scope
231 | options: FetchOptions,
232 | networkSession: NetworkSession
233 | ) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
234 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
235 | urlRequest.httpMethod = options.method.rawValue
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:259:63: error: cannot find type 'URLRequest' in scope
257 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
258 | /// - Throws: An error if the operation fails for any reason.
259 | private func updateRequestWithHeaders(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
260 | urlRequest.allHTTPHeaderFields = options.headers.compactMapValues { $0?.paramValue }
261 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:284:75: error: cannot find type 'URLRequest' in scope
282 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
283 | /// - Throws: An error if the operation fails for any reason.
284 | private func updateRequestWithAuthorizationHeader(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
285 | if let auth = options.auth, let token = (try await auth.retrieveToken(networkSession: networkSession)).accessToken {
286 | urlRequest.setValue("Bearer \(token)", forHTTPHeaderField: HTTPHeaderKey.authorization)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:39: error: cannot find type 'URLSessionDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:59: error: cannot find type 'URLSessionTaskDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:83: error: cannot find type 'URLSessionDataDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:107: error: cannot find type 'URLSessionDownloadDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:366:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
364 |
365 | extension NetworkClient {
366 | public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
367 | continuationQueue.sync {
368 | guard let taskInfo = taskInfos.removeValue(forKey: task) else { return }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:366:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
364 |
365 | extension NetworkClient {
366 | public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
367 | continuationQueue.sync {
368 | guard let taskInfo = taskInfos.removeValue(forKey: task) else { return }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:381:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
379 | }
380 |
381 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
382 | continuationQueue.sync {
383 | guard let dataTaskInfo = taskInfos[dataTask] as? DataTaskInfo else { return }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:381:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
379 | }
380 |
381 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
382 | continuationQueue.sync {
383 | guard let dataTaskInfo = taskInfos[dataTask] as? DataTaskInfo else { return }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:388:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
386 | }
387 |
388 | public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
389 | continuationQueue.sync {
390 | guard let downloadTaskInfo = taskInfos.removeValue(forKey: downloadTask) as? DownloadTaskInfo else { return }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:388:65: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
386 | }
387 |
388 | public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
389 | continuationQueue.sync {
390 | guard let downloadTaskInfo = taskInfos.removeValue(forKey: downloadTask) as? DownloadTaskInfo else { return }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:67:153: error: cannot infer contextual base in reference to member 'url'
65 | if let downloadDestinationURL = options.downloadDestinationURL {
66 | let (downloadUrl, urlResponse) = try await sendDownloadRequest(urlRequest, downloadDestinationURL: downloadDestinationURL, networkSession: networkSession)
67 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .url(downloadUrl))
| `- error: cannot infer contextual base in reference to member 'url'
68 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt, isUpload: isUpload)
69 | } else if isUpload {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:71:153: error: cannot infer contextual base in reference to member 'data'
69 | } else if isUpload {
70 | let (data, urlResponse) = try await sendUploadRequest(urlRequest, options: options, networkSession: networkSession)
71 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .data(data))
| `- error: cannot infer contextual base in reference to member 'data'
72 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt, isUpload: isUpload)
73 | } else {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:75:153: error: cannot infer contextual base in reference to member 'data'
73 | } else {
74 | let (data, urlResponse) = try await sendDataRequest(urlRequest, networkSession: networkSession)
75 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .data(data))
| `- error: cannot infer contextual base in reference to member 'data'
76 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt, isUpload: isUpload)
77 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:88:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
86 | /// - Throws: An error if the request fails for any reason.
87 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
88 | let task = networkSession.session.dataTask(with: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
89 | return try await send(task) { continuation in
90 | DataTaskInfo(continuation: continuation)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:103:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
101 | /// - Throws: An error if the request fails for any reason.
102 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
103 | let task = networkSession.session.downloadTask(with: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
104 | return try await send(task) { continuation in
105 | DownloadTaskInfo(continuation: continuation, destinationURL: downloadDestinationURL)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:117:19: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 | /// - Throws: An error if the request fails for any reason.
116 | private func sendUploadRequest(_ urlRequest: URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
117 | let task: URLSessionUploadTask
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 | var multipartTempFileURL: URL?
119 | defer {
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:125:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
123 | }
124 | if let serializedData = options.data {
125 | task = networkSession.session.uploadTask(with: urlRequest, from: serializedData.data)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
126 | } else if let fileURL = options.fileURL {
127 | task = networkSession.session.uploadTask(with: urlRequest, fromFile: fileURL)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:127:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
125 | task = networkSession.session.uploadTask(with: urlRequest, from: serializedData.data)
126 | } else if let fileURL = options.fileURL {
127 | task = networkSession.session.uploadTask(with: urlRequest, fromFile: fileURL)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
128 | } else if let multipartData = options.multipartData {
129 | var mutableRequest = urlRequest
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:132:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
130 | let tempFileURL = try updateRequestWithMultipartData(&mutableRequest, multipartData: multipartData)
131 | multipartTempFileURL = tempFileURL
132 | task = networkSession.session.uploadTask(with: mutableRequest, fromFile: tempFileURL)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
133 | } else {
134 | throw BoxSDKError(message: "Upload request has neither data, a file nor multipart data to send.")
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:152:30: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
150 | try await withCheckedThrowingContinuation { continuation in
151 | continuationQueue.sync {
152 | taskInfos[task] = createTaskInfo(continuation)
| `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
153 | // Checked on continuationQueue after registering the task info: the cancellation handler's block either ran already, in which case isCancelled is true here, or runs later and finds the task info.
154 | if _Concurrency.Task.isCancelled {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:177:19: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
175 | /// - task: The task that is being cancelled.
176 | private func cancelTaskInfo(for task: URLSessionTask) {
177 | taskInfos.removeValue(forKey: task)?.resume(throwing: CancellationError())
| `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
178 | }
179 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:234:26: error: cannot find 'URLRequest' in scope
232 | networkSession: NetworkSession
233 | ) async throws -> URLRequest {
234 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
| `- error: cannot find 'URLRequest' in scope
235 | urlRequest.httpMethod = options.method.rawValue
236 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:322:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
320 | isUpload: Bool
321 | ) async throws -> FetchResponse {
322 | let statusCode = conversation.urlResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
323 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
324 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:323:102: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
321 | ) async throws -> FetchResponse {
322 | let statusCode = conversation.urlResponse.statusCode
323 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
324 |
325 | // OK
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:343:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
341 | // Retryable
342 | if statusCode == 429 || statusCode >= 500 || isStatusCodeAcceptedWithRetryAfterHeader {
343 | let retryTimeout = Double(conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) ?? "")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
344 | ?? networkSession.networkSettings.retryStrategy.getRetryTimeout(attempt: attempt)
345 | try await wait(seconds: retryTimeout)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:368:44: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
366 | public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
367 | continuationQueue.sync {
368 | guard let taskInfo = taskInfos.removeValue(forKey: task) else { return }
| `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
369 | if let error = error {
370 | taskInfo.resume(throwing: BoxNetworkError(message: error.localizedDescription, error: error))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:383:47: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
381 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
382 | continuationQueue.sync {
383 | guard let dataTaskInfo = taskInfos[dataTask] as? DataTaskInfo else { return }
| `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
384 | dataTaskInfo.accumulatedData.append(data)
385 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:390:52: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
388 | public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
389 | continuationQueue.sync {
390 | guard let downloadTaskInfo = taskInfos.removeValue(forKey: downloadTask) as? DownloadTaskInfo else { return }
| `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
391 | do {
392 | try FileManager.default.moveItem(at: location, to: downloadTaskInfo.destinationURL)
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 | /// Provides an API for downloading data from and uploading data to endpoints indicated by URL.
16 | public let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// url session configuration.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:19:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// url session configuration.
19 | public let configuration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | /// Additional network settings.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:38:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: NetworkClient.shared, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:38:112: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: NetworkClient.shared, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
[801/952] Compiling BoxSdkGen NetworkSession.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/Webhooks/WebhooksManager.swift:83:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
81 | public func deleteWebhookById(webhookId: String, headers: DeleteWebhookByIdHeaders = DeleteWebhookByIdHeaders()) async throws {
82 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
83 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/webhooks/")\(webhookId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
84 | }
85 |
/host/spi-builder-workspace/Sources/Managers/Workflows/WorkflowsManager.swift:44:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
42 | public func startWorkflow(workflowId: String, requestBody: StartWorkflowRequestBody, headers: StartWorkflowHeaders = StartWorkflowHeaders()) async throws {
43 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
44 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/workflows/")\(workflowId)\("/start")", method: "POST", headers: headersMap, data: try requestBody.serialize(), contentType: "application/json", responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
45 | }
46 |
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:17:21: error: cannot find type 'URLRequest' in scope
15 | let options: FetchOptions
16 | /// Represents an URL request.
17 | let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
18 | /// Represents a response to an HTTP URL.
19 | let urlResponse: HTTPURLResponse
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:19:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | let urlRequest: URLRequest
18 | /// Represents a response to an HTTP URL.
19 | let urlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | /// Represents response type, either data or downloaded file
21 | let responseType: ResponseType
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:30:45: error: cannot find type 'URLRequest' in scope
28 | /// - urlResponse: Represents a response to an HTTP URL
29 | /// - responseType: Represents response type, either data or downloaded file
30 | init(options: FetchOptions, urlRequest: URLRequest, urlResponse: HTTPURLResponse, responseType: ResponseType) {
| `- error: cannot find type 'URLRequest' in scope
31 | self.options = options
32 | self.urlRequest = urlRequest
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:30:70: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | /// - urlResponse: Represents a response to an HTTP URL
29 | /// - responseType: Represents response type, either data or downloaded file
30 | init(options: FetchOptions, urlRequest: URLRequest, urlResponse: HTTPURLResponse, responseType: ResponseType) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | self.options = options
32 | self.urlRequest = urlRequest
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:43:54: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | switch self.responseType {
42 | case let .data(data):
43 | return FetchResponse(status: urlResponse.statusCode, data: SerializedData(data: data))
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
44 | case let .url(url):
45 | return FetchResponse(status: urlResponse.statusCode, data: SerializedData(data: Data()), downloadDestinationURL: url)
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:45:54: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | return FetchResponse(status: urlResponse.statusCode, data: SerializedData(data: data))
44 | case let .url(url):
45 | return FetchResponse(status: urlResponse.statusCode, data: SerializedData(data: Data()), downloadDestinationURL: url)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
46 | }
47 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:20:37: error: cannot find 'DispatchQueue' in scope
18 | public static let shared = NetworkClient()
19 |
20 | private let continuationQueue = DispatchQueue(label: "BoxSdkGen.NetworkClient.continuationQueue.\(UUID().uuidString)")
| `- error: cannot find 'DispatchQueue' in scope
21 | private var taskInfos: [URLSessionTask: TaskInfo] = [:]
22 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:21:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
19 |
20 | private let continuationQueue = DispatchQueue(label: "BoxSdkGen.NetworkClient.continuationQueue.\(UUID().uuidString)")
21 | private var taskInfos: [URLSessionTask: TaskInfo] = [:]
| `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
22 |
23 | private override init() {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:21:29: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | private let continuationQueue = DispatchQueue(label: "BoxSdkGen.NetworkClient.continuationQueue.\(UUID().uuidString)")
21 | private var taskInfos: [URLSessionTask: TaskInfo] = [:]
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | private override init() {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:87:48: error: cannot find type 'URLRequest' in scope
85 | /// - Returns: Tuple of (Data, URLResponse)
86 | /// - Throws: An error if the request fails for any reason.
87 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
88 | let task = networkSession.session.dataTask(with: urlRequest)
89 | return try await send(task) { continuation in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:87:115: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | /// - Returns: Tuple of (Data, URLResponse)
86 | /// - Throws: An error if the request fails for any reason.
87 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 | let task = networkSession.session.dataTask(with: urlRequest)
89 | return try await send(task) { continuation in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:102:52: error: cannot find type 'URLRequest' in scope
100 | /// - Returns: Tuple of (URL, URLResponse)
101 | /// - Throws: An error if the request fails for any reason.
102 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
103 | let task = networkSession.session.downloadTask(with: urlRequest)
104 | return try await send(task) { continuation in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:102:147: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | /// - Returns: Tuple of (URL, URLResponse)
101 | /// - Throws: An error if the request fails for any reason.
102 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | let task = networkSession.session.downloadTask(with: urlRequest)
104 | return try await send(task) { continuation in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:50: error: cannot find type 'URLRequest' in scope
114 | /// - Returns: Tuple of (Data, URLResponse)
115 | /// - Throws: An error if the request fails for any reason.
116 | private func sendUploadRequest(_ urlRequest: URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
117 | let task: URLSessionUploadTask
118 | var multipartTempFileURL: URL?
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:140: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 | /// - Returns: Tuple of (Data, URLResponse)
115 | /// - Throws: An error if the request fails for any reason.
116 | private func sendUploadRequest(_ urlRequest: URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
117 | let task: URLSessionUploadTask
118 | var multipartTempFileURL: URL?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:148:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
146 | /// - Returns: The value the continuation is resumed with.
147 | /// - Throws: `CancellationError` if the current Swift task is cancelled, or an error if the request fails for any reason.
148 | private func send<T>(_ task: URLSessionTask, createTaskInfo: (CheckedContinuation<T, Error>) -> TaskInfo) async throws -> T {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 | return try await withTaskCancellationHandler {
150 | try await withCheckedThrowingContinuation { continuation in
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:176:43: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 | /// - Parameters:
175 | /// - task: The task that is being cancelled.
176 | private func cancelTaskInfo(for task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 | taskInfos.removeValue(forKey: task)?.resume(throwing: CancellationError())
178 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:187:69: error: cannot find type 'URLRequest' in scope
185 | /// - Returns: The URL of the multipart file created.
186 | /// - Throws: An error if writing fails.
187 | private func updateRequestWithMultipartData(_ urlRequest: inout URLRequest, multipartData: [MultipartItem]) throws -> URL {
| `- error: cannot find type 'URLRequest' in scope
188 | let boundary = "Boundary-\(UUID().uuidString)"
189 | urlRequest.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: HTTPHeaderKey.contentType)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:233:23: error: cannot find type 'URLRequest' in scope
231 | options: FetchOptions,
232 | networkSession: NetworkSession
233 | ) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
234 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
235 | urlRequest.httpMethod = options.method.rawValue
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:259:63: error: cannot find type 'URLRequest' in scope
257 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
258 | /// - Throws: An error if the operation fails for any reason.
259 | private func updateRequestWithHeaders(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
260 | urlRequest.allHTTPHeaderFields = options.headers.compactMapValues { $0?.paramValue }
261 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:284:75: error: cannot find type 'URLRequest' in scope
282 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
283 | /// - Throws: An error if the operation fails for any reason.
284 | private func updateRequestWithAuthorizationHeader(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
285 | if let auth = options.auth, let token = (try await auth.retrieveToken(networkSession: networkSession)).accessToken {
286 | urlRequest.setValue("Bearer \(token)", forHTTPHeaderField: HTTPHeaderKey.authorization)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:39: error: cannot find type 'URLSessionDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:59: error: cannot find type 'URLSessionTaskDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:83: error: cannot find type 'URLSessionDataDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:107: error: cannot find type 'URLSessionDownloadDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:366:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
364 |
365 | extension NetworkClient {
366 | public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
367 | continuationQueue.sync {
368 | guard let taskInfo = taskInfos.removeValue(forKey: task) else { return }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:366:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
364 |
365 | extension NetworkClient {
366 | public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
367 | continuationQueue.sync {
368 | guard let taskInfo = taskInfos.removeValue(forKey: task) else { return }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:381:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
379 | }
380 |
381 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
382 | continuationQueue.sync {
383 | guard let dataTaskInfo = taskInfos[dataTask] as? DataTaskInfo else { return }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:381:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
379 | }
380 |
381 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
382 | continuationQueue.sync {
383 | guard let dataTaskInfo = taskInfos[dataTask] as? DataTaskInfo else { return }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:388:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
386 | }
387 |
388 | public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
389 | continuationQueue.sync {
390 | guard let downloadTaskInfo = taskInfos.removeValue(forKey: downloadTask) as? DownloadTaskInfo else { return }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:388:65: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
386 | }
387 |
388 | public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
389 | continuationQueue.sync {
390 | guard let downloadTaskInfo = taskInfos.removeValue(forKey: downloadTask) as? DownloadTaskInfo else { return }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:67:153: error: cannot infer contextual base in reference to member 'url'
65 | if let downloadDestinationURL = options.downloadDestinationURL {
66 | let (downloadUrl, urlResponse) = try await sendDownloadRequest(urlRequest, downloadDestinationURL: downloadDestinationURL, networkSession: networkSession)
67 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .url(downloadUrl))
| `- error: cannot infer contextual base in reference to member 'url'
68 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt, isUpload: isUpload)
69 | } else if isUpload {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:71:153: error: cannot infer contextual base in reference to member 'data'
69 | } else if isUpload {
70 | let (data, urlResponse) = try await sendUploadRequest(urlRequest, options: options, networkSession: networkSession)
71 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .data(data))
| `- error: cannot infer contextual base in reference to member 'data'
72 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt, isUpload: isUpload)
73 | } else {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:75:153: error: cannot infer contextual base in reference to member 'data'
73 | } else {
74 | let (data, urlResponse) = try await sendDataRequest(urlRequest, networkSession: networkSession)
75 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .data(data))
| `- error: cannot infer contextual base in reference to member 'data'
76 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt, isUpload: isUpload)
77 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:88:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
86 | /// - Throws: An error if the request fails for any reason.
87 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
88 | let task = networkSession.session.dataTask(with: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
89 | return try await send(task) { continuation in
90 | DataTaskInfo(continuation: continuation)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:103:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
101 | /// - Throws: An error if the request fails for any reason.
102 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
103 | let task = networkSession.session.downloadTask(with: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
104 | return try await send(task) { continuation in
105 | DownloadTaskInfo(continuation: continuation, destinationURL: downloadDestinationURL)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:117:19: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 | /// - Throws: An error if the request fails for any reason.
116 | private func sendUploadRequest(_ urlRequest: URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
117 | let task: URLSessionUploadTask
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 | var multipartTempFileURL: URL?
119 | defer {
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:125:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
123 | }
124 | if let serializedData = options.data {
125 | task = networkSession.session.uploadTask(with: urlRequest, from: serializedData.data)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
126 | } else if let fileURL = options.fileURL {
127 | task = networkSession.session.uploadTask(with: urlRequest, fromFile: fileURL)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:127:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
125 | task = networkSession.session.uploadTask(with: urlRequest, from: serializedData.data)
126 | } else if let fileURL = options.fileURL {
127 | task = networkSession.session.uploadTask(with: urlRequest, fromFile: fileURL)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
128 | } else if let multipartData = options.multipartData {
129 | var mutableRequest = urlRequest
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:132:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
130 | let tempFileURL = try updateRequestWithMultipartData(&mutableRequest, multipartData: multipartData)
131 | multipartTempFileURL = tempFileURL
132 | task = networkSession.session.uploadTask(with: mutableRequest, fromFile: tempFileURL)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
133 | } else {
134 | throw BoxSDKError(message: "Upload request has neither data, a file nor multipart data to send.")
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:152:30: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
150 | try await withCheckedThrowingContinuation { continuation in
151 | continuationQueue.sync {
152 | taskInfos[task] = createTaskInfo(continuation)
| `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
153 | // Checked on continuationQueue after registering the task info: the cancellation handler's block either ran already, in which case isCancelled is true here, or runs later and finds the task info.
154 | if _Concurrency.Task.isCancelled {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:177:19: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
175 | /// - task: The task that is being cancelled.
176 | private func cancelTaskInfo(for task: URLSessionTask) {
177 | taskInfos.removeValue(forKey: task)?.resume(throwing: CancellationError())
| `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
178 | }
179 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:234:26: error: cannot find 'URLRequest' in scope
232 | networkSession: NetworkSession
233 | ) async throws -> URLRequest {
234 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
| `- error: cannot find 'URLRequest' in scope
235 | urlRequest.httpMethod = options.method.rawValue
236 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:322:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
320 | isUpload: Bool
321 | ) async throws -> FetchResponse {
322 | let statusCode = conversation.urlResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
323 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
324 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:323:102: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
321 | ) async throws -> FetchResponse {
322 | let statusCode = conversation.urlResponse.statusCode
323 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
324 |
325 | // OK
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:343:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
341 | // Retryable
342 | if statusCode == 429 || statusCode >= 500 || isStatusCodeAcceptedWithRetryAfterHeader {
343 | let retryTimeout = Double(conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) ?? "")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
344 | ?? networkSession.networkSettings.retryStrategy.getRetryTimeout(attempt: attempt)
345 | try await wait(seconds: retryTimeout)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:368:44: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
366 | public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
367 | continuationQueue.sync {
368 | guard let taskInfo = taskInfos.removeValue(forKey: task) else { return }
| `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
369 | if let error = error {
370 | taskInfo.resume(throwing: BoxNetworkError(message: error.localizedDescription, error: error))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:383:47: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
381 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
382 | continuationQueue.sync {
383 | guard let dataTaskInfo = taskInfos[dataTask] as? DataTaskInfo else { return }
| `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
384 | dataTaskInfo.accumulatedData.append(data)
385 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:390:52: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
388 | public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
389 | continuationQueue.sync {
390 | guard let downloadTaskInfo = taskInfos.removeValue(forKey: downloadTask) as? DownloadTaskInfo else { return }
| `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
391 | do {
392 | try FileManager.default.moveItem(at: location, to: downloadTaskInfo.destinationURL)
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 | /// Provides an API for downloading data from and uploading data to endpoints indicated by URL.
16 | public let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// url session configuration.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:19:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// url session configuration.
19 | public let configuration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | /// Additional network settings.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:38:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: NetworkClient.shared, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:38:112: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: NetworkClient.shared, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
error: emit-module command failed with exit code 1 (use -v to see invocation)
[802/977] Emitting module BoxSdkGen
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Internal/ArrayInputStream.swift:22:1: warning: extension declares a conformance of imported type 'InputStream' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
20 | import Foundation
21 |
22 | extension InputStream: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'InputStream' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 |
24 | class ArrayInputStream: InputStream {
/host/spi-builder-workspace/Sources/Internal/ArrayInputStream.swift:24:7: warning: class 'ArrayInputStream' must restate inherited '@unchecked Sendable' conformance
22 | extension InputStream: @unchecked Sendable {}
23 |
24 | class ArrayInputStream: InputStream {
| `- warning: class 'ArrayInputStream' must restate inherited '@unchecked Sendable' conformance
25 | private let inputStreams: [InputStream]
26 |
/host/spi-builder-workspace/Sources/Internal/MemoryInputStream.swift:4:7: warning: class 'MemoryInputStream' must restate inherited '@unchecked Sendable' conformance
2 |
3 | /// A custom `InputStream` implementation that reads data from an in-memory `Data` object.
4 | class MemoryInputStream: InputStream {
| `- warning: class 'MemoryInputStream' must restate inherited '@unchecked Sendable' conformance
5 | private var data: Data
6 | private var position: Int = 0
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:17:21: error: cannot find type 'URLRequest' in scope
15 | let options: FetchOptions
16 | /// Represents an URL request.
17 | let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
18 | /// Represents a response to an HTTP URL.
19 | let urlResponse: HTTPURLResponse
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:19:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | let urlRequest: URLRequest
18 | /// Represents a response to an HTTP URL.
19 | let urlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | /// Represents response type, either data or downloaded file
21 | let responseType: ResponseType
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:30:45: error: cannot find type 'URLRequest' in scope
28 | /// - urlResponse: Represents a response to an HTTP URL
29 | /// - responseType: Represents response type, either data or downloaded file
30 | init(options: FetchOptions, urlRequest: URLRequest, urlResponse: HTTPURLResponse, responseType: ResponseType) {
| `- error: cannot find type 'URLRequest' in scope
31 | self.options = options
32 | self.urlRequest = urlRequest
/host/spi-builder-workspace/Sources/Networking/FetchConversation.swift:30:70: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | /// - urlResponse: Represents a response to an HTTP URL
29 | /// - responseType: Represents response type, either data or downloaded file
30 | init(options: FetchOptions, urlRequest: URLRequest, urlResponse: HTTPURLResponse, responseType: ResponseType) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | self.options = options
32 | self.urlRequest = urlRequest
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:20:37: error: cannot find 'DispatchQueue' in scope
18 | public static let shared = NetworkClient()
19 |
20 | private let continuationQueue = DispatchQueue(label: "BoxSdkGen.NetworkClient.continuationQueue.\(UUID().uuidString)")
| `- error: cannot find 'DispatchQueue' in scope
21 | private var taskInfos: [URLSessionTask: TaskInfo] = [:]
22 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:21:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
19 |
20 | private let continuationQueue = DispatchQueue(label: "BoxSdkGen.NetworkClient.continuationQueue.\(UUID().uuidString)")
21 | private var taskInfos: [URLSessionTask: TaskInfo] = [:]
| `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
22 |
23 | private override init() {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:21:29: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | private let continuationQueue = DispatchQueue(label: "BoxSdkGen.NetworkClient.continuationQueue.\(UUID().uuidString)")
21 | private var taskInfos: [URLSessionTask: TaskInfo] = [:]
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | private override init() {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:87:48: error: cannot find type 'URLRequest' in scope
85 | /// - Returns: Tuple of (Data, URLResponse)
86 | /// - Throws: An error if the request fails for any reason.
87 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
88 | let task = networkSession.session.dataTask(with: urlRequest)
89 | return try await send(task) { continuation in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:87:115: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | /// - Returns: Tuple of (Data, URLResponse)
86 | /// - Throws: An error if the request fails for any reason.
87 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 | let task = networkSession.session.dataTask(with: urlRequest)
89 | return try await send(task) { continuation in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:102:52: error: cannot find type 'URLRequest' in scope
100 | /// - Returns: Tuple of (URL, URLResponse)
101 | /// - Throws: An error if the request fails for any reason.
102 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
103 | let task = networkSession.session.downloadTask(with: urlRequest)
104 | return try await send(task) { continuation in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:102:147: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | /// - Returns: Tuple of (URL, URLResponse)
101 | /// - Throws: An error if the request fails for any reason.
102 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | let task = networkSession.session.downloadTask(with: urlRequest)
104 | return try await send(task) { continuation in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:50: error: cannot find type 'URLRequest' in scope
114 | /// - Returns: Tuple of (Data, URLResponse)
115 | /// - Throws: An error if the request fails for any reason.
116 | private func sendUploadRequest(_ urlRequest: URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
117 | let task: URLSessionUploadTask
118 | var multipartTempFileURL: URL?
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:140: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 | /// - Returns: Tuple of (Data, URLResponse)
115 | /// - Throws: An error if the request fails for any reason.
116 | private func sendUploadRequest(_ urlRequest: URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
117 | let task: URLSessionUploadTask
118 | var multipartTempFileURL: URL?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:148:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
146 | /// - Returns: The value the continuation is resumed with.
147 | /// - Throws: `CancellationError` if the current Swift task is cancelled, or an error if the request fails for any reason.
148 | private func send<T>(_ task: URLSessionTask, createTaskInfo: (CheckedContinuation<T, Error>) -> TaskInfo) async throws -> T {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 | return try await withTaskCancellationHandler {
150 | try await withCheckedThrowingContinuation { continuation in
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:176:43: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 | /// - Parameters:
175 | /// - task: The task that is being cancelled.
176 | private func cancelTaskInfo(for task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 | taskInfos.removeValue(forKey: task)?.resume(throwing: CancellationError())
178 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:187:69: error: cannot find type 'URLRequest' in scope
185 | /// - Returns: The URL of the multipart file created.
186 | /// - Throws: An error if writing fails.
187 | private func updateRequestWithMultipartData(_ urlRequest: inout URLRequest, multipartData: [MultipartItem]) throws -> URL {
| `- error: cannot find type 'URLRequest' in scope
188 | let boundary = "Boundary-\(UUID().uuidString)"
189 | urlRequest.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: HTTPHeaderKey.contentType)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:233:23: error: cannot find type 'URLRequest' in scope
231 | options: FetchOptions,
232 | networkSession: NetworkSession
233 | ) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
234 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
235 | urlRequest.httpMethod = options.method.rawValue
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:259:63: error: cannot find type 'URLRequest' in scope
257 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
258 | /// - Throws: An error if the operation fails for any reason.
259 | private func updateRequestWithHeaders(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
260 | urlRequest.allHTTPHeaderFields = options.headers.compactMapValues { $0?.paramValue }
261 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:284:75: error: cannot find type 'URLRequest' in scope
282 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
283 | /// - Throws: An error if the operation fails for any reason.
284 | private func updateRequestWithAuthorizationHeader(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
285 | if let auth = options.auth, let token = (try await auth.retrieveToken(networkSession: networkSession)).accessToken {
286 | urlRequest.setValue("Bearer \(token)", forHTTPHeaderField: HTTPHeaderKey.authorization)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:39: error: cannot find type 'URLSessionDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:59: error: cannot find type 'URLSessionTaskDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:83: error: cannot find type 'URLSessionDataDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:17:107: error: cannot find type 'URLSessionDownloadDelegate' in scope
15 |
16 | /// Networking layer interface
17 | public class NetworkClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
18 | public static let shared = NetworkClient()
19 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:366:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
364 |
365 | extension NetworkClient {
366 | public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
367 | continuationQueue.sync {
368 | guard let taskInfo = taskInfos.removeValue(forKey: task) else { return }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:366:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
364 |
365 | extension NetworkClient {
366 | public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
367 | continuationQueue.sync {
368 | guard let taskInfo = taskInfos.removeValue(forKey: task) else { return }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:381:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
379 | }
380 |
381 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
382 | continuationQueue.sync {
383 | guard let dataTaskInfo = taskInfos[dataTask] as? DataTaskInfo else { return }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:381:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
379 | }
380 |
381 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
382 | continuationQueue.sync {
383 | guard let dataTaskInfo = taskInfos[dataTask] as? DataTaskInfo else { return }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:388:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
386 | }
387 |
388 | public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
389 | continuationQueue.sync {
390 | guard let downloadTaskInfo = taskInfos.removeValue(forKey: downloadTask) as? DownloadTaskInfo else { return }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:388:65: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
386 | }
387 |
388 | public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
389 | continuationQueue.sync {
390 | guard let downloadTaskInfo = taskInfos.removeValue(forKey: downloadTask) as? DownloadTaskInfo else { return }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 | /// Provides an API for downloading data from and uploading data to endpoints indicated by URL.
16 | public let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// url session configuration.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:19:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// url session configuration.
19 | public let configuration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | /// Additional network settings.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/TaskInfo.swift:15:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | public class DataTaskInfo: TaskInfo {
14 | /// Continuation to resume the async task.
15 | var continuation: CheckedContinuation<(Data, URLResponse), Error>
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | /// Accumulated data for data tasks and upload responses.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/TaskInfo.swift:24:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// - Parameters:
23 | /// - continuation: The continuation to resume.
24 | public init(continuation: CheckedContinuation<(Data, URLResponse), Error>) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | self.continuation = continuation
26 | self.accumulatedData = Data()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/TaskInfo.swift:37:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | public class DownloadTaskInfo: TaskInfo {
36 | /// Continuation to resume the async task.
37 | var continuation: CheckedContinuation<(URL, URLResponse), Error>
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | /// Destination URL where the downloaded file should be moved.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/TaskInfo.swift:47:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// - continuation: The continuation to resume.
46 | /// - destinationURL: The local URL where the file will be saved.
47 | public init(continuation: CheckedContinuation<(URL, URLResponse), Error>, destinationURL: URL) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | self.continuation = continuation
49 | self.destinationURL = destinationURL
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
[803/977] Compiling BoxSdkGen AddClassificationRequestBodyFieldKeyField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[804/977] Compiling BoxSdkGen AddClassificationRequestBodyOpField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[805/977] Compiling BoxSdkGen ClassificationsManager.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[806/977] Compiling BoxSdkGen CreateClassificationTemplateHeaders.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[807/977] Compiling BoxSdkGen CreateClassificationTemplateRequestBody.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[808/977] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyDisplayNameField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[809/977] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsDisplayNameField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[810/977] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[811/977] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsKeyField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[812/977] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsOptionsField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[813/977] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsOptionsStaticConfigClassificationField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[814/977] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsOptionsStaticConfigField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[815/977] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsTypeField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[816/977] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyScopeField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[817/977] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyTemplateKeyField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[818/977] Compiling BoxSdkGen GetClassificationTemplateHeaders.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[819/977] Compiling BoxSdkGen UpdateClassificationHeaders.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[820/977] Compiling BoxSdkGen UpdateClassificationRequestBody.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[821/977] Compiling BoxSdkGen UpdateClassificationRequestBodyDataField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[822/977] Compiling BoxSdkGen UpdateClassificationRequestBodyDataStaticConfigClassificationField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[823/977] Compiling BoxSdkGen UpdateClassificationRequestBodyDataStaticConfigField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[824/977] Compiling BoxSdkGen UpdateClassificationRequestBodyFieldKeyField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[825/977] Compiling BoxSdkGen UpdateClassificationRequestBodyOpField.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[826/977] Compiling BoxSdkGen CollaborationAllowlistEntriesManager.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[827/977] Compiling BoxSdkGen CreateCollaborationWhitelistEntryHeaders.swift
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:32:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | public init(
31 | additionalHeaders: [String: String] = [:],
32 | configuration: URLSessionConfiguration = URLSessionConfiguration.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | networkSettings: NetworkSettings = NetworkSettings(),
34 | baseUrls: BaseUrls = BaseUrls()
/host/spi-builder-workspace/Sources/Managers/CollaborationAllowlistEntries/CollaborationAllowlistEntriesManager.swift:67:13: warning: immutable value 'response' was never used; consider replacing with '_' or removing it
65 | public func deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: String, headers: DeleteCollaborationWhitelistEntryByIdHeaders = DeleteCollaborationWhitelistEntryByIdHeaders()) async throws {
66 | let headersMap: [String: String] = Utils.Dictionary.prepareParams(map: Utils.Dictionary.merge([:], headers.extraHeaders))
67 | let response: FetchResponse = try await NetworkClient.shared.fetch(options: FetchOptions(url: "\(self.networkSession.baseUrls.baseUrl)\("/2.0/collaboration_whitelist_entries/")\(collaborationWhitelistEntryId)", method: "DELETE", headers: headersMap, responseFormat: nil, auth: self.auth, networkSession: self.networkSession))
| `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it
68 | }
69 |
[828/1026] Compiling BoxSdkGen AiAskItemsTypeField.swift
[829/1026] Compiling BoxSdkGen AiAskModeField.swift
[830/1026] Compiling BoxSdkGen AiCitation.swift
[831/1026] Compiling BoxSdkGen AiCitationTypeField.swift
[832/1026] Compiling BoxSdkGen AiDialogueHistory.swift
[833/1026] Compiling BoxSdkGen AiLlmEndpointParamsGoogle.swift
[834/1026] Compiling BoxSdkGen AiLlmEndpointParamsGoogleTypeField.swift
[835/1026] Compiling BoxSdkGen AiLlmEndpointParamsGoogleOrAiLlmEndpointParamsOpenAi.swift
[836/1026] Compiling BoxSdkGen AiLlmEndpointParamsOpenAi.swift
[837/1026] Compiling BoxSdkGen AiLlmEndpointParamsOpenAiTypeField.swift
[838/1026] Compiling BoxSdkGen AiResponse.swift
[839/1026] Compiling BoxSdkGen AiResponseFull.swift
[840/1026] Compiling BoxSdkGen AiTextGen.swift
[841/1026] Compiling BoxSdkGen AiTextGenItemsField.swift
[842/1026] Compiling BoxSdkGen AiTextGenItemsTypeField.swift
[843/1026] Compiling BoxSdkGen AppItem.swift
[844/1026] Compiling BoxSdkGen AppItemTypeField.swift
[845/1026] Compiling BoxSdkGen AppItemAssociation.swift
[846/1026] Compiling BoxSdkGen AppItemAssociationTypeField.swift
[847/1026] Compiling BoxSdkGen AppItemAssociations.swift
[848/1026] Compiling BoxSdkGen AppItemEventSource.swift
[849/1026] Compiling BoxSdkGen AppItemEventSourceTypeField.swift
[850/1026] Compiling BoxSdkGen AppItemEventSourceOrEventSourceOrFileOrFolderOrGenericSourceOrUser.swift
[851/1026] Compiling BoxSdkGen Classification.swift
[852/1026] Compiling BoxSdkGen ClassificationTemplateField.swift
[853/1050] Compiling BoxSdkGen ClassificationTemplate.swift
[854/1050] Compiling BoxSdkGen ClassificationTemplateDisplayNameField.swift
[855/1050] Compiling BoxSdkGen ClassificationTemplateFieldsDisplayNameField.swift
[856/1050] Compiling BoxSdkGen ClassificationTemplateFieldsField.swift
[857/1050] Compiling BoxSdkGen ClassificationTemplateFieldsKeyField.swift
[858/1050] Compiling BoxSdkGen ClassificationTemplateFieldsOptionsField.swift
[859/1050] Compiling BoxSdkGen ClassificationTemplateFieldsOptionsStaticConfigClassificationField.swift
[860/1050] Compiling BoxSdkGen ClassificationTemplateFieldsOptionsStaticConfigField.swift
[861/1050] Compiling BoxSdkGen ClassificationTemplateFieldsTypeField.swift
[862/1050] Compiling BoxSdkGen ClassificationTemplateTemplateKeyField.swift
[863/1050] Compiling BoxSdkGen ClassificationTemplateTypeField.swift
[864/1050] Compiling BoxSdkGen ClientError.swift
[865/1050] Compiling BoxSdkGen ClientErrorCodeField.swift
[866/1050] Compiling BoxSdkGen ClientErrorContextInfoField.swift
[867/1050] Compiling BoxSdkGen ClientErrorTypeField.swift
[868/1050] Compiling BoxSdkGen Collaboration.swift
[869/1050] Compiling BoxSdkGen CollaborationAcceptanceRequirementsStatusField.swift
[870/1050] Compiling BoxSdkGen CollaborationAcceptanceRequirementsStatusStrongPasswordRequirementField.swift
[871/1050] Compiling BoxSdkGen CollaborationAcceptanceRequirementsStatusTermsOfServiceRequirementField.swift
[872/1050] Compiling BoxSdkGen CollaborationAcceptanceRequirementsStatusTwoFactorAuthenticationRequirementField.swift
[873/1050] Compiling BoxSdkGen CollaborationRoleField.swift
[874/1050] Compiling BoxSdkGen CollaborationStatusField.swift
[875/1050] Compiling BoxSdkGen CollaborationTypeField.swift
[876/1050] Compiling BoxSdkGen CollaborationAllowlistEntries.swift
[877/1050] Compiling BoxSdkGen CollaborationAllowlistEntry.swift
[878/1074] Compiling BoxSdkGen CollaborationAllowlistEntryDirectionField.swift
[879/1074] Compiling BoxSdkGen CollaborationAllowlistEntryEnterpriseField.swift
[880/1074] Compiling BoxSdkGen CollaborationAllowlistEntryEnterpriseTypeField.swift
[881/1074] Compiling BoxSdkGen CollaborationAllowlistEntryTypeField.swift
[882/1074] Compiling BoxSdkGen CollaborationAllowlistExemptTarget.swift
[883/1074] Compiling BoxSdkGen CollaborationAllowlistExemptTargetEnterpriseField.swift
[884/1074] Compiling BoxSdkGen CollaborationAllowlistExemptTargetEnterpriseTypeField.swift
[885/1074] Compiling BoxSdkGen CollaborationAllowlistExemptTargetTypeField.swift
[886/1074] Compiling BoxSdkGen CollaborationAllowlistExemptTargets.swift
[887/1074] Compiling BoxSdkGen Collaborations.swift
[888/1074] Compiling BoxSdkGen CollaborationsOrderDirectionField.swift
[889/1074] Compiling BoxSdkGen CollaborationsOrderField.swift
[890/1074] Compiling BoxSdkGen CollaboratorVariable.swift
[891/1074] Compiling BoxSdkGen CollaboratorVariableTypeField.swift
[892/1074] Compiling BoxSdkGen CollaboratorVariableVariableTypeField.swift
[893/1074] Compiling BoxSdkGen CollaboratorVariableVariableValueField.swift
[894/1074] Compiling BoxSdkGen CollaboratorVariableVariableValueTypeField.swift
[895/1074] Compiling BoxSdkGen Collection.swift
[896/1074] Compiling BoxSdkGen CollectionCollectionTypeField.swift
[897/1074] Compiling BoxSdkGen CollectionNameField.swift
[898/1074] Compiling BoxSdkGen CollectionTypeField.swift
[899/1074] Compiling BoxSdkGen Collections.swift
[900/1074] Compiling BoxSdkGen CollectionsOrderDirectionField.swift
[901/1074] Compiling BoxSdkGen CollectionsOrderField.swift
[902/1074] Compiling BoxSdkGen Comment.swift
[903/1098] Compiling BoxSdkGen CommentItemField.swift
[904/1098] Compiling BoxSdkGen CommentBase.swift
[905/1098] Compiling BoxSdkGen CommentBaseTypeField.swift
[906/1098] Compiling BoxSdkGen CommentFull.swift
[907/1098] Compiling BoxSdkGen Comments.swift
[908/1098] Compiling BoxSdkGen CommentsOrderDirectionField.swift
[909/1098] Compiling BoxSdkGen CommentsOrderField.swift
[910/1098] Compiling BoxSdkGen CompletionRuleVariable.swift
[911/1098] Compiling BoxSdkGen CompletionRuleVariableTypeField.swift
[912/1098] Compiling BoxSdkGen CompletionRuleVariableVariableTypeField.swift
[913/1098] Compiling BoxSdkGen CompletionRuleVariableVariableValueField.swift
[914/1098] Compiling BoxSdkGen ConflictError.swift
[915/1098] Compiling BoxSdkGen ConflictErrorContextInfoField.swift
[916/1098] Compiling BoxSdkGen DevicePinner.swift
[917/1098] Compiling BoxSdkGen DevicePinnerTypeField.swift
[918/1098] Compiling BoxSdkGen DevicePinners.swift
[919/1098] Compiling BoxSdkGen DevicePinnersOrderByField.swift
[920/1098] Compiling BoxSdkGen DevicePinnersOrderDirectionField.swift
[921/1098] Compiling BoxSdkGen DevicePinnersOrderField.swift
[922/1098] Compiling BoxSdkGen EmailAlias.swift
[923/1098] Compiling BoxSdkGen EmailAliasTypeField.swift
[924/1098] Compiling BoxSdkGen EmailAliases.swift
[925/1098] Compiling BoxSdkGen EnterpriseBase.swift
[926/1098] Compiling BoxSdkGen EnterpriseBaseTypeField.swift
[927/1098] Compiling BoxSdkGen Event.swift
[928/1122] Compiling BoxSdkGen EventAdditionalDetailsField.swift
[929/1122] Compiling BoxSdkGen EventEventTypeField.swift
[930/1122] Compiling BoxSdkGen EventSource.swift
[931/1122] Compiling BoxSdkGen EventSourceClassificationField.swift
[932/1122] Compiling BoxSdkGen EventSourceItemTypeField.swift
[933/1122] Compiling BoxSdkGen Events.swift
[934/1122] Compiling BoxSdkGen EventsNextStreamPositionField.swift
[935/1122] Compiling BoxSdkGen File.swift
[936/1122] Compiling BoxSdkGen FileItemStatusField.swift
[937/1122] Compiling BoxSdkGen FilePathCollectionField.swift
[938/1122] Compiling BoxSdkGen FileSharedLinkAccessField.swift
[939/1122] Compiling BoxSdkGen FileSharedLinkEffectiveAccessField.swift
[940/1122] Compiling BoxSdkGen FileSharedLinkEffectivePermissionField.swift
[941/1122] Compiling BoxSdkGen FileSharedLinkField.swift
[942/1122] Compiling BoxSdkGen FileSharedLinkPermissionsField.swift
[943/1122] Compiling BoxSdkGen FileBase.swift
[944/1122] Compiling BoxSdkGen FileBaseTypeField.swift
[945/1122] Compiling BoxSdkGen FileBaseOrFolderBaseOrWebLinkBase.swift
[946/1122] Compiling BoxSdkGen FileConflict.swift
[947/1122] Compiling BoxSdkGen FileFull.swift
[948/1122] Compiling BoxSdkGen FileFullAllowedInviteeRolesField.swift
[949/1122] Compiling BoxSdkGen FileFullClassificationField.swift
[950/1122] Compiling BoxSdkGen FileFullExpiringEmbedLinkField.swift
[951/1122] Compiling BoxSdkGen FileFullExpiringEmbedLinkTokenTypeField.swift
[952/1122] Compiling BoxSdkGen FileFullLockAppTypeField.swift
[953/1146] Compiling BoxSdkGen FileFullLockField.swift
[954/1146] Compiling BoxSdkGen FileFullLockTypeField.swift
[955/1146] Compiling BoxSdkGen FileFullMetadataField.swift
[956/1146] Compiling BoxSdkGen FileFullPermissionsField.swift
[957/1146] Compiling BoxSdkGen FileFullRepresentationsEntriesContentField.swift
[958/1146] Compiling BoxSdkGen FileFullRepresentationsEntriesField.swift
[959/1146] Compiling BoxSdkGen FileFullRepresentationsEntriesInfoField.swift
[960/1146] Compiling BoxSdkGen FileFullRepresentationsEntriesPropertiesField.swift
[961/1146] Compiling BoxSdkGen FileFullRepresentationsEntriesStatusField.swift
[962/1146] Compiling BoxSdkGen FileFullRepresentationsEntriesStatusStateField.swift
[963/1146] Compiling BoxSdkGen FileFullRepresentationsField.swift
[964/1146] Compiling BoxSdkGen FileFullSharedLinkPermissionOptionsField.swift
[965/1146] Compiling BoxSdkGen FileFullWatermarkInfoField.swift
[966/1146] Compiling BoxSdkGen FileFullOrFolderFull.swift
[967/1146] Compiling BoxSdkGen FileFullOrFolderFullOrWebLink.swift
[968/1146] Compiling BoxSdkGen FileFullOrFolderMiniOrWebLink.swift
[969/1146] Compiling BoxSdkGen FileMini.swift
[970/1146] Compiling BoxSdkGen FileMiniOrFolderMini.swift
[971/1146] Compiling BoxSdkGen FileOrFolder.swift
[972/1146] Compiling BoxSdkGen FileOrFolderOrWebLink.swift
[973/1146] Compiling BoxSdkGen FileOrFolderScope.swift
[974/1146] Compiling BoxSdkGen FileOrFolderScopeScopeField.swift
[975/1146] Compiling BoxSdkGen FileRequest.swift
[976/1146] Compiling BoxSdkGen FileRequestStatusField.swift
[977/1146] Compiling BoxSdkGen FileRequestTypeField.swift
[978/1170] Compiling BoxSdkGen FolderItemStatusField.swift
[979/1170] Compiling BoxSdkGen FolderPathCollectionField.swift
[980/1170] Compiling BoxSdkGen FolderSharedLinkAccessField.swift
[981/1170] Compiling BoxSdkGen FolderSharedLinkEffectiveAccessField.swift
[982/1170] Compiling BoxSdkGen FolderSharedLinkEffectivePermissionField.swift
[983/1170] Compiling BoxSdkGen FolderSharedLinkField.swift
[984/1170] Compiling BoxSdkGen FolderSharedLinkPermissionsField.swift
[985/1170] Compiling BoxSdkGen FolderBase.swift
[986/1170] Compiling BoxSdkGen FolderBaseTypeField.swift
[987/1170] Compiling BoxSdkGen FolderFull.swift
[988/1170] Compiling BoxSdkGen FolderFullAllowedInviteeRolesField.swift
[989/1170] Compiling BoxSdkGen FolderFullAllowedSharedLinkAccessLevelsField.swift
[990/1170] Compiling BoxSdkGen FolderFullClassificationField.swift
[991/1170] Compiling BoxSdkGen FolderFullMetadataField.swift
[992/1170] Compiling BoxSdkGen FolderFullPermissionsField.swift
[993/1170] Compiling BoxSdkGen FolderFullSyncStateField.swift
[994/1170] Compiling BoxSdkGen FolderFullWatermarkInfoField.swift
[995/1170] Compiling BoxSdkGen FolderLock.swift
[996/1170] Compiling BoxSdkGen FolderLockLockedOperationsField.swift
[997/1170] Compiling BoxSdkGen FolderLocks.swift
[998/1170] Compiling BoxSdkGen FolderMini.swift
[999/1170] Compiling BoxSdkGen GenericSource.swift
[1000/1170] Compiling BoxSdkGen Group.swift
[1001/1170] Compiling BoxSdkGen GroupBase.swift
[1002/1194] Compiling BoxSdkGen FileRequestCopyRequest.swift
[1003/1194] Compiling BoxSdkGen FileRequestCopyRequestFolderField.swift
[1004/1194] Compiling BoxSdkGen FileRequestCopyRequestFolderTypeField.swift
[1005/1194] Compiling BoxSdkGen FileRequestUpdateRequest.swift
[1006/1194] Compiling BoxSdkGen FileRequestUpdateRequestStatusField.swift
[1007/1194] Compiling BoxSdkGen FileVersion.swift
[1008/1194] Compiling BoxSdkGen FileVersionBase.swift
[1009/1194] Compiling BoxSdkGen FileVersionBaseTypeField.swift
[1010/1194] Compiling BoxSdkGen FileVersionFull.swift
[1011/1194] Compiling BoxSdkGen FileVersionLegalHold.swift
[1012/1194] Compiling BoxSdkGen FileVersionLegalHoldTypeField.swift
[1013/1194] Compiling BoxSdkGen FileVersionLegalHolds.swift
[1014/1194] Compiling BoxSdkGen FileVersionMini.swift
[1015/1194] Compiling BoxSdkGen FileVersionRetention.swift
[1016/1194] Compiling BoxSdkGen FileVersionRetentionTypeField.swift
[1017/1194] Compiling BoxSdkGen FileVersionRetentions.swift
[1018/1194] Compiling BoxSdkGen FileVersions.swift
[1019/1194] Compiling BoxSdkGen FileVersionsOrderDirectionField.swift
[1020/1194] Compiling BoxSdkGen FileVersionsOrderField.swift
[1021/1194] Compiling BoxSdkGen Files.swift
[1022/1194] Compiling BoxSdkGen FilesOnHold.swift
[1023/1194] Compiling BoxSdkGen FilesUnderRetention.swift
[1024/1194] Compiling BoxSdkGen Folder.swift
[1025/1194] Compiling BoxSdkGen FolderFolderUploadEmailAccessField.swift
[1026/1194] Compiling BoxSdkGen FolderFolderUploadEmailField.swift
[1027/1218] Compiling BoxSdkGen GroupBaseTypeField.swift
[1028/1218] Compiling BoxSdkGen GroupFull.swift
[1029/1218] Compiling BoxSdkGen GroupFullInvitabilityLevelField.swift
[1030/1218] Compiling BoxSdkGen GroupFullMemberViewabilityLevelField.swift
[1031/1218] Compiling BoxSdkGen GroupFullPermissionsField.swift
[1032/1218] Compiling BoxSdkGen GroupMembership.swift
[1033/1218] Compiling BoxSdkGen GroupMembershipRoleField.swift
[1034/1218] Compiling BoxSdkGen GroupMembershipTypeField.swift
[1035/1218] Compiling BoxSdkGen GroupMemberships.swift
[1036/1218] Compiling BoxSdkGen GroupMembershipsOrderDirectionField.swift
[1037/1218] Compiling BoxSdkGen GroupMembershipsOrderField.swift
[1038/1218] Compiling BoxSdkGen GroupMini.swift
[1039/1218] Compiling BoxSdkGen GroupMiniGroupTypeField.swift
[1040/1218] Compiling BoxSdkGen GroupMiniOrUserCollaborations.swift
[1041/1218] Compiling BoxSdkGen Groups.swift
[1042/1218] Compiling BoxSdkGen GroupsOrderDirectionField.swift
[1043/1218] Compiling BoxSdkGen GroupsOrderField.swift
[1044/1218] Compiling BoxSdkGen IntegrationMapping.swift
[1045/1218] Compiling BoxSdkGen IntegrationMappingIntegrationTypeField.swift
[1046/1218] Compiling BoxSdkGen IntegrationMappingBase.swift
[1047/1218] Compiling BoxSdkGen IntegrationMappingBaseTypeField.swift
[1048/1218] Compiling BoxSdkGen IntegrationMappingBoxItemSlack.swift
[1049/1218] Compiling BoxSdkGen IntegrationMappingBoxItemSlackTypeField.swift
[1050/1218] Compiling BoxSdkGen IntegrationMappingPartnerItemSlack.swift
[1051/1242] Compiling BoxSdkGen IntegrationMappingPartnerItemSlackTypeField.swift
[1052/1242] Compiling BoxSdkGen IntegrationMappingPartnerItemSlackUnion.swift
[1053/1242] Compiling BoxSdkGen IntegrationMappingSlackCreateRequest.swift
[1054/1242] Compiling BoxSdkGen IntegrationMappingSlackOptions.swift
[1055/1242] Compiling BoxSdkGen IntegrationMappings.swift
[1056/1242] Compiling BoxSdkGen Invite.swift
[1057/1242] Compiling BoxSdkGen InviteInvitedToField.swift
[1058/1242] Compiling BoxSdkGen InviteInvitedToTypeField.swift
[1059/1242] Compiling BoxSdkGen InviteTypeField.swift
[1060/1242] Compiling BoxSdkGen Items.swift
[1061/1242] Compiling BoxSdkGen ItemsOrderDirectionField.swift
[1062/1242] Compiling BoxSdkGen ItemsOrderField.swift
[1063/1242] Compiling BoxSdkGen KeywordSkillCard.swift
[1064/1242] Compiling BoxSdkGen KeywordSkillCardEntriesField.swift
[1065/1242] Compiling BoxSdkGen KeywordSkillCardInvocationField.swift
[1066/1242] Compiling BoxSdkGen KeywordSkillCardInvocationTypeField.swift
[1067/1242] Compiling BoxSdkGen KeywordSkillCardSkillCardTitleField.swift
[1068/1242] Compiling BoxSdkGen KeywordSkillCardSkillCardTypeField.swift
[1069/1242] Compiling BoxSdkGen KeywordSkillCardSkillField.swift
[1070/1242] Compiling BoxSdkGen KeywordSkillCardSkillTypeField.swift
[1071/1242] Compiling BoxSdkGen KeywordSkillCardTypeField.swift
[1072/1242] Compiling BoxSdkGen KeywordSkillCardOrStatusSkillCardOrTimelineSkillCardOrTranscriptSkillCard.swift
[1073/1242] Compiling BoxSdkGen LegalHoldPolicies.swift
[1074/1242] Compiling BoxSdkGen LegalHoldPolicy.swift
[1075/1266] Compiling BoxSdkGen MetadataQueryOrderByDirectionField.swift
[1076/1266] Compiling BoxSdkGen MetadataQueryOrderByField.swift
[1077/1266] Compiling BoxSdkGen MetadataQueryIndex.swift
[1078/1266] Compiling BoxSdkGen MetadataQueryIndexFieldsField.swift
[1079/1266] Compiling BoxSdkGen MetadataQueryIndexFieldsSortDirectionField.swift
[1080/1266] Compiling BoxSdkGen MetadataQueryIndexStatusField.swift
[1081/1266] Compiling BoxSdkGen MetadataQueryResults.swift
[1082/1266] Compiling BoxSdkGen MetadataTemplate.swift
[1083/1266] Compiling BoxSdkGen MetadataTemplateFieldsField.swift
[1084/1266] Compiling BoxSdkGen MetadataTemplateFieldsOptionsField.swift
[1085/1266] Compiling BoxSdkGen MetadataTemplateFieldsTypeField.swift
[1086/1266] Compiling BoxSdkGen MetadataTemplateTypeField.swift
[1087/1266] Compiling BoxSdkGen MetadataTemplates.swift
[1088/1266] Compiling BoxSdkGen Metadatas.swift
[1089/1266] Compiling BoxSdkGen OAuth2Error.swift
[1090/1266] Compiling BoxSdkGen Outcome.swift
[1091/1266] Compiling BoxSdkGen PostOAuth2Revoke.swift
[1092/1266] Compiling BoxSdkGen PostOAuth2Token.swift
[1093/1266] Compiling BoxSdkGen PostOAuth2TokenActorTokenTypeField.swift
[1094/1266] Compiling BoxSdkGen PostOAuth2TokenBoxSubjectTypeField.swift
[1095/1266] Compiling BoxSdkGen PostOAuth2TokenGrantTypeField.swift
[1096/1266] Compiling BoxSdkGen PostOAuth2TokenSubjectTokenTypeField.swift
[1097/1266] Compiling BoxSdkGen PostOAuth2TokenRefreshAccessToken.swift
[1098/1266] Compiling BoxSdkGen PostOAuth2TokenRefreshAccessTokenGrantTypeField.swift
[1099/1290] Compiling BoxSdkGen LegalHoldPolicyAssignmentCountsField.swift
[1100/1290] Compiling BoxSdkGen LegalHoldPolicyStatusField.swift
[1101/1290] Compiling BoxSdkGen LegalHoldPolicyAssignment.swift
[1102/1290] Compiling BoxSdkGen LegalHoldPolicyAssignmentBase.swift
[1103/1290] Compiling BoxSdkGen LegalHoldPolicyAssignmentBaseTypeField.swift
[1104/1290] Compiling BoxSdkGen LegalHoldPolicyAssignments.swift
[1105/1290] Compiling BoxSdkGen LegalHoldPolicyMini.swift
[1106/1290] Compiling BoxSdkGen LegalHoldPolicyMiniTypeField.swift
[1107/1290] Compiling BoxSdkGen Metadata.swift
[1108/1290] Compiling BoxSdkGen MetadataBase.swift
[1109/1290] Compiling BoxSdkGen MetadataCascadePolicies.swift
[1110/1290] Compiling BoxSdkGen MetadataCascadePolicy.swift
[1111/1290] Compiling BoxSdkGen MetadataCascadePolicyOwnerEnterpriseField.swift
[1112/1290] Compiling BoxSdkGen MetadataCascadePolicyOwnerEnterpriseTypeField.swift
[1113/1290] Compiling BoxSdkGen MetadataCascadePolicyParentField.swift
[1114/1290] Compiling BoxSdkGen MetadataCascadePolicyParentTypeField.swift
[1115/1290] Compiling BoxSdkGen MetadataCascadePolicyTypeField.swift
[1116/1290] Compiling BoxSdkGen MetadataFieldFilterDateRange.swift
[1117/1290] Compiling BoxSdkGen MetadataFieldFilterDateRangeOrMetadataFieldFilterFloatRangeOrArrayOfStringOrNumberOrString.swift
[1118/1290] Compiling BoxSdkGen MetadataFieldFilterFloatRange.swift
[1119/1290] Compiling BoxSdkGen MetadataFilter.swift
[1120/1290] Compiling BoxSdkGen MetadataFilterScopeField.swift
[1121/1290] Compiling BoxSdkGen MetadataFull.swift
[1122/1290] Compiling BoxSdkGen MetadataQuery.swift
[1123/1314] Compiling BoxSdkGen RealtimeServer.swift
[1124/1314] Compiling BoxSdkGen RealtimeServers.swift
[1125/1314] Compiling BoxSdkGen RecentItem.swift
[1126/1314] Compiling BoxSdkGen RecentItemInteractionTypeField.swift
[1127/1314] Compiling BoxSdkGen RecentItems.swift
[1128/1314] Compiling BoxSdkGen RetentionPolicies.swift
[1129/1314] Compiling BoxSdkGen RetentionPolicy.swift
[1130/1314] Compiling BoxSdkGen RetentionPolicyAssignmentCountsField.swift
[1131/1314] Compiling BoxSdkGen RetentionPolicyPolicyTypeField.swift
[1132/1314] Compiling BoxSdkGen RetentionPolicyRetentionTypeField.swift
[1133/1314] Compiling BoxSdkGen RetentionPolicyStatusField.swift
[1134/1314] Compiling BoxSdkGen RetentionPolicyAssignment.swift
[1135/1314] Compiling BoxSdkGen RetentionPolicyAssignmentAssignedToField.swift
[1136/1314] Compiling BoxSdkGen RetentionPolicyAssignmentAssignedToTypeField.swift
[1137/1314] Compiling BoxSdkGen RetentionPolicyAssignmentFilterFieldsField.swift
[1138/1314] Compiling BoxSdkGen RetentionPolicyAssignmentTypeField.swift
[1139/1314] Compiling BoxSdkGen RetentionPolicyAssignmentBase.swift
[1140/1314] Compiling BoxSdkGen RetentionPolicyAssignmentBaseTypeField.swift
[1141/1314] Compiling BoxSdkGen RetentionPolicyAssignments.swift
[1142/1314] Compiling BoxSdkGen RetentionPolicyBase.swift
[1143/1314] Compiling BoxSdkGen RetentionPolicyBaseTypeField.swift
[1144/1314] Compiling BoxSdkGen RetentionPolicyMini.swift
[1145/1314] Compiling BoxSdkGen RetentionPolicyMiniDispositionActionField.swift
[1146/1314] Compiling BoxSdkGen RoleVariable.swift
[1147/1338] Compiling BoxSdkGen RoleVariableTypeField.swift
[1148/1338] Compiling BoxSdkGen RoleVariableVariableTypeField.swift
[1149/1338] Compiling BoxSdkGen RoleVariableVariableValueField.swift
[1150/1338] Compiling BoxSdkGen SearchResultWithSharedLink.swift
[1151/1338] Compiling BoxSdkGen SearchResults.swift
[1152/1338] Compiling BoxSdkGen SearchResultsTypeField.swift
[1153/1338] Compiling BoxSdkGen SearchResultsOrSearchResultsWithSharedLinks.swift
[1154/1338] Compiling BoxSdkGen SearchResultsWithSharedLinks.swift
[1155/1338] Compiling BoxSdkGen SearchResultsWithSharedLinksTypeField.swift
[1156/1338] Compiling BoxSdkGen SessionTerminationMessage.swift
[1157/1338] Compiling BoxSdkGen ShieldInformationBarrier.swift
[1158/1338] Compiling BoxSdkGen ShieldInformationBarrierStatusField.swift
[1159/1338] Compiling BoxSdkGen ShieldInformationBarrierTypeField.swift
[1160/1338] Compiling BoxSdkGen ShieldInformationBarrierBase.swift
[1161/1338] Compiling BoxSdkGen ShieldInformationBarrierBaseTypeField.swift
[1162/1338] Compiling BoxSdkGen ShieldInformationBarrierReference.swift
[1163/1338] Compiling BoxSdkGen ShieldInformationBarrierReport.swift
[1164/1338] Compiling BoxSdkGen ShieldInformationBarrierReportStatusField.swift
[1165/1338] Compiling BoxSdkGen ShieldInformationBarrierReportBase.swift
[1166/1338] Compiling BoxSdkGen ShieldInformationBarrierReportBaseTypeField.swift
[1167/1338] Compiling BoxSdkGen ShieldInformationBarrierReportDetails.swift
[1168/1338] Compiling BoxSdkGen ShieldInformationBarrierReportDetailsDetailsField.swift
[1169/1338] Compiling BoxSdkGen ShieldInformationBarrierReports.swift
[1170/1338] Compiling BoxSdkGen ShieldInformationBarrierSegment.swift
[1171/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentTypeField.swift
[1172/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentMember.swift
[1173/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegmentField.swift
[1174/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegmentTypeField.swift
[1175/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentMemberBase.swift
[1176/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentMemberBaseTypeField.swift
[1177/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentMemberMini.swift
[1178/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentMembers.swift
[1179/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestriction.swift
[1180/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionBase.swift
[1181/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionBaseTypeField.swift
[1182/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionMini.swift
[1183/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionMiniRestrictedSegmentField.swift
[1184/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionMiniRestrictedSegmentTypeField.swift
[1185/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionMiniShieldInformationBarrierSegmentField.swift
[1186/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionMiniShieldInformationBarrierSegmentTypeField.swift
[1187/1362] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictions.swift
[1188/1362] Compiling BoxSdkGen ShieldInformationBarrierSegments.swift
[1189/1362] Compiling BoxSdkGen ShieldInformationBarriers.swift
[1190/1362] Compiling BoxSdkGen SignRequest.swift
[1191/1362] Compiling BoxSdkGen SignRequestSignFilesField.swift
[1192/1362] Compiling BoxSdkGen SignRequestStatusField.swift
[1193/1362] Compiling BoxSdkGen SignRequestTypeField.swift
[1194/1362] Compiling BoxSdkGen SignRequestBase.swift
[1195/1386] Compiling BoxSdkGen SkillInvocationEnterpriseTypeField.swift
[1196/1386] Compiling BoxSdkGen SkillInvocationSkillField.swift
[1197/1386] Compiling BoxSdkGen SkillInvocationSkillTypeField.swift
[1198/1386] Compiling BoxSdkGen SkillInvocationStatusField.swift
[1199/1386] Compiling BoxSdkGen SkillInvocationStatusStateField.swift
[1200/1386] Compiling BoxSdkGen SkillInvocationTokenField.swift
[1201/1386] Compiling BoxSdkGen SkillInvocationTokenReadField.swift
[1202/1386] Compiling BoxSdkGen SkillInvocationTokenReadTokenTypeField.swift
[1203/1386] Compiling BoxSdkGen SkillInvocationTokenWriteField.swift
[1204/1386] Compiling BoxSdkGen SkillInvocationTokenWriteTokenTypeField.swift
[1205/1386] Compiling BoxSdkGen SkillInvocationTypeField.swift
[1206/1386] Compiling BoxSdkGen StatusSkillCard.swift
[1207/1386] Compiling BoxSdkGen StatusSkillCardInvocationField.swift
[1208/1386] Compiling BoxSdkGen StatusSkillCardInvocationTypeField.swift
[1209/1386] Compiling BoxSdkGen StatusSkillCardSkillCardTitleField.swift
[1210/1386] Compiling BoxSdkGen StatusSkillCardSkillCardTypeField.swift
[1211/1386] Compiling BoxSdkGen StatusSkillCardSkillField.swift
[1212/1386] Compiling BoxSdkGen StatusSkillCardSkillTypeField.swift
[1213/1386] Compiling BoxSdkGen StatusSkillCardStatusCodeField.swift
[1214/1386] Compiling BoxSdkGen StatusSkillCardStatusField.swift
[1215/1386] Compiling BoxSdkGen StatusSkillCardTypeField.swift
[1216/1386] Compiling BoxSdkGen StoragePolicies.swift
[1217/1386] Compiling BoxSdkGen StoragePolicy.swift
[1218/1386] Compiling BoxSdkGen StoragePolicyAssignment.swift
[1219/1410] Compiling BoxSdkGen SignRequestCreateRequest.swift
[1220/1410] Compiling BoxSdkGen SignRequestCreateRequestSignatureColorField.swift
[1221/1410] Compiling BoxSdkGen SignRequestCreateSigner.swift
[1222/1410] Compiling BoxSdkGen SignRequestCreateSignerRoleField.swift
[1223/1410] Compiling BoxSdkGen SignRequestPrefillTag.swift
[1224/1410] Compiling BoxSdkGen SignRequestSigner.swift
[1225/1410] Compiling BoxSdkGen SignRequestSignerSignerDecisionField.swift
[1226/1410] Compiling BoxSdkGen SignRequestSignerSignerDecisionTypeField.swift
[1227/1410] Compiling BoxSdkGen SignRequestSignerInput.swift
[1228/1410] Compiling BoxSdkGen SignRequestSignerInputContentTypeField.swift
[1229/1410] Compiling BoxSdkGen SignRequestSignerInputTypeField.swift
[1230/1410] Compiling BoxSdkGen SignRequests.swift
[1231/1410] Compiling BoxSdkGen SignTemplate.swift
[1232/1410] Compiling BoxSdkGen SignTemplateAdditionalInfoField.swift
[1233/1410] Compiling BoxSdkGen SignTemplateAdditionalInfoNonEditableField.swift
[1234/1410] Compiling BoxSdkGen SignTemplateAdditionalInfoRequiredField.swift
[1235/1410] Compiling BoxSdkGen SignTemplateAdditionalInfoRequiredSignersField.swift
[1236/1410] Compiling BoxSdkGen SignTemplateCustomBrandingField.swift
[1237/1410] Compiling BoxSdkGen SignTemplateReadySignLinkField.swift
[1238/1410] Compiling BoxSdkGen SignTemplateTypeField.swift
[1239/1410] Compiling BoxSdkGen SignTemplates.swift
[1240/1410] Compiling BoxSdkGen SkillCardsMetadata.swift
[1241/1410] Compiling BoxSdkGen SkillInvocation.swift
[1242/1410] Compiling BoxSdkGen SkillInvocationEnterpriseField.swift
[1243/1410] Compiling BoxSdkGen StoragePolicyAssignmentAssignedToField.swift
[1244/1410] Compiling BoxSdkGen StoragePolicyAssignmentTypeField.swift
[1245/1410] Compiling BoxSdkGen StoragePolicyAssignments.swift
[1246/1410] Compiling BoxSdkGen StoragePolicyMini.swift
[1247/1410] Compiling BoxSdkGen StoragePolicyMiniTypeField.swift
[1248/1410] Compiling BoxSdkGen Task.swift
[1249/1410] Compiling BoxSdkGen TaskActionField.swift
[1250/1410] Compiling BoxSdkGen TaskCompletionRuleField.swift
[1251/1410] Compiling BoxSdkGen TaskTypeField.swift
[1252/1410] Compiling BoxSdkGen TaskAssignment.swift
[1253/1410] Compiling BoxSdkGen TaskAssignmentResolutionStateField.swift
[1254/1410] Compiling BoxSdkGen TaskAssignmentTypeField.swift
[1255/1410] Compiling BoxSdkGen TaskAssignments.swift
[1256/1410] Compiling BoxSdkGen Tasks.swift
[1257/1410] Compiling BoxSdkGen TemplateSigner.swift
[1258/1410] Compiling BoxSdkGen TemplateSignerRoleField.swift
[1259/1410] Compiling BoxSdkGen TemplateSignerInput.swift
[1260/1410] Compiling BoxSdkGen TemplateSignerInputContentTypeField.swift
[1261/1410] Compiling BoxSdkGen TemplateSignerInputCoordinatesField.swift
[1262/1410] Compiling BoxSdkGen TemplateSignerInputDimensionsField.swift
[1263/1410] Compiling BoxSdkGen TemplateSignerInputTypeField.swift
[1264/1410] Compiling BoxSdkGen TermsOfService.swift
[1265/1410] Compiling BoxSdkGen TermsOfServiceEnterpriseField.swift
[1266/1410] Compiling BoxSdkGen TermsOfServiceEnterpriseTypeField.swift
[1267/1410] Compiling BoxSdkGen TermsOfServiceStatusField.swift
[1268/1410] Compiling BoxSdkGen TermsOfServiceTosTypeField.swift
[1269/1410] Compiling BoxSdkGen TermsOfServiceBase.swift
[1270/1410] Compiling BoxSdkGen TermsOfServiceBaseTypeField.swift
[1271/1410] Compiling BoxSdkGen TermsOfServiceUserStatus.swift
[1272/1410] Compiling BoxSdkGen TermsOfServiceUserStatusTypeField.swift
[1273/1410] Compiling BoxSdkGen TermsOfServiceUserStatuses.swift
[1274/1410] Compiling BoxSdkGen TermsOfServices.swift
[1275/1410] Compiling BoxSdkGen TimelineSkillCard.swift
[1276/1410] Compiling BoxSdkGen TimelineSkillCardEntriesAppearsField.swift
[1277/1410] Compiling BoxSdkGen TimelineSkillCardEntriesField.swift
[1278/1410] Compiling BoxSdkGen TimelineSkillCardInvocationField.swift
[1279/1410] Compiling BoxSdkGen TimelineSkillCardInvocationTypeField.swift
[1280/1410] Compiling BoxSdkGen TimelineSkillCardSkillCardTitleField.swift
[1281/1410] Compiling BoxSdkGen TimelineSkillCardSkillCardTypeField.swift
[1282/1410] Compiling BoxSdkGen TimelineSkillCardSkillField.swift
[1283/1410] Compiling BoxSdkGen TimelineSkillCardSkillTypeField.swift
[1284/1410] Compiling BoxSdkGen TimelineSkillCardTypeField.swift
[1285/1410] Compiling BoxSdkGen TrackingCode.swift
[1286/1410] Compiling BoxSdkGen TrackingCodeTypeField.swift
[1287/1410] Compiling BoxSdkGen TranscriptSkillCard.swift
[1288/1410] Compiling BoxSdkGen TranscriptSkillCardEntriesAppearsField.swift
[1289/1410] Compiling BoxSdkGen TranscriptSkillCardEntriesField.swift
[1290/1410] Compiling BoxSdkGen TranscriptSkillCardInvocationField.swift
[1291/1410] Compiling BoxSdkGen TranscriptSkillCardInvocationTypeField.swift
[1292/1410] Compiling BoxSdkGen TranscriptSkillCardSkillCardTitleField.swift
[1293/1410] Compiling BoxSdkGen TranscriptSkillCardSkillCardTypeField.swift
[1294/1410] Compiling BoxSdkGen TranscriptSkillCardSkillField.swift
[1295/1410] Compiling BoxSdkGen TranscriptSkillCardSkillTypeField.swift
[1296/1410] Compiling BoxSdkGen TranscriptSkillCardTypeField.swift
[1297/1410] Compiling BoxSdkGen TrashFile.swift
[1298/1410] Compiling BoxSdkGen TrashFileItemStatusField.swift
[1299/1410] Compiling BoxSdkGen TrashFilePathCollectionEntriesField.swift
[1300/1410] Compiling BoxSdkGen TrashFilePathCollectionEntriesTypeField.swift
[1301/1410] Compiling BoxSdkGen TrashFilePathCollectionField.swift
[1302/1410] Compiling BoxSdkGen TrashFileTypeField.swift
[1303/1410] Compiling BoxSdkGen TrashFileRestored.swift
[1304/1410] Compiling BoxSdkGen TrashFileRestoredItemStatusField.swift
[1305/1410] Compiling BoxSdkGen TrashFileRestoredPathCollectionField.swift
[1306/1410] Compiling BoxSdkGen TrashFileRestoredTypeField.swift
[1307/1410] Compiling BoxSdkGen TrashFolder.swift
[1308/1410] Compiling BoxSdkGen TrashFolderItemStatusField.swift
[1309/1410] Compiling BoxSdkGen TrashFolderPathCollectionEntriesField.swift
[1310/1410] Compiling BoxSdkGen TrashFolderPathCollectionEntriesTypeField.swift
[1311/1410] Compiling BoxSdkGen TrashFolderPathCollectionField.swift
[1312/1410] Compiling BoxSdkGen TrashFolderTypeField.swift
[1313/1410] Compiling BoxSdkGen TrashFolderRestored.swift
[1314/1410] Compiling BoxSdkGen TrashFolderRestoredItemStatusField.swift
[1315/1410] Compiling BoxSdkGen TrashFolderRestoredPathCollectionField.swift
[1316/1410] Compiling BoxSdkGen TrashFolderRestoredTypeField.swift
[1317/1410] Compiling BoxSdkGen TrashWebLink.swift
[1318/1410] Compiling BoxSdkGen TrashWebLinkItemStatusField.swift
[1319/1410] Compiling BoxSdkGen TrashWebLinkPathCollectionEntriesField.swift
[1320/1410] Compiling BoxSdkGen TrashWebLinkPathCollectionEntriesTypeField.swift
[1321/1410] Compiling BoxSdkGen TrashWebLinkPathCollectionField.swift
[1322/1410] Compiling BoxSdkGen TrashWebLinkTypeField.swift
[1323/1410] Compiling BoxSdkGen TrashWebLinkRestored.swift
[1324/1410] Compiling BoxSdkGen TrashWebLinkRestoredItemStatusField.swift
[1325/1410] Compiling BoxSdkGen TrashWebLinkRestoredPathCollectionField.swift
[1326/1410] Compiling BoxSdkGen TrashWebLinkRestoredTypeField.swift
[1327/1410] Compiling BoxSdkGen UploadPart.swift
[1328/1410] Compiling BoxSdkGen UploadPartMini.swift
[1329/1410] Compiling BoxSdkGen UploadParts.swift
[1330/1410] Compiling BoxSdkGen UploadPartsOrderDirectionField.swift
[1331/1410] Compiling BoxSdkGen UploadPartsOrderField.swift
[1332/1410] Compiling BoxSdkGen UploadSession.swift
[1333/1410] Compiling BoxSdkGen UploadSessionSessionEndpointsField.swift
[1334/1410] Compiling BoxSdkGen UploadSessionTypeField.swift
[1335/1410] Compiling BoxSdkGen UploadUrl.swift
[1336/1410] Compiling BoxSdkGen UploadedPart.swift
[1337/1410] Compiling BoxSdkGen User.swift
[1338/1410] Compiling BoxSdkGen UserNotificationEmailField.swift
[1339/1410] Compiling BoxSdkGen UserStatusField.swift
[1340/1410] Compiling BoxSdkGen UserAvatar.swift
[1341/1410] Compiling BoxSdkGen UserAvatarPicUrlsField.swift
[1342/1410] Compiling BoxSdkGen UserBase.swift
[1343/1410] Compiling BoxSdkGen UserBaseTypeField.swift
[1344/1410] Compiling BoxSdkGen UserCollaborations.swift
[1345/1410] Compiling BoxSdkGen UserFull.swift
[1346/1410] Compiling BoxSdkGen UserFullEnterpriseField.swift
[1347/1410] Compiling BoxSdkGen UserFullEnterpriseTypeField.swift
[1348/1410] Compiling BoxSdkGen UserFullRoleField.swift
[1349/1410] Compiling BoxSdkGen UserIntegrationMappings.swift
[1350/1410] Compiling BoxSdkGen UserMini.swift
[1351/1410] Compiling BoxSdkGen Users.swift
[1352/1410] Compiling BoxSdkGen UsersOrderDirectionField.swift
[1353/1410] Compiling BoxSdkGen UsersOrderField.swift
[1354/1410] Compiling BoxSdkGen Watermark.swift
[1355/1410] Compiling BoxSdkGen WatermarkWatermarkField.swift
[1356/1410] Compiling BoxSdkGen WebLink.swift
[1357/1410] Compiling BoxSdkGen WebLinkItemStatusField.swift
[1358/1410] Compiling BoxSdkGen WebLinkPathCollectionField.swift
[1359/1410] Compiling BoxSdkGen WebLinkSharedLinkAccessField.swift
[1360/1410] Compiling BoxSdkGen WebLinkSharedLinkEffectiveAccessField.swift
[1361/1410] Compiling BoxSdkGen WebLinkSharedLinkEffectivePermissionField.swift
[1362/1410] Compiling BoxSdkGen WebLinkSharedLinkField.swift
[1363/1410] Compiling BoxSdkGen WebLinkSharedLinkPermissionsField.swift
[1364/1410] Compiling BoxSdkGen WebLinkBase.swift
[1365/1410] Compiling BoxSdkGen WebLinkBaseTypeField.swift
[1366/1410] Compiling BoxSdkGen WebLinkMini.swift
[1367/1410] Compiling BoxSdkGen Webhook.swift
[1368/1410] Compiling BoxSdkGen WebhookTriggersField.swift
[1369/1410] Compiling BoxSdkGen WebhookInvocation.swift
[1370/1410] Compiling BoxSdkGen WebhookInvocationTriggerField.swift
[1371/1410] Compiling BoxSdkGen WebhookInvocationTypeField.swift
[1372/1410] Compiling BoxSdkGen WebhookMini.swift
[1373/1410] Compiling BoxSdkGen WebhookMiniTargetField.swift
[1374/1410] Compiling BoxSdkGen WebhookMiniTargetTypeField.swift
[1375/1410] Compiling BoxSdkGen WebhookMiniTypeField.swift
[1376/1410] Compiling BoxSdkGen Webhooks.swift
[1377/1410] Compiling BoxSdkGen Workflow.swift
[1378/1410] Compiling BoxSdkGen WorkflowFlowsField.swift
[1379/1410] Compiling BoxSdkGen WorkflowFlowsOutcomesActionTypeField.swift
[1380/1410] Compiling BoxSdkGen WorkflowFlowsOutcomesField.swift
[1381/1410] Compiling BoxSdkGen WorkflowFlowsOutcomesIfRejectedActionTypeField.swift
[1382/1410] Compiling BoxSdkGen WorkflowFlowsOutcomesIfRejectedField.swift
[1383/1410] Compiling BoxSdkGen WorkflowFlowsOutcomesIfRejectedTypeField.swift
[1384/1410] Compiling BoxSdkGen WorkflowFlowsOutcomesTypeField.swift
[1385/1410] Compiling BoxSdkGen WorkflowFlowsTriggerField.swift
[1386/1410] Compiling BoxSdkGen WorkflowFlowsTriggerScopeField.swift
[1387/1410] Compiling BoxSdkGen WorkflowFlowsTriggerScopeObjectField.swift
[1388/1410] Compiling BoxSdkGen WorkflowFlowsTriggerScopeObjectTypeField.swift
[1389/1410] Compiling BoxSdkGen WorkflowFlowsTriggerScopeTypeField.swift
[1390/1410] Compiling BoxSdkGen WorkflowFlowsTriggerTriggerTypeField.swift
[1391/1410] Compiling BoxSdkGen WorkflowFlowsTriggerTypeField.swift
[1392/1410] Compiling BoxSdkGen WorkflowFlowsTypeField.swift
[1393/1410] Compiling BoxSdkGen WorkflowFull.swift
[1394/1410] Compiling BoxSdkGen WorkflowMini.swift
[1395/1410] Compiling BoxSdkGen WorkflowMiniTypeField.swift
[1396/1410] Compiling BoxSdkGen Workflows.swift
[1397/1410] Compiling BoxSdkGen ZipDownload.swift
[1398/1410] Compiling BoxSdkGen ZipDownloadNameConflictsField.swift
[1399/1410] Compiling BoxSdkGen ZipDownloadNameConflictsTypeField.swift
[1400/1410] Compiling BoxSdkGen ZipDownloadRequest.swift
[1401/1410] Compiling BoxSdkGen ZipDownloadRequestItemsField.swift
[1402/1410] Compiling BoxSdkGen ZipDownloadRequestItemsTypeField.swift
[1403/1410] Compiling BoxSdkGen ZipDownloadStatus.swift
[1404/1410] Compiling BoxSdkGen ZipDownloadStatusStateField.swift
[1405/1410] Compiling BoxSdkGen AnyCodeable.swift
[1406/1410] Compiling BoxSdkGen Codable+Extensions.swift
[1407/1410] Compiling BoxSdkGen CodableStringEnum.swift
[1408/1410] Compiling BoxSdkGen JsonUtils.swift
[1409/1410] Compiling BoxSdkGen SerializedData.swift
[1410/1410] Compiling BoxSdkGen resource_bundle_accessor.swift
BUILD FAILURE 6.1 wasm