Add lead workflows, PDF signing, AR projects and photo gallery integration

This commit is contained in:
Dennis Nemec
2026-11-08 17:49:39 +01:00
parent a343bde741
commit 8d18873412
82 changed files with 6401 additions and 34 deletions

View File

@ -0,0 +1,22 @@
import Foundation
/// Domain boundary; the concrete server integration will replace the stub.
protocol AuthenticationService: Sendable {
func signIn(salesCode: String) async throws -> LoginSession
}
struct LoginSession: Equatable, Sendable {
let salesCode: String
let displayName: String?
init(salesCode: String, displayName: String? = nil) {
self.salesCode = salesCode
self.displayName = displayName
}
}
enum LoginError: Error, Equatable {
case invalidSalesCode
case rejected
case unavailable
}