Build Information
Failed to build BoxSdkGen, reference main (a6b579), with Swift 6.1 for Wasm on 29 May 2025 17:28:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | 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.
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error 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:164:23: error: cannot find type 'URLRequest' in scope
162 | options: FetchOptions,
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
166 | urlRequest.httpMethod = options.method.rawValue
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:194:63: error: cannot find type 'URLRequest' in scope
192 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
193 | /// - Throws: An error if the operation fails for any reason.
194 | private func updateRequestWithHeaders(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
195 | urlRequest.allHTTPHeaderFields = options.headers.compactMapValues { $0?.paramValue }
196 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:219:75: error: cannot find type 'URLRequest' in scope
217 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
218 | /// - Throws: An error if the operation fails for any reason.
219 | private func updateRequestWithAuthorizationHeader(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
220 | if let auth = options.auth, let token = (try await auth.retrieveToken(networkSession: networkSession)).accessToken {
221 | urlRequest.setValue("Bearer \(token)", forHTTPHeaderField: HTTPHeaderKey.authorization)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:230:69: error: cannot find type 'URLRequest' in scope
228 | /// - urlRequest: The request object.
229 | /// - multipartData: An array of `MultipartItem` which will be used to create the body of the request.
230 | private func updateRequestWithMultipartData(_ urlRequest: inout URLRequest, multipartData: [MultipartItem]) throws {
| `- error: cannot find type 'URLRequest' in scope
231 | var parameters: [String: Any] = [:]
232 | var partName = ""
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:68:153: error: cannot infer contextual base in reference to member 'url'
66 | if let downloadDestinationURL = options.downloadDestinationURL {
67 | let (downloadUrl, urlResponse) = try await sendDownloadRequest(urlRequest, downloadDestinationURL: downloadDestinationURL, networkSession: networkSession)
68 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .url(downloadUrl))
| `- error: cannot infer contextual base in reference to member 'url'
69 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
70 | } else {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:72:153: error: cannot infer contextual base in reference to member 'data'
70 | } else {
71 | let (data, urlResponse) = try await sendDataRequest(urlRequest, networkSession: networkSession)
72 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .data(data))
| `- error: cannot infer contextual base in reference to member 'data'
73 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
74 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:86:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
87 | if let error = error {
88 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
117 | if let error = error {
118 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:165:26: error: cannot find 'URLRequest' in scope
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
| `- error: cannot find 'URLRequest' in scope
166 | urlRequest.httpMethod = options.method.rawValue
167 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:324:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
322 | attempt: Int
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
326 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:325:102: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
326 |
327 | // OK
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:345:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
343 | // Retryable
344 | if statusCode == 429 || statusCode >= 500 || isStatusCodeAcceptedWithRetryAfterHeader {
345 | let retryTimeout = Double(conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) ?? "")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
346 | ?? networkSession.networkSettings.retryStrategy.getRetryTimeout(attempt: attempt)
347 | try await wait(seconds: retryTimeout)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:363:28: error: cannot call value of non-function type 'ContinuousClock.Instant'
361 | return try await withCheckedThrowingContinuation { continuation in
362 | utilityQueue.asyncAfter(
363 | deadline: .now() + .milliseconds(Int(delay * 1000))
| `- error: cannot call value of non-function type 'ContinuousClock.Instant'
364 | ) {
365 | continuation.resume()
/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: nil, 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:75: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:38:95: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
[797/927] Compiling BoxSdkGen FetchOptions.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/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:32: error: cannot find 'DispatchQueue' in scope
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot find 'DispatchQueue' in scope
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:20:59: error: cannot infer contextual base in reference to member 'utility'
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot infer contextual base in reference to member 'utility'
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:48: error: cannot find type 'URLRequest' in scope
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:115: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | 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.
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error 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:114:52: error: cannot find type 'URLRequest' in scope
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:114:147: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | 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.
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error 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:164:23: error: cannot find type 'URLRequest' in scope
162 | options: FetchOptions,
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
166 | urlRequest.httpMethod = options.method.rawValue
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:194:63: error: cannot find type 'URLRequest' in scope
192 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
193 | /// - Throws: An error if the operation fails for any reason.
194 | private func updateRequestWithHeaders(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
195 | urlRequest.allHTTPHeaderFields = options.headers.compactMapValues { $0?.paramValue }
196 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:219:75: error: cannot find type 'URLRequest' in scope
217 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
218 | /// - Throws: An error if the operation fails for any reason.
219 | private func updateRequestWithAuthorizationHeader(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
220 | if let auth = options.auth, let token = (try await auth.retrieveToken(networkSession: networkSession)).accessToken {
221 | urlRequest.setValue("Bearer \(token)", forHTTPHeaderField: HTTPHeaderKey.authorization)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:230:69: error: cannot find type 'URLRequest' in scope
228 | /// - urlRequest: The request object.
229 | /// - multipartData: An array of `MultipartItem` which will be used to create the body of the request.
230 | private func updateRequestWithMultipartData(_ urlRequest: inout URLRequest, multipartData: [MultipartItem]) throws {
| `- error: cannot find type 'URLRequest' in scope
231 | var parameters: [String: Any] = [:]
232 | var partName = ""
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:68:153: error: cannot infer contextual base in reference to member 'url'
66 | if let downloadDestinationURL = options.downloadDestinationURL {
67 | let (downloadUrl, urlResponse) = try await sendDownloadRequest(urlRequest, downloadDestinationURL: downloadDestinationURL, networkSession: networkSession)
68 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .url(downloadUrl))
| `- error: cannot infer contextual base in reference to member 'url'
69 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
70 | } else {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:72:153: error: cannot infer contextual base in reference to member 'data'
70 | } else {
71 | let (data, urlResponse) = try await sendDataRequest(urlRequest, networkSession: networkSession)
72 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .data(data))
| `- error: cannot infer contextual base in reference to member 'data'
73 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
74 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:86:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
87 | if let error = error {
88 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
117 | if let error = error {
118 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:165:26: error: cannot find 'URLRequest' in scope
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
| `- error: cannot find 'URLRequest' in scope
166 | urlRequest.httpMethod = options.method.rawValue
167 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:324:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
322 | attempt: Int
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
326 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:325:102: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
326 |
327 | // OK
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:345:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
343 | // Retryable
344 | if statusCode == 429 || statusCode >= 500 || isStatusCodeAcceptedWithRetryAfterHeader {
345 | let retryTimeout = Double(conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) ?? "")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
346 | ?? networkSession.networkSettings.retryStrategy.getRetryTimeout(attempt: attempt)
347 | try await wait(seconds: retryTimeout)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:363:28: error: cannot call value of non-function type 'ContinuousClock.Instant'
361 | return try await withCheckedThrowingContinuation { continuation in
362 | utilityQueue.asyncAfter(
363 | deadline: .now() + .milliseconds(Int(delay * 1000))
| `- error: cannot call value of non-function type 'ContinuousClock.Instant'
364 | ) {
365 | continuation.resume()
/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: nil, 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:75: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:38:95: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
[798/927] Compiling BoxSdkGen FetchResponse.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/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:32: error: cannot find 'DispatchQueue' in scope
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot find 'DispatchQueue' in scope
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:20:59: error: cannot infer contextual base in reference to member 'utility'
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot infer contextual base in reference to member 'utility'
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:48: error: cannot find type 'URLRequest' in scope
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:115: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | 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.
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error 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:114:52: error: cannot find type 'URLRequest' in scope
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:114:147: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | 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.
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error 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:164:23: error: cannot find type 'URLRequest' in scope
162 | options: FetchOptions,
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
166 | urlRequest.httpMethod = options.method.rawValue
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:194:63: error: cannot find type 'URLRequest' in scope
192 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
193 | /// - Throws: An error if the operation fails for any reason.
194 | private func updateRequestWithHeaders(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
195 | urlRequest.allHTTPHeaderFields = options.headers.compactMapValues { $0?.paramValue }
196 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:219:75: error: cannot find type 'URLRequest' in scope
217 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
218 | /// - Throws: An error if the operation fails for any reason.
219 | private func updateRequestWithAuthorizationHeader(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
220 | if let auth = options.auth, let token = (try await auth.retrieveToken(networkSession: networkSession)).accessToken {
221 | urlRequest.setValue("Bearer \(token)", forHTTPHeaderField: HTTPHeaderKey.authorization)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:230:69: error: cannot find type 'URLRequest' in scope
228 | /// - urlRequest: The request object.
229 | /// - multipartData: An array of `MultipartItem` which will be used to create the body of the request.
230 | private func updateRequestWithMultipartData(_ urlRequest: inout URLRequest, multipartData: [MultipartItem]) throws {
| `- error: cannot find type 'URLRequest' in scope
231 | var parameters: [String: Any] = [:]
232 | var partName = ""
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:68:153: error: cannot infer contextual base in reference to member 'url'
66 | if let downloadDestinationURL = options.downloadDestinationURL {
67 | let (downloadUrl, urlResponse) = try await sendDownloadRequest(urlRequest, downloadDestinationURL: downloadDestinationURL, networkSession: networkSession)
68 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .url(downloadUrl))
| `- error: cannot infer contextual base in reference to member 'url'
69 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
70 | } else {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:72:153: error: cannot infer contextual base in reference to member 'data'
70 | } else {
71 | let (data, urlResponse) = try await sendDataRequest(urlRequest, networkSession: networkSession)
72 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .data(data))
| `- error: cannot infer contextual base in reference to member 'data'
73 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
74 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:86:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
87 | if let error = error {
88 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
117 | if let error = error {
118 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:165:26: error: cannot find 'URLRequest' in scope
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
| `- error: cannot find 'URLRequest' in scope
166 | urlRequest.httpMethod = options.method.rawValue
167 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:324:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
322 | attempt: Int
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
326 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:325:102: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
326 |
327 | // OK
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:345:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
343 | // Retryable
344 | if statusCode == 429 || statusCode >= 500 || isStatusCodeAcceptedWithRetryAfterHeader {
345 | let retryTimeout = Double(conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) ?? "")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
346 | ?? networkSession.networkSettings.retryStrategy.getRetryTimeout(attempt: attempt)
347 | try await wait(seconds: retryTimeout)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:363:28: error: cannot call value of non-function type 'ContinuousClock.Instant'
361 | return try await withCheckedThrowingContinuation { continuation in
362 | utilityQueue.asyncAfter(
363 | deadline: .now() + .milliseconds(Int(delay * 1000))
| `- error: cannot call value of non-function type 'ContinuousClock.Instant'
364 | ) {
365 | continuation.resume()
/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: nil, 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:75: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:38:95: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
[799/927] Compiling BoxSdkGen MultipartItem.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/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:32: error: cannot find 'DispatchQueue' in scope
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot find 'DispatchQueue' in scope
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:20:59: error: cannot infer contextual base in reference to member 'utility'
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot infer contextual base in reference to member 'utility'
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:48: error: cannot find type 'URLRequest' in scope
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:115: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | 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.
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error 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:114:52: error: cannot find type 'URLRequest' in scope
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:114:147: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | 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.
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error 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:164:23: error: cannot find type 'URLRequest' in scope
162 | options: FetchOptions,
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
166 | urlRequest.httpMethod = options.method.rawValue
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:194:63: error: cannot find type 'URLRequest' in scope
192 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
193 | /// - Throws: An error if the operation fails for any reason.
194 | private func updateRequestWithHeaders(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
195 | urlRequest.allHTTPHeaderFields = options.headers.compactMapValues { $0?.paramValue }
196 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:219:75: error: cannot find type 'URLRequest' in scope
217 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
218 | /// - Throws: An error if the operation fails for any reason.
219 | private func updateRequestWithAuthorizationHeader(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
220 | if let auth = options.auth, let token = (try await auth.retrieveToken(networkSession: networkSession)).accessToken {
221 | urlRequest.setValue("Bearer \(token)", forHTTPHeaderField: HTTPHeaderKey.authorization)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:230:69: error: cannot find type 'URLRequest' in scope
228 | /// - urlRequest: The request object.
229 | /// - multipartData: An array of `MultipartItem` which will be used to create the body of the request.
230 | private func updateRequestWithMultipartData(_ urlRequest: inout URLRequest, multipartData: [MultipartItem]) throws {
| `- error: cannot find type 'URLRequest' in scope
231 | var parameters: [String: Any] = [:]
232 | var partName = ""
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:68:153: error: cannot infer contextual base in reference to member 'url'
66 | if let downloadDestinationURL = options.downloadDestinationURL {
67 | let (downloadUrl, urlResponse) = try await sendDownloadRequest(urlRequest, downloadDestinationURL: downloadDestinationURL, networkSession: networkSession)
68 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .url(downloadUrl))
| `- error: cannot infer contextual base in reference to member 'url'
69 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
70 | } else {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:72:153: error: cannot infer contextual base in reference to member 'data'
70 | } else {
71 | let (data, urlResponse) = try await sendDataRequest(urlRequest, networkSession: networkSession)
72 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .data(data))
| `- error: cannot infer contextual base in reference to member 'data'
73 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
74 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:86:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
87 | if let error = error {
88 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
117 | if let error = error {
118 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:165:26: error: cannot find 'URLRequest' in scope
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
| `- error: cannot find 'URLRequest' in scope
166 | urlRequest.httpMethod = options.method.rawValue
167 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:324:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
322 | attempt: Int
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
326 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:325:102: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
326 |
327 | // OK
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:345:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
343 | // Retryable
344 | if statusCode == 429 || statusCode >= 500 || isStatusCodeAcceptedWithRetryAfterHeader {
345 | let retryTimeout = Double(conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) ?? "")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
346 | ?? networkSession.networkSettings.retryStrategy.getRetryTimeout(attempt: attempt)
347 | try await wait(seconds: retryTimeout)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:363:28: error: cannot call value of non-function type 'ContinuousClock.Instant'
361 | return try await withCheckedThrowingContinuation { continuation in
362 | utilityQueue.asyncAfter(
363 | deadline: .now() + .milliseconds(Int(delay * 1000))
| `- error: cannot call value of non-function type 'ContinuousClock.Instant'
364 | ) {
365 | continuation.resume()
/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: nil, 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:75: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:38:95: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
[800/927] Compiling BoxSdkGen NetworkClient.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/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:32: error: cannot find 'DispatchQueue' in scope
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot find 'DispatchQueue' in scope
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:20:59: error: cannot infer contextual base in reference to member 'utility'
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot infer contextual base in reference to member 'utility'
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:48: error: cannot find type 'URLRequest' in scope
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:115: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | 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.
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error 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:114:52: error: cannot find type 'URLRequest' in scope
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:114:147: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | 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.
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error 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:164:23: error: cannot find type 'URLRequest' in scope
162 | options: FetchOptions,
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
166 | urlRequest.httpMethod = options.method.rawValue
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:194:63: error: cannot find type 'URLRequest' in scope
192 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
193 | /// - Throws: An error if the operation fails for any reason.
194 | private func updateRequestWithHeaders(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
195 | urlRequest.allHTTPHeaderFields = options.headers.compactMapValues { $0?.paramValue }
196 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:219:75: error: cannot find type 'URLRequest' in scope
217 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
218 | /// - Throws: An error if the operation fails for any reason.
219 | private func updateRequestWithAuthorizationHeader(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
220 | if let auth = options.auth, let token = (try await auth.retrieveToken(networkSession: networkSession)).accessToken {
221 | urlRequest.setValue("Bearer \(token)", forHTTPHeaderField: HTTPHeaderKey.authorization)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:230:69: error: cannot find type 'URLRequest' in scope
228 | /// - urlRequest: The request object.
229 | /// - multipartData: An array of `MultipartItem` which will be used to create the body of the request.
230 | private func updateRequestWithMultipartData(_ urlRequest: inout URLRequest, multipartData: [MultipartItem]) throws {
| `- error: cannot find type 'URLRequest' in scope
231 | var parameters: [String: Any] = [:]
232 | var partName = ""
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:68:153: error: cannot infer contextual base in reference to member 'url'
66 | if let downloadDestinationURL = options.downloadDestinationURL {
67 | let (downloadUrl, urlResponse) = try await sendDownloadRequest(urlRequest, downloadDestinationURL: downloadDestinationURL, networkSession: networkSession)
68 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .url(downloadUrl))
| `- error: cannot infer contextual base in reference to member 'url'
69 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
70 | } else {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:72:153: error: cannot infer contextual base in reference to member 'data'
70 | } else {
71 | let (data, urlResponse) = try await sendDataRequest(urlRequest, networkSession: networkSession)
72 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .data(data))
| `- error: cannot infer contextual base in reference to member 'data'
73 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
74 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:86:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
87 | if let error = error {
88 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
117 | if let error = error {
118 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:165:26: error: cannot find 'URLRequest' in scope
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
| `- error: cannot find 'URLRequest' in scope
166 | urlRequest.httpMethod = options.method.rawValue
167 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:324:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
322 | attempt: Int
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
326 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:325:102: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
326 |
327 | // OK
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:345:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
343 | // Retryable
344 | if statusCode == 429 || statusCode >= 500 || isStatusCodeAcceptedWithRetryAfterHeader {
345 | let retryTimeout = Double(conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) ?? "")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
346 | ?? networkSession.networkSettings.retryStrategy.getRetryTimeout(attempt: attempt)
347 | try await wait(seconds: retryTimeout)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:363:28: error: cannot call value of non-function type 'ContinuousClock.Instant'
361 | return try await withCheckedThrowingContinuation { continuation in
362 | utilityQueue.asyncAfter(
363 | deadline: .now() + .milliseconds(Int(delay * 1000))
| `- error: cannot call value of non-function type 'ContinuousClock.Instant'
364 | ) {
365 | continuation.resume()
/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: nil, 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:75: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:38:95: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
[801/927] 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/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:32: error: cannot find 'DispatchQueue' in scope
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot find 'DispatchQueue' in scope
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:20:59: error: cannot infer contextual base in reference to member 'utility'
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot infer contextual base in reference to member 'utility'
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:48: error: cannot find type 'URLRequest' in scope
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:115: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | 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.
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error 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:114:52: error: cannot find type 'URLRequest' in scope
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:114:147: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | 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.
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error 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:164:23: error: cannot find type 'URLRequest' in scope
162 | options: FetchOptions,
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
166 | urlRequest.httpMethod = options.method.rawValue
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:194:63: error: cannot find type 'URLRequest' in scope
192 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
193 | /// - Throws: An error if the operation fails for any reason.
194 | private func updateRequestWithHeaders(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
195 | urlRequest.allHTTPHeaderFields = options.headers.compactMapValues { $0?.paramValue }
196 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:219:75: error: cannot find type 'URLRequest' in scope
217 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
218 | /// - Throws: An error if the operation fails for any reason.
219 | private func updateRequestWithAuthorizationHeader(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
220 | if let auth = options.auth, let token = (try await auth.retrieveToken(networkSession: networkSession)).accessToken {
221 | urlRequest.setValue("Bearer \(token)", forHTTPHeaderField: HTTPHeaderKey.authorization)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:230:69: error: cannot find type 'URLRequest' in scope
228 | /// - urlRequest: The request object.
229 | /// - multipartData: An array of `MultipartItem` which will be used to create the body of the request.
230 | private func updateRequestWithMultipartData(_ urlRequest: inout URLRequest, multipartData: [MultipartItem]) throws {
| `- error: cannot find type 'URLRequest' in scope
231 | var parameters: [String: Any] = [:]
232 | var partName = ""
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:68:153: error: cannot infer contextual base in reference to member 'url'
66 | if let downloadDestinationURL = options.downloadDestinationURL {
67 | let (downloadUrl, urlResponse) = try await sendDownloadRequest(urlRequest, downloadDestinationURL: downloadDestinationURL, networkSession: networkSession)
68 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .url(downloadUrl))
| `- error: cannot infer contextual base in reference to member 'url'
69 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
70 | } else {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:72:153: error: cannot infer contextual base in reference to member 'data'
70 | } else {
71 | let (data, urlResponse) = try await sendDataRequest(urlRequest, networkSession: networkSession)
72 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .data(data))
| `- error: cannot infer contextual base in reference to member 'data'
73 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
74 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:86:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
87 | if let error = error {
88 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
117 | if let error = error {
118 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:165:26: error: cannot find 'URLRequest' in scope
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
| `- error: cannot find 'URLRequest' in scope
166 | urlRequest.httpMethod = options.method.rawValue
167 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:324:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
322 | attempt: Int
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
326 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:325:102: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
326 |
327 | // OK
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:345:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
343 | // Retryable
344 | if statusCode == 429 || statusCode >= 500 || isStatusCodeAcceptedWithRetryAfterHeader {
345 | let retryTimeout = Double(conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) ?? "")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
346 | ?? networkSession.networkSettings.retryStrategy.getRetryTimeout(attempt: attempt)
347 | try await wait(seconds: retryTimeout)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:363:28: error: cannot call value of non-function type 'ContinuousClock.Instant'
361 | return try await withCheckedThrowingContinuation { continuation in
362 | utilityQueue.asyncAfter(
363 | deadline: .now() + .milliseconds(Int(delay * 1000))
| `- error: cannot call value of non-function type 'ContinuousClock.Instant'
364 | ) {
365 | continuation.resume()
/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: nil, 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:75: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:38:95: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
[802/927] Compiling BoxSdkGen NetworkSettings.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/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:32: error: cannot find 'DispatchQueue' in scope
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot find 'DispatchQueue' in scope
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:20:59: error: cannot infer contextual base in reference to member 'utility'
18 | public static let shared = NetworkClient()
19 |
20 | private let utilityQueue = DispatchQueue.global(qos: .utility)
| `- error: cannot infer contextual base in reference to member 'utility'
21 |
22 | private init(){}
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:48: error: cannot find type 'URLRequest' in scope
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:84:115: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | /// - Returns: Tuple of of (Data, URLResponse)
83 | /// - Throws: An error if the request fails for any reason.
84 | 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.
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error 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:114:52: error: cannot find type 'URLRequest' in scope
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:114:147: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 | /// - Returns: Tuple of of (URL, URLResponse)
113 | /// - Throws: An error if the request fails for any reason.
114 | 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.
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error 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:164:23: error: cannot find type 'URLRequest' in scope
162 | options: FetchOptions,
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
166 | urlRequest.httpMethod = options.method.rawValue
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:194:63: error: cannot find type 'URLRequest' in scope
192 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
193 | /// - Throws: An error if the operation fails for any reason.
194 | private func updateRequestWithHeaders(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
195 | urlRequest.allHTTPHeaderFields = options.headers.compactMapValues { $0?.paramValue }
196 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:219:75: error: cannot find type 'URLRequest' in scope
217 | /// - networkSession: The Networking Session object which provides the URLSession object along with a network configuration parameters used in network communication.
218 | /// - Throws: An error if the operation fails for any reason.
219 | private func updateRequestWithAuthorizationHeader(_ urlRequest: inout URLRequest, options: FetchOptions, networkSession: NetworkSession) async throws {
| `- error: cannot find type 'URLRequest' in scope
220 | if let auth = options.auth, let token = (try await auth.retrieveToken(networkSession: networkSession)).accessToken {
221 | urlRequest.setValue("Bearer \(token)", forHTTPHeaderField: HTTPHeaderKey.authorization)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:230:69: error: cannot find type 'URLRequest' in scope
228 | /// - urlRequest: The request object.
229 | /// - multipartData: An array of `MultipartItem` which will be used to create the body of the request.
230 | private func updateRequestWithMultipartData(_ urlRequest: inout URLRequest, multipartData: [MultipartItem]) throws {
| `- error: cannot find type 'URLRequest' in scope
231 | var parameters: [String: Any] = [:]
232 | var partName = ""
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:68:153: error: cannot infer contextual base in reference to member 'url'
66 | if let downloadDestinationURL = options.downloadDestinationURL {
67 | let (downloadUrl, urlResponse) = try await sendDownloadRequest(urlRequest, downloadDestinationURL: downloadDestinationURL, networkSession: networkSession)
68 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .url(downloadUrl))
| `- error: cannot infer contextual base in reference to member 'url'
69 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
70 | } else {
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:72:153: error: cannot infer contextual base in reference to member 'data'
70 | } else {
71 | let (data, urlResponse) = try await sendDataRequest(urlRequest, networkSession: networkSession)
72 | let conversation = FetchConversation(options: options, urlRequest: urlRequest, urlResponse: urlResponse as! HTTPURLResponse, responseType: .data(data))
| `- error: cannot infer contextual base in reference to member 'data'
73 | return try await processResponse(using: conversation, networkSession: networkSession, attempt: attempt)
74 | }
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:86:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
84 | private func sendDataRequest(_ urlRequest: URLRequest, networkSession: NetworkSession) async throws -> (Data, URLResponse) {
85 | return try await withCheckedThrowingContinuation { continuation in
86 | networkSession.session.dataTask(with: urlRequest) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
87 | if let error = error {
88 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:116:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
114 | private func sendDownloadRequest(_ urlRequest: URLRequest, downloadDestinationURL: URL, networkSession: NetworkSession) async throws -> (URL, URLResponse) {
115 | return try await withCheckedThrowingContinuation { continuation in
116 | networkSession.session.downloadTask(with: urlRequest) { location, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
117 | if let error = error {
118 | continuation.resume(with: .failure(BoxNetworkError(message: error.localizedDescription, error: error)))
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:165:26: error: cannot find 'URLRequest' in scope
163 | networkSession: NetworkSession
164 | ) async throws -> URLRequest {
165 | var urlRequest = URLRequest(url: createEndpointUrl(url: options.url, params: options.params))
| `- error: cannot find 'URLRequest' in scope
166 | urlRequest.httpMethod = options.method.rawValue
167 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:324:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
322 | attempt: Int
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
326 |
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:325:102: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
323 | ) async throws -> FetchResponse {
324 | let statusCode = conversation.urlResponse.statusCode
325 | let isStatusCodeAcceptedWithRetryAfterHeader = statusCode == 202 && conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
326 |
327 | // OK
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:345:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
343 | // Retryable
344 | if statusCode == 429 || statusCode >= 500 || isStatusCodeAcceptedWithRetryAfterHeader {
345 | let retryTimeout = Double(conversation.urlResponse.value(forHTTPHeaderField: HTTPHeaderKey.retryAfter) ?? "")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
346 | ?? networkSession.networkSettings.retryStrategy.getRetryTimeout(attempt: attempt)
347 | try await wait(seconds: retryTimeout)
/host/spi-builder-workspace/Sources/Networking/NetworkClient.swift:363:28: error: cannot call value of non-function type 'ContinuousClock.Instant'
361 | return try await withCheckedThrowingContinuation { continuation in
362 | utilityQueue.asyncAfter(
363 | deadline: .now() + .milliseconds(Int(delay * 1000))
| `- error: cannot call value of non-function type 'ContinuousClock.Instant'
364 | ) {
365 | continuation.resume()
/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: nil, 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:75: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:38:95: error: 'nil' requires a contextual type
36 | self.additionalHeaders = additionalHeaders
37 | self.configuration = configuration
38 | self.session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
39 | self.networkSettings = networkSettings
40 | self.baseUrls = baseUrls
[803/1000] Compiling BoxSdkGen CollaborationAllowlistEntryEnterpriseTypeField.swift
[804/1000] Compiling BoxSdkGen CollaborationAllowlistEntryTypeField.swift
[805/1000] Compiling BoxSdkGen CollaborationAllowlistExemptTarget.swift
[806/1000] Compiling BoxSdkGen CollaborationAllowlistExemptTargetEnterpriseField.swift
[807/1000] Compiling BoxSdkGen CollaborationAllowlistExemptTargetEnterpriseTypeField.swift
[808/1000] Compiling BoxSdkGen CollaborationAllowlistExemptTargetTypeField.swift
[809/1000] Compiling BoxSdkGen CollaborationAllowlistExemptTargets.swift
[810/1000] Compiling BoxSdkGen Collaborations.swift
[811/1000] Compiling BoxSdkGen CollaborationsOrderDirectionField.swift
[812/1000] Compiling BoxSdkGen CollaborationsOrderField.swift
[813/1000] Compiling BoxSdkGen CollaboratorVariable.swift
[814/1000] Compiling BoxSdkGen CollaboratorVariableTypeField.swift
[815/1000] Compiling BoxSdkGen CollaboratorVariableVariableTypeField.swift
[816/1000] Compiling BoxSdkGen CollaboratorVariableVariableValueField.swift
[817/1000] Compiling BoxSdkGen CollaboratorVariableVariableValueTypeField.swift
[818/1000] Compiling BoxSdkGen Collection.swift
[819/1000] Compiling BoxSdkGen CollectionCollectionTypeField.swift
[820/1000] Compiling BoxSdkGen CollectionNameField.swift
[821/1000] Compiling BoxSdkGen CollectionTypeField.swift
[822/1000] Compiling BoxSdkGen Collections.swift
[823/1000] Compiling BoxSdkGen CollectionsOrderDirectionField.swift
[824/1000] Compiling BoxSdkGen CollectionsOrderField.swift
[825/1000] Compiling BoxSdkGen Comment.swift
[826/1000] Compiling BoxSdkGen CommentItemField.swift
[827/1000] Compiling BoxSdkGen CommentBase.swift
[828/1000] Compiling BoxSdkGen AiCitation.swift
[829/1000] Compiling BoxSdkGen AiCitationTypeField.swift
[830/1000] Compiling BoxSdkGen AiDialogueHistory.swift
[831/1000] Compiling BoxSdkGen AiLlmEndpointParamsGoogle.swift
[832/1000] Compiling BoxSdkGen AiLlmEndpointParamsGoogleTypeField.swift
[833/1000] Compiling BoxSdkGen AiLlmEndpointParamsGoogleOrAiLlmEndpointParamsOpenAi.swift
[834/1000] Compiling BoxSdkGen AiLlmEndpointParamsOpenAi.swift
[835/1000] Compiling BoxSdkGen AiLlmEndpointParamsOpenAiTypeField.swift
[836/1000] Compiling BoxSdkGen AiResponse.swift
[837/1000] Compiling BoxSdkGen AiResponseFull.swift
[838/1000] Compiling BoxSdkGen AiTextGen.swift
[839/1000] Compiling BoxSdkGen AiTextGenItemsField.swift
[840/1000] Compiling BoxSdkGen AiTextGenItemsTypeField.swift
[841/1000] Compiling BoxSdkGen AppItem.swift
[842/1000] Compiling BoxSdkGen AppItemTypeField.swift
[843/1000] Compiling BoxSdkGen AppItemAssociation.swift
[844/1000] Compiling BoxSdkGen AppItemAssociationTypeField.swift
[845/1000] Compiling BoxSdkGen AppItemAssociations.swift
[846/1000] Compiling BoxSdkGen AppItemEventSource.swift
[847/1000] Compiling BoxSdkGen AppItemEventSourceTypeField.swift
[848/1000] Compiling BoxSdkGen AppItemEventSourceOrEventSourceOrFileOrFolderOrGenericSourceOrUser.swift
[849/1000] Compiling BoxSdkGen Classification.swift
[850/1000] Compiling BoxSdkGen ClassificationTemplateField.swift
[851/1000] Compiling BoxSdkGen ClassificationTemplate.swift
[852/1000] Compiling BoxSdkGen ClassificationTemplateDisplayNameField.swift
[853/1048] Compiling BoxSdkGen ParameterConvertible.swift
[854/1048] Compiling BoxSdkGen RetryStrategyProtocol.swift
[855/1048] Compiling BoxSdkGen Version.swift
[856/1048] Compiling BoxSdkGen AccessToken.swift
[857/1048] Compiling BoxSdkGen AccessTokenIssuedTokenTypeField.swift
[858/1048] Compiling BoxSdkGen AccessTokenTokenTypeField.swift
[859/1048] Compiling BoxSdkGen AiAgentAsk.swift
[860/1048] Compiling BoxSdkGen AiAgentAskTypeField.swift
[861/1048] Compiling BoxSdkGen AiAgentAskOrAiAgentTextGen.swift
[862/1048] Compiling BoxSdkGen AiAgentBasicGenTool.swift
[863/1048] Compiling BoxSdkGen AiAgentBasicTextTool.swift
[864/1048] Compiling BoxSdkGen AiAgentBasicTextToolBase.swift
[865/1048] Compiling BoxSdkGen AiAgentBasicTextToolTextGen.swift
[866/1048] Compiling BoxSdkGen AiAgentLongTextTool.swift
[867/1048] Compiling BoxSdkGen AiAgentLongTextToolEmbeddingsField.swift
[868/1048] Compiling BoxSdkGen AiAgentLongTextToolEmbeddingsStrategyField.swift
[869/1048] Compiling BoxSdkGen AiAgentLongTextToolTextGen.swift
[870/1048] Compiling BoxSdkGen AiAgentLongTextToolTextGenEmbeddingsField.swift
[871/1048] Compiling BoxSdkGen AiAgentLongTextToolTextGenEmbeddingsStrategyField.swift
[872/1048] Compiling BoxSdkGen AiAgentTextGen.swift
[873/1048] Compiling BoxSdkGen AiAgentTextGenTypeField.swift
[874/1048] Compiling BoxSdkGen AiAsk.swift
[875/1048] Compiling BoxSdkGen AiAskItemsField.swift
[876/1048] Compiling BoxSdkGen AiAskItemsTypeField.swift
[877/1048] Compiling BoxSdkGen AiAskModeField.swift
[878/1072] Compiling BoxSdkGen ClassificationTemplateFieldsDisplayNameField.swift
[879/1072] Compiling BoxSdkGen ClassificationTemplateFieldsField.swift
[880/1072] Compiling BoxSdkGen ClassificationTemplateFieldsKeyField.swift
[881/1072] Compiling BoxSdkGen ClassificationTemplateFieldsOptionsField.swift
[882/1072] Compiling BoxSdkGen ClassificationTemplateFieldsOptionsStaticConfigClassificationField.swift
[883/1072] Compiling BoxSdkGen ClassificationTemplateFieldsOptionsStaticConfigField.swift
[884/1072] Compiling BoxSdkGen ClassificationTemplateFieldsTypeField.swift
[885/1072] Compiling BoxSdkGen ClassificationTemplateTemplateKeyField.swift
[886/1072] Compiling BoxSdkGen ClassificationTemplateTypeField.swift
[887/1072] Compiling BoxSdkGen ClientError.swift
[888/1072] Compiling BoxSdkGen ClientErrorCodeField.swift
[889/1072] Compiling BoxSdkGen ClientErrorContextInfoField.swift
[890/1072] Compiling BoxSdkGen ClientErrorTypeField.swift
[891/1072] Compiling BoxSdkGen Collaboration.swift
[892/1072] Compiling BoxSdkGen CollaborationAcceptanceRequirementsStatusField.swift
[893/1072] Compiling BoxSdkGen CollaborationAcceptanceRequirementsStatusStrongPasswordRequirementField.swift
[894/1072] Compiling BoxSdkGen CollaborationAcceptanceRequirementsStatusTermsOfServiceRequirementField.swift
[895/1072] Compiling BoxSdkGen CollaborationAcceptanceRequirementsStatusTwoFactorAuthenticationRequirementField.swift
[896/1072] Compiling BoxSdkGen CollaborationRoleField.swift
[897/1072] Compiling BoxSdkGen CollaborationStatusField.swift
[898/1072] Compiling BoxSdkGen CollaborationTypeField.swift
[899/1072] Compiling BoxSdkGen CollaborationAllowlistEntries.swift
[900/1072] Compiling BoxSdkGen CollaborationAllowlistEntry.swift
[901/1072] Compiling BoxSdkGen CollaborationAllowlistEntryDirectionField.swift
[902/1072] Compiling BoxSdkGen CollaborationAllowlistEntryEnterpriseField.swift
[903/1096] Compiling BoxSdkGen CommentBaseTypeField.swift
[904/1096] Compiling BoxSdkGen CommentFull.swift
[905/1096] Compiling BoxSdkGen Comments.swift
[906/1096] Compiling BoxSdkGen CommentsOrderDirectionField.swift
[907/1096] Compiling BoxSdkGen CommentsOrderField.swift
[908/1096] Compiling BoxSdkGen CompletionRuleVariable.swift
[909/1096] Compiling BoxSdkGen CompletionRuleVariableTypeField.swift
[910/1096] Compiling BoxSdkGen CompletionRuleVariableVariableTypeField.swift
[911/1096] Compiling BoxSdkGen CompletionRuleVariableVariableValueField.swift
[912/1096] Compiling BoxSdkGen ConflictError.swift
[913/1096] Compiling BoxSdkGen ConflictErrorContextInfoField.swift
[914/1096] Compiling BoxSdkGen DevicePinner.swift
[915/1096] Compiling BoxSdkGen DevicePinnerTypeField.swift
[916/1096] Compiling BoxSdkGen DevicePinners.swift
[917/1096] Compiling BoxSdkGen DevicePinnersOrderByField.swift
[918/1096] Compiling BoxSdkGen DevicePinnersOrderDirectionField.swift
[919/1096] Compiling BoxSdkGen DevicePinnersOrderField.swift
[920/1096] Compiling BoxSdkGen EmailAlias.swift
[921/1096] Compiling BoxSdkGen EmailAliasTypeField.swift
[922/1096] Compiling BoxSdkGen EmailAliases.swift
[923/1096] Compiling BoxSdkGen EnterpriseBase.swift
[924/1096] Compiling BoxSdkGen EnterpriseBaseTypeField.swift
[925/1096] Compiling BoxSdkGen Event.swift
[926/1096] Compiling BoxSdkGen EventAdditionalDetailsField.swift
[927/1096] Compiling BoxSdkGen EventEventTypeField.swift
[928/1120] Compiling BoxSdkGen FileFullMetadataField.swift
[929/1120] Compiling BoxSdkGen FileFullPermissionsField.swift
[930/1120] Compiling BoxSdkGen FileFullRepresentationsEntriesContentField.swift
[931/1120] Compiling BoxSdkGen FileFullRepresentationsEntriesField.swift
[932/1120] Compiling BoxSdkGen FileFullRepresentationsEntriesInfoField.swift
[933/1120] Compiling BoxSdkGen FileFullRepresentationsEntriesPropertiesField.swift
[934/1120] Compiling BoxSdkGen FileFullRepresentationsEntriesStatusField.swift
[935/1120] Compiling BoxSdkGen FileFullRepresentationsEntriesStatusStateField.swift
[936/1120] Compiling BoxSdkGen FileFullRepresentationsField.swift
[937/1120] Compiling BoxSdkGen FileFullSharedLinkPermissionOptionsField.swift
[938/1120] Compiling BoxSdkGen FileFullWatermarkInfoField.swift
[939/1120] Compiling BoxSdkGen FileFullOrFolderFull.swift
[940/1120] Compiling BoxSdkGen FileFullOrFolderFullOrWebLink.swift
[941/1120] Compiling BoxSdkGen FileFullOrFolderMiniOrWebLink.swift
[942/1120] Compiling BoxSdkGen FileMini.swift
[943/1120] Compiling BoxSdkGen FileMiniOrFolderMini.swift
[944/1120] Compiling BoxSdkGen FileOrFolder.swift
[945/1120] Compiling BoxSdkGen FileOrFolderOrWebLink.swift
[946/1120] Compiling BoxSdkGen FileOrFolderScope.swift
[947/1120] Compiling BoxSdkGen FileOrFolderScopeScopeField.swift
[948/1120] Compiling BoxSdkGen FileRequest.swift
[949/1120] Compiling BoxSdkGen FileRequestStatusField.swift
[950/1120] Compiling BoxSdkGen FileRequestTypeField.swift
[951/1120] Compiling BoxSdkGen FileRequestCopyRequest.swift
[952/1144] Compiling BoxSdkGen EventSource.swift
[953/1144] Compiling BoxSdkGen EventSourceClassificationField.swift
[954/1144] Compiling BoxSdkGen EventSourceItemTypeField.swift
[955/1144] Compiling BoxSdkGen Events.swift
[956/1144] Compiling BoxSdkGen EventsNextStreamPositionField.swift
[957/1144] Compiling BoxSdkGen File.swift
[958/1144] Compiling BoxSdkGen FileItemStatusField.swift
[959/1144] Compiling BoxSdkGen FilePathCollectionField.swift
[960/1144] Compiling BoxSdkGen FileSharedLinkAccessField.swift
[961/1144] Compiling BoxSdkGen FileSharedLinkEffectiveAccessField.swift
[962/1144] Compiling BoxSdkGen FileSharedLinkEffectivePermissionField.swift
[963/1144] Compiling BoxSdkGen FileSharedLinkField.swift
[964/1144] Compiling BoxSdkGen FileSharedLinkPermissionsField.swift
[965/1144] Compiling BoxSdkGen FileBase.swift
[966/1144] Compiling BoxSdkGen FileBaseTypeField.swift
[967/1144] Compiling BoxSdkGen FileBaseOrFolderBaseOrWebLinkBase.swift
[968/1144] Compiling BoxSdkGen FileConflict.swift
[969/1144] Compiling BoxSdkGen FileFull.swift
[970/1144] Compiling BoxSdkGen FileFullAllowedInviteeRolesField.swift
[971/1144] Compiling BoxSdkGen FileFullClassificationField.swift
[972/1144] Compiling BoxSdkGen FileFullExpiringEmbedLinkField.swift
[973/1144] Compiling BoxSdkGen FileFullExpiringEmbedLinkTokenTypeField.swift
[974/1144] Compiling BoxSdkGen FileFullLockAppTypeField.swift
[975/1144] Compiling BoxSdkGen FileFullLockField.swift
[976/1144] Compiling BoxSdkGen FileFullLockTypeField.swift
[977/1168] Compiling BoxSdkGen FileRequestCopyRequestFolderField.swift
[978/1168] Compiling BoxSdkGen FileRequestCopyRequestFolderTypeField.swift
[979/1168] Compiling BoxSdkGen FileRequestUpdateRequest.swift
[980/1168] Compiling BoxSdkGen FileRequestUpdateRequestStatusField.swift
[981/1168] Compiling BoxSdkGen FileVersion.swift
[982/1168] Compiling BoxSdkGen FileVersionBase.swift
[983/1168] Compiling BoxSdkGen FileVersionBaseTypeField.swift
[984/1168] Compiling BoxSdkGen FileVersionFull.swift
[985/1168] Compiling BoxSdkGen FileVersionLegalHold.swift
[986/1168] Compiling BoxSdkGen FileVersionLegalHoldTypeField.swift
[987/1168] Compiling BoxSdkGen FileVersionLegalHolds.swift
[988/1168] Compiling BoxSdkGen FileVersionMini.swift
[989/1168] Compiling BoxSdkGen FileVersionRetention.swift
[990/1168] Compiling BoxSdkGen FileVersionRetentionTypeField.swift
[991/1168] Compiling BoxSdkGen FileVersionRetentions.swift
[992/1168] Compiling BoxSdkGen FileVersions.swift
[993/1168] Compiling BoxSdkGen FileVersionsOrderDirectionField.swift
[994/1168] Compiling BoxSdkGen FileVersionsOrderField.swift
[995/1168] Compiling BoxSdkGen Files.swift
[996/1168] Compiling BoxSdkGen FilesOnHold.swift
[997/1168] Compiling BoxSdkGen FilesUnderRetention.swift
[998/1168] Compiling BoxSdkGen Folder.swift
[999/1168] Compiling BoxSdkGen FolderFolderUploadEmailAccessField.swift
[1000/1168] Compiling BoxSdkGen FolderFolderUploadEmailField.swift
[1001/1192] Compiling BoxSdkGen GroupBaseTypeField.swift
[1002/1192] Compiling BoxSdkGen GroupFull.swift
[1003/1192] Compiling BoxSdkGen GroupFullInvitabilityLevelField.swift
[1004/1192] Compiling BoxSdkGen GroupFullMemberViewabilityLevelField.swift
[1005/1192] Compiling BoxSdkGen GroupFullPermissionsField.swift
[1006/1192] Compiling BoxSdkGen GroupMembership.swift
[1007/1192] Compiling BoxSdkGen GroupMembershipRoleField.swift
[1008/1192] Compiling BoxSdkGen GroupMembershipTypeField.swift
[1009/1192] Compiling BoxSdkGen GroupMemberships.swift
[1010/1192] Compiling BoxSdkGen GroupMembershipsOrderDirectionField.swift
[1011/1192] Compiling BoxSdkGen GroupMembershipsOrderField.swift
[1012/1192] Compiling BoxSdkGen GroupMini.swift
[1013/1192] Compiling BoxSdkGen GroupMiniGroupTypeField.swift
[1014/1192] Compiling BoxSdkGen GroupMiniOrUserCollaborations.swift
[1015/1192] Compiling BoxSdkGen Groups.swift
[1016/1192] Compiling BoxSdkGen GroupsOrderDirectionField.swift
[1017/1192] Compiling BoxSdkGen GroupsOrderField.swift
[1018/1192] Compiling BoxSdkGen IntegrationMapping.swift
[1019/1192] Compiling BoxSdkGen IntegrationMappingIntegrationTypeField.swift
[1020/1192] Compiling BoxSdkGen IntegrationMappingBase.swift
[1021/1192] Compiling BoxSdkGen IntegrationMappingBaseTypeField.swift
[1022/1192] Compiling BoxSdkGen IntegrationMappingBoxItemSlack.swift
[1023/1192] Compiling BoxSdkGen IntegrationMappingBoxItemSlackTypeField.swift
[1024/1192] Compiling BoxSdkGen IntegrationMappingPartnerItemSlack.swift
[1025/1216] Compiling BoxSdkGen FolderItemStatusField.swift
[1026/1216] Compiling BoxSdkGen FolderPathCollectionField.swift
[1027/1216] Compiling BoxSdkGen FolderSharedLinkAccessField.swift
[1028/1216] Compiling BoxSdkGen FolderSharedLinkEffectiveAccessField.swift
[1029/1216] Compiling BoxSdkGen FolderSharedLinkEffectivePermissionField.swift
[1030/1216] Compiling BoxSdkGen FolderSharedLinkField.swift
[1031/1216] Compiling BoxSdkGen FolderSharedLinkPermissionsField.swift
[1032/1216] Compiling BoxSdkGen FolderBase.swift
[1033/1216] Compiling BoxSdkGen FolderBaseTypeField.swift
[1034/1216] Compiling BoxSdkGen FolderFull.swift
[1035/1216] Compiling BoxSdkGen FolderFullAllowedInviteeRolesField.swift
[1036/1216] Compiling BoxSdkGen FolderFullAllowedSharedLinkAccessLevelsField.swift
[1037/1216] Compiling BoxSdkGen FolderFullClassificationField.swift
[1038/1216] Compiling BoxSdkGen FolderFullMetadataField.swift
[1039/1216] Compiling BoxSdkGen FolderFullPermissionsField.swift
[1040/1216] Compiling BoxSdkGen FolderFullSyncStateField.swift
[1041/1216] Compiling BoxSdkGen FolderFullWatermarkInfoField.swift
[1042/1216] Compiling BoxSdkGen FolderLock.swift
[1043/1216] Compiling BoxSdkGen FolderLockLockedOperationsField.swift
[1044/1216] Compiling BoxSdkGen FolderLocks.swift
[1045/1216] Compiling BoxSdkGen FolderMini.swift
[1046/1216] Compiling BoxSdkGen GenericSource.swift
[1047/1216] Compiling BoxSdkGen Group.swift
[1048/1216] Compiling BoxSdkGen GroupBase.swift
[1049/1240] Compiling BoxSdkGen IntegrationMappingPartnerItemSlackTypeField.swift
[1050/1240] Compiling BoxSdkGen IntegrationMappingPartnerItemSlackUnion.swift
[1051/1240] Compiling BoxSdkGen IntegrationMappingSlackCreateRequest.swift
[1052/1240] Compiling BoxSdkGen IntegrationMappingSlackOptions.swift
[1053/1240] Compiling BoxSdkGen IntegrationMappings.swift
[1054/1240] Compiling BoxSdkGen Invite.swift
[1055/1240] Compiling BoxSdkGen InviteInvitedToField.swift
[1056/1240] Compiling BoxSdkGen InviteInvitedToTypeField.swift
[1057/1240] Compiling BoxSdkGen InviteTypeField.swift
[1058/1240] Compiling BoxSdkGen Items.swift
[1059/1240] Compiling BoxSdkGen ItemsOrderDirectionField.swift
[1060/1240] Compiling BoxSdkGen ItemsOrderField.swift
[1061/1240] Compiling BoxSdkGen KeywordSkillCard.swift
[1062/1240] Compiling BoxSdkGen KeywordSkillCardEntriesField.swift
[1063/1240] Compiling BoxSdkGen KeywordSkillCardInvocationField.swift
[1064/1240] Compiling BoxSdkGen KeywordSkillCardInvocationTypeField.swift
[1065/1240] Compiling BoxSdkGen KeywordSkillCardSkillCardTitleField.swift
[1066/1240] Compiling BoxSdkGen KeywordSkillCardSkillCardTypeField.swift
[1067/1240] Compiling BoxSdkGen KeywordSkillCardSkillField.swift
[1068/1240] Compiling BoxSdkGen KeywordSkillCardSkillTypeField.swift
[1069/1240] Compiling BoxSdkGen KeywordSkillCardTypeField.swift
[1070/1240] Compiling BoxSdkGen KeywordSkillCardOrStatusSkillCardOrTimelineSkillCardOrTranscriptSkillCard.swift
[1071/1240] Compiling BoxSdkGen LegalHoldPolicies.swift
[1072/1240] Compiling BoxSdkGen LegalHoldPolicy.swift
[1073/1264] Compiling BoxSdkGen LegalHoldPolicyAssignmentCountsField.swift
[1074/1264] Compiling BoxSdkGen LegalHoldPolicyStatusField.swift
[1075/1264] Compiling BoxSdkGen LegalHoldPolicyAssignment.swift
[1076/1264] Compiling BoxSdkGen LegalHoldPolicyAssignmentBase.swift
[1077/1264] Compiling BoxSdkGen LegalHoldPolicyAssignmentBaseTypeField.swift
[1078/1264] Compiling BoxSdkGen LegalHoldPolicyAssignments.swift
[1079/1264] Compiling BoxSdkGen LegalHoldPolicyMini.swift
[1080/1264] Compiling BoxSdkGen LegalHoldPolicyMiniTypeField.swift
[1081/1264] Compiling BoxSdkGen Metadata.swift
[1082/1264] Compiling BoxSdkGen MetadataBase.swift
[1083/1264] Compiling BoxSdkGen MetadataCascadePolicies.swift
[1084/1264] Compiling BoxSdkGen MetadataCascadePolicy.swift
[1085/1264] Compiling BoxSdkGen MetadataCascadePolicyOwnerEnterpriseField.swift
[1086/1264] Compiling BoxSdkGen MetadataCascadePolicyOwnerEnterpriseTypeField.swift
[1087/1264] Compiling BoxSdkGen MetadataCascadePolicyParentField.swift
[1088/1264] Compiling BoxSdkGen MetadataCascadePolicyParentTypeField.swift
[1089/1264] Compiling BoxSdkGen MetadataCascadePolicyTypeField.swift
[1090/1264] Compiling BoxSdkGen MetadataFieldFilterDateRange.swift
[1091/1264] Compiling BoxSdkGen MetadataFieldFilterDateRangeOrMetadataFieldFilterFloatRangeOrArrayOfStringOrNumberOrString.swift
[1092/1264] Compiling BoxSdkGen MetadataFieldFilterFloatRange.swift
[1093/1264] Compiling BoxSdkGen MetadataFilter.swift
[1094/1264] Compiling BoxSdkGen MetadataFilterScopeField.swift
[1095/1264] Compiling BoxSdkGen MetadataFull.swift
[1096/1264] Compiling BoxSdkGen MetadataQuery.swift
[1097/1288] Compiling BoxSdkGen MetadataQueryOrderByDirectionField.swift
[1098/1288] Compiling BoxSdkGen MetadataQueryOrderByField.swift
[1099/1288] Compiling BoxSdkGen MetadataQueryIndex.swift
[1100/1288] Compiling BoxSdkGen MetadataQueryIndexFieldsField.swift
[1101/1288] Compiling BoxSdkGen MetadataQueryIndexFieldsSortDirectionField.swift
[1102/1288] Compiling BoxSdkGen MetadataQueryIndexStatusField.swift
[1103/1288] Compiling BoxSdkGen MetadataQueryResults.swift
[1104/1288] Compiling BoxSdkGen MetadataTemplate.swift
[1105/1288] Compiling BoxSdkGen MetadataTemplateFieldsField.swift
[1106/1288] Compiling BoxSdkGen MetadataTemplateFieldsOptionsField.swift
[1107/1288] Compiling BoxSdkGen MetadataTemplateFieldsTypeField.swift
[1108/1288] Compiling BoxSdkGen MetadataTemplateTypeField.swift
[1109/1288] Compiling BoxSdkGen MetadataTemplates.swift
[1110/1288] Compiling BoxSdkGen Metadatas.swift
[1111/1288] Compiling BoxSdkGen OAuth2Error.swift
[1112/1288] Compiling BoxSdkGen Outcome.swift
[1113/1288] Compiling BoxSdkGen PostOAuth2Revoke.swift
[1114/1288] Compiling BoxSdkGen PostOAuth2Token.swift
[1115/1288] Compiling BoxSdkGen PostOAuth2TokenActorTokenTypeField.swift
[1116/1288] Compiling BoxSdkGen PostOAuth2TokenBoxSubjectTypeField.swift
[1117/1288] Compiling BoxSdkGen PostOAuth2TokenGrantTypeField.swift
[1118/1288] Compiling BoxSdkGen PostOAuth2TokenSubjectTokenTypeField.swift
[1119/1288] Compiling BoxSdkGen PostOAuth2TokenRefreshAccessToken.swift
[1120/1288] Compiling BoxSdkGen PostOAuth2TokenRefreshAccessTokenGrantTypeField.swift
[1121/1312] Compiling BoxSdkGen RealtimeServer.swift
[1122/1312] Compiling BoxSdkGen RealtimeServers.swift
[1123/1312] Compiling BoxSdkGen RecentItem.swift
[1124/1312] Compiling BoxSdkGen RecentItemInteractionTypeField.swift
[1125/1312] Compiling BoxSdkGen RecentItems.swift
[1126/1312] Compiling BoxSdkGen RetentionPolicies.swift
[1127/1312] Compiling BoxSdkGen RetentionPolicy.swift
[1128/1312] Compiling BoxSdkGen RetentionPolicyAssignmentCountsField.swift
[1129/1312] Compiling BoxSdkGen RetentionPolicyPolicyTypeField.swift
[1130/1312] Compiling BoxSdkGen RetentionPolicyRetentionTypeField.swift
[1131/1312] Compiling BoxSdkGen RetentionPolicyStatusField.swift
[1132/1312] Compiling BoxSdkGen RetentionPolicyAssignment.swift
[1133/1312] Compiling BoxSdkGen RetentionPolicyAssignmentAssignedToField.swift
[1134/1312] Compiling BoxSdkGen RetentionPolicyAssignmentAssignedToTypeField.swift
[1135/1312] Compiling BoxSdkGen RetentionPolicyAssignmentFilterFieldsField.swift
[1136/1312] Compiling BoxSdkGen RetentionPolicyAssignmentTypeField.swift
[1137/1312] Compiling BoxSdkGen RetentionPolicyAssignmentBase.swift
[1138/1312] Compiling BoxSdkGen RetentionPolicyAssignmentBaseTypeField.swift
[1139/1312] Compiling BoxSdkGen RetentionPolicyAssignments.swift
[1140/1312] Compiling BoxSdkGen RetentionPolicyBase.swift
[1141/1312] Compiling BoxSdkGen RetentionPolicyBaseTypeField.swift
[1142/1312] Compiling BoxSdkGen RetentionPolicyMini.swift
[1143/1312] Compiling BoxSdkGen RetentionPolicyMiniDispositionActionField.swift
[1144/1312] Compiling BoxSdkGen RoleVariable.swift
[1145/1336] Compiling BoxSdkGen RoleVariableTypeField.swift
[1146/1336] Compiling BoxSdkGen RoleVariableVariableTypeField.swift
[1147/1336] Compiling BoxSdkGen RoleVariableVariableValueField.swift
[1148/1336] Compiling BoxSdkGen SearchResultWithSharedLink.swift
[1149/1336] Compiling BoxSdkGen SearchResults.swift
[1150/1336] Compiling BoxSdkGen SearchResultsTypeField.swift
[1151/1336] Compiling BoxSdkGen SearchResultsOrSearchResultsWithSharedLinks.swift
[1152/1336] Compiling BoxSdkGen SearchResultsWithSharedLinks.swift
[1153/1336] Compiling BoxSdkGen SearchResultsWithSharedLinksTypeField.swift
[1154/1336] Compiling BoxSdkGen SessionTerminationMessage.swift
[1155/1336] Compiling BoxSdkGen ShieldInformationBarrier.swift
[1156/1336] Compiling BoxSdkGen ShieldInformationBarrierStatusField.swift
[1157/1336] Compiling BoxSdkGen ShieldInformationBarrierTypeField.swift
[1158/1336] Compiling BoxSdkGen ShieldInformationBarrierBase.swift
[1159/1336] Compiling BoxSdkGen ShieldInformationBarrierBaseTypeField.swift
[1160/1336] Compiling BoxSdkGen ShieldInformationBarrierReference.swift
[1161/1336] Compiling BoxSdkGen ShieldInformationBarrierReport.swift
[1162/1336] Compiling BoxSdkGen ShieldInformationBarrierReportStatusField.swift
[1163/1336] Compiling BoxSdkGen ShieldInformationBarrierReportBase.swift
[1164/1336] Compiling BoxSdkGen ShieldInformationBarrierReportBaseTypeField.swift
[1165/1336] Compiling BoxSdkGen ShieldInformationBarrierReportDetails.swift
[1166/1336] Compiling BoxSdkGen ShieldInformationBarrierReportDetailsDetailsField.swift
[1167/1336] Compiling BoxSdkGen ShieldInformationBarrierReports.swift
[1168/1336] Compiling BoxSdkGen ShieldInformationBarrierSegment.swift
[1169/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentTypeField.swift
[1170/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentMember.swift
[1171/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegmentField.swift
[1172/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegmentTypeField.swift
[1173/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentMemberBase.swift
[1174/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentMemberBaseTypeField.swift
[1175/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentMemberMini.swift
[1176/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentMembers.swift
[1177/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestriction.swift
[1178/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionBase.swift
[1179/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionBaseTypeField.swift
[1180/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionMini.swift
[1181/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionMiniRestrictedSegmentField.swift
[1182/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionMiniRestrictedSegmentTypeField.swift
[1183/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionMiniShieldInformationBarrierSegmentField.swift
[1184/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictionMiniShieldInformationBarrierSegmentTypeField.swift
[1185/1360] Compiling BoxSdkGen ShieldInformationBarrierSegmentRestrictions.swift
[1186/1360] Compiling BoxSdkGen ShieldInformationBarrierSegments.swift
[1187/1360] Compiling BoxSdkGen ShieldInformationBarriers.swift
[1188/1360] Compiling BoxSdkGen SignRequest.swift
[1189/1360] Compiling BoxSdkGen SignRequestSignFilesField.swift
[1190/1360] Compiling BoxSdkGen SignRequestStatusField.swift
[1191/1360] Compiling BoxSdkGen SignRequestTypeField.swift
[1192/1360] Compiling BoxSdkGen SignRequestBase.swift
[1193/1384] Compiling BoxSdkGen SkillInvocationEnterpriseTypeField.swift
[1194/1384] Compiling BoxSdkGen SkillInvocationSkillField.swift
[1195/1384] Compiling BoxSdkGen SkillInvocationSkillTypeField.swift
[1196/1384] Compiling BoxSdkGen SkillInvocationStatusField.swift
[1197/1384] Compiling BoxSdkGen SkillInvocationStatusStateField.swift
[1198/1384] Compiling BoxSdkGen SkillInvocationTokenField.swift
[1199/1384] Compiling BoxSdkGen SkillInvocationTokenReadField.swift
[1200/1384] Compiling BoxSdkGen SkillInvocationTokenReadTokenTypeField.swift
[1201/1384] Compiling BoxSdkGen SkillInvocationTokenWriteField.swift
[1202/1384] Compiling BoxSdkGen SkillInvocationTokenWriteTokenTypeField.swift
[1203/1384] Compiling BoxSdkGen SkillInvocationTypeField.swift
[1204/1384] Compiling BoxSdkGen StatusSkillCard.swift
[1205/1384] Compiling BoxSdkGen StatusSkillCardInvocationField.swift
[1206/1384] Compiling BoxSdkGen StatusSkillCardInvocationTypeField.swift
[1207/1384] Compiling BoxSdkGen StatusSkillCardSkillCardTitleField.swift
[1208/1384] Compiling BoxSdkGen StatusSkillCardSkillCardTypeField.swift
[1209/1384] Compiling BoxSdkGen StatusSkillCardSkillField.swift
[1210/1384] Compiling BoxSdkGen StatusSkillCardSkillTypeField.swift
[1211/1384] Compiling BoxSdkGen StatusSkillCardStatusCodeField.swift
[1212/1384] Compiling BoxSdkGen StatusSkillCardStatusField.swift
[1213/1384] Compiling BoxSdkGen StatusSkillCardTypeField.swift
[1214/1384] Compiling BoxSdkGen StoragePolicies.swift
[1215/1384] Compiling BoxSdkGen StoragePolicy.swift
[1216/1384] Compiling BoxSdkGen StoragePolicyAssignment.swift
[1217/1408] Compiling BoxSdkGen TermsOfServiceStatusField.swift
[1218/1408] Compiling BoxSdkGen TermsOfServiceTosTypeField.swift
[1219/1408] Compiling BoxSdkGen TermsOfServiceBase.swift
[1220/1408] Compiling BoxSdkGen TermsOfServiceBaseTypeField.swift
[1221/1408] Compiling BoxSdkGen TermsOfServiceUserStatus.swift
[1222/1408] Compiling BoxSdkGen TermsOfServiceUserStatusTypeField.swift
[1223/1408] Compiling BoxSdkGen TermsOfServiceUserStatuses.swift
[1224/1408] Compiling BoxSdkGen TermsOfServices.swift
[1225/1408] Compiling BoxSdkGen TimelineSkillCard.swift
[1226/1408] Compiling BoxSdkGen TimelineSkillCardEntriesAppearsField.swift
[1227/1408] Compiling BoxSdkGen TimelineSkillCardEntriesField.swift
[1228/1408] Compiling BoxSdkGen TimelineSkillCardInvocationField.swift
[1229/1408] Compiling BoxSdkGen TimelineSkillCardInvocationTypeField.swift
[1230/1408] Compiling BoxSdkGen TimelineSkillCardSkillCardTitleField.swift
[1231/1408] Compiling BoxSdkGen TimelineSkillCardSkillCardTypeField.swift
[1232/1408] Compiling BoxSdkGen TimelineSkillCardSkillField.swift
[1233/1408] Compiling BoxSdkGen TimelineSkillCardSkillTypeField.swift
[1234/1408] Compiling BoxSdkGen TimelineSkillCardTypeField.swift
[1235/1408] Compiling BoxSdkGen TrackingCode.swift
[1236/1408] Compiling BoxSdkGen TrackingCodeTypeField.swift
[1237/1408] Compiling BoxSdkGen TranscriptSkillCard.swift
[1238/1408] Compiling BoxSdkGen TranscriptSkillCardEntriesAppearsField.swift
[1239/1408] Compiling BoxSdkGen TranscriptSkillCardEntriesField.swift
[1240/1408] Compiling BoxSdkGen TranscriptSkillCardInvocationField.swift
[1241/1408] Compiling BoxSdkGen SignRequestCreateRequest.swift
[1242/1408] Compiling BoxSdkGen SignRequestCreateRequestSignatureColorField.swift
[1243/1408] Compiling BoxSdkGen SignRequestCreateSigner.swift
[1244/1408] Compiling BoxSdkGen SignRequestCreateSignerRoleField.swift
[1245/1408] Compiling BoxSdkGen SignRequestPrefillTag.swift
[1246/1408] Compiling BoxSdkGen SignRequestSigner.swift
[1247/1408] Compiling BoxSdkGen SignRequestSignerSignerDecisionField.swift
[1248/1408] Compiling BoxSdkGen SignRequestSignerSignerDecisionTypeField.swift
[1249/1408] Compiling BoxSdkGen SignRequestSignerInput.swift
[1250/1408] Compiling BoxSdkGen SignRequestSignerInputContentTypeField.swift
[1251/1408] Compiling BoxSdkGen SignRequestSignerInputTypeField.swift
[1252/1408] Compiling BoxSdkGen SignRequests.swift
[1253/1408] Compiling BoxSdkGen SignTemplate.swift
[1254/1408] Compiling BoxSdkGen SignTemplateAdditionalInfoField.swift
[1255/1408] Compiling BoxSdkGen SignTemplateAdditionalInfoNonEditableField.swift
[1256/1408] Compiling BoxSdkGen SignTemplateAdditionalInfoRequiredField.swift
[1257/1408] Compiling BoxSdkGen SignTemplateAdditionalInfoRequiredSignersField.swift
[1258/1408] Compiling BoxSdkGen SignTemplateCustomBrandingField.swift
[1259/1408] Compiling BoxSdkGen SignTemplateReadySignLinkField.swift
[1260/1408] Compiling BoxSdkGen SignTemplateTypeField.swift
[1261/1408] Compiling BoxSdkGen SignTemplates.swift
[1262/1408] Compiling BoxSdkGen SkillCardsMetadata.swift
[1263/1408] Compiling BoxSdkGen SkillInvocation.swift
[1264/1408] Compiling BoxSdkGen SkillInvocationEnterpriseField.swift
[1265/1408] Compiling BoxSdkGen StoragePolicyAssignmentAssignedToField.swift
[1266/1408] Compiling BoxSdkGen StoragePolicyAssignmentTypeField.swift
[1267/1408] Compiling BoxSdkGen StoragePolicyAssignments.swift
[1268/1408] Compiling BoxSdkGen StoragePolicyMini.swift
[1269/1408] Compiling BoxSdkGen StoragePolicyMiniTypeField.swift
[1270/1408] Compiling BoxSdkGen Task.swift
[1271/1408] Compiling BoxSdkGen TaskActionField.swift
[1272/1408] Compiling BoxSdkGen TaskCompletionRuleField.swift
[1273/1408] Compiling BoxSdkGen TaskTypeField.swift
[1274/1408] Compiling BoxSdkGen TaskAssignment.swift
[1275/1408] Compiling BoxSdkGen TaskAssignmentResolutionStateField.swift
[1276/1408] Compiling BoxSdkGen TaskAssignmentTypeField.swift
[1277/1408] Compiling BoxSdkGen TaskAssignments.swift
[1278/1408] Compiling BoxSdkGen Tasks.swift
[1279/1408] Compiling BoxSdkGen TemplateSigner.swift
[1280/1408] Compiling BoxSdkGen TemplateSignerRoleField.swift
[1281/1408] Compiling BoxSdkGen TemplateSignerInput.swift
[1282/1408] Compiling BoxSdkGen TemplateSignerInputContentTypeField.swift
[1283/1408] Compiling BoxSdkGen TemplateSignerInputCoordinatesField.swift
[1284/1408] Compiling BoxSdkGen TemplateSignerInputDimensionsField.swift
[1285/1408] Compiling BoxSdkGen TemplateSignerInputTypeField.swift
[1286/1408] Compiling BoxSdkGen TermsOfService.swift
[1287/1408] Compiling BoxSdkGen TermsOfServiceEnterpriseField.swift
[1288/1408] Compiling BoxSdkGen TermsOfServiceEnterpriseTypeField.swift
[1289/1408] Compiling BoxSdkGen TranscriptSkillCardInvocationTypeField.swift
[1290/1408] Compiling BoxSdkGen TranscriptSkillCardSkillCardTitleField.swift
[1291/1408] Compiling BoxSdkGen TranscriptSkillCardSkillCardTypeField.swift
[1292/1408] Compiling BoxSdkGen TranscriptSkillCardSkillField.swift
[1293/1408] Compiling BoxSdkGen TranscriptSkillCardSkillTypeField.swift
[1294/1408] Compiling BoxSdkGen TranscriptSkillCardTypeField.swift
[1295/1408] Compiling BoxSdkGen TrashFile.swift
[1296/1408] Compiling BoxSdkGen TrashFileItemStatusField.swift
[1297/1408] Compiling BoxSdkGen TrashFilePathCollectionEntriesField.swift
[1298/1408] Compiling BoxSdkGen TrashFilePathCollectionEntriesTypeField.swift
[1299/1408] Compiling BoxSdkGen TrashFilePathCollectionField.swift
[1300/1408] Compiling BoxSdkGen TrashFileTypeField.swift
[1301/1408] Compiling BoxSdkGen TrashFileRestored.swift
[1302/1408] Compiling BoxSdkGen TrashFileRestoredItemStatusField.swift
[1303/1408] Compiling BoxSdkGen TrashFileRestoredPathCollectionField.swift
[1304/1408] Compiling BoxSdkGen TrashFileRestoredTypeField.swift
[1305/1408] Compiling BoxSdkGen TrashFolder.swift
[1306/1408] Compiling BoxSdkGen TrashFolderItemStatusField.swift
[1307/1408] Compiling BoxSdkGen TrashFolderPathCollectionEntriesField.swift
[1308/1408] Compiling BoxSdkGen TrashFolderPathCollectionEntriesTypeField.swift
[1309/1408] Compiling BoxSdkGen TrashFolderPathCollectionField.swift
[1310/1408] Compiling BoxSdkGen TrashFolderTypeField.swift
[1311/1408] Compiling BoxSdkGen TrashFolderRestored.swift
[1312/1408] Compiling BoxSdkGen TrashFolderRestoredItemStatusField.swift
[1313/1408] Compiling BoxSdkGen TrashFolderRestoredPathCollectionField.swift
[1314/1408] Compiling BoxSdkGen TrashFolderRestoredTypeField.swift
[1315/1408] Compiling BoxSdkGen TrashWebLink.swift
[1316/1408] Compiling BoxSdkGen TrashWebLinkItemStatusField.swift
[1317/1408] Compiling BoxSdkGen TrashWebLinkPathCollectionEntriesField.swift
[1318/1408] Compiling BoxSdkGen TrashWebLinkPathCollectionEntriesTypeField.swift
[1319/1408] Compiling BoxSdkGen TrashWebLinkPathCollectionField.swift
[1320/1408] Compiling BoxSdkGen TrashWebLinkTypeField.swift
[1321/1408] Compiling BoxSdkGen TrashWebLinkRestored.swift
[1322/1408] Compiling BoxSdkGen TrashWebLinkRestoredItemStatusField.swift
[1323/1408] Compiling BoxSdkGen TrashWebLinkRestoredPathCollectionField.swift
[1324/1408] Compiling BoxSdkGen TrashWebLinkRestoredTypeField.swift
[1325/1408] Compiling BoxSdkGen UploadPart.swift
[1326/1408] Compiling BoxSdkGen UploadPartMini.swift
[1327/1408] Compiling BoxSdkGen UploadParts.swift
[1328/1408] Compiling BoxSdkGen UploadPartsOrderDirectionField.swift
[1329/1408] Compiling BoxSdkGen UploadPartsOrderField.swift
[1330/1408] Compiling BoxSdkGen UploadSession.swift
[1331/1408] Compiling BoxSdkGen UploadSessionSessionEndpointsField.swift
[1332/1408] Compiling BoxSdkGen UploadSessionTypeField.swift
[1333/1408] Compiling BoxSdkGen UploadUrl.swift
[1334/1408] Compiling BoxSdkGen UploadedPart.swift
[1335/1408] Compiling BoxSdkGen User.swift
[1336/1408] Compiling BoxSdkGen UserNotificationEmailField.swift
[1337/1408] Compiling BoxSdkGen UserStatusField.swift
[1338/1408] Compiling BoxSdkGen UserAvatar.swift
[1339/1408] Compiling BoxSdkGen UserAvatarPicUrlsField.swift
[1340/1408] Compiling BoxSdkGen UserBase.swift
[1341/1408] Compiling BoxSdkGen UserBaseTypeField.swift
[1342/1408] Compiling BoxSdkGen UserCollaborations.swift
[1343/1408] Compiling BoxSdkGen UserFull.swift
[1344/1408] Compiling BoxSdkGen UserFullEnterpriseField.swift
[1345/1408] Compiling BoxSdkGen UserFullEnterpriseTypeField.swift
[1346/1408] Compiling BoxSdkGen UserFullRoleField.swift
[1347/1408] Compiling BoxSdkGen UserIntegrationMappings.swift
[1348/1408] Compiling BoxSdkGen UserMini.swift
[1349/1408] Compiling BoxSdkGen Users.swift
[1350/1408] Compiling BoxSdkGen UsersOrderDirectionField.swift
[1351/1408] Compiling BoxSdkGen UsersOrderField.swift
[1352/1408] Compiling BoxSdkGen Watermark.swift
[1353/1408] Compiling BoxSdkGen WatermarkWatermarkField.swift
[1354/1408] Compiling BoxSdkGen WebLink.swift
[1355/1408] Compiling BoxSdkGen WebLinkItemStatusField.swift
[1356/1408] Compiling BoxSdkGen WebLinkPathCollectionField.swift
[1357/1408] Compiling BoxSdkGen WebLinkSharedLinkAccessField.swift
[1358/1408] Compiling BoxSdkGen WebLinkSharedLinkEffectiveAccessField.swift
[1359/1408] Compiling BoxSdkGen WebLinkSharedLinkEffectivePermissionField.swift
[1360/1408] Compiling BoxSdkGen WebLinkSharedLinkField.swift
[1361/1408] Compiling BoxSdkGen WebLinkSharedLinkPermissionsField.swift
[1362/1408] Compiling BoxSdkGen WebLinkBase.swift
[1363/1408] Compiling BoxSdkGen WebLinkBaseTypeField.swift
[1364/1408] Compiling BoxSdkGen WebLinkMini.swift
[1365/1408] Compiling BoxSdkGen Webhook.swift
[1366/1408] Compiling BoxSdkGen WebhookTriggersField.swift
[1367/1408] Compiling BoxSdkGen WebhookInvocation.swift
[1368/1408] Compiling BoxSdkGen WebhookInvocationTriggerField.swift
[1369/1408] Compiling BoxSdkGen WebhookInvocationTypeField.swift
[1370/1408] Compiling BoxSdkGen WebhookMini.swift
[1371/1408] Compiling BoxSdkGen WebhookMiniTargetField.swift
[1372/1408] Compiling BoxSdkGen WebhookMiniTargetTypeField.swift
[1373/1408] Compiling BoxSdkGen WebhookMiniTypeField.swift
[1374/1408] Compiling BoxSdkGen Webhooks.swift
[1375/1408] Compiling BoxSdkGen Workflow.swift
[1376/1408] Compiling BoxSdkGen WorkflowFlowsField.swift
[1377/1408] Compiling BoxSdkGen WorkflowFlowsOutcomesActionTypeField.swift
[1378/1408] Compiling BoxSdkGen WorkflowFlowsOutcomesField.swift
[1379/1408] Compiling BoxSdkGen WorkflowFlowsOutcomesIfRejectedActionTypeField.swift
[1380/1408] Compiling BoxSdkGen WorkflowFlowsOutcomesIfRejectedField.swift
[1381/1408] Compiling BoxSdkGen WorkflowFlowsOutcomesIfRejectedTypeField.swift
[1382/1408] Compiling BoxSdkGen WorkflowFlowsOutcomesTypeField.swift
[1383/1408] Compiling BoxSdkGen WorkflowFlowsTriggerField.swift
[1384/1408] Compiling BoxSdkGen WorkflowFlowsTriggerScopeField.swift
[1385/1408] Compiling BoxSdkGen WorkflowFlowsTriggerScopeObjectField.swift
[1386/1408] Compiling BoxSdkGen WorkflowFlowsTriggerScopeObjectTypeField.swift
[1387/1408] Compiling BoxSdkGen WorkflowFlowsTriggerScopeTypeField.swift
[1388/1408] Compiling BoxSdkGen WorkflowFlowsTriggerTriggerTypeField.swift
[1389/1408] Compiling BoxSdkGen WorkflowFlowsTriggerTypeField.swift
[1390/1408] Compiling BoxSdkGen WorkflowFlowsTypeField.swift
[1391/1408] Compiling BoxSdkGen WorkflowFull.swift
[1392/1408] Compiling BoxSdkGen WorkflowMini.swift
[1393/1408] Compiling BoxSdkGen WorkflowMiniTypeField.swift
[1394/1408] Compiling BoxSdkGen Workflows.swift
[1395/1408] Compiling BoxSdkGen ZipDownload.swift
[1396/1408] Compiling BoxSdkGen ZipDownloadNameConflictsField.swift
[1397/1408] Compiling BoxSdkGen ZipDownloadNameConflictsTypeField.swift
[1398/1408] Compiling BoxSdkGen ZipDownloadRequest.swift
[1399/1408] Compiling BoxSdkGen ZipDownloadRequestItemsField.swift
[1400/1408] Compiling BoxSdkGen ZipDownloadRequestItemsTypeField.swift
[1401/1408] Compiling BoxSdkGen ZipDownloadStatus.swift
[1402/1408] Compiling BoxSdkGen ZipDownloadStatusStateField.swift
[1403/1408] Compiling BoxSdkGen AnyCodeable.swift
[1404/1408] Compiling BoxSdkGen Codable+Extensions.swift
[1405/1408] Compiling BoxSdkGen CodableStringEnum.swift
[1406/1408] Compiling BoxSdkGen JsonUtils.swift
[1407/1408] Compiling BoxSdkGen SerializedData.swift
[1408/1408] Compiling BoxSdkGen resource_bundle_accessor.swift
BUILD FAILURE 6.1 wasm