Skip to content

Commit

Permalink
Update stone and spec, remove deprecated routes from tests, update xc…
Browse files Browse the repository at this point in the history
…odeproj for carthage (#310)

* update stone and spec repos
* Remove tests for deprecated routes
* Update xcodeproject for carthage
* Enable base localization to satisfy project warning
  • Loading branch information
YufeiG authored Mar 25, 2021
1 parent 4f546c3 commit 4aa2309
Show file tree
Hide file tree
Showing 11 changed files with 3,507 additions and 421 deletions.
3 changes: 2 additions & 1 deletion Source/SwiftyDropbox/Shared/Generated/AuthRoutes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ open class AuthRoutes {
return client.request(route, serverArgs: serverArgs)
}

/// Disables the access token used to authenticate the call.
/// Disables the access token used to authenticate the call. If there is a corresponding refresh token for the
/// access token, this disables that refresh token, as well as any other access tokens for that refresh token.
///
///
/// - returns: Through the response callback, the caller will receive a `Void` object on success or a `Void` object
Expand Down
4 changes: 2 additions & 2 deletions Source/SwiftyDropbox/Shared/Generated/Common.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ open class Common {

/// The PathRootError union
public enum PathRootError: CustomStringConvertible {
/// The root namespace id in Dropbox-API-Path-Root header is not valid. The value of this error is use's latest
/// root info.
/// The root namespace id in Dropbox-API-Path-Root header is not valid. The value of this error is the user's
/// latest root info.
case invalidRoot(Common.RootInfo)
/// You don't have permission to access the namespace id in Dropbox-API-Path-Root header.
case noPermission
Expand Down
796 changes: 783 additions & 13 deletions Source/SwiftyDropbox/Shared/Generated/Files.swift

Large diffs are not rendered by default.

217 changes: 181 additions & 36 deletions Source/SwiftyDropbox/Shared/Generated/FilesRoutes.swift

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions Source/SwiftyDropbox/Shared/Generated/Team.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4870,6 +4870,8 @@ open class Team {
case insufficientPermissions
/// An unspecified error.
case other
/// Temporary infrastructure failure, please retry.
case transientError
/// Trying to release an inactive legal hold.
case inactiveLegalHold
/// Legal hold is currently performing another operation.
Expand Down Expand Up @@ -4905,6 +4907,10 @@ open class Team {
var d = [String: JSON]()
d[".tag"] = .str("other")
return .dictionary(d)
case .transientError:
var d = [String: JSON]()
d[".tag"] = .str("transient_error")
return .dictionary(d)
case .inactiveLegalHold:
var d = [String: JSON]()
d[".tag"] = .str("inactive_legal_hold")
Expand Down Expand Up @@ -4946,6 +4952,8 @@ open class Team {
return LegalHoldsPolicyUpdateError.insufficientPermissions
case "other":
return LegalHoldsPolicyUpdateError.other
case "transient_error":
return LegalHoldsPolicyUpdateError.transientError
case "inactive_legal_hold":
return LegalHoldsPolicyUpdateError.inactiveLegalHold
case "legal_hold_performing_another_operation":
Expand Down
Loading

0 comments on commit 4aa2309

Please sign in to comment.