/*** * * SaaSquatch Type Definitions * * This file was automatically generated. DO NOT edit it by hand, instead edit the related JSON Schema file. * * Generated on 2026-03-20T21:11:42.771Z * ***/ /*** * UserImportLine.schema.json * Generated on 2026-03-20T21:11:43.003Z * This file was automatically generated. DO NOT edit it by hand, instead edit the related JSON Schema file. ***/ export type UserIdentifier = string export type AccountIdentifier = string export type PaymentProviderIdentifierClassicOnly = string export type FirstName = string export type LastName = string export type TimeZone = string export type UserIsReferable = boolean export type ReferralCodeClassicOnly = string /** * The primary referral code associated with the programId key * * This interface was referenced by `ReferralCodes`'s JSON-Schema definition * via the `patternProperty` "^[a-zA-Z0-9-]{1,64}$". */ export type ReferralCode = string /** * The shareLink to be primary for the associated programId key * * This interface was referenced by `ShareLinks`'s JSON-Schema definition * via the `patternProperty` "^[a-zA-Z0-9-]{1,64}$". */ export type ShareLink = string export type Code = string export type IsConvertedClassicOnly = string export type ReferredByCodes = string[] export type ImageURL = null export type Locale = string export type Email = string export type DateCreated = number /** * Represents the schema for a single line of the user import JSONL file */ export interface UserImportLine { id: UserIdentifier accountId: AccountIdentifier paymentProviderId?: PaymentProviderIdentifierClassicOnly firstName?: FirstName lastName?: LastName customFields?: { timeZone?: TimeZone [k: string]: unknown } referable?: UserIsReferable referralCode?: ReferralCodeClassicOnly referralCodes?: ReferralCodes shareLinks?: ShareLinks referredBy?: { code?: Code isConverted?: IsConvertedClassicOnly [k: string]: unknown } referredByCodes?: ReferredByCodes imageUrl?: ImageURL locale?: Locale email?: Email dateCreated?: DateCreated [k: string]: unknown } /** * A map of programs to referral codes. */ export interface ReferralCodes { [k: string]: ReferralCode } /** * A map of programs to shareLinks. * * This interface was referenced by `UserImportLine`'s JSON-Schema * via the `definition` "shareLinks". */ export interface ShareLinks { [k: string]: ShareLink }