diff --git a/.changeset/updated-api-spec.md b/.changeset/updated-api-spec.md new file mode 100644 index 0000000..e1ed3c4 --- /dev/null +++ b/.changeset/updated-api-spec.md @@ -0,0 +1,6 @@ +--- +"@outseta/api-client": patch +"@outseta/react": patch +--- + +Update API spec. diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerActivityData.ts b/packages/api-client/src/generated/models/discordUserAddedToServerActivityData.ts new file mode 100644 index 0000000..abb1a39 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerActivityData.ts @@ -0,0 +1,14 @@ +// @ts-nocheck + +export interface DiscordUserAddedToServerActivityData { + /** @nullable */ + PersonUid?: string | null; + /** @nullable */ + DiscordUserId?: string | null; + /** @nullable */ + DiscordEmail?: string | null; + /** @nullable */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordServerId?: string | null; +} diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayload.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayload.ts new file mode 100644 index 0000000..a1d41b9 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayload.ts @@ -0,0 +1,123 @@ +// @ts-nocheck +import type { DiscordUserAddedToServerWebhookPayloadMailingAddress } from './discordUserAddedToServerWebhookPayloadMailingAddress'; +import type { DiscordUserAddedToServerWebhookPayloadPersonAccountItem } from './discordUserAddedToServerWebhookPayloadPersonAccountItem'; +import type { DiscordUserAddedToServerWebhookPayloadDealPeopleItem } from './discordUserAddedToServerWebhookPayloadDealPeopleItem'; +import type { DiscordUserAddedToServerWebhookPayloadLeadFormSubmissionsItem } from './discordUserAddedToServerWebhookPayloadLeadFormSubmissionsItem'; +import type { DiscordUserAddedToServerWebhookPayloadAccount } from './discordUserAddedToServerWebhookPayloadAccount'; +import type { DiscordUserAddedToServerWebhookPayloadEmailListPersonItem } from './discordUserAddedToServerWebhookPayloadEmailListPersonItem'; +import type { DiscordUserAddedToServerWebhookPayloadOAuthIntegrationStatus } from './discordUserAddedToServerWebhookPayloadOAuthIntegrationStatus'; +import type { DiscordUserAddedToServerWebhookPayloadDiscordUser } from './discordUserAddedToServerWebhookPayloadDiscordUser'; +import type { DiscordUserAddedToServerActivityData } from './discordUserAddedToServerActivityData'; + +export interface DiscordUserAddedToServerWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: DiscordUserAddedToServerWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: DiscordUserAddedToServerWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: DiscordUserAddedToServerWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: DiscordUserAddedToServerWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: DiscordUserAddedToServerWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: DiscordUserAddedToServerWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: DiscordUserAddedToServerWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: DiscordUserAddedToServerWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: DiscordUserAddedToServerActivityData; +} diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadAccount.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadAccount.ts new file mode 100644 index 0000000..4545747 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadAccount.ts @@ -0,0 +1,141 @@ +// @ts-nocheck +import type { DiscordUserAddedToServerWebhookPayloadAccountAccountStage } from './discordUserAddedToServerWebhookPayloadAccountAccountStage'; + +/** + * @nullable + */ +export type DiscordUserAddedToServerWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: DiscordUserAddedToServerWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadAccountAccountStage.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadAccountAccountStage.ts new file mode 100644 index 0000000..7972801 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadAccountAccountStage.ts @@ -0,0 +1,20 @@ +// @ts-nocheck + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type DiscordUserAddedToServerWebhookPayloadAccountAccountStage = typeof DiscordUserAddedToServerWebhookPayloadAccountAccountStage[keyof typeof DiscordUserAddedToServerWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserAddedToServerWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadDealPeopleItem.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadDealPeopleItem.ts new file mode 100644 index 0000000..d9880d6 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadDealPeopleItem.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +export type DiscordUserAddedToServerWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadDiscordUser.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadDiscordUser.ts new file mode 100644 index 0000000..900e5b6 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadDiscordUser.ts @@ -0,0 +1,35 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type DiscordUserAddedToServerWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadEmailListPersonItem.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadEmailListPersonItem.ts new file mode 100644 index 0000000..1a29413 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadEmailListPersonItem.ts @@ -0,0 +1,48 @@ +// @ts-nocheck +import type { DiscordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus } from './discordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; + +export type DiscordUserAddedToServerWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: DiscordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts new file mode 100644 index 0000000..ccbb759 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type DiscordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof DiscordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof DiscordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadLeadFormSubmissionsItem.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadLeadFormSubmissionsItem.ts new file mode 100644 index 0000000..38fb035 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadLeadFormSubmissionsItem.ts @@ -0,0 +1,21 @@ +// @ts-nocheck + +export type DiscordUserAddedToServerWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadMailingAddress.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadMailingAddress.ts new file mode 100644 index 0000000..1481307 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadMailingAddress.ts @@ -0,0 +1,58 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type DiscordUserAddedToServerWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadOAuthIntegrationStatus.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadOAuthIntegrationStatus.ts new file mode 100644 index 0000000..d8da591 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadOAuthIntegrationStatus.ts @@ -0,0 +1,13 @@ +// @ts-nocheck + +/** + * `0` - None, `1` - Gmail + */ +export type DiscordUserAddedToServerWebhookPayloadOAuthIntegrationStatus = typeof DiscordUserAddedToServerWebhookPayloadOAuthIntegrationStatus[keyof typeof DiscordUserAddedToServerWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserAddedToServerWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadPersonAccountItem.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadPersonAccountItem.ts new file mode 100644 index 0000000..8b4674e --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadPersonAccountItem.ts @@ -0,0 +1,20 @@ +// @ts-nocheck +import type { DiscordUserAddedToServerWebhookPayloadPersonAccountItemAccount } from './discordUserAddedToServerWebhookPayloadPersonAccountItemAccount'; + +export type DiscordUserAddedToServerWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: DiscordUserAddedToServerWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; diff --git a/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadPersonAccountItemAccount.ts b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadPersonAccountItemAccount.ts new file mode 100644 index 0000000..0f11e80 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserAddedToServerWebhookPayloadPersonAccountItemAccount.ts @@ -0,0 +1,14 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type DiscordUserAddedToServerWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerActivityData.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerActivityData.ts new file mode 100644 index 0000000..8b877ca --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerActivityData.ts @@ -0,0 +1,16 @@ +// @ts-nocheck + +export interface DiscordUserRemovedFromServerActivityData { + /** @nullable */ + PersonUid?: string | null; + /** @nullable */ + DiscordUserId?: string | null; + /** @nullable */ + DiscordEmail?: string | null; + /** @nullable */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordServerId?: string | null; + /** @nullable */ + Trigger?: string | null; +} diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayload.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayload.ts new file mode 100644 index 0000000..10d74ab --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayload.ts @@ -0,0 +1,123 @@ +// @ts-nocheck +import type { DiscordUserRemovedFromServerWebhookPayloadMailingAddress } from './discordUserRemovedFromServerWebhookPayloadMailingAddress'; +import type { DiscordUserRemovedFromServerWebhookPayloadPersonAccountItem } from './discordUserRemovedFromServerWebhookPayloadPersonAccountItem'; +import type { DiscordUserRemovedFromServerWebhookPayloadDealPeopleItem } from './discordUserRemovedFromServerWebhookPayloadDealPeopleItem'; +import type { DiscordUserRemovedFromServerWebhookPayloadLeadFormSubmissionsItem } from './discordUserRemovedFromServerWebhookPayloadLeadFormSubmissionsItem'; +import type { DiscordUserRemovedFromServerWebhookPayloadAccount } from './discordUserRemovedFromServerWebhookPayloadAccount'; +import type { DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItem } from './discordUserRemovedFromServerWebhookPayloadEmailListPersonItem'; +import type { DiscordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus } from './discordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus'; +import type { DiscordUserRemovedFromServerWebhookPayloadDiscordUser } from './discordUserRemovedFromServerWebhookPayloadDiscordUser'; +import type { DiscordUserRemovedFromServerActivityData } from './discordUserRemovedFromServerActivityData'; + +export interface DiscordUserRemovedFromServerWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: DiscordUserRemovedFromServerWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: DiscordUserRemovedFromServerWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: DiscordUserRemovedFromServerWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: DiscordUserRemovedFromServerWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: DiscordUserRemovedFromServerWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: DiscordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: DiscordUserRemovedFromServerWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: DiscordUserRemovedFromServerActivityData; +} diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadAccount.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadAccount.ts new file mode 100644 index 0000000..cd40c00 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadAccount.ts @@ -0,0 +1,141 @@ +// @ts-nocheck +import type { DiscordUserRemovedFromServerWebhookPayloadAccountAccountStage } from './discordUserRemovedFromServerWebhookPayloadAccountAccountStage'; + +/** + * @nullable + */ +export type DiscordUserRemovedFromServerWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: DiscordUserRemovedFromServerWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadAccountAccountStage.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadAccountAccountStage.ts new file mode 100644 index 0000000..3cc6a56 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadAccountAccountStage.ts @@ -0,0 +1,20 @@ +// @ts-nocheck + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type DiscordUserRemovedFromServerWebhookPayloadAccountAccountStage = typeof DiscordUserRemovedFromServerWebhookPayloadAccountAccountStage[keyof typeof DiscordUserRemovedFromServerWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRemovedFromServerWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadDealPeopleItem.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadDealPeopleItem.ts new file mode 100644 index 0000000..d262db0 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadDealPeopleItem.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +export type DiscordUserRemovedFromServerWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadDiscordUser.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadDiscordUser.ts new file mode 100644 index 0000000..d7499b6 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadDiscordUser.ts @@ -0,0 +1,35 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type DiscordUserRemovedFromServerWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadEmailListPersonItem.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadEmailListPersonItem.ts new file mode 100644 index 0000000..4086956 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadEmailListPersonItem.ts @@ -0,0 +1,48 @@ +// @ts-nocheck +import type { DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus } from './discordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; + +export type DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts new file mode 100644 index 0000000..4b3a7a5 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadLeadFormSubmissionsItem.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadLeadFormSubmissionsItem.ts new file mode 100644 index 0000000..882982a --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadLeadFormSubmissionsItem.ts @@ -0,0 +1,21 @@ +// @ts-nocheck + +export type DiscordUserRemovedFromServerWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadMailingAddress.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadMailingAddress.ts new file mode 100644 index 0000000..cf232e7 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadMailingAddress.ts @@ -0,0 +1,58 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type DiscordUserRemovedFromServerWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus.ts new file mode 100644 index 0000000..3e482c4 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus.ts @@ -0,0 +1,13 @@ +// @ts-nocheck + +/** + * `0` - None, `1` - Gmail + */ +export type DiscordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus = typeof DiscordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus[keyof typeof DiscordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadPersonAccountItem.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadPersonAccountItem.ts new file mode 100644 index 0000000..344c494 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadPersonAccountItem.ts @@ -0,0 +1,20 @@ +// @ts-nocheck +import type { DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount } from './discordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount'; + +export type DiscordUserRemovedFromServerWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; diff --git a/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount.ts b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount.ts new file mode 100644 index 0000000..9c1a2f5 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount.ts @@ -0,0 +1,14 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedActivityData.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedActivityData.ts new file mode 100644 index 0000000..3d76447 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedActivityData.ts @@ -0,0 +1,16 @@ +// @ts-nocheck + +export interface DiscordUserRolesUpdatedActivityData { + /** @nullable */ + PersonUid?: string | null; + /** @nullable */ + DiscordUserId?: string | null; + /** @nullable */ + DiscordEmail?: string | null; + /** @nullable */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordServerId?: string | null; + /** @nullable */ + RoleIds?: string | null; +} diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayload.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayload.ts new file mode 100644 index 0000000..2da1a61 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayload.ts @@ -0,0 +1,123 @@ +// @ts-nocheck +import type { DiscordUserRolesUpdatedWebhookPayloadMailingAddress } from './discordUserRolesUpdatedWebhookPayloadMailingAddress'; +import type { DiscordUserRolesUpdatedWebhookPayloadPersonAccountItem } from './discordUserRolesUpdatedWebhookPayloadPersonAccountItem'; +import type { DiscordUserRolesUpdatedWebhookPayloadDealPeopleItem } from './discordUserRolesUpdatedWebhookPayloadDealPeopleItem'; +import type { DiscordUserRolesUpdatedWebhookPayloadLeadFormSubmissionsItem } from './discordUserRolesUpdatedWebhookPayloadLeadFormSubmissionsItem'; +import type { DiscordUserRolesUpdatedWebhookPayloadAccount } from './discordUserRolesUpdatedWebhookPayloadAccount'; +import type { DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItem } from './discordUserRolesUpdatedWebhookPayloadEmailListPersonItem'; +import type { DiscordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus } from './discordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus'; +import type { DiscordUserRolesUpdatedWebhookPayloadDiscordUser } from './discordUserRolesUpdatedWebhookPayloadDiscordUser'; +import type { DiscordUserRolesUpdatedActivityData } from './discordUserRolesUpdatedActivityData'; + +export interface DiscordUserRolesUpdatedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: DiscordUserRolesUpdatedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: DiscordUserRolesUpdatedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: DiscordUserRolesUpdatedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: DiscordUserRolesUpdatedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: DiscordUserRolesUpdatedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: DiscordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: DiscordUserRolesUpdatedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: DiscordUserRolesUpdatedActivityData; +} diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadAccount.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadAccount.ts new file mode 100644 index 0000000..d8e6fd9 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadAccount.ts @@ -0,0 +1,141 @@ +// @ts-nocheck +import type { DiscordUserRolesUpdatedWebhookPayloadAccountAccountStage } from './discordUserRolesUpdatedWebhookPayloadAccountAccountStage'; + +/** + * @nullable + */ +export type DiscordUserRolesUpdatedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: DiscordUserRolesUpdatedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadAccountAccountStage.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadAccountAccountStage.ts new file mode 100644 index 0000000..2105a7c --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadAccountAccountStage.ts @@ -0,0 +1,20 @@ +// @ts-nocheck + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type DiscordUserRolesUpdatedWebhookPayloadAccountAccountStage = typeof DiscordUserRolesUpdatedWebhookPayloadAccountAccountStage[keyof typeof DiscordUserRolesUpdatedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRolesUpdatedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadDealPeopleItem.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadDealPeopleItem.ts new file mode 100644 index 0000000..8bbdba3 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadDealPeopleItem.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +export type DiscordUserRolesUpdatedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadDiscordUser.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadDiscordUser.ts new file mode 100644 index 0000000..e530e04 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadDiscordUser.ts @@ -0,0 +1,35 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type DiscordUserRolesUpdatedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadEmailListPersonItem.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadEmailListPersonItem.ts new file mode 100644 index 0000000..9082c77 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadEmailListPersonItem.ts @@ -0,0 +1,48 @@ +// @ts-nocheck +import type { DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus } from './discordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; + +export type DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts new file mode 100644 index 0000000..a71f265 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadLeadFormSubmissionsItem.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadLeadFormSubmissionsItem.ts new file mode 100644 index 0000000..a473cbc --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadLeadFormSubmissionsItem.ts @@ -0,0 +1,21 @@ +// @ts-nocheck + +export type DiscordUserRolesUpdatedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadMailingAddress.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadMailingAddress.ts new file mode 100644 index 0000000..d20888a --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadMailingAddress.ts @@ -0,0 +1,58 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type DiscordUserRolesUpdatedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus.ts new file mode 100644 index 0000000..033527d --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus.ts @@ -0,0 +1,13 @@ +// @ts-nocheck + +/** + * `0` - None, `1` - Gmail + */ +export type DiscordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus = typeof DiscordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus[keyof typeof DiscordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadPersonAccountItem.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadPersonAccountItem.ts new file mode 100644 index 0000000..c0dad38 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadPersonAccountItem.ts @@ -0,0 +1,20 @@ +// @ts-nocheck +import type { DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount } from './discordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount'; + +export type DiscordUserRolesUpdatedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; diff --git a/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount.ts b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount.ts new file mode 100644 index 0000000..f36ff31 --- /dev/null +++ b/packages/api-client/src/generated/models/discordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount.ts @@ -0,0 +1,14 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/index.ts b/packages/api-client/src/generated/models/index.ts index 8173337..3eae08b 100644 --- a/packages/api-client/src/generated/models/index.ts +++ b/packages/api-client/src/generated/models/index.ts @@ -183,7 +183,46 @@ export * from './discordRolePlanAllOfPlan'; export * from './discordServer'; export * from './discordServerAllOf'; export * from './discordUser'; +export * from './discordUserAddedToServerActivityData'; +export * from './discordUserAddedToServerWebhookPayload'; +export * from './discordUserAddedToServerWebhookPayloadAccount'; +export * from './discordUserAddedToServerWebhookPayloadAccountAccountStage'; +export * from './discordUserAddedToServerWebhookPayloadDealPeopleItem'; +export * from './discordUserAddedToServerWebhookPayloadDiscordUser'; +export * from './discordUserAddedToServerWebhookPayloadEmailListPersonItem'; +export * from './discordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; +export * from './discordUserAddedToServerWebhookPayloadLeadFormSubmissionsItem'; +export * from './discordUserAddedToServerWebhookPayloadMailingAddress'; +export * from './discordUserAddedToServerWebhookPayloadOAuthIntegrationStatus'; +export * from './discordUserAddedToServerWebhookPayloadPersonAccountItem'; +export * from './discordUserAddedToServerWebhookPayloadPersonAccountItemAccount'; export * from './discordUserAllOf'; +export * from './discordUserRemovedFromServerActivityData'; +export * from './discordUserRemovedFromServerWebhookPayload'; +export * from './discordUserRemovedFromServerWebhookPayloadAccount'; +export * from './discordUserRemovedFromServerWebhookPayloadAccountAccountStage'; +export * from './discordUserRemovedFromServerWebhookPayloadDealPeopleItem'; +export * from './discordUserRemovedFromServerWebhookPayloadDiscordUser'; +export * from './discordUserRemovedFromServerWebhookPayloadEmailListPersonItem'; +export * from './discordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; +export * from './discordUserRemovedFromServerWebhookPayloadLeadFormSubmissionsItem'; +export * from './discordUserRemovedFromServerWebhookPayloadMailingAddress'; +export * from './discordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus'; +export * from './discordUserRemovedFromServerWebhookPayloadPersonAccountItem'; +export * from './discordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount'; +export * from './discordUserRolesUpdatedActivityData'; +export * from './discordUserRolesUpdatedWebhookPayload'; +export * from './discordUserRolesUpdatedWebhookPayloadAccount'; +export * from './discordUserRolesUpdatedWebhookPayloadAccountAccountStage'; +export * from './discordUserRolesUpdatedWebhookPayloadDealPeopleItem'; +export * from './discordUserRolesUpdatedWebhookPayloadDiscordUser'; +export * from './discordUserRolesUpdatedWebhookPayloadEmailListPersonItem'; +export * from './discordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; +export * from './discordUserRolesUpdatedWebhookPayloadLeadFormSubmissionsItem'; +export * from './discordUserRolesUpdatedWebhookPayloadMailingAddress'; +export * from './discordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus'; +export * from './discordUserRolesUpdatedWebhookPayloadPersonAccountItem'; +export * from './discordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount'; export * from './discountCoupon'; export * from './discountCouponAddDiscountCouponBody'; export * from './discountCouponAllOf'; @@ -272,6 +311,58 @@ export * from './personAllOfDiscordUser'; export * from './personAllOfMailingAddress'; export * from './personForgotPasswordBody'; export * from './personGetAllPeopleParams'; +export * from './personLeadFormSubmittedActivityData'; +export * from './personLeadFormSubmittedWebhookPayload'; +export * from './personLeadFormSubmittedWebhookPayloadAccount'; +export * from './personLeadFormSubmittedWebhookPayloadAccountAccountStage'; +export * from './personLeadFormSubmittedWebhookPayloadDealPeopleItem'; +export * from './personLeadFormSubmittedWebhookPayloadDiscordUser'; +export * from './personLeadFormSubmittedWebhookPayloadEmailListPersonItem'; +export * from './personLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; +export * from './personLeadFormSubmittedWebhookPayloadLeadFormSubmissionsItem'; +export * from './personLeadFormSubmittedWebhookPayloadMailingAddress'; +export * from './personLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus'; +export * from './personLeadFormSubmittedWebhookPayloadPersonAccountItem'; +export * from './personLeadFormSubmittedWebhookPayloadPersonAccountItemAccount'; +export * from './personListConfirmedActivityData'; +export * from './personListConfirmedWebhookPayload'; +export * from './personListConfirmedWebhookPayloadAccount'; +export * from './personListConfirmedWebhookPayloadAccountAccountStage'; +export * from './personListConfirmedWebhookPayloadDealPeopleItem'; +export * from './personListConfirmedWebhookPayloadDiscordUser'; +export * from './personListConfirmedWebhookPayloadEmailListPersonItem'; +export * from './personListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; +export * from './personListConfirmedWebhookPayloadLeadFormSubmissionsItem'; +export * from './personListConfirmedWebhookPayloadMailingAddress'; +export * from './personListConfirmedWebhookPayloadOAuthIntegrationStatus'; +export * from './personListConfirmedWebhookPayloadPersonAccountItem'; +export * from './personListConfirmedWebhookPayloadPersonAccountItemAccount'; +export * from './personListSubscribedActivityData'; +export * from './personListSubscribedWebhookPayload'; +export * from './personListSubscribedWebhookPayloadAccount'; +export * from './personListSubscribedWebhookPayloadAccountAccountStage'; +export * from './personListSubscribedWebhookPayloadDealPeopleItem'; +export * from './personListSubscribedWebhookPayloadDiscordUser'; +export * from './personListSubscribedWebhookPayloadEmailListPersonItem'; +export * from './personListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; +export * from './personListSubscribedWebhookPayloadLeadFormSubmissionsItem'; +export * from './personListSubscribedWebhookPayloadMailingAddress'; +export * from './personListSubscribedWebhookPayloadOAuthIntegrationStatus'; +export * from './personListSubscribedWebhookPayloadPersonAccountItem'; +export * from './personListSubscribedWebhookPayloadPersonAccountItemAccount'; +export * from './personListUnsubscribedActivityData'; +export * from './personListUnsubscribedWebhookPayload'; +export * from './personListUnsubscribedWebhookPayloadAccount'; +export * from './personListUnsubscribedWebhookPayloadAccountAccountStage'; +export * from './personListUnsubscribedWebhookPayloadDealPeopleItem'; +export * from './personListUnsubscribedWebhookPayloadDiscordUser'; +export * from './personListUnsubscribedWebhookPayloadEmailListPersonItem'; +export * from './personListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; +export * from './personListUnsubscribedWebhookPayloadLeadFormSubmissionsItem'; +export * from './personListUnsubscribedWebhookPayloadMailingAddress'; +export * from './personListUnsubscribedWebhookPayloadOAuthIntegrationStatus'; +export * from './personListUnsubscribedWebhookPayloadPersonAccountItem'; +export * from './personListUnsubscribedWebhookPayloadPersonAccountItemAccount'; export * from './personSegmentAddedActivityData'; export * from './personSegmentAddedWebhookPayload'; export * from './personSegmentAddedWebhookPayloadAccount'; @@ -299,6 +390,45 @@ export * from './personSegmentRemovedWebhookPayloadOAuthIntegrationStatus'; export * from './personSegmentRemovedWebhookPayloadPersonAccountItem'; export * from './personSegmentRemovedWebhookPayloadPersonAccountItemAccount'; export * from './personSetTemporaryPasswordBody'; +export * from './personSupportTicketClosedActivityData'; +export * from './personSupportTicketClosedWebhookPayload'; +export * from './personSupportTicketClosedWebhookPayloadAccount'; +export * from './personSupportTicketClosedWebhookPayloadAccountAccountStage'; +export * from './personSupportTicketClosedWebhookPayloadDealPeopleItem'; +export * from './personSupportTicketClosedWebhookPayloadDiscordUser'; +export * from './personSupportTicketClosedWebhookPayloadEmailListPersonItem'; +export * from './personSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; +export * from './personSupportTicketClosedWebhookPayloadLeadFormSubmissionsItem'; +export * from './personSupportTicketClosedWebhookPayloadMailingAddress'; +export * from './personSupportTicketClosedWebhookPayloadOAuthIntegrationStatus'; +export * from './personSupportTicketClosedWebhookPayloadPersonAccountItem'; +export * from './personSupportTicketClosedWebhookPayloadPersonAccountItemAccount'; +export * from './personSupportTicketCreatedActivityData'; +export * from './personSupportTicketCreatedWebhookPayload'; +export * from './personSupportTicketCreatedWebhookPayloadAccount'; +export * from './personSupportTicketCreatedWebhookPayloadAccountAccountStage'; +export * from './personSupportTicketCreatedWebhookPayloadDealPeopleItem'; +export * from './personSupportTicketCreatedWebhookPayloadDiscordUser'; +export * from './personSupportTicketCreatedWebhookPayloadEmailListPersonItem'; +export * from './personSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; +export * from './personSupportTicketCreatedWebhookPayloadLeadFormSubmissionsItem'; +export * from './personSupportTicketCreatedWebhookPayloadMailingAddress'; +export * from './personSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus'; +export * from './personSupportTicketCreatedWebhookPayloadPersonAccountItem'; +export * from './personSupportTicketCreatedWebhookPayloadPersonAccountItemAccount'; +export * from './personSupportTicketUpdatedActivityData'; +export * from './personSupportTicketUpdatedWebhookPayload'; +export * from './personSupportTicketUpdatedWebhookPayloadAccount'; +export * from './personSupportTicketUpdatedWebhookPayloadAccountAccountStage'; +export * from './personSupportTicketUpdatedWebhookPayloadDealPeopleItem'; +export * from './personSupportTicketUpdatedWebhookPayloadDiscordUser'; +export * from './personSupportTicketUpdatedWebhookPayloadEmailListPersonItem'; +export * from './personSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; +export * from './personSupportTicketUpdatedWebhookPayloadLeadFormSubmissionsItem'; +export * from './personSupportTicketUpdatedWebhookPayloadMailingAddress'; +export * from './personSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus'; +export * from './personSupportTicketUpdatedWebhookPayloadPersonAccountItem'; +export * from './personSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount'; export * from './personUpdatePersonBody'; export * from './plan'; export * from './planAddOn'; diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedActivityData.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedActivityData.ts new file mode 100644 index 0000000..3464777 --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedActivityData.ts @@ -0,0 +1,8 @@ +// @ts-nocheck + +export interface PersonLeadFormSubmittedActivityData { + /** @nullable */ + LeadFormUid?: string | null; + /** @nullable */ + RefererUrl?: string | null; +} diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayload.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayload.ts new file mode 100644 index 0000000..3e56ad6 --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayload.ts @@ -0,0 +1,123 @@ +// @ts-nocheck +import type { PersonLeadFormSubmittedWebhookPayloadMailingAddress } from './personLeadFormSubmittedWebhookPayloadMailingAddress'; +import type { PersonLeadFormSubmittedWebhookPayloadPersonAccountItem } from './personLeadFormSubmittedWebhookPayloadPersonAccountItem'; +import type { PersonLeadFormSubmittedWebhookPayloadDealPeopleItem } from './personLeadFormSubmittedWebhookPayloadDealPeopleItem'; +import type { PersonLeadFormSubmittedWebhookPayloadLeadFormSubmissionsItem } from './personLeadFormSubmittedWebhookPayloadLeadFormSubmissionsItem'; +import type { PersonLeadFormSubmittedWebhookPayloadAccount } from './personLeadFormSubmittedWebhookPayloadAccount'; +import type { PersonLeadFormSubmittedWebhookPayloadEmailListPersonItem } from './personLeadFormSubmittedWebhookPayloadEmailListPersonItem'; +import type { PersonLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus } from './personLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus'; +import type { PersonLeadFormSubmittedWebhookPayloadDiscordUser } from './personLeadFormSubmittedWebhookPayloadDiscordUser'; +import type { PersonLeadFormSubmittedActivityData } from './personLeadFormSubmittedActivityData'; + +export interface PersonLeadFormSubmittedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonLeadFormSubmittedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonLeadFormSubmittedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonLeadFormSubmittedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonLeadFormSubmittedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonLeadFormSubmittedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonLeadFormSubmittedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonLeadFormSubmittedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonLeadFormSubmittedActivityData; +} diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadAccount.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadAccount.ts new file mode 100644 index 0000000..4e67b9e --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadAccount.ts @@ -0,0 +1,141 @@ +// @ts-nocheck +import type { PersonLeadFormSubmittedWebhookPayloadAccountAccountStage } from './personLeadFormSubmittedWebhookPayloadAccountAccountStage'; + +/** + * @nullable + */ +export type PersonLeadFormSubmittedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonLeadFormSubmittedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadAccountAccountStage.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadAccountAccountStage.ts new file mode 100644 index 0000000..7d1edd1 --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadAccountAccountStage.ts @@ -0,0 +1,20 @@ +// @ts-nocheck + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonLeadFormSubmittedWebhookPayloadAccountAccountStage = typeof PersonLeadFormSubmittedWebhookPayloadAccountAccountStage[keyof typeof PersonLeadFormSubmittedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonLeadFormSubmittedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadDealPeopleItem.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadDealPeopleItem.ts new file mode 100644 index 0000000..69305b3 --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadDealPeopleItem.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +export type PersonLeadFormSubmittedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadDiscordUser.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadDiscordUser.ts new file mode 100644 index 0000000..2a8bda3 --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadDiscordUser.ts @@ -0,0 +1,35 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonLeadFormSubmittedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadEmailListPersonItem.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadEmailListPersonItem.ts new file mode 100644 index 0000000..2e6f84e --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadEmailListPersonItem.ts @@ -0,0 +1,48 @@ +// @ts-nocheck +import type { PersonLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus } from './personLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; + +export type PersonLeadFormSubmittedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts new file mode 100644 index 0000000..fcdd15b --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadLeadFormSubmissionsItem.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadLeadFormSubmissionsItem.ts new file mode 100644 index 0000000..acb61eb --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadLeadFormSubmissionsItem.ts @@ -0,0 +1,21 @@ +// @ts-nocheck + +export type PersonLeadFormSubmittedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadMailingAddress.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadMailingAddress.ts new file mode 100644 index 0000000..3678cb6 --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadMailingAddress.ts @@ -0,0 +1,58 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonLeadFormSubmittedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus.ts new file mode 100644 index 0000000..73be3b2 --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus.ts @@ -0,0 +1,13 @@ +// @ts-nocheck + +/** + * `0` - None, `1` - Gmail + */ +export type PersonLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus = typeof PersonLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadPersonAccountItem.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadPersonAccountItem.ts new file mode 100644 index 0000000..5f25997 --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadPersonAccountItem.ts @@ -0,0 +1,20 @@ +// @ts-nocheck +import type { PersonLeadFormSubmittedWebhookPayloadPersonAccountItemAccount } from './personLeadFormSubmittedWebhookPayloadPersonAccountItemAccount'; + +export type PersonLeadFormSubmittedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonLeadFormSubmittedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; diff --git a/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadPersonAccountItemAccount.ts b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadPersonAccountItemAccount.ts new file mode 100644 index 0000000..ac82a2f --- /dev/null +++ b/packages/api-client/src/generated/models/personLeadFormSubmittedWebhookPayloadPersonAccountItemAccount.ts @@ -0,0 +1,14 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonLeadFormSubmittedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListConfirmedActivityData.ts b/packages/api-client/src/generated/models/personListConfirmedActivityData.ts new file mode 100644 index 0000000..fe23c07 --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedActivityData.ts @@ -0,0 +1,11 @@ +// @ts-nocheck + +export interface PersonListConfirmedActivityData { + /** @nullable */ + EmailListUid?: string | null; + /** + * @deprecated + * @nullable + */ + EmaillistId?: string | null; +} diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayload.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayload.ts new file mode 100644 index 0000000..824bf91 --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayload.ts @@ -0,0 +1,123 @@ +// @ts-nocheck +import type { PersonListConfirmedWebhookPayloadMailingAddress } from './personListConfirmedWebhookPayloadMailingAddress'; +import type { PersonListConfirmedWebhookPayloadPersonAccountItem } from './personListConfirmedWebhookPayloadPersonAccountItem'; +import type { PersonListConfirmedWebhookPayloadDealPeopleItem } from './personListConfirmedWebhookPayloadDealPeopleItem'; +import type { PersonListConfirmedWebhookPayloadLeadFormSubmissionsItem } from './personListConfirmedWebhookPayloadLeadFormSubmissionsItem'; +import type { PersonListConfirmedWebhookPayloadAccount } from './personListConfirmedWebhookPayloadAccount'; +import type { PersonListConfirmedWebhookPayloadEmailListPersonItem } from './personListConfirmedWebhookPayloadEmailListPersonItem'; +import type { PersonListConfirmedWebhookPayloadOAuthIntegrationStatus } from './personListConfirmedWebhookPayloadOAuthIntegrationStatus'; +import type { PersonListConfirmedWebhookPayloadDiscordUser } from './personListConfirmedWebhookPayloadDiscordUser'; +import type { PersonListConfirmedActivityData } from './personListConfirmedActivityData'; + +export interface PersonListConfirmedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonListConfirmedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonListConfirmedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonListConfirmedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonListConfirmedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonListConfirmedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonListConfirmedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonListConfirmedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonListConfirmedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonListConfirmedActivityData; +} diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadAccount.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadAccount.ts new file mode 100644 index 0000000..48a7f3e --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadAccount.ts @@ -0,0 +1,141 @@ +// @ts-nocheck +import type { PersonListConfirmedWebhookPayloadAccountAccountStage } from './personListConfirmedWebhookPayloadAccountAccountStage'; + +/** + * @nullable + */ +export type PersonListConfirmedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonListConfirmedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadAccountAccountStage.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadAccountAccountStage.ts new file mode 100644 index 0000000..6b8d65c --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadAccountAccountStage.ts @@ -0,0 +1,20 @@ +// @ts-nocheck + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonListConfirmedWebhookPayloadAccountAccountStage = typeof PersonListConfirmedWebhookPayloadAccountAccountStage[keyof typeof PersonListConfirmedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListConfirmedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadDealPeopleItem.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadDealPeopleItem.ts new file mode 100644 index 0000000..ad251ba --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadDealPeopleItem.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +export type PersonListConfirmedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadDiscordUser.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadDiscordUser.ts new file mode 100644 index 0000000..90f2d1e --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadDiscordUser.ts @@ -0,0 +1,35 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonListConfirmedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadEmailListPersonItem.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadEmailListPersonItem.ts new file mode 100644 index 0000000..c694f3c --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadEmailListPersonItem.ts @@ -0,0 +1,48 @@ +// @ts-nocheck +import type { PersonListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus } from './personListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; + +export type PersonListConfirmedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts new file mode 100644 index 0000000..059c132 --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadLeadFormSubmissionsItem.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadLeadFormSubmissionsItem.ts new file mode 100644 index 0000000..44535aa --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadLeadFormSubmissionsItem.ts @@ -0,0 +1,21 @@ +// @ts-nocheck + +export type PersonListConfirmedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadMailingAddress.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadMailingAddress.ts new file mode 100644 index 0000000..47d471f --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadMailingAddress.ts @@ -0,0 +1,58 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonListConfirmedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadOAuthIntegrationStatus.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadOAuthIntegrationStatus.ts new file mode 100644 index 0000000..261c264 --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadOAuthIntegrationStatus.ts @@ -0,0 +1,13 @@ +// @ts-nocheck + +/** + * `0` - None, `1` - Gmail + */ +export type PersonListConfirmedWebhookPayloadOAuthIntegrationStatus = typeof PersonListConfirmedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonListConfirmedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListConfirmedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadPersonAccountItem.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadPersonAccountItem.ts new file mode 100644 index 0000000..77354dd --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadPersonAccountItem.ts @@ -0,0 +1,20 @@ +// @ts-nocheck +import type { PersonListConfirmedWebhookPayloadPersonAccountItemAccount } from './personListConfirmedWebhookPayloadPersonAccountItemAccount'; + +export type PersonListConfirmedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonListConfirmedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; diff --git a/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadPersonAccountItemAccount.ts b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadPersonAccountItemAccount.ts new file mode 100644 index 0000000..91796b6 --- /dev/null +++ b/packages/api-client/src/generated/models/personListConfirmedWebhookPayloadPersonAccountItemAccount.ts @@ -0,0 +1,14 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonListConfirmedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListSubscribedActivityData.ts b/packages/api-client/src/generated/models/personListSubscribedActivityData.ts new file mode 100644 index 0000000..1f0723d --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedActivityData.ts @@ -0,0 +1,11 @@ +// @ts-nocheck + +export interface PersonListSubscribedActivityData { + /** @nullable */ + EmailListUid?: string | null; + /** + * @deprecated + * @nullable + */ + EmaillistId?: string | null; +} diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayload.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayload.ts new file mode 100644 index 0000000..8ace20d --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayload.ts @@ -0,0 +1,123 @@ +// @ts-nocheck +import type { PersonListSubscribedWebhookPayloadMailingAddress } from './personListSubscribedWebhookPayloadMailingAddress'; +import type { PersonListSubscribedWebhookPayloadPersonAccountItem } from './personListSubscribedWebhookPayloadPersonAccountItem'; +import type { PersonListSubscribedWebhookPayloadDealPeopleItem } from './personListSubscribedWebhookPayloadDealPeopleItem'; +import type { PersonListSubscribedWebhookPayloadLeadFormSubmissionsItem } from './personListSubscribedWebhookPayloadLeadFormSubmissionsItem'; +import type { PersonListSubscribedWebhookPayloadAccount } from './personListSubscribedWebhookPayloadAccount'; +import type { PersonListSubscribedWebhookPayloadEmailListPersonItem } from './personListSubscribedWebhookPayloadEmailListPersonItem'; +import type { PersonListSubscribedWebhookPayloadOAuthIntegrationStatus } from './personListSubscribedWebhookPayloadOAuthIntegrationStatus'; +import type { PersonListSubscribedWebhookPayloadDiscordUser } from './personListSubscribedWebhookPayloadDiscordUser'; +import type { PersonListSubscribedActivityData } from './personListSubscribedActivityData'; + +export interface PersonListSubscribedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonListSubscribedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonListSubscribedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonListSubscribedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonListSubscribedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonListSubscribedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonListSubscribedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonListSubscribedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonListSubscribedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonListSubscribedActivityData; +} diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadAccount.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadAccount.ts new file mode 100644 index 0000000..942cd06 --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadAccount.ts @@ -0,0 +1,141 @@ +// @ts-nocheck +import type { PersonListSubscribedWebhookPayloadAccountAccountStage } from './personListSubscribedWebhookPayloadAccountAccountStage'; + +/** + * @nullable + */ +export type PersonListSubscribedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonListSubscribedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadAccountAccountStage.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadAccountAccountStage.ts new file mode 100644 index 0000000..9433b3c --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadAccountAccountStage.ts @@ -0,0 +1,20 @@ +// @ts-nocheck + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonListSubscribedWebhookPayloadAccountAccountStage = typeof PersonListSubscribedWebhookPayloadAccountAccountStage[keyof typeof PersonListSubscribedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListSubscribedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadDealPeopleItem.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadDealPeopleItem.ts new file mode 100644 index 0000000..ca7d213 --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadDealPeopleItem.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +export type PersonListSubscribedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadDiscordUser.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadDiscordUser.ts new file mode 100644 index 0000000..99d2c51 --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadDiscordUser.ts @@ -0,0 +1,35 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonListSubscribedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadEmailListPersonItem.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadEmailListPersonItem.ts new file mode 100644 index 0000000..3a35b8c --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadEmailListPersonItem.ts @@ -0,0 +1,48 @@ +// @ts-nocheck +import type { PersonListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus } from './personListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; + +export type PersonListSubscribedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts new file mode 100644 index 0000000..60458c8 --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadLeadFormSubmissionsItem.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadLeadFormSubmissionsItem.ts new file mode 100644 index 0000000..11c05c4 --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadLeadFormSubmissionsItem.ts @@ -0,0 +1,21 @@ +// @ts-nocheck + +export type PersonListSubscribedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadMailingAddress.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadMailingAddress.ts new file mode 100644 index 0000000..c10a647 --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadMailingAddress.ts @@ -0,0 +1,58 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonListSubscribedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadOAuthIntegrationStatus.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadOAuthIntegrationStatus.ts new file mode 100644 index 0000000..342a7a5 --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadOAuthIntegrationStatus.ts @@ -0,0 +1,13 @@ +// @ts-nocheck + +/** + * `0` - None, `1` - Gmail + */ +export type PersonListSubscribedWebhookPayloadOAuthIntegrationStatus = typeof PersonListSubscribedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonListSubscribedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListSubscribedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadPersonAccountItem.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadPersonAccountItem.ts new file mode 100644 index 0000000..8d3995e --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadPersonAccountItem.ts @@ -0,0 +1,20 @@ +// @ts-nocheck +import type { PersonListSubscribedWebhookPayloadPersonAccountItemAccount } from './personListSubscribedWebhookPayloadPersonAccountItemAccount'; + +export type PersonListSubscribedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonListSubscribedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; diff --git a/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadPersonAccountItemAccount.ts b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadPersonAccountItemAccount.ts new file mode 100644 index 0000000..022e29a --- /dev/null +++ b/packages/api-client/src/generated/models/personListSubscribedWebhookPayloadPersonAccountItemAccount.ts @@ -0,0 +1,14 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonListSubscribedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListUnsubscribedActivityData.ts b/packages/api-client/src/generated/models/personListUnsubscribedActivityData.ts new file mode 100644 index 0000000..23dda74 --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedActivityData.ts @@ -0,0 +1,13 @@ +// @ts-nocheck + +export interface PersonListUnsubscribedActivityData { + /** @nullable */ + EmailListUid?: string | null; + /** @nullable */ + PersonUid?: string | null; + /** + * @deprecated + * @nullable + */ + EmaillistId?: string | null; +} diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayload.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayload.ts new file mode 100644 index 0000000..d47a359 --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayload.ts @@ -0,0 +1,123 @@ +// @ts-nocheck +import type { PersonListUnsubscribedWebhookPayloadMailingAddress } from './personListUnsubscribedWebhookPayloadMailingAddress'; +import type { PersonListUnsubscribedWebhookPayloadPersonAccountItem } from './personListUnsubscribedWebhookPayloadPersonAccountItem'; +import type { PersonListUnsubscribedWebhookPayloadDealPeopleItem } from './personListUnsubscribedWebhookPayloadDealPeopleItem'; +import type { PersonListUnsubscribedWebhookPayloadLeadFormSubmissionsItem } from './personListUnsubscribedWebhookPayloadLeadFormSubmissionsItem'; +import type { PersonListUnsubscribedWebhookPayloadAccount } from './personListUnsubscribedWebhookPayloadAccount'; +import type { PersonListUnsubscribedWebhookPayloadEmailListPersonItem } from './personListUnsubscribedWebhookPayloadEmailListPersonItem'; +import type { PersonListUnsubscribedWebhookPayloadOAuthIntegrationStatus } from './personListUnsubscribedWebhookPayloadOAuthIntegrationStatus'; +import type { PersonListUnsubscribedWebhookPayloadDiscordUser } from './personListUnsubscribedWebhookPayloadDiscordUser'; +import type { PersonListUnsubscribedActivityData } from './personListUnsubscribedActivityData'; + +export interface PersonListUnsubscribedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonListUnsubscribedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonListUnsubscribedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonListUnsubscribedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonListUnsubscribedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonListUnsubscribedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonListUnsubscribedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonListUnsubscribedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonListUnsubscribedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonListUnsubscribedActivityData; +} diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadAccount.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadAccount.ts new file mode 100644 index 0000000..c05f776 --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadAccount.ts @@ -0,0 +1,141 @@ +// @ts-nocheck +import type { PersonListUnsubscribedWebhookPayloadAccountAccountStage } from './personListUnsubscribedWebhookPayloadAccountAccountStage'; + +/** + * @nullable + */ +export type PersonListUnsubscribedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonListUnsubscribedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadAccountAccountStage.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadAccountAccountStage.ts new file mode 100644 index 0000000..7988f6b --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadAccountAccountStage.ts @@ -0,0 +1,20 @@ +// @ts-nocheck + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonListUnsubscribedWebhookPayloadAccountAccountStage = typeof PersonListUnsubscribedWebhookPayloadAccountAccountStage[keyof typeof PersonListUnsubscribedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListUnsubscribedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadDealPeopleItem.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadDealPeopleItem.ts new file mode 100644 index 0000000..0217449 --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadDealPeopleItem.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +export type PersonListUnsubscribedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadDiscordUser.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadDiscordUser.ts new file mode 100644 index 0000000..cf3b071 --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadDiscordUser.ts @@ -0,0 +1,35 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonListUnsubscribedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadEmailListPersonItem.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadEmailListPersonItem.ts new file mode 100644 index 0000000..cfdc37c --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadEmailListPersonItem.ts @@ -0,0 +1,48 @@ +// @ts-nocheck +import type { PersonListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus } from './personListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; + +export type PersonListUnsubscribedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts new file mode 100644 index 0000000..7ac4473 --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadLeadFormSubmissionsItem.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadLeadFormSubmissionsItem.ts new file mode 100644 index 0000000..428b1eb --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadLeadFormSubmissionsItem.ts @@ -0,0 +1,21 @@ +// @ts-nocheck + +export type PersonListUnsubscribedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadMailingAddress.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadMailingAddress.ts new file mode 100644 index 0000000..0f04529 --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadMailingAddress.ts @@ -0,0 +1,58 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonListUnsubscribedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadOAuthIntegrationStatus.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadOAuthIntegrationStatus.ts new file mode 100644 index 0000000..5a2f8a7 --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadOAuthIntegrationStatus.ts @@ -0,0 +1,13 @@ +// @ts-nocheck + +/** + * `0` - None, `1` - Gmail + */ +export type PersonListUnsubscribedWebhookPayloadOAuthIntegrationStatus = typeof PersonListUnsubscribedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonListUnsubscribedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListUnsubscribedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadPersonAccountItem.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadPersonAccountItem.ts new file mode 100644 index 0000000..7d79365 --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadPersonAccountItem.ts @@ -0,0 +1,20 @@ +// @ts-nocheck +import type { PersonListUnsubscribedWebhookPayloadPersonAccountItemAccount } from './personListUnsubscribedWebhookPayloadPersonAccountItemAccount'; + +export type PersonListUnsubscribedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonListUnsubscribedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; diff --git a/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadPersonAccountItemAccount.ts b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadPersonAccountItemAccount.ts new file mode 100644 index 0000000..0156312 --- /dev/null +++ b/packages/api-client/src/generated/models/personListUnsubscribedWebhookPayloadPersonAccountItemAccount.ts @@ -0,0 +1,14 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonListUnsubscribedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedActivityData.ts b/packages/api-client/src/generated/models/personSupportTicketClosedActivityData.ts new file mode 100644 index 0000000..61d08f0 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedActivityData.ts @@ -0,0 +1,8 @@ +// @ts-nocheck + +export interface PersonSupportTicketClosedActivityData { + /** @nullable */ + CaseUid?: string | null; + /** @nullable */ + AgentName?: string | null; +} diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayload.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayload.ts new file mode 100644 index 0000000..b3a957f --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayload.ts @@ -0,0 +1,123 @@ +// @ts-nocheck +import type { PersonSupportTicketClosedWebhookPayloadMailingAddress } from './personSupportTicketClosedWebhookPayloadMailingAddress'; +import type { PersonSupportTicketClosedWebhookPayloadPersonAccountItem } from './personSupportTicketClosedWebhookPayloadPersonAccountItem'; +import type { PersonSupportTicketClosedWebhookPayloadDealPeopleItem } from './personSupportTicketClosedWebhookPayloadDealPeopleItem'; +import type { PersonSupportTicketClosedWebhookPayloadLeadFormSubmissionsItem } from './personSupportTicketClosedWebhookPayloadLeadFormSubmissionsItem'; +import type { PersonSupportTicketClosedWebhookPayloadAccount } from './personSupportTicketClosedWebhookPayloadAccount'; +import type { PersonSupportTicketClosedWebhookPayloadEmailListPersonItem } from './personSupportTicketClosedWebhookPayloadEmailListPersonItem'; +import type { PersonSupportTicketClosedWebhookPayloadOAuthIntegrationStatus } from './personSupportTicketClosedWebhookPayloadOAuthIntegrationStatus'; +import type { PersonSupportTicketClosedWebhookPayloadDiscordUser } from './personSupportTicketClosedWebhookPayloadDiscordUser'; +import type { PersonSupportTicketClosedActivityData } from './personSupportTicketClosedActivityData'; + +export interface PersonSupportTicketClosedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonSupportTicketClosedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonSupportTicketClosedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonSupportTicketClosedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonSupportTicketClosedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonSupportTicketClosedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonSupportTicketClosedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonSupportTicketClosedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonSupportTicketClosedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonSupportTicketClosedActivityData; +} diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadAccount.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadAccount.ts new file mode 100644 index 0000000..e431e4e --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadAccount.ts @@ -0,0 +1,141 @@ +// @ts-nocheck +import type { PersonSupportTicketClosedWebhookPayloadAccountAccountStage } from './personSupportTicketClosedWebhookPayloadAccountAccountStage'; + +/** + * @nullable + */ +export type PersonSupportTicketClosedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonSupportTicketClosedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadAccountAccountStage.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadAccountAccountStage.ts new file mode 100644 index 0000000..ecd538d --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadAccountAccountStage.ts @@ -0,0 +1,20 @@ +// @ts-nocheck + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonSupportTicketClosedWebhookPayloadAccountAccountStage = typeof PersonSupportTicketClosedWebhookPayloadAccountAccountStage[keyof typeof PersonSupportTicketClosedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketClosedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadDealPeopleItem.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadDealPeopleItem.ts new file mode 100644 index 0000000..586e412 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadDealPeopleItem.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +export type PersonSupportTicketClosedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadDiscordUser.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadDiscordUser.ts new file mode 100644 index 0000000..256450a --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadDiscordUser.ts @@ -0,0 +1,35 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonSupportTicketClosedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadEmailListPersonItem.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadEmailListPersonItem.ts new file mode 100644 index 0000000..21e7137 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadEmailListPersonItem.ts @@ -0,0 +1,48 @@ +// @ts-nocheck +import type { PersonSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus } from './personSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; + +export type PersonSupportTicketClosedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts new file mode 100644 index 0000000..3084079 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadLeadFormSubmissionsItem.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadLeadFormSubmissionsItem.ts new file mode 100644 index 0000000..81e5fd3 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadLeadFormSubmissionsItem.ts @@ -0,0 +1,21 @@ +// @ts-nocheck + +export type PersonSupportTicketClosedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadMailingAddress.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadMailingAddress.ts new file mode 100644 index 0000000..7b2e745 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadMailingAddress.ts @@ -0,0 +1,58 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonSupportTicketClosedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadOAuthIntegrationStatus.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadOAuthIntegrationStatus.ts new file mode 100644 index 0000000..df40969 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadOAuthIntegrationStatus.ts @@ -0,0 +1,13 @@ +// @ts-nocheck + +/** + * `0` - None, `1` - Gmail + */ +export type PersonSupportTicketClosedWebhookPayloadOAuthIntegrationStatus = typeof PersonSupportTicketClosedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonSupportTicketClosedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketClosedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadPersonAccountItem.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadPersonAccountItem.ts new file mode 100644 index 0000000..20e91b2 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadPersonAccountItem.ts @@ -0,0 +1,20 @@ +// @ts-nocheck +import type { PersonSupportTicketClosedWebhookPayloadPersonAccountItemAccount } from './personSupportTicketClosedWebhookPayloadPersonAccountItemAccount'; + +export type PersonSupportTicketClosedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonSupportTicketClosedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadPersonAccountItemAccount.ts b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadPersonAccountItemAccount.ts new file mode 100644 index 0000000..5ac2344 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketClosedWebhookPayloadPersonAccountItemAccount.ts @@ -0,0 +1,14 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonSupportTicketClosedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedActivityData.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedActivityData.ts new file mode 100644 index 0000000..8918eb9 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedActivityData.ts @@ -0,0 +1,6 @@ +// @ts-nocheck + +export interface PersonSupportTicketCreatedActivityData { + /** @nullable */ + CaseUid?: string | null; +} diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayload.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayload.ts new file mode 100644 index 0000000..612a052 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayload.ts @@ -0,0 +1,123 @@ +// @ts-nocheck +import type { PersonSupportTicketCreatedWebhookPayloadMailingAddress } from './personSupportTicketCreatedWebhookPayloadMailingAddress'; +import type { PersonSupportTicketCreatedWebhookPayloadPersonAccountItem } from './personSupportTicketCreatedWebhookPayloadPersonAccountItem'; +import type { PersonSupportTicketCreatedWebhookPayloadDealPeopleItem } from './personSupportTicketCreatedWebhookPayloadDealPeopleItem'; +import type { PersonSupportTicketCreatedWebhookPayloadLeadFormSubmissionsItem } from './personSupportTicketCreatedWebhookPayloadLeadFormSubmissionsItem'; +import type { PersonSupportTicketCreatedWebhookPayloadAccount } from './personSupportTicketCreatedWebhookPayloadAccount'; +import type { PersonSupportTicketCreatedWebhookPayloadEmailListPersonItem } from './personSupportTicketCreatedWebhookPayloadEmailListPersonItem'; +import type { PersonSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus } from './personSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus'; +import type { PersonSupportTicketCreatedWebhookPayloadDiscordUser } from './personSupportTicketCreatedWebhookPayloadDiscordUser'; +import type { PersonSupportTicketCreatedActivityData } from './personSupportTicketCreatedActivityData'; + +export interface PersonSupportTicketCreatedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonSupportTicketCreatedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonSupportTicketCreatedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonSupportTicketCreatedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonSupportTicketCreatedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonSupportTicketCreatedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonSupportTicketCreatedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonSupportTicketCreatedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonSupportTicketCreatedActivityData; +} diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadAccount.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadAccount.ts new file mode 100644 index 0000000..da06b2a --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadAccount.ts @@ -0,0 +1,141 @@ +// @ts-nocheck +import type { PersonSupportTicketCreatedWebhookPayloadAccountAccountStage } from './personSupportTicketCreatedWebhookPayloadAccountAccountStage'; + +/** + * @nullable + */ +export type PersonSupportTicketCreatedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonSupportTicketCreatedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadAccountAccountStage.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadAccountAccountStage.ts new file mode 100644 index 0000000..b423e4f --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadAccountAccountStage.ts @@ -0,0 +1,20 @@ +// @ts-nocheck + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonSupportTicketCreatedWebhookPayloadAccountAccountStage = typeof PersonSupportTicketCreatedWebhookPayloadAccountAccountStage[keyof typeof PersonSupportTicketCreatedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketCreatedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadDealPeopleItem.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadDealPeopleItem.ts new file mode 100644 index 0000000..b5a8ce9 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadDealPeopleItem.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +export type PersonSupportTicketCreatedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadDiscordUser.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadDiscordUser.ts new file mode 100644 index 0000000..e4ab879 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadDiscordUser.ts @@ -0,0 +1,35 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonSupportTicketCreatedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadEmailListPersonItem.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadEmailListPersonItem.ts new file mode 100644 index 0000000..8efb8a8 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadEmailListPersonItem.ts @@ -0,0 +1,48 @@ +// @ts-nocheck +import type { PersonSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus } from './personSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; + +export type PersonSupportTicketCreatedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts new file mode 100644 index 0000000..7be88cd --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadLeadFormSubmissionsItem.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadLeadFormSubmissionsItem.ts new file mode 100644 index 0000000..8ae41cf --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadLeadFormSubmissionsItem.ts @@ -0,0 +1,21 @@ +// @ts-nocheck + +export type PersonSupportTicketCreatedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadMailingAddress.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadMailingAddress.ts new file mode 100644 index 0000000..8c219d1 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadMailingAddress.ts @@ -0,0 +1,58 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonSupportTicketCreatedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus.ts new file mode 100644 index 0000000..ef91af7 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus.ts @@ -0,0 +1,13 @@ +// @ts-nocheck + +/** + * `0` - None, `1` - Gmail + */ +export type PersonSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus = typeof PersonSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadPersonAccountItem.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadPersonAccountItem.ts new file mode 100644 index 0000000..c504f52 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadPersonAccountItem.ts @@ -0,0 +1,20 @@ +// @ts-nocheck +import type { PersonSupportTicketCreatedWebhookPayloadPersonAccountItemAccount } from './personSupportTicketCreatedWebhookPayloadPersonAccountItemAccount'; + +export type PersonSupportTicketCreatedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonSupportTicketCreatedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadPersonAccountItemAccount.ts b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadPersonAccountItemAccount.ts new file mode 100644 index 0000000..19d2968 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketCreatedWebhookPayloadPersonAccountItemAccount.ts @@ -0,0 +1,14 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonSupportTicketCreatedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedActivityData.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedActivityData.ts new file mode 100644 index 0000000..86e79db --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedActivityData.ts @@ -0,0 +1,6 @@ +// @ts-nocheck + +export interface PersonSupportTicketUpdatedActivityData { + /** @nullable */ + CaseUid?: string | null; +} diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayload.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayload.ts new file mode 100644 index 0000000..67326a0 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayload.ts @@ -0,0 +1,123 @@ +// @ts-nocheck +import type { PersonSupportTicketUpdatedWebhookPayloadMailingAddress } from './personSupportTicketUpdatedWebhookPayloadMailingAddress'; +import type { PersonSupportTicketUpdatedWebhookPayloadPersonAccountItem } from './personSupportTicketUpdatedWebhookPayloadPersonAccountItem'; +import type { PersonSupportTicketUpdatedWebhookPayloadDealPeopleItem } from './personSupportTicketUpdatedWebhookPayloadDealPeopleItem'; +import type { PersonSupportTicketUpdatedWebhookPayloadLeadFormSubmissionsItem } from './personSupportTicketUpdatedWebhookPayloadLeadFormSubmissionsItem'; +import type { PersonSupportTicketUpdatedWebhookPayloadAccount } from './personSupportTicketUpdatedWebhookPayloadAccount'; +import type { PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItem } from './personSupportTicketUpdatedWebhookPayloadEmailListPersonItem'; +import type { PersonSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus } from './personSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus'; +import type { PersonSupportTicketUpdatedWebhookPayloadDiscordUser } from './personSupportTicketUpdatedWebhookPayloadDiscordUser'; +import type { PersonSupportTicketUpdatedActivityData } from './personSupportTicketUpdatedActivityData'; + +export interface PersonSupportTicketUpdatedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonSupportTicketUpdatedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonSupportTicketUpdatedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonSupportTicketUpdatedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonSupportTicketUpdatedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonSupportTicketUpdatedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonSupportTicketUpdatedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonSupportTicketUpdatedActivityData; +} diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadAccount.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadAccount.ts new file mode 100644 index 0000000..6ba1849 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadAccount.ts @@ -0,0 +1,141 @@ +// @ts-nocheck +import type { PersonSupportTicketUpdatedWebhookPayloadAccountAccountStage } from './personSupportTicketUpdatedWebhookPayloadAccountAccountStage'; + +/** + * @nullable + */ +export type PersonSupportTicketUpdatedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonSupportTicketUpdatedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadAccountAccountStage.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadAccountAccountStage.ts new file mode 100644 index 0000000..972957d --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadAccountAccountStage.ts @@ -0,0 +1,20 @@ +// @ts-nocheck + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonSupportTicketUpdatedWebhookPayloadAccountAccountStage = typeof PersonSupportTicketUpdatedWebhookPayloadAccountAccountStage[keyof typeof PersonSupportTicketUpdatedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketUpdatedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadDealPeopleItem.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadDealPeopleItem.ts new file mode 100644 index 0000000..7f13460 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadDealPeopleItem.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +export type PersonSupportTicketUpdatedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadDiscordUser.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadDiscordUser.ts new file mode 100644 index 0000000..519cf61 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadDiscordUser.ts @@ -0,0 +1,35 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonSupportTicketUpdatedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadEmailListPersonItem.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadEmailListPersonItem.ts new file mode 100644 index 0000000..a9c32e9 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadEmailListPersonItem.ts @@ -0,0 +1,48 @@ +// @ts-nocheck +import type { PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus } from './personSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus'; + +export type PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts new file mode 100644 index 0000000..fc8d6ba --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts @@ -0,0 +1,15 @@ +// @ts-nocheck + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadLeadFormSubmissionsItem.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadLeadFormSubmissionsItem.ts new file mode 100644 index 0000000..97982eb --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadLeadFormSubmissionsItem.ts @@ -0,0 +1,21 @@ +// @ts-nocheck + +export type PersonSupportTicketUpdatedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadMailingAddress.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadMailingAddress.ts new file mode 100644 index 0000000..64c4d14 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadMailingAddress.ts @@ -0,0 +1,58 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonSupportTicketUpdatedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus.ts new file mode 100644 index 0000000..9ea913a --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus.ts @@ -0,0 +1,13 @@ +// @ts-nocheck + +/** + * `0` - None, `1` - Gmail + */ +export type PersonSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus = typeof PersonSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadPersonAccountItem.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadPersonAccountItem.ts new file mode 100644 index 0000000..9b8aeeb --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadPersonAccountItem.ts @@ -0,0 +1,20 @@ +// @ts-nocheck +import type { PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount } from './personSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount'; + +export type PersonSupportTicketUpdatedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; diff --git a/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount.ts b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount.ts new file mode 100644 index 0000000..e600942 --- /dev/null +++ b/packages/api-client/src/generated/models/personSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount.ts @@ -0,0 +1,14 @@ +// @ts-nocheck + +/** + * @nullable + */ +export type PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; diff --git a/packages/react/src/generated/outsetaAPI.schemas.ts b/packages/react/src/generated/outsetaAPI.schemas.ts index eb65518..8eefbb6 100644 --- a/packages/react/src/generated/outsetaAPI.schemas.ts +++ b/packages/react/src/generated/outsetaAPI.schemas.ts @@ -4844,20 +4844,20 @@ export interface ActivityCriteria { ActivityTypes?: string[] | null; } -export interface PersonSegmentAddedActivityData { +export interface PersonListSubscribedActivityData { /** @nullable */ - SegmentUid?: string | null; + EmailListUid?: string | null; /** * @deprecated * @nullable */ - SegmentId?: string | null; + EmaillistId?: string | null; } /** * @nullable */ -export type PersonSegmentAddedWebhookPayloadMailingAddress = { +export type PersonListSubscribedWebhookPayloadMailingAddress = { /** * @maxLength 10 * @nullable @@ -4914,7 +4914,7 @@ export type PersonSegmentAddedWebhookPayloadMailingAddress = { /** * @nullable */ -export type PersonSegmentAddedWebhookPayloadPersonAccountItemAccount = { +export type PersonListSubscribedWebhookPayloadPersonAccountItemAccount = { /** * @maxLength 10 * @nullable @@ -4924,7 +4924,7 @@ export type PersonSegmentAddedWebhookPayloadPersonAccountItemAccount = { _objectType?: string | null; } | null; -export type PersonSegmentAddedWebhookPayloadPersonAccountItem = { +export type PersonListSubscribedWebhookPayloadPersonAccountItem = { /** * @maxLength 10 * @nullable @@ -4937,12 +4937,12 @@ export type PersonSegmentAddedWebhookPayloadPersonAccountItem = { /** @minLength 1 */ Updated: string; /** @nullable */ - Account?: PersonSegmentAddedWebhookPayloadPersonAccountItemAccount; + Account?: PersonListSubscribedWebhookPayloadPersonAccountItemAccount; IsPrimary?: boolean; ReceiveInvoices?: boolean; }; -export type PersonSegmentAddedWebhookPayloadDealPeopleItem = { +export type PersonListSubscribedWebhookPayloadDealPeopleItem = { /** * @maxLength 10 * @nullable @@ -4956,7 +4956,7 @@ export type PersonSegmentAddedWebhookPayloadDealPeopleItem = { Updated: string; }; -export type PersonSegmentAddedWebhookPayloadLeadFormSubmissionsItem = { +export type PersonListSubscribedWebhookPayloadLeadFormSubmissionsItem = { /** * @maxLength 10 * @nullable @@ -4979,11 +4979,11 @@ export type PersonSegmentAddedWebhookPayloadLeadFormSubmissionsItem = { /** * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ -export type PersonSegmentAddedWebhookPayloadAccountAccountStage = typeof PersonSegmentAddedWebhookPayloadAccountAccountStage[keyof typeof PersonSegmentAddedWebhookPayloadAccountAccountStage]; +export type PersonListSubscribedWebhookPayloadAccountAccountStage = typeof PersonListSubscribedWebhookPayloadAccountAccountStage[keyof typeof PersonListSubscribedWebhookPayloadAccountAccountStage]; // eslint-disable-next-line @typescript-eslint/no-redeclare -export const PersonSegmentAddedWebhookPayloadAccountAccountStage = { +export const PersonListSubscribedWebhookPayloadAccountAccountStage = { Trialing: 2, Subscribing: 3, Cancelling: 4, @@ -4998,7 +4998,7 @@ export const PersonSegmentAddedWebhookPayloadAccountAccountStage = { /** * @nullable */ -export type PersonSegmentAddedWebhookPayloadAccount = { +export type PersonListSubscribedWebhookPayloadAccount = { /** * @maxLength 10 * @nullable @@ -5035,7 +5035,7 @@ export type PersonSegmentAddedWebhookPayloadAccount = { InvoiceNotes?: string | null; IsDemo?: boolean; /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ - AccountStage?: PersonSegmentAddedWebhookPayloadAccountAccountStage; + AccountStage?: PersonListSubscribedWebhookPayloadAccountAccountStage; /** * @maxLength 50 * @nullable @@ -5137,18 +5137,18 @@ export type PersonSegmentAddedWebhookPayloadAccount = { /** * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ -export type PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; +export type PersonListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; // eslint-disable-next-line @typescript-eslint/no-redeclare -export const PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { +export const PersonListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { Subscribed: 1, Unsubscribed: 2, Cleaned: 3, Confirmed: 4, } as const; -export type PersonSegmentAddedWebhookPayloadEmailListPersonItem = { +export type PersonListSubscribedWebhookPayloadEmailListPersonItem = { /** * @maxLength 10 * @nullable @@ -5161,7 +5161,7 @@ export type PersonSegmentAddedWebhookPayloadEmailListPersonItem = { /** @minLength 1 */ Updated: string; /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ - EmailListSubscriberStatus?: PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + EmailListSubscriberStatus?: PersonListSubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; SubscribedDate?: string; /** @nullable */ ConfirmedDate?: string | null; @@ -5197,11 +5197,11 @@ export type PersonSegmentAddedWebhookPayloadEmailListPersonItem = { /** * `0` - None, `1` - Gmail */ -export type PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus = typeof PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus]; +export type PersonListSubscribedWebhookPayloadOAuthIntegrationStatus = typeof PersonListSubscribedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonListSubscribedWebhookPayloadOAuthIntegrationStatus]; // eslint-disable-next-line @typescript-eslint/no-redeclare -export const PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus = { +export const PersonListSubscribedWebhookPayloadOAuthIntegrationStatus = { None: 0, Gmail: 1, } as const; @@ -5209,7 +5209,7 @@ export const PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus = { /** * @nullable */ -export type PersonSegmentAddedWebhookPayloadDiscordUser = { +export type PersonListSubscribedWebhookPayloadDiscordUser = { /** * @maxLength 10 * @nullable @@ -5240,7 +5240,7 @@ export type PersonSegmentAddedWebhookPayloadDiscordUser = { DiscordOAuthRefreshToken?: string | null; } | null; -export interface PersonSegmentAddedWebhookPayload { +export interface PersonListSubscribedWebhookPayload { /** * @maxLength 10 * @nullable @@ -5268,7 +5268,7 @@ export interface PersonSegmentAddedWebhookPayload { */ LastName?: string | null; /** @nullable */ - MailingAddress?: PersonSegmentAddedWebhookPayloadMailingAddress; + MailingAddress?: PersonListSubscribedWebhookPayloadMailingAddress; /** @nullable */ PasswordLastUpdated?: string | null; PasswordMustChange?: boolean; @@ -5325,22 +5325,22 @@ export interface PersonSegmentAddedWebhookPayload { */ OAuthGoogleProfileId?: string | null; /** @nullable */ - PersonAccount?: PersonSegmentAddedWebhookPayloadPersonAccountItem[] | null; + PersonAccount?: PersonListSubscribedWebhookPayloadPersonAccountItem[] | null; /** @nullable */ - DealPeople?: PersonSegmentAddedWebhookPayloadDealPeopleItem[] | null; + DealPeople?: PersonListSubscribedWebhookPayloadDealPeopleItem[] | null; /** @nullable */ - LeadFormSubmissions?: PersonSegmentAddedWebhookPayloadLeadFormSubmissionsItem[] | null; + LeadFormSubmissions?: PersonListSubscribedWebhookPayloadLeadFormSubmissionsItem[] | null; /** @nullable */ - Account?: PersonSegmentAddedWebhookPayloadAccount; + Account?: PersonListSubscribedWebhookPayloadAccount; /** @nullable */ AccountUids?: string | null; /** @nullable */ - EmailListPerson?: PersonSegmentAddedWebhookPayloadEmailListPersonItem[] | null; + EmailListPerson?: PersonListSubscribedWebhookPayloadEmailListPersonItem[] | null; /** @nullable */ FullName?: string | null; HasLoggedIn?: boolean; /** `0` - None, `1` - Gmail */ - OAuthIntegrationStatus?: PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus; + OAuthIntegrationStatus?: PersonListSubscribedWebhookPayloadOAuthIntegrationStatus; OptInToEmailList?: boolean; /** @nullable */ Password?: string | null; @@ -5348,25 +5348,27 @@ export interface PersonSegmentAddedWebhookPayload { UserAgentPlatformBrowser?: string | null; HasUnsubscribed?: boolean; /** @nullable */ - DiscordUser?: PersonSegmentAddedWebhookPayloadDiscordUser; + DiscordUser?: PersonListSubscribedWebhookPayloadDiscordUser; IsConnectedToDiscord?: boolean; - ActivityEventData?: PersonSegmentAddedActivityData; + ActivityEventData?: PersonListSubscribedActivityData; } -export interface PersonSegmentRemovedActivityData { +export interface PersonListUnsubscribedActivityData { /** @nullable */ - SegmentUid?: string | null; + EmailListUid?: string | null; + /** @nullable */ + PersonUid?: string | null; /** * @deprecated * @nullable */ - SegmentId?: string | null; + EmaillistId?: string | null; } /** * @nullable */ -export type PersonSegmentRemovedWebhookPayloadMailingAddress = { +export type PersonListUnsubscribedWebhookPayloadMailingAddress = { /** * @maxLength 10 * @nullable @@ -5423,7 +5425,7 @@ export type PersonSegmentRemovedWebhookPayloadMailingAddress = { /** * @nullable */ -export type PersonSegmentRemovedWebhookPayloadPersonAccountItemAccount = { +export type PersonListUnsubscribedWebhookPayloadPersonAccountItemAccount = { /** * @maxLength 10 * @nullable @@ -5433,7 +5435,7 @@ export type PersonSegmentRemovedWebhookPayloadPersonAccountItemAccount = { _objectType?: string | null; } | null; -export type PersonSegmentRemovedWebhookPayloadPersonAccountItem = { +export type PersonListUnsubscribedWebhookPayloadPersonAccountItem = { /** * @maxLength 10 * @nullable @@ -5446,12 +5448,12 @@ export type PersonSegmentRemovedWebhookPayloadPersonAccountItem = { /** @minLength 1 */ Updated: string; /** @nullable */ - Account?: PersonSegmentRemovedWebhookPayloadPersonAccountItemAccount; + Account?: PersonListUnsubscribedWebhookPayloadPersonAccountItemAccount; IsPrimary?: boolean; ReceiveInvoices?: boolean; }; -export type PersonSegmentRemovedWebhookPayloadDealPeopleItem = { +export type PersonListUnsubscribedWebhookPayloadDealPeopleItem = { /** * @maxLength 10 * @nullable @@ -5465,7 +5467,7 @@ export type PersonSegmentRemovedWebhookPayloadDealPeopleItem = { Updated: string; }; -export type PersonSegmentRemovedWebhookPayloadLeadFormSubmissionsItem = { +export type PersonListUnsubscribedWebhookPayloadLeadFormSubmissionsItem = { /** * @maxLength 10 * @nullable @@ -5488,11 +5490,11 @@ export type PersonSegmentRemovedWebhookPayloadLeadFormSubmissionsItem = { /** * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ -export type PersonSegmentRemovedWebhookPayloadAccountAccountStage = typeof PersonSegmentRemovedWebhookPayloadAccountAccountStage[keyof typeof PersonSegmentRemovedWebhookPayloadAccountAccountStage]; +export type PersonListUnsubscribedWebhookPayloadAccountAccountStage = typeof PersonListUnsubscribedWebhookPayloadAccountAccountStage[keyof typeof PersonListUnsubscribedWebhookPayloadAccountAccountStage]; // eslint-disable-next-line @typescript-eslint/no-redeclare -export const PersonSegmentRemovedWebhookPayloadAccountAccountStage = { +export const PersonListUnsubscribedWebhookPayloadAccountAccountStage = { Trialing: 2, Subscribing: 3, Cancelling: 4, @@ -5507,7 +5509,7 @@ export const PersonSegmentRemovedWebhookPayloadAccountAccountStage = { /** * @nullable */ -export type PersonSegmentRemovedWebhookPayloadAccount = { +export type PersonListUnsubscribedWebhookPayloadAccount = { /** * @maxLength 10 * @nullable @@ -5544,7 +5546,7 @@ export type PersonSegmentRemovedWebhookPayloadAccount = { InvoiceNotes?: string | null; IsDemo?: boolean; /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ - AccountStage?: PersonSegmentRemovedWebhookPayloadAccountAccountStage; + AccountStage?: PersonListUnsubscribedWebhookPayloadAccountAccountStage; /** * @maxLength 50 * @nullable @@ -5646,18 +5648,18 @@ export type PersonSegmentRemovedWebhookPayloadAccount = { /** * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ -export type PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; +export type PersonListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; // eslint-disable-next-line @typescript-eslint/no-redeclare -export const PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { +export const PersonListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { Subscribed: 1, Unsubscribed: 2, Cleaned: 3, Confirmed: 4, } as const; -export type PersonSegmentRemovedWebhookPayloadEmailListPersonItem = { +export type PersonListUnsubscribedWebhookPayloadEmailListPersonItem = { /** * @maxLength 10 * @nullable @@ -5670,7 +5672,7 @@ export type PersonSegmentRemovedWebhookPayloadEmailListPersonItem = { /** @minLength 1 */ Updated: string; /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ - EmailListSubscriberStatus?: PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + EmailListSubscriberStatus?: PersonListUnsubscribedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; SubscribedDate?: string; /** @nullable */ ConfirmedDate?: string | null; @@ -5706,11 +5708,11 @@ export type PersonSegmentRemovedWebhookPayloadEmailListPersonItem = { /** * `0` - None, `1` - Gmail */ -export type PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus = typeof PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus]; +export type PersonListUnsubscribedWebhookPayloadOAuthIntegrationStatus = typeof PersonListUnsubscribedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonListUnsubscribedWebhookPayloadOAuthIntegrationStatus]; // eslint-disable-next-line @typescript-eslint/no-redeclare -export const PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus = { +export const PersonListUnsubscribedWebhookPayloadOAuthIntegrationStatus = { None: 0, Gmail: 1, } as const; @@ -5718,7 +5720,7 @@ export const PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus = { /** * @nullable */ -export type PersonSegmentRemovedWebhookPayloadDiscordUser = { +export type PersonListUnsubscribedWebhookPayloadDiscordUser = { /** * @maxLength 10 * @nullable @@ -5749,7 +5751,7 @@ export type PersonSegmentRemovedWebhookPayloadDiscordUser = { DiscordOAuthRefreshToken?: string | null; } | null; -export interface PersonSegmentRemovedWebhookPayload { +export interface PersonListUnsubscribedWebhookPayload { /** * @maxLength 10 * @nullable @@ -5777,7 +5779,7 @@ export interface PersonSegmentRemovedWebhookPayload { */ LastName?: string | null; /** @nullable */ - MailingAddress?: PersonSegmentRemovedWebhookPayloadMailingAddress; + MailingAddress?: PersonListUnsubscribedWebhookPayloadMailingAddress; /** @nullable */ PasswordLastUpdated?: string | null; PasswordMustChange?: boolean; @@ -5834,22 +5836,22 @@ export interface PersonSegmentRemovedWebhookPayload { */ OAuthGoogleProfileId?: string | null; /** @nullable */ - PersonAccount?: PersonSegmentRemovedWebhookPayloadPersonAccountItem[] | null; + PersonAccount?: PersonListUnsubscribedWebhookPayloadPersonAccountItem[] | null; /** @nullable */ - DealPeople?: PersonSegmentRemovedWebhookPayloadDealPeopleItem[] | null; + DealPeople?: PersonListUnsubscribedWebhookPayloadDealPeopleItem[] | null; /** @nullable */ - LeadFormSubmissions?: PersonSegmentRemovedWebhookPayloadLeadFormSubmissionsItem[] | null; + LeadFormSubmissions?: PersonListUnsubscribedWebhookPayloadLeadFormSubmissionsItem[] | null; /** @nullable */ - Account?: PersonSegmentRemovedWebhookPayloadAccount; + Account?: PersonListUnsubscribedWebhookPayloadAccount; /** @nullable */ AccountUids?: string | null; /** @nullable */ - EmailListPerson?: PersonSegmentRemovedWebhookPayloadEmailListPersonItem[] | null; + EmailListPerson?: PersonListUnsubscribedWebhookPayloadEmailListPersonItem[] | null; /** @nullable */ FullName?: string | null; HasLoggedIn?: boolean; /** `0` - None, `1` - Gmail */ - OAuthIntegrationStatus?: PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus; + OAuthIntegrationStatus?: PersonListUnsubscribedWebhookPayloadOAuthIntegrationStatus; OptInToEmailList?: boolean; /** @nullable */ Password?: string | null; @@ -5857,9 +5859,5096 @@ export interface PersonSegmentRemovedWebhookPayload { UserAgentPlatformBrowser?: string | null; HasUnsubscribed?: boolean; /** @nullable */ - DiscordUser?: PersonSegmentRemovedWebhookPayloadDiscordUser; + DiscordUser?: PersonListUnsubscribedWebhookPayloadDiscordUser; IsConnectedToDiscord?: boolean; - ActivityEventData?: PersonSegmentRemovedActivityData; + ActivityEventData?: PersonListUnsubscribedActivityData; +} + +export interface PersonSegmentAddedActivityData { + /** @nullable */ + SegmentUid?: string | null; + /** + * @deprecated + * @nullable + */ + SegmentId?: string | null; +} + +/** + * @nullable + */ +export type PersonSegmentAddedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; + +/** + * @nullable + */ +export type PersonSegmentAddedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; + +export type PersonSegmentAddedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonSegmentAddedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; + +export type PersonSegmentAddedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; + +export type PersonSegmentAddedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonSegmentAddedWebhookPayloadAccountAccountStage = typeof PersonSegmentAddedWebhookPayloadAccountAccountStage[keyof typeof PersonSegmentAddedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSegmentAddedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; + +/** + * @nullable + */ +export type PersonSegmentAddedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonSegmentAddedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; + +export type PersonSegmentAddedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; + +/** + * `0` - None, `1` - Gmail + */ +export type PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus = typeof PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; + +/** + * @nullable + */ +export type PersonSegmentAddedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; + +export interface PersonSegmentAddedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonSegmentAddedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonSegmentAddedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonSegmentAddedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonSegmentAddedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonSegmentAddedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonSegmentAddedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonSegmentAddedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonSegmentAddedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonSegmentAddedActivityData; +} + +export interface PersonSegmentRemovedActivityData { + /** @nullable */ + SegmentUid?: string | null; + /** + * @deprecated + * @nullable + */ + SegmentId?: string | null; +} + +/** + * @nullable + */ +export type PersonSegmentRemovedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; + +/** + * @nullable + */ +export type PersonSegmentRemovedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; + +export type PersonSegmentRemovedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonSegmentRemovedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; + +export type PersonSegmentRemovedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; + +export type PersonSegmentRemovedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonSegmentRemovedWebhookPayloadAccountAccountStage = typeof PersonSegmentRemovedWebhookPayloadAccountAccountStage[keyof typeof PersonSegmentRemovedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSegmentRemovedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; + +/** + * @nullable + */ +export type PersonSegmentRemovedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonSegmentRemovedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; + +export type PersonSegmentRemovedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; + +/** + * `0` - None, `1` - Gmail + */ +export type PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus = typeof PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; + +/** + * @nullable + */ +export type PersonSegmentRemovedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; + +export interface PersonSegmentRemovedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonSegmentRemovedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonSegmentRemovedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonSegmentRemovedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonSegmentRemovedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonSegmentRemovedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonSegmentRemovedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonSegmentRemovedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonSegmentRemovedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonSegmentRemovedActivityData; +} + +export interface PersonSupportTicketCreatedActivityData { + /** @nullable */ + CaseUid?: string | null; +} + +/** + * @nullable + */ +export type PersonSupportTicketCreatedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; + +/** + * @nullable + */ +export type PersonSupportTicketCreatedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; + +export type PersonSupportTicketCreatedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonSupportTicketCreatedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; + +export type PersonSupportTicketCreatedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; + +export type PersonSupportTicketCreatedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonSupportTicketCreatedWebhookPayloadAccountAccountStage = typeof PersonSupportTicketCreatedWebhookPayloadAccountAccountStage[keyof typeof PersonSupportTicketCreatedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketCreatedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; + +/** + * @nullable + */ +export type PersonSupportTicketCreatedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonSupportTicketCreatedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; + +export type PersonSupportTicketCreatedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonSupportTicketCreatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; + +/** + * `0` - None, `1` - Gmail + */ +export type PersonSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus = typeof PersonSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; + +/** + * @nullable + */ +export type PersonSupportTicketCreatedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; + +export interface PersonSupportTicketCreatedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonSupportTicketCreatedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonSupportTicketCreatedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonSupportTicketCreatedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonSupportTicketCreatedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonSupportTicketCreatedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonSupportTicketCreatedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonSupportTicketCreatedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonSupportTicketCreatedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonSupportTicketCreatedActivityData; +} + +export interface PersonSupportTicketUpdatedActivityData { + /** @nullable */ + CaseUid?: string | null; +} + +/** + * @nullable + */ +export type PersonSupportTicketUpdatedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; + +/** + * @nullable + */ +export type PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; + +export type PersonSupportTicketUpdatedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonSupportTicketUpdatedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; + +export type PersonSupportTicketUpdatedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; + +export type PersonSupportTicketUpdatedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonSupportTicketUpdatedWebhookPayloadAccountAccountStage = typeof PersonSupportTicketUpdatedWebhookPayloadAccountAccountStage[keyof typeof PersonSupportTicketUpdatedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketUpdatedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; + +/** + * @nullable + */ +export type PersonSupportTicketUpdatedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonSupportTicketUpdatedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; + +export type PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; + +/** + * `0` - None, `1` - Gmail + */ +export type PersonSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus = typeof PersonSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; + +/** + * @nullable + */ +export type PersonSupportTicketUpdatedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; + +export interface PersonSupportTicketUpdatedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonSupportTicketUpdatedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonSupportTicketUpdatedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonSupportTicketUpdatedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonSupportTicketUpdatedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonSupportTicketUpdatedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonSupportTicketUpdatedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonSupportTicketUpdatedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonSupportTicketUpdatedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonSupportTicketUpdatedActivityData; +} + +export interface PersonLeadFormSubmittedActivityData { + /** @nullable */ + LeadFormUid?: string | null; + /** @nullable */ + RefererUrl?: string | null; +} + +/** + * @nullable + */ +export type PersonLeadFormSubmittedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; + +/** + * @nullable + */ +export type PersonLeadFormSubmittedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; + +export type PersonLeadFormSubmittedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonLeadFormSubmittedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; + +export type PersonLeadFormSubmittedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; + +export type PersonLeadFormSubmittedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonLeadFormSubmittedWebhookPayloadAccountAccountStage = typeof PersonLeadFormSubmittedWebhookPayloadAccountAccountStage[keyof typeof PersonLeadFormSubmittedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonLeadFormSubmittedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; + +/** + * @nullable + */ +export type PersonLeadFormSubmittedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonLeadFormSubmittedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; + +export type PersonLeadFormSubmittedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonLeadFormSubmittedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; + +/** + * `0` - None, `1` - Gmail + */ +export type PersonLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus = typeof PersonLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; + +/** + * @nullable + */ +export type PersonLeadFormSubmittedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; + +export interface PersonLeadFormSubmittedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonLeadFormSubmittedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonLeadFormSubmittedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonLeadFormSubmittedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonLeadFormSubmittedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonLeadFormSubmittedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonLeadFormSubmittedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonLeadFormSubmittedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonLeadFormSubmittedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonLeadFormSubmittedActivityData; +} + +export interface PersonListConfirmedActivityData { + /** @nullable */ + EmailListUid?: string | null; + /** + * @deprecated + * @nullable + */ + EmaillistId?: string | null; +} + +/** + * @nullable + */ +export type PersonListConfirmedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; + +/** + * @nullable + */ +export type PersonListConfirmedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; + +export type PersonListConfirmedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonListConfirmedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; + +export type PersonListConfirmedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; + +export type PersonListConfirmedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonListConfirmedWebhookPayloadAccountAccountStage = typeof PersonListConfirmedWebhookPayloadAccountAccountStage[keyof typeof PersonListConfirmedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListConfirmedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; + +/** + * @nullable + */ +export type PersonListConfirmedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonListConfirmedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; + +export type PersonListConfirmedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonListConfirmedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; + +/** + * `0` - None, `1` - Gmail + */ +export type PersonListConfirmedWebhookPayloadOAuthIntegrationStatus = typeof PersonListConfirmedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonListConfirmedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonListConfirmedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; + +/** + * @nullable + */ +export type PersonListConfirmedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; + +export interface PersonListConfirmedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonListConfirmedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonListConfirmedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonListConfirmedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonListConfirmedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonListConfirmedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonListConfirmedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonListConfirmedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonListConfirmedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonListConfirmedActivityData; +} + +export interface PersonSupportTicketClosedActivityData { + /** @nullable */ + CaseUid?: string | null; + /** @nullable */ + AgentName?: string | null; +} + +/** + * @nullable + */ +export type PersonSupportTicketClosedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; + +/** + * @nullable + */ +export type PersonSupportTicketClosedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; + +export type PersonSupportTicketClosedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: PersonSupportTicketClosedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; + +export type PersonSupportTicketClosedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; + +export type PersonSupportTicketClosedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type PersonSupportTicketClosedWebhookPayloadAccountAccountStage = typeof PersonSupportTicketClosedWebhookPayloadAccountAccountStage[keyof typeof PersonSupportTicketClosedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketClosedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; + +/** + * @nullable + */ +export type PersonSupportTicketClosedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: PersonSupportTicketClosedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type PersonSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof PersonSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof PersonSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; + +export type PersonSupportTicketClosedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: PersonSupportTicketClosedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; + +/** + * `0` - None, `1` - Gmail + */ +export type PersonSupportTicketClosedWebhookPayloadOAuthIntegrationStatus = typeof PersonSupportTicketClosedWebhookPayloadOAuthIntegrationStatus[keyof typeof PersonSupportTicketClosedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PersonSupportTicketClosedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; + +/** + * @nullable + */ +export type PersonSupportTicketClosedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; + +export interface PersonSupportTicketClosedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: PersonSupportTicketClosedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: PersonSupportTicketClosedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: PersonSupportTicketClosedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: PersonSupportTicketClosedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: PersonSupportTicketClosedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: PersonSupportTicketClosedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: PersonSupportTicketClosedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: PersonSupportTicketClosedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: PersonSupportTicketClosedActivityData; +} + +export interface DiscordUserAddedToServerActivityData { + /** @nullable */ + PersonUid?: string | null; + /** @nullable */ + DiscordUserId?: string | null; + /** @nullable */ + DiscordEmail?: string | null; + /** @nullable */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordServerId?: string | null; +} + +/** + * @nullable + */ +export type DiscordUserAddedToServerWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; + +/** + * @nullable + */ +export type DiscordUserAddedToServerWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; + +export type DiscordUserAddedToServerWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: DiscordUserAddedToServerWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; + +export type DiscordUserAddedToServerWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; + +export type DiscordUserAddedToServerWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type DiscordUserAddedToServerWebhookPayloadAccountAccountStage = typeof DiscordUserAddedToServerWebhookPayloadAccountAccountStage[keyof typeof DiscordUserAddedToServerWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserAddedToServerWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; + +/** + * @nullable + */ +export type DiscordUserAddedToServerWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: DiscordUserAddedToServerWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type DiscordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof DiscordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof DiscordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; + +export type DiscordUserAddedToServerWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: DiscordUserAddedToServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; + +/** + * `0` - None, `1` - Gmail + */ +export type DiscordUserAddedToServerWebhookPayloadOAuthIntegrationStatus = typeof DiscordUserAddedToServerWebhookPayloadOAuthIntegrationStatus[keyof typeof DiscordUserAddedToServerWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserAddedToServerWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; + +/** + * @nullable + */ +export type DiscordUserAddedToServerWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; + +export interface DiscordUserAddedToServerWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: DiscordUserAddedToServerWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: DiscordUserAddedToServerWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: DiscordUserAddedToServerWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: DiscordUserAddedToServerWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: DiscordUserAddedToServerWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: DiscordUserAddedToServerWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: DiscordUserAddedToServerWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: DiscordUserAddedToServerWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: DiscordUserAddedToServerActivityData; +} + +export interface DiscordUserRolesUpdatedActivityData { + /** @nullable */ + PersonUid?: string | null; + /** @nullable */ + DiscordUserId?: string | null; + /** @nullable */ + DiscordEmail?: string | null; + /** @nullable */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordServerId?: string | null; + /** @nullable */ + RoleIds?: string | null; +} + +/** + * @nullable + */ +export type DiscordUserRolesUpdatedWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; + +/** + * @nullable + */ +export type DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; + +export type DiscordUserRolesUpdatedWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: DiscordUserRolesUpdatedWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; + +export type DiscordUserRolesUpdatedWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; + +export type DiscordUserRolesUpdatedWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type DiscordUserRolesUpdatedWebhookPayloadAccountAccountStage = typeof DiscordUserRolesUpdatedWebhookPayloadAccountAccountStage[keyof typeof DiscordUserRolesUpdatedWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRolesUpdatedWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; + +/** + * @nullable + */ +export type DiscordUserRolesUpdatedWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: DiscordUserRolesUpdatedWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; + +export type DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; + +/** + * `0` - None, `1` - Gmail + */ +export type DiscordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus = typeof DiscordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus[keyof typeof DiscordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; + +/** + * @nullable + */ +export type DiscordUserRolesUpdatedWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; + +export interface DiscordUserRolesUpdatedWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: DiscordUserRolesUpdatedWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: DiscordUserRolesUpdatedWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: DiscordUserRolesUpdatedWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: DiscordUserRolesUpdatedWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: DiscordUserRolesUpdatedWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: DiscordUserRolesUpdatedWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: DiscordUserRolesUpdatedWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: DiscordUserRolesUpdatedWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: DiscordUserRolesUpdatedActivityData; +} + +export interface DiscordUserRemovedFromServerActivityData { + /** @nullable */ + PersonUid?: string | null; + /** @nullable */ + DiscordUserId?: string | null; + /** @nullable */ + DiscordEmail?: string | null; + /** @nullable */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordServerId?: string | null; + /** @nullable */ + Trigger?: string | null; +} + +/** + * @nullable + */ +export type DiscordUserRemovedFromServerWebhookPayloadMailingAddress = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + AddressLine1?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine2?: string | null; + /** + * @maxLength 250 + * @nullable + */ + AddressLine3?: string | null; + /** + * @maxLength 250 + * @nullable + */ + City?: string | null; + /** + * @maxLength 250 + * @nullable + */ + State?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PostalCode?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Country?: string | null; + /** + * @maxLength 250 + * @nullable + */ + GeoLocation?: string | null; +} | null; + +/** + * @nullable + */ +export type DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; +} | null; + +export type DiscordUserRemovedFromServerWebhookPayloadPersonAccountItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + Account?: DiscordUserRemovedFromServerWebhookPayloadPersonAccountItemAccount; + IsPrimary?: boolean; + ReceiveInvoices?: boolean; +}; + +export type DiscordUserRemovedFromServerWebhookPayloadDealPeopleItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; +}; + +export type DiscordUserRemovedFromServerWebhookPayloadLeadFormSubmissionsItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** @nullable */ + RefererURL?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; +}; + +/** + * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created + */ +export type DiscordUserRemovedFromServerWebhookPayloadAccountAccountStage = typeof DiscordUserRemovedFromServerWebhookPayloadAccountAccountStage[keyof typeof DiscordUserRemovedFromServerWebhookPayloadAccountAccountStage]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRemovedFromServerWebhookPayloadAccountAccountStage = { + Trialing: 2, + Subscribing: 3, + Cancelling: 4, + Expired: 5, + TrialExpired: 6, + PastDue: 7, + CancellingTrial: 8, + Paused: 9, + Created: 10, +} as const; + +/** + * @nullable + */ +export type DiscordUserRemovedFromServerWebhookPayloadAccount = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 255 + * @nullable + */ + StripeId?: string | null; + IsLivemode?: boolean; + /** + * @minLength 1 + * @maxLength 250 + */ + Name?: string; + /** + * @maxLength 250 + * @nullable + */ + ClientIdentifier?: string | null; + /** + * @maxLength 3 + * @nullable + */ + Currency?: string | null; + /** @nullable */ + InvoiceNotes?: string | null; + IsDemo?: boolean; + /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */ + AccountStage?: DiscordUserRemovedFromServerWebhookPayloadAccountAccountStage; + /** + * @maxLength 50 + * @nullable + */ + StripeDefaultPaymentMethodId?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl1?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl2?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl3?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl4?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl5?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl6?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl7?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl8?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl9?: string | null; + /** + * @maxLength 255 + * @nullable + */ + AccountSpecificPageUrl10?: string | null; + /** @nullable */ + RewardFulReferralId?: string | null; + /** + * @maxLength 36 + * @nullable + */ + ToltReferralId?: string | null; + /** + * @maxLength 20 + * @nullable + */ + TaxStatus?: string | null; + /** @nullable */ + AccountStageLabel?: string | null; + /** @nullable */ + CurrentStripeProducts?: string | null; + /** @nullable */ + DomainName?: string | null; + HasLoggedIn?: boolean; + LifetimeRevenue?: number; + /** @nullable */ + NextStripeInvoiceDate?: string | null; + /** @nullable */ + Nonce?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + StripeNextInvoiceSequence?: number | null; + /** @nullable */ + StripePrice?: string[] | null; + /** @nullable */ + StripePromotionCode?: string | null; + /** @nullable */ + TaxId?: string | null; + TaxIdIsInvalid?: boolean; + /** @nullable */ + TaxIdType?: string | null; + /** @nullable */ + WebflowSlug?: string | null; +} | null; + +/** + * `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed + */ +export type DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = typeof DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus[keyof typeof DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus = { + Subscribed: 1, + Unsubscribed: 2, + Cleaned: 3, + Confirmed: 4, +} as const; + +export type DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItem = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** `1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed */ + EmailListSubscriberStatus?: DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItemEmailListSubscriberStatus; + SubscribedDate?: string; + /** @nullable */ + ConfirmedDate?: string | null; + /** + * @maxLength 500 + * @nullable + */ + ConfirmationNotes?: string | null; + /** @nullable */ + UnsubscribedDate?: string | null; + /** @nullable */ + CleanedDate?: string | null; + /** @nullable */ + WelcomeEmailDeliverDateTime?: string | null; + /** @nullable */ + WelcomeEmailOpenDateTime?: string | null; + /** + * @maxLength 20 + * @nullable + */ + UnsubscribeReason?: string | null; + /** @nullable */ + UnsubscribeReasonOther?: string | null; + /** @nullable */ + RecaptchaToken?: string | null; + /** @nullable */ + RecaptchaSiteKey?: string | null; + SendWelcomeEmail?: boolean; + /** @nullable */ + Source?: string | null; +}; + +/** + * `0` - None, `1` - Gmail + */ +export type DiscordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus = typeof DiscordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus[keyof typeof DiscordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus]; + + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DiscordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus = { + None: 0, + Gmail: 1, +} as const; + +/** + * @nullable + */ +export type DiscordUserRemovedFromServerWebhookPayloadDiscordUser = { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created?: string; + /** @minLength 1 */ + Updated?: string; + /** + * @maxLength 250 + * @nullable + */ + DiscordUserId?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordEmail?: string | null; + /** + * @maxLength 250 + * @nullable + */ + DiscordUsername?: string | null; + /** @nullable */ + DiscordOAuthRefreshToken?: string | null; +} | null; + +export interface DiscordUserRemovedFromServerWebhookPayload { + /** + * @maxLength 10 + * @nullable + */ + Uid?: string | null; + /** @nullable */ + _objectType?: string | null; + /** @minLength 1 */ + Created: string; + /** @minLength 1 */ + Updated: string; + /** + * @maxLength 250 + * @nullable + */ + Email?: string | null; + /** + * @maxLength 250 + * @nullable + */ + FirstName?: string | null; + /** + * @maxLength 250 + * @nullable + */ + LastName?: string | null; + /** @nullable */ + MailingAddress?: DiscordUserRemovedFromServerWebhookPayloadMailingAddress; + /** @nullable */ + PasswordLastUpdated?: string | null; + PasswordMustChange?: boolean; + /** + * @maxLength 250 + * @nullable + */ + PhoneMobile?: string | null; + /** + * @maxLength 250 + * @nullable + */ + PhoneWork?: string | null; + /** + * @maxLength 250 + * @nullable + */ + ProfileImageS3Url?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Title?: string | null; + /** + * @maxLength 100 + * @nullable + */ + Timezone?: string | null; + /** + * @maxLength 50 + * @nullable + */ + Language?: string | null; + /** + * @maxLength 250 + * @nullable + */ + IPAddress?: string | null; + /** + * @maxLength 250 + * @nullable + */ + Referer?: string | null; + /** + * @maxLength 1000 + * @nullable + */ + UserAgent?: string | null; + /** @nullable */ + LastLoginDateTime?: string | null; + /** + * @maxLength 50 + * @nullable + */ + OAuthGoogleProfileId?: string | null; + /** @nullable */ + PersonAccount?: DiscordUserRemovedFromServerWebhookPayloadPersonAccountItem[] | null; + /** @nullable */ + DealPeople?: DiscordUserRemovedFromServerWebhookPayloadDealPeopleItem[] | null; + /** @nullable */ + LeadFormSubmissions?: DiscordUserRemovedFromServerWebhookPayloadLeadFormSubmissionsItem[] | null; + /** @nullable */ + Account?: DiscordUserRemovedFromServerWebhookPayloadAccount; + /** @nullable */ + AccountUids?: string | null; + /** @nullable */ + EmailListPerson?: DiscordUserRemovedFromServerWebhookPayloadEmailListPersonItem[] | null; + /** @nullable */ + FullName?: string | null; + HasLoggedIn?: boolean; + /** `0` - None, `1` - Gmail */ + OAuthIntegrationStatus?: DiscordUserRemovedFromServerWebhookPayloadOAuthIntegrationStatus; + OptInToEmailList?: boolean; + /** @nullable */ + Password?: string | null; + /** @nullable */ + UserAgentPlatformBrowser?: string | null; + HasUnsubscribed?: boolean; + /** @nullable */ + DiscordUser?: DiscordUserRemovedFromServerWebhookPayloadDiscordUser; + IsConnectedToDiscord?: boolean; + ActivityEventData?: DiscordUserRemovedFromServerActivityData; } export type AuthGetTokenParams = {