/*** * * 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 * ***/ /*** * LinkInterceptorRequestBody.schema.json * Generated on 2026-03-20T21:11:42.948Z * This file was automatically generated. DO NOT edit it by hand, instead edit the related JSON Schema file. ***/ /** * Tenant from which the given shareLink is from */ export type TenantAlias = string /** * The Id of the program the given shareLink is from */ export type ProgramId = string /** * The Referrers code that will be used by the referred for the referral */ export type ReferralCode = string /** * The referrer's shareLink clicked by the referred for the referral */ export type ShareLink = string /** * The user's unique identifier */ export type UserId = string /** * The user's unique account identifier */ export type AccountId = string /** * The user's first name */ export type FirstName = string /** * The user's last name */ export type FirstName1 = string /** * The user's email address */ export type Email = string /** * The URL to an image of this user */ export type ImageUrl = string /** * The link that the user would be redirected to in absence of an integration */ export type DownStreamLink = string /** * The original signup URL configured by the program which has not been changed or processed by any integrations */ export type SignupLink = string /** * Sent when a shareLink is clicked and the Link Interceptor is on */ export interface LinkInterceptorPOSTRequestSchema { tenantAlias?: TenantAlias programId?: ProgramId referralCode?: ReferralCode shareLink?: ShareLink /** * The Referrer user who is associated with the shareLink that was clicked on */ referrer?: { id?: UserId accountId?: AccountId firstName?: FirstName lastName?: FirstName1 email?: Email imageUrl?: ImageUrl [k: string]: unknown } integrationConfig?: IntegrationConfiguration downstreamUrl?: DownStreamLink signupUrl?: SignupLink urlParams?: URLParameters [k: string]: unknown } /** * Configuration setting for the integration */ export interface IntegrationConfiguration { [k: string]: unknown } /** * The URL parameters SaaSquatch backend would be attaching to the signupUrl */ export interface URLParameters { [k: string]: unknown }