Files
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
The projection these were generated from predated the compute migration, so
they described /v1/visor — which the API serves at zero paths now.

No /v1/visor path survives here.
2026-09-05 18:55:38 -07:00

56 lines
2.3 KiB
Swift
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// Founder.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct Founder: Sendable, Codable, ParameterConvertible, Hashable {
/** DecidedBy is who settled a terminal KYC status: the provider name, or a reviewer's user id. */
public var decidedBy: String?
/** Email is the founder's email, and the key a KYC decision addresses a founder by — POST /v1/company/kyc/decision matches on it. */
public var email: String?
/** EquityBps is the founder's ownership in basis points, 0–10000 (1% == 100 bps, so 10000 is the whole company). The founders' shares seed the cap-table genesis. */
public var equityBps: Int64?
/** KYCRef is the idv provider's session reference for this founder. */
public var kycRef: String?
/** KYCStatus is the founder's identity-verification state: pending, verified (a real idv provider reported a pass), reviewer_confirmed (a privileged reviewer confirmed out-of-band) or failed. The payment stage is unreachable until every founder passes. */
public var kycStatus: String?
/** Name is the founder's full legal name, as it appears on the formation documents. */
public var name: String?
public init(decidedBy: String? = nil, email: String? = nil, equityBps: Int64? = nil, kycRef: String? = nil, kycStatus: String? = nil, name: String? = nil) {
self.decidedBy = decidedBy
self.email = email
self.equityBps = equityBps
self.kycRef = kycRef
self.kycStatus = kycStatus
self.name = name
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case decidedBy
case email
case equityBps
case kycRef
case kycStatus
case name
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(decidedBy, forKey: .decidedBy)
try container.encodeIfPresent(email, forKey: .email)
try container.encodeIfPresent(equityBps, forKey: .equityBps)
try container.encodeIfPresent(kycRef, forKey: .kycRef)
try container.encodeIfPresent(kycStatus, forKey: .kycStatus)
try container.encodeIfPresent(name, forKey: .name)
}
}