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