{
  "x-generator": "NSwag v14.6.3.0 (NJsonSchema v11.5.2.0 (Newtonsoft.Json v13.0.0.0))",
  "openapi": "3.0.0",
  "info": {
    "title": "Outseta API",
    "description": "# Outseta REST API\n\nThe Outseta REST API lets you manage people, accounts, subscriptions, invoices, email, and support resources over HTTPS. Responses are JSON unless an endpoint documents another format, such as an invoice PDF.\n\n**Base URL:** `https://{your-domain}.outseta.com/api/v1/`\n\n## Contents\n\n- [Quick start](#quick-start)\n- [Authentication](#authentication)\n  - [Server-side API keys](#server-side-api-keys)\n  - [Client-side bearer tokens](#client-side-bearer-tokens)\n  - [Two-factor authentication](#two-factor-authentication-2fa-during-login)\n  - [Forced 2FA enrollment](#forced-2fa-enrollment-during-login)\n- [Working with collections](#working-with-collections)\n  - [Field selection](#field-selection)\n  - [Pagination](#pagination)\n  - [Sorting](#sorting)\n  - [Filtering](#filtering)\n  - [Sorting and filtering metadata](#sorting-and-filtering-metadata)\n- [Account billing stages](#account-billing-stages)\n- [Error responses](#error-responses)\n- [Rate limits](#rate-limits)\n- [Support](#support)\n- [Webhooks](#webhooks)\n- [Endpoint index](#endpoint-index)\n\n## Quick start\n\nAuthenticate every request with either a server-side API key or a user bearer token. For example:\n\n```http\nGET /api/v1/crm/accounts?limit=20&fields=Uid,Name HTTP/1.1\nHost: example.outseta.com\nAuthorization: Outseta {api_key}:{api_secret}\n```\n\nList endpoints return a consistent envelope:\n\n```json\n{\n  \"metadata\": {\n    \"limit\": 20,\n    \"offset\": 0,\n    \"total\": 142\n  },\n  \"items\": []\n}\n```\n\nUse `limit` and `offset` for [pagination](#pagination), `fields` to control the response shape, `orderBy` for sorting, and entity properties for filtering.\n\nGeneral request behavior:\n\n- Use HTTPS. HTTP requests are redirected to HTTPS with `301`.\n- `GET` retrieves, `POST` creates or invokes an action, `PUT` updates, and `DELETE` removes.\n- The API returns standard HTTP status codes. Error details are returned as JSON.\n- Add `donotlog=1` to a request that should not appear in the activity log.\n\n## Authentication\n\nAll API requests require authentication via one of two methods:\n\n### Server-Side (API Keys)\n\nUse API keys for server-to-server integrations. Create keys at **Settings > Integrations > API Keys**. Make sure to record the secret key when you create it.\n\n```\nAuthorization: Outseta {api_key}:{api_secret}\n```\n\n**Example:**\n```\nAuthorization: Outseta ce08fd5a-e1ee-4472-9c5f-b7575d8369b2:74fc1d2242a4eb7336d34b0e40cfbc5f\n```\n\n> **Warning:** Never expose API keys in client-side code. The API key and secret combined give full access to all data in your account.\n\n### Client-Side (Bearer Token)\n\nDo **not** use API keys on the client side — they can be easily copied. Instead, obtain a JWT access token by calling the `POST /tokens` endpoint from the server side with your credentials, then use it on the client:\n\n```\nAuthorization: bearer {access_token}\n```\n\nTokens are JWTs containing claims such as `PersonUid`, `AccountUid`, and subscription details. Tokens expire after approximately one year.\n\nVerify tokens server-side using Outseta's [JWKS endpoint](https://{your-domain}.outseta.com/.well-known/jwks.json).\n\n### Two-Factor Authentication (2FA) During Login\n\nWhen a user has enabled two-factor authentication, a username and password are\nno longer sufficient to obtain a token — the login becomes a two-step exchange.\nYou do not need to call any endpoint up front to discover whether 2FA is on; the\nresponse to `POST /tokens` tells you.\n\n**Step 1 — Attempt login as usual.**\n\n```\nPOST /api/v1/tokens\nContent-Type: application/json\n\n{ \"username\": \"user@example.com\", \"password\": \"their-password\" }\n```\n\nIf the user has no 2FA enabled, you get the normal `200` token response and\nyou're done:\n\n```json\n{ \"access_token\": \"eyJ...\", \"token_type\": \"Bearer\", \"expires_in\": 31536000 }\n```\n\nIf the user **does** have 2FA enabled, the password is verified and the response\nis `202 Accepted` with a challenge instead of a token:\n\n```json\n{\n  \"two_factor_required\": true,\n  \"challenge_token\": \"eyJ...\",\n  \"mechanism\": \"Totp\",\n  \"masked_destination\": \"\",\n  \"expires_in\": 600,\n  \"available_mechanisms\": [\"Totp\", \"Email\"],\n  \"recovery_codes_available\": true\n}\n```\n\nThis single response answers everything you need to know about the user's 2FA:\n\n| Field | Meaning |\n|-------|---------|\n| `mechanism` | The method this challenge targets: `Email` or `Totp` (authenticator app). **If `Email`, a one-time code has already been emailed to the user.** If `Totp`, nothing is sent — the user reads the current code from their authenticator app. |\n| `masked_destination` | Where an emailed code was sent, masked for display (e.g. `b***@outseta.com`). Empty when `mechanism` is `Totp`. |\n| `available_mechanisms` | Every method the user has enrolled. Use this to show the user their options (and to enable \"use a different method\"). |\n| `recovery_codes_available` | Whether the user has recovery codes they can fall back to. |\n| `challenge_token` | Opaque, short-lived token (valid for `expires_in` seconds, 600 = 10 minutes) that ties the next request to this challenge. Echo it back verbatim. |\n\n> When both an authenticator app and email are enrolled, Outseta picks the\n> authenticator app (`Totp`) as the default `mechanism` because it requires no\n> \"check your inbox\" step. The user can switch to email — see below.\n\n**Step 2 — Submit the code to get the token.**\n\nCollect the 6-digit code from the user (from their email or authenticator app)\nand post it along with the `challenge_token`:\n\n```\nPOST /api/v1/tokens/two-factor\nContent-Type: application/json\n\n{ \"challenge_token\": \"eyJ...\", \"code\": \"123456\" }\n```\n\nOn success you receive the final JWT — the same shape as a normal login, and the\ntoken you use as the `Authorization: bearer {access_token}` for subsequent calls:\n\n```json\n{ \"access_token\": \"eyJ...\", \"token_type\": \"Bearer\", \"expires_in\": 31536000 }\n```\n\nError responses:\n\n| Status | Body | Meaning |\n|--------|------|---------|\n| `400` | `invalid_grant` | The code was wrong or missing. The challenge allows up to 5 attempts before it locks. |\n| `410` | `challenge_expired` | The challenge token expired (older than 10 minutes). Start over at `POST /tokens`. |\n| `429` | — | Too many attempts; retry after a minute. |\n\n**Optional helper endpoints** (all take the `challenge_token` from Step 1):\n\n- **Resend an emailed code** — `POST /api/v1/tokens/two-factor/resend` with\n  `{ \"challenge_token\": \"...\" }`. Returns a fresh challenge (same shape as the\n  `202` above). Only valid for `Email` challenges; a `Totp` challenge returns\n  `400` `not_supported`.\n- **Switch to a different method** — `POST /api/v1/tokens/two-factor/switch-mechanism`\n  with `{ \"challenge_token\": \"...\", \"mechanism\": \"Email\" }`. Use this when the\n  user picks one of the other `available_mechanisms` (e.g. they can't reach their\n  authenticator). Returns a fresh challenge for the chosen mechanism (and sends a\n  code when switching to `Email`).\n- **Use a recovery code** — `POST /api/v1/tokens/two-factor/recovery` with\n  `{ \"challenge_token\": \"...\", \"recovery_code\": \"abcd-efgh-ijkl\" }`. Returns the\n  final JWT, exactly like Step 2. Each recovery code is single-use.\n\n### Forced 2FA Enrollment During Login\n\nAccounts can be configured to *require* 2FA. When a user who has not yet set it\nup tries to log in, they must enroll a method before they can get a token —\nall in the same login flow.\n\n**Step 1 — Attempt login.** Exactly as above. If the account forces 2FA and the\nuser has no method enrolled, `POST /api/v1/tokens` verifies the password and\nreturns `202 Accepted` with `two_factor_enrollment_required` (instead of\n`two_factor_required`):\n\n```json\n{\n  \"two_factor_enrollment_required\": true,\n  \"challenge_token\": \"eyJ...\",\n  \"expires_in\": 600\n}\n```\n\nThat `challenge_token` is the **enrollment token** — it proves the user's\nidentity for the rest of the flow. Pass it as `enrollment_token` in every call\nbelow. Let the user pick a method (email or an authenticator app) and run the\nmatching two-step *begin → confirm* sequence.\n\n**Option A — Enroll an authenticator app (recommended).**\n\n1. Begin — exchange the enrollment token for a shared secret:\n\n   ```\n   POST /api/v1/tokens/two-factor/enroll/totp/begin\n   { \"enrollment_token\": \"eyJ...\" }\n   ```\n   ```json\n   {\n     \"challenge_token\": \"eyJ...\",\n     \"secret\": \"JBSWY3DPEHPK3PXP\",\n     \"otpauth_uri\": \"otpauth://totp/Acme:user@example.com?secret=...&issuer=Acme\",\n     \"qr_code_png_base64\": \"iVBORw0KGgo...\",\n     \"expires_in\": 600\n   }\n   ```\n   Have the user add the secret to their authenticator app — scan\n   `qr_code_png_base64` (render it as an image), open `otpauth_uri`, or type the\n   `secret` manually.\n\n2. Confirm — submit the first code the app generates:\n\n   ```\n   POST /api/v1/tokens/two-factor/enroll/totp/confirm\n   { \"enrollment_token\": \"eyJ...\", \"challenge_token\": \"eyJ...\", \"code\": \"123456\" }\n   ```\n\n**Option B — Enroll email.**\n\n1. Begin — a code is emailed to the user:\n\n   ```\n   POST /api/v1/tokens/two-factor/enroll/email/begin\n   { \"enrollment_token\": \"eyJ...\" }\n   ```\n   ```json\n   { \"challenge_token\": \"eyJ...\", \"mechanism\": \"Email\", \"masked_destination\": \"b***@outseta.com\", \"expires_in\": 600 }\n   ```\n\n2. Confirm — submit the emailed code:\n\n   ```\n   POST /api/v1/tokens/two-factor/enroll/email/confirm\n   { \"enrollment_token\": \"eyJ...\", \"challenge_token\": \"eyJ...\", \"code\": \"123456\" }\n   ```\n\n**Confirm response (both options).** A successful confirm enables the method\n*and* completes the login in one shot — it returns the final JWT plus the user's\nrecovery codes:\n\n```json\n{\n  \"confirmed\": true,\n  \"recovery_codes\": [\"abcd-efgh-ijkl\", \"mnop-qrst-uvwx\", \"...\"],\n  \"access_token\": \"eyJ...\",\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 31536000\n}\n```\n\n> Show `recovery_codes` to the user **once** and prompt them to save the codes —\n> they are generated as part of first-time enrollment and are never returned\n> again. Each is single-use at `POST /api/v1/tokens/two-factor/recovery`.\n\nNotes:\n\n- Both `begin` calls pass only the `enrollment_token`; both `confirm` calls pass\n  the `enrollment_token`, the `challenge_token` from the matching `begin`, and the\n  `code`.\n- `401` means the enrollment token is missing/invalid/expired (restart at Step 1);\n  `403` means forced enrollment does not apply to the user; `400` (`invalid_grant`)\n  means a wrong code; `410` (`challenge_expired`) means the challenge timed out.\n- Each token/challenge is valid for 10 minutes (`expires_in` = 600). If the user\n  takes too long, restart at `POST /api/v1/tokens`.\n- After enrollment, the user is a normal 2FA user — subsequent logins follow the\n  standard challenge flow described above, not this enrollment flow.\n\n## Working with collections\n\nCollection endpoints support field selection, pagination, sorting, and filtering. Unless an endpoint says otherwise, these options can be combined in the same request.\n\n### Field selection\n\nWhen you make an API request, you'll automatically get all the basic information from the main object and its immediate child objects. Referenced objects beyond the first level are returned as `null`.\n\nChange this behavior using the `fields` query parameter:\n\n- **Go deeper** — Request fields lower down in the object tree: `?fields=CurrentSubscription.Plan.*`\n- **Go lighter** — Request only the essentials for faster performance: `?fields=Uid,Name`\n- **Combination** — `?fields=Uid,Name,CurrentSubscription.Plan.Uid`\n- **Wildcard** — Use `*` to get all fields in an object: `?fields=*` or `?fields=CurrentSubscription.Plan.*`\n\n> **Tip:** When expanding nested paths, include `*` and intermediate path segments (e.g., `PersonAccount.*`) to preserve root-level and intermediate fields.\n\n**Examples:**\n\n```\n# Get the current subscription plan UID for an account\nGET /crm/accounts/{uid}?fields=CurrentSubscription.Plan.Uid\n\n# Get the account UID and plan UID for a list of accounts\nGET /crm/accounts?fields=Uid,CurrentSubscription.Plan.Uid\n\n# Get the full plan object for an account's current subscription\nGET /crm/accounts/{uid}?fields=CurrentSubscription.Plan.*\n\n# Get a person with their account and subscription info\nGET /crm/people/{uid}?fields=Uid,PersonAccount.Account.CurrentSubscription.Plan.Uid\n```\n\nIf your request includes fields from a child object you will be limited to retrieving **25 items** per page. The maximum for requests not expanding child object fields is **100 items**.\n\n### Pagination\n\nList endpoints return paginated results with a `metadata` object and an `items` array:\n\n```json\n{\n  \"metadata\": {\n    \"limit\": 25,\n    \"offset\": 0,\n    \"total\": 142\n  },\n  \"items\": [ ... ]\n}\n```\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `offset` | integer | `0` | Zero-based page number, not a record offset |\n| `limit` | integer | `25` | Requested page size. Capped at `100`, or `25` when requested fields expand child objects or require additional queries; `metadata.limit` reports the applied value |\n\n**Examples:**\n```\n?offset=0&limit=20     # page 1 (index 0) — results 1-20\n?offset=1&limit=20     # page 2 (index 1) — results 21-40\n?offset=20&limit=20    # page index 20 — results 401-420, NOT results 21-40\n```\n\n### Sorting\n\nSort results using the `orderBy` parameter with a property name and direction:\n\n```\n?orderBy=PropertyName+DESC\n```\n\n`orderBy` generally supports database-backed scalar properties. Support for nested paths is endpoint-specific, especially when a path traverses a collection and does not identify a single ordering value. Important known unsupported paths, including calculated properties, are listed in the endpoint's `x-outseta-sort-denylist`; this list is curated rather than exhaustive.\n\n### Filtering\n\nFilter results by passing entity properties as query parameters.\n\n#### Basic filtering\n\nFilter on any field using the field name as a query parameter:\n\n```\nGET /crm/people?Email=john@example.com\nGET /crm/accounts?AccountStage=2\n```\n\n#### Wildcard matching\n\n| Pattern | Match Type | Example |\n|---------|-----------|---------|\n| `*value` | Ends with | `?Email=*@example.com` |\n| `value*` | Starts with | `?Name=Acme*` |\n| `*value*` | Contains | `?Name=*corp*` |\n\n#### Comparison operators\n\nFor advanced filtering, append comparison operators to field names:\n\n| Operator | Description | Example |\n|----------|-------------|---------|\n| `__gt` | Greater than | `Created__gt=2024-01-01` |\n| `__gte` | Greater than or equal | `Amount__gte=100` |\n| `__lt` | Less than | `Created__lt=2024-12-31` |\n| `__lte` | Less than or equal | `Amount__lte=500` |\n| `__ne` | Not equal | `Status__ne=Active` |\n| `__isnull` | Is null (true/false) | `ProfileImageS3Url__isnull=true` |\n\n**Examples:**\n\n```\n# Date filtering\nGET /crm/accounts?Created__gt=2024-01-01\nGET /billing/subscriptions?EndDate__lt=2024-08-01\n\n# Numeric filtering\nGET /billing/invoices?Amount__gte=1000\n\n# Null value filtering\nGET /crm/people?ProfileImageS3Url__isnull=true\n\n# Multiple filters combined with field selection\nGET /billing/subscriptions?StartDate__gte=2024-01-01&EndDate__isnull=true&fields=Uid,StartDate,EndDate,Plan.Name\n```\n\n### Sorting and filtering metadata\n\nCollection operations in the OpenAPI document can include `x-outseta-sort-denylist` and `x-outseta-filter-denylist`. Each extension is an array of property paths, relative to an item in that operation's response collection, that the operation does not support for sorting or filtering. Paths can be nested.\n\n```yaml\nx-outseta-sort-denylist:\n  - CurrentSubscription.Rate\nx-outseta-filter-denylist:\n  - CurrentSubscription.Rate\n```\n\nThese lists currently prioritize high-value financial and CRM properties that API consumers frequently attempt to query. They are curated rather than exhaustive, so the absence of a property is not by itself a guarantee that every query shape is supported.\n\n## Account Billing Stages\n\nAccount stages reflect the financial standing of each account and are not directly editable — they change automatically based on subscription activity.\n\n| Value | Stage | Description |\n|-------|-------|-------------|\n| `2` | Trialing | Currently on a free trial or free plan |\n| `3` | Subscribing | Active paid subscription (contributes to MRR) |\n| `4` | Canceling | Customer has indicated intent to cancel |\n| `5` | Expired | Subscription has ended after cancellation |\n| `6` | Trial Expired | Free trial ended without conversion to paid |\n\nFilter by stage: `GET /crm/accounts?AccountStage=3` returns all actively subscribing accounts.\n\n## Error Responses\n\n| Status Code | Description |\n|-------------|-------------|\n| `200` | Success |\n| `301` | Redirect — HTTP requests are redirected to HTTPS |\n| `400` | Bad request — invalid parameters or Uid format |\n| `401` | Unauthorized — missing or invalid authentication |\n| `404` | Entity not found |\n| `4XX` / `5XX` | Client or server error |\n\nValidation errors return a JSON body with `ErrorMessage` and `PropertyName` fields:\n\n```json\n{\n  \"ErrorMessage\": \"Invalid company email\",\n  \"PropertyName\": \"Email\"\n}\n```\n\n## Rate Limits\n\nRequests authorized by an API Key should not exceed **4 requests/second**.\n\n## Support\n\nFor help regarding the Outseta API please email [support@outseta.com](mailto:support@outseta.com).\n\n## Webhooks\n\nUse **Activity Notifications** to receive real-time callbacks when events occur in Outseta. Configure webhook URLs and their SHA256 signing secrets at **Settings > Notifications**. Always verify the signature before processing a request.\n\nOutseta sends an HTTP `POST` to each registered callback URL. The payload is the activity's entity restricted to a subset of fields, with an `ActivityEventData` property carrying activity-specific data.\n\n| Activity | Entity | Payload schema |\n| --- | --- | --- |\n| `AccountCreated` | `Account` | `AccountCreatedWebhookPayload` |\n| `AccountUpdated` | `Account` | `AccountUpdatedWebhookPayload` |\n| `AccountAddPerson` | `Account` | `AccountAddPersonWebhookPayload` |\n| `AccountStageUpdated` | `Account` | `AccountStageUpdatedWebhookPayload` |\n| `AccountDeleted` | `Account` | `AccountDeletedWebhookPayload` |\n| `AccountBillingInformationUpdated` | `Account` | `AccountBillingInformationUpdatedWebhookPayload` |\n| `AccountSubscriptionPlanUpdated` | `Account` | `AccountSubscriptionPlanUpdatedWebhookPayload` |\n| `AccountSubscriptionPaymentCollected` | `Account` | `AccountSubscriptionPaymentCollectedWebhookPayload` |\n| `AccountSubscriptionPaymentDeclined` | `Account` | `AccountSubscriptionPaymentDeclinedWebhookPayload` |\n| `AccountBillingInformationRequested` | `Account` | `AccountBillingInformationRequestedWebhookPayload` |\n| `AccountBillingInvoiceEmailSent` | `Invoice` | `AccountBillingInvoiceEmailSentWebhookPayload` |\n| `AccountRemovePerson` | `Account` | `AccountRemovePersonWebhookPayload` |\n| `AccountPaidSubscriptionCreated` | `Account` | `AccountPaidSubscriptionCreatedWebhookPayload` |\n| `AccountBillingInformationRemoved` | `Account` | `AccountBillingInformationRemovedWebhookPayload` |\n| `AccountPrimaryPersonUpdated` | `Account` | `AccountPrimaryPersonUpdatedWebhookPayload` |\n| `AccountBillingInvoiceCreated` | `Invoice` | `AccountBillingInvoiceCreatedWebhookPayload` |\n| `AccountSubscriptionStarted` | `Account` | `AccountSubscriptionStartedWebhookPayload` |\n| `AccountSubscriptionRenewalExtended` | `Account` | `AccountSubscriptionRenewalExtendedWebhookPayload` |\n| `AccountSubscriptionAddOnsChanged` | `Account` | `AccountSubscriptionAddOnsChangedWebhookPayload` |\n| `AccountSubscriptionCancellationRequested` | `Account` | `AccountSubscriptionCancellationRequestedWebhookPayload` |\n| `AccountBillingInvoiceDeleted` | `Invoice` | `AccountBillingInvoiceDeletedWebhookPayload` |\n| `AccountPersonRoleUpdated` | `Account` | `AccountPersonRoleUpdatedWebhookPayload` |\n| `PersonCreated` | `Person` | `PersonCreatedWebhookPayload` |\n| `PersonUpdated` | `Person` | `PersonUpdatedWebhookPayload` |\n| `PersonDeleted` | `Person` | `PersonDeletedWebhookPayload` |\n| `PersonLogin` | `Account` | `PersonLoginWebhookPayload` |\n| `PersonListSubscribed` | `Person` | `PersonListSubscribedWebhookPayload` |\n| `PersonListUnsubscribed` | `Person` | `PersonListUnsubscribedWebhookPayload` |\n| `PersonSegmentAdded` | `Person` | `PersonSegmentAddedWebhookPayload` |\n| `PersonSegmentRemoved` | `Person` | `PersonSegmentRemovedWebhookPayload` |\n| `PersonEmailOpened` | `Person` | `PersonEmailOpenedWebhookPayload` |\n| `PersonEmailClicked` | `Person` | `PersonEmailClickedWebhookPayload` |\n| `PersonEmailBounce` | `Person` | `PersonEmailBounceWebhookPayload` |\n| `PersonEmailSpam` | `Person` | `PersonEmailSpamWebhookPayload` |\n| `PersonSupportTicketCreated` | `Person` | `PersonSupportTicketCreatedWebhookPayload` |\n| `PersonSupportTicketUpdated` | `Person` | `PersonSupportTicketUpdatedWebhookPayload` |\n| `PersonLeadFormSubmitted` | `Person` | `PersonLeadFormSubmittedWebhookPayload` |\n| `PersonListConfirmed` | `Person` | `PersonListConfirmedWebhookPayload` |\n| `PersonEmailSubscribed` | `Person` | `PersonEmailSubscribedWebhookPayload` |\n| `PersonEmailUnsubscribed` | `Person` | `PersonEmailUnsubscribedWebhookPayload` |\n| `PersonTemporaryPasswordSet` | `Person` | `PersonTemporaryPasswordSetWebhookPayload` |\n| `PersonSupportTicketClosed` | `Person` | `PersonSupportTicketClosedWebhookPayload` |\n| `PersonTwoFactorRecoveryCodesRegenerated` | `Person` | `PersonTwoFactorRecoveryCodesRegeneratedWebhookPayload` |\n| `DealCreated` | `Deal` | `DealCreatedWebhookPayload` |\n| `DealUpdated` | `Deal` | `DealUpdatedWebhookPayload` |\n| `DealDeleted` | `Deal` | `DealDeletedWebhookPayload` |\n| `DealDueDate` | `Deal` | `DealDueDateWebhookPayload` |\n| `PlanCreated` | `Plan` | `PlanCreatedWebhookPayload` |\n| `PlanUpdated` | `Plan` | `PlanUpdatedWebhookPayload` |\n| `AddOnCreated` | `AddOn` | `AddOnCreatedWebhookPayload` |\n| `AddOnUpdated` | `AddOn` | `AddOnUpdatedWebhookPayload` |\n| `DiscordUserLinked` | `Person` | `DiscordUserLinkedWebhookPayload` |\n| `DiscordUserAddedToServer` | `Person` | `DiscordUserAddedToServerWebhookPayload` |\n| `DiscordUserRolesUpdated` | `Person` | `DiscordUserRolesUpdatedWebhookPayload` |\n| `DiscordUserRemovedFromServer` | `Person` | `DiscordUserRemovedFromServerWebhookPayload` |\n\n`TaskCreated` and `TaskUpdated` are not listed above because their payload is polymorphic: the webhook is rooted on the entity the task is associated with (an `Account`, `Person`, or `Deal`), with the task itself carried in the `ActivityEventData` property. Because the root entity varies per task, they do not have a single fixed payload schema.\n\n\n\n| Activity | Entity | Payload schema |\n| --- | --- | --- |\n| `AccountCreated` | `Account` | `AccountCreatedWebhookPayload` |\n| `AccountUpdated` | `Account` | `AccountUpdatedWebhookPayload` |\n| `AccountAddPerson` | `Account` | `AccountAddPersonWebhookPayload` |\n| `AccountStageUpdated` | `Account` | `AccountStageUpdatedWebhookPayload` |\n| `AccountDeleted` | `Account` | `AccountDeletedWebhookPayload` |\n| `AccountBillingInformationUpdated` | `Account` | `AccountBillingInformationUpdatedWebhookPayload` |\n| `AccountSubscriptionPlanUpdated` | `Account` | `AccountSubscriptionPlanUpdatedWebhookPayload` |\n| `AccountSubscriptionPaymentCollected` | `Account` | `AccountSubscriptionPaymentCollectedWebhookPayload` |\n| `AccountSubscriptionPaymentDeclined` | `Account` | `AccountSubscriptionPaymentDeclinedWebhookPayload` |\n| `AccountBillingInformationRequested` | `Account` | `AccountBillingInformationRequestedWebhookPayload` |\n| `AccountBillingInvoiceEmailSent` | `Invoice` | `AccountBillingInvoiceEmailSentWebhookPayload` |\n| `AccountRemovePerson` | `Account` | `AccountRemovePersonWebhookPayload` |\n| `AccountPaidSubscriptionCreated` | `Account` | `AccountPaidSubscriptionCreatedWebhookPayload` |\n| `AccountBillingInformationRemoved` | `Account` | `AccountBillingInformationRemovedWebhookPayload` |\n| `AccountPrimaryPersonUpdated` | `Account` | `AccountPrimaryPersonUpdatedWebhookPayload` |\n| `AccountBillingInvoiceCreated` | `Invoice` | `AccountBillingInvoiceCreatedWebhookPayload` |\n| `AccountSubscriptionStarted` | `Account` | `AccountSubscriptionStartedWebhookPayload` |\n| `AccountSubscriptionRenewalExtended` | `Account` | `AccountSubscriptionRenewalExtendedWebhookPayload` |\n| `AccountSubscriptionAddOnsChanged` | `Account` | `AccountSubscriptionAddOnsChangedWebhookPayload` |\n| `AccountSubscriptionCancellationRequested` | `Account` | `AccountSubscriptionCancellationRequestedWebhookPayload` |\n| `AccountBillingInvoiceDeleted` | `Invoice` | `AccountBillingInvoiceDeletedWebhookPayload` |\n| `AccountPersonRoleUpdated` | `Account` | `AccountPersonRoleUpdatedWebhookPayload` |\n| `PersonCreated` | `Person` | `PersonCreatedWebhookPayload` |\n| `PersonUpdated` | `Person` | `PersonUpdatedWebhookPayload` |\n| `PersonDeleted` | `Person` | `PersonDeletedWebhookPayload` |\n| `PersonLogin` | `Account` | `PersonLoginWebhookPayload` |\n| `PersonListSubscribed` | `Person` | `PersonListSubscribedWebhookPayload` |\n| `PersonListUnsubscribed` | `Person` | `PersonListUnsubscribedWebhookPayload` |\n| `PersonSegmentAdded` | `Person` | `PersonSegmentAddedWebhookPayload` |\n| `PersonSegmentRemoved` | `Person` | `PersonSegmentRemovedWebhookPayload` |\n| `PersonEmailOpened` | `Person` | `PersonEmailOpenedWebhookPayload` |\n| `PersonEmailClicked` | `Person` | `PersonEmailClickedWebhookPayload` |\n| `PersonEmailBounce` | `Person` | `PersonEmailBounceWebhookPayload` |\n| `PersonEmailSpam` | `Person` | `PersonEmailSpamWebhookPayload` |\n| `PersonSupportTicketCreated` | `Person` | `PersonSupportTicketCreatedWebhookPayload` |\n| `PersonSupportTicketUpdated` | `Person` | `PersonSupportTicketUpdatedWebhookPayload` |\n| `PersonLeadFormSubmitted` | `Person` | `PersonLeadFormSubmittedWebhookPayload` |\n| `PersonListConfirmed` | `Person` | `PersonListConfirmedWebhookPayload` |\n| `PersonEmailSubscribed` | `Person` | `PersonEmailSubscribedWebhookPayload` |\n| `PersonEmailUnsubscribed` | `Person` | `PersonEmailUnsubscribedWebhookPayload` |\n| `PersonTemporaryPasswordSet` | `Person` | `PersonTemporaryPasswordSetWebhookPayload` |\n| `PersonSupportTicketClosed` | `Person` | `PersonSupportTicketClosedWebhookPayload` |\n| `PersonTwoFactorRecoveryCodesRegenerated` | `Person` | `PersonTwoFactorRecoveryCodesRegeneratedWebhookPayload` |\n| `DealCreated` | `Deal` | `DealCreatedWebhookPayload` |\n| `DealUpdated` | `Deal` | `DealUpdatedWebhookPayload` |\n| `DealDeleted` | `Deal` | `DealDeletedWebhookPayload` |\n| `DealDueDate` | `Deal` | `DealDueDateWebhookPayload` |\n| `PlanCreated` | `Plan` | `PlanCreatedWebhookPayload` |\n| `PlanUpdated` | `Plan` | `PlanUpdatedWebhookPayload` |\n| `AddOnCreated` | `AddOn` | `AddOnCreatedWebhookPayload` |\n| `AddOnUpdated` | `AddOn` | `AddOnUpdatedWebhookPayload` |\n| `DiscordUserLinked` | `Person` | `DiscordUserLinkedWebhookPayload` |\n| `DiscordUserAddedToServer` | `Person` | `DiscordUserAddedToServerWebhookPayload` |\n| `DiscordUserRolesUpdated` | `Person` | `DiscordUserRolesUpdatedWebhookPayload` |\n| `DiscordUserRemovedFromServer` | `Person` | `DiscordUserRemovedFromServerWebhookPayload` |\n\n`TaskCreated` and `TaskUpdated` are not listed above because their payload is polymorphic: the webhook is rooted on the entity the task is associated with (an `Account`, `Person`, or `Deal`), with the task itself carried in the `ActivityEventData` property. Because the root entity varies per task, they do not have a single fixed payload schema.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://{subdomain}.outseta.com",
      "description": "Your Outseta account",
      "variables": {
        "subdomain": {
          "default": "your-subdomain",
          "description": "Your Outseta account subdomain — the part before \".outseta.com\" in your admin URL."
        }
      }
    }
  ],
  "paths": {
    "/api/v1/attributes/{entityType}/definitions": {
      "get": {
        "tags": [
          "Attribute"
        ],
        "summary": "Retrieve all custom attribute definitions.",
        "description": "entityType is the name of an EntityType enum value, for example: Account, Person,\nDeal. Definitions describe the labels, system names, and control types of\nthe custom attributes that have been added to that entity.",
        "operationId": "Definition_GetAllDefinitions",
        "parameters": [
          {
            "name": "entityType",
            "in": "path",
            "required": true,
            "description": "The entity type whose attribute definitions to retrieve (e.g. Account, Person, Deal)",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/offset"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "ControlType": "string",
                        "ControlParams": "string",
                        "Label": "string",
                        "SystemName": "string",
                        "EntityType": 0,
                        "Position": 0,
                        "Hidden": false
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Definition"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/attributes/definitions/{definitionUid}": {
      "get": {
        "tags": [
          "Attribute"
        ],
        "summary": "Retrieve a custom attribute definition.",
        "description": "The entityType segment of the URL must match the type the definition belongs to\n(e.g. Account, Person, Deal).",
        "operationId": "Definition_GetDefinition",
        "parameters": [
          {
            "name": "definitionUid",
            "in": "path",
            "required": true,
            "description": "The definition's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Definition"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "404": {
            "description": "Definition not found"
          }
        }
      }
    },
    "/api/v1/public/email/lists/{emailListUid}/subscriptions": {
      "post": {
        "tags": [
          "Public"
        ],
        "summary": "Publicly subscribe a person to an email list.",
        "description": "This endpoint does not require authentication. The email list must be public, and the\nsubscription is subject to bot protection and the list's double opt-in settings.",
        "operationId": "PublicEmailList_AddSubscription",
        "parameters": [
          {
            "name": "emailListUid",
            "in": "path",
            "required": true,
            "description": "The email list's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "subscription",
          "description": "The subscription to create, including a Person with an email address",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EmailListPerson"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "404": {
            "description": "Entity not found"
          }
        }
      }
    },
    "/api/v1/tokens": {
      "post": {
        "tags": [
          "Public"
        ],
        "summary": "Log a user in.",
        "description": "Authenticates a user and returns a JWT access token (plus a refresh token).\n\nPost a JSON body with the user's credentials:\n\n```json\n{ \"username\": \"user@example.com\", \"password\": \"their-password\" }\n```\n\nOn success the response is `200` with an access token and refresh token:\n\n```json\n{ \"access_token\": \"eyJ...\", \"refresh_token\": \"...\", \"token_type\": \"Bearer\", \"expires_in\": 31536000 }\n```\n\n**Two-factor authentication.** If the user has a verified 2FA method,\nthe password alone is not enough. After verifying the password this\nendpoint instead returns `202 Accepted` with a challenge that must be\nsatisfied via `POST /api/v1/tokens/two-factor`:\n\n```json\n{\n  \"two_factor_required\": true,\n  \"challenge_token\": \"eyJ...\",\n  \"mechanism\": \"Totp\",\n  \"masked_destination\": \"\",\n  \"expires_in\": 600,\n  \"available_mechanisms\": [\"Totp\", \"Email\"],\n  \"recovery_codes_available\": true\n}\n```\n\n`mechanism` is the method this challenge targets. When it is `Email`,\na one-time code has already been emailed to the user (see\n`masked_destination`); when it is `Totp`, the user reads the current\ncode from their authenticator app and nothing is sent.\n`available_mechanisms` lists every method the user has enrolled so a\nclient can offer a switch via `POST /api/v1/tokens/two-factor/switch-mechanism`.\n\nIf the tenant forces 2FA but the user has not enrolled yet, the `202`\nbody instead contains `\"two_factor_enrollment_required\": true` with a\n`challenge_token` to drive the mid-login enrollment endpoints.\n\nInvalid credentials return `400` with a body of `invalid_grant`.",
        "operationId": "Auth_GetToken",
        "parameters": [
          {
            "name": "data",
            "in": "query",
            "required": true,
            "schema": {
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Login succeeded; the access token (JWT) is returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenPayload"
                }
              }
            }
          },
          "202": {
            "description": "A two-factor challenge (or enrollment) must be completed before a token is issued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorChallengePayload"
                }
              }
            }
          },
          "400": {
            "description": "Invalid credentials (`invalid_grant`) or a missing username/password.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tokens/two-factor": {
      "post": {
        "tags": [
          "Public"
        ],
        "summary": "Complete login when user has two-factor authentication enabled.",
        "description": "Call this after `POST /api/v1/tokens` returns `two_factor_required`.\nPost the challenge token from that response together with the user's\none-time code (the emailed code, or the current code from their\nauthenticator app):\n\n```json\n{ \"challenge_token\": \"eyJ...\", \"code\": \"123456\" }\n```\n\nOn success the response is `200` with the final access token, in the\nsame shape as `POST /api/v1/tokens`:\n\n```json\n{ \"access_token\": \"eyJ...\", \"refresh_token\": \"...\", \"token_type\": \"Bearer\", \"expires_in\": 31536000 }\n```\n\nAn incorrect code returns `400` (`invalid_grant`). A code has at most\nfive attempts before the challenge locks. An expired challenge returns\n`410` (`challenge_expired`) — restart at `POST /api/v1/tokens`. The\nendpoint is rate limited to 10 requests per minute (`429`).",
        "operationId": "Auth_VerifyTwoFactorToken",
        "requestBody": {
          "description": "The challenge token from the login response and the user's one-time code.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorVerifyRequest"
              },
              "example": {
                "challenge_token": "eyJ...",
                "code": "123456"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The code was accepted; the access token (JWT) is returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenPayload"
                }
              }
            }
          },
          "400": {
            "description": "The code was incorrect or missing (`invalid_grant`).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          },
          "410": {
            "description": "The challenge expired (`challenge_expired`); restart the login.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tokens/two-factor/resend": {
      "post": {
        "tags": [
          "Public"
        ],
        "summary": "Re-send the one-time code for an in-progress email two-factor challenge.",
        "description": "Post the challenge token from the original `POST /api/v1/tokens` response:\n\n```json\n{ \"challenge_token\": \"eyJ...\" }\n```\n\nA fresh code is emailed and a new challenge is returned (superseding\nthe previous one), in the same shape as the `202` from\n`POST /api/v1/tokens` minus `two_factor_required`. Only `Email`\nchallenges can be resent — there is nothing to resend for `Totp`\n(the authenticator app generates codes locally), so a `Totp`\nchallenge returns `400` with a body of `not_supported`. Rate limited\nto 3 requests per minute (`429`).",
        "operationId": "Auth_ResendTwoFactor",
        "parameters": [
          {
            "name": "data",
            "in": "query",
            "required": true,
            "schema": {
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "A new code was sent; the replacement challenge is returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorChallengePayload"
                }
              }
            }
          },
          "400": {
            "description": "Resend is not supported for this mechanism (`not_supported`).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          },
          "410": {
            "description": "The challenge expired (`challenge_expired`); restart the login.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tokens/two-factor/switch-mechanism": {
      "post": {
        "tags": [
          "Public"
        ],
        "summary": "Switch an in-progress login challenge to a different enrolled mechanism.",
        "description": "When a user has more than one method enrolled (see\n`available_mechanisms` on the login response) they can switch the\nactive challenge — for example from `Totp` to `Email` when they have\nlost access to their authenticator. Post the current challenge token\nand the desired mechanism:\n\n```json\n{ \"challenge_token\": \"eyJ...\", \"mechanism\": \"Email\" }\n```\n\nA fresh challenge for that mechanism is returned (and, for `Email`, a\ncode is sent), in the same shape as the `202` from `POST /api/v1/tokens`\nminus `two_factor_required`. An unrecognized mechanism returns `400`\n(`invalid_mechanism`); a mechanism the user has not enrolled returns\n`400` (`not_enrolled`). Rate limited to 5 requests per minute (`429`).",
        "operationId": "Auth_SwitchTwoFactorMechanism",
        "parameters": [
          {
            "name": "data",
            "in": "query",
            "required": true,
            "schema": {
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "The challenge was reissued for the requested mechanism.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorChallengePayload"
                }
              }
            }
          },
          "400": {
            "description": "Unknown mechanism (`invalid_mechanism`) or one the user has not enrolled (`not_enrolled`).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tokens/two-factor/recovery": {
      "post": {
        "tags": [
          "Public"
        ],
        "summary": "Complete login with a two-factor recovery code.",
        "description": "A fallback for users who cannot produce their primary code but still\nhave a recovery code on file (see `recovery_codes_available` on the\nlogin response). Post the challenge token together with one recovery\ncode:\n\n```json\n{ \"challenge_token\": \"eyJ...\", \"recovery_code\": \"abcd-efgh-ijkl\" }\n```\n\nOn success the response is `200` with the final access token, in the\nsame shape as `POST /api/v1/tokens`. Each recovery code is single-use.\nAn incorrect code returns `400` (`invalid_grant`); an expired\nchallenge returns `410` (`challenge_expired`). Rate limited to 10\nrequests per minute (`429`).\n\nUsed by the embed login widget; the hosted Razor flow has its own\nequivalent action on the AuthenticationController.",
        "operationId": "Auth_VerifyTwoFactorRecovery",
        "parameters": [
          {
            "name": "data",
            "in": "query",
            "required": true,
            "schema": {
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "The recovery code was accepted; the access token (JWT) is returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenPayload"
                }
              }
            }
          },
          "400": {
            "description": "The recovery code was incorrect or missing (`invalid_grant`).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          },
          "410": {
            "description": "The challenge expired (`challenge_expired`); restart the login.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tokens/two-factor/enroll/email/begin": {
      "post": {
        "tags": [
          "Public"
        ],
        "summary": "Begin email enrollment during a forced-2FA login.",
        "description": "Call this when `POST /api/v1/tokens` returned\n`two_factor_enrollment_required` and the user chooses email. Post the\nenrollment token from that response:\n\n```json\n{ \"enrollment_token\": \"eyJ...\" }\n```\n\nA verification code is emailed to the user and a challenge is returned:\n\n```json\n{\n  \"challenge_token\": \"eyJ...\",\n  \"mechanism\": \"Email\",\n  \"masked_destination\": \"b***@outseta.com\",\n  \"expires_in\": 600\n}\n```\n\nConfirm the code via `POST /api/v1/tokens/two-factor/enroll/email/confirm`.\nReturns `401` if the enrollment token is invalid/expired and `403` if\nforced enrollment does not apply to this user. Rate limited to 5\nrequests per minute (`429`).",
        "operationId": "TokenTwoFactorEnrollment_BeginEmail",
        "parameters": [
          {
            "name": "data",
            "in": "query",
            "required": true,
            "schema": {
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "A code was emailed; the enrollment-test challenge is returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorChallengePayload"
                }
              }
            }
          },
          "401": {
            "description": "The enrollment token is missing, invalid or expired.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          },
          "403": {
            "description": "Forced 2FA enrollment does not apply to this user.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tokens/two-factor/enroll/totp/begin": {
      "post": {
        "tags": [
          "Public"
        ],
        "operationId": "TokenTwoFactorEnrollment_BeginTotp",
        "parameters": [
          {
            "name": "data",
            "in": "query",
            "required": true,
            "schema": {
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "The shared secret and enrollment-test challenge are returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorTotpEnrollmentPayload"
                }
              }
            }
          },
          "401": {
            "description": "The enrollment token is missing, invalid or expired.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          },
          "403": {
            "description": "Forced 2FA enrollment does not apply to this user.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tokens/two-factor/enroll/email/confirm": {
      "post": {
        "tags": [
          "Public"
        ],
        "summary": "Confirm email enrollment and complete a forced-2FA login.",
        "description": "Post the enrollment token (from `POST /api/v1/tokens`), the challenge\ntoken (from `.../enroll/email/begin`), and the emailed code:\n\n```json\n{ \"enrollment_token\": \"eyJ...\", \"challenge_token\": \"eyJ...\", \"code\": \"123456\" }\n```\n\nOn success email 2FA is enabled and login completes — the response\ncarries the final access token plus the user's one-time recovery codes:\n\n```json\n{\n  \"confirmed\": true,\n  \"recovery_codes\": [\"abcd-efgh-ijkl\", \"...\"],\n  \"access_token\": \"eyJ...\",\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 31536000\n}\n```\n\nShow the `recovery_codes` to the user once — they are not returned\nagain. An incorrect code returns `400` (`invalid_grant`); an expired\nchallenge returns `410` (`challenge_expired`). Rate limited to 10\nrequests per minute (`429`).",
        "operationId": "TokenTwoFactorEnrollment_ConfirmEmail",
        "parameters": [
          {
            "name": "data",
            "in": "query",
            "required": true,
            "schema": {
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Enrollment confirmed; the access token and recovery codes are returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorEnrollmentConfirmationPayload"
                }
              }
            }
          },
          "400": {
            "description": "The code was incorrect or missing (`invalid_grant`).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          },
          "401": {
            "description": "The enrollment token is missing, invalid or expired.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          },
          "410": {
            "description": "The challenge expired (`challenge_expired`); restart the login.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tokens/two-factor/enroll/totp/confirm": {
      "post": {
        "tags": [
          "Public"
        ],
        "summary": "Confirm authenticator-app (TOTP) enrollment and complete a forced-2FA login.",
        "description": "Post the enrollment token (from `POST /api/v1/tokens`), the challenge\ntoken (from `.../enroll/totp/begin`), and the current code from the\nuser's authenticator app:\n\n```json\n{ \"enrollment_token\": \"eyJ...\", \"challenge_token\": \"eyJ...\", \"code\": \"123456\" }\n```\n\nOn success authenticator-app 2FA is enabled and login completes — the\nresponse carries the final access token plus the user's one-time\nrecovery codes:\n\n```json\n{\n  \"confirmed\": true,\n  \"recovery_codes\": [\"abcd-efgh-ijkl\", \"...\"],\n  \"access_token\": \"eyJ...\",\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 31536000\n}\n```\n\nShow the `recovery_codes` to the user once — they are not returned\nagain. An incorrect code returns `400` (`invalid_grant`); an expired\nchallenge returns `410` (`challenge_expired`). Rate limited to 10\nrequests per minute (`429`).",
        "operationId": "TokenTwoFactorEnrollment_ConfirmTotp",
        "parameters": [
          {
            "name": "data",
            "in": "query",
            "required": true,
            "schema": {
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Enrollment confirmed; the access token and recovery codes are returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorEnrollmentConfirmationPayload"
                }
              }
            }
          },
          "400": {
            "description": "The code was incorrect or missing (`invalid_grant`).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          },
          "401": {
            "description": "The enrollment token is missing, invalid or expired.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          },
          "410": {
            "description": "The challenge expired (`challenge_expired`); restart the login.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/support/cases": {
      "get": {
        "tags": [
          "Support"
        ],
        "summary": "Retrieve all cases.",
        "description": "Optionally filtered by search string, tag, and/or assignment.\nAssigned cases can be filtered by passing in the AssignedToPersonClientIdentifier,\nwhich is the Uid of the person the case is assigned to.",
        "operationId": "Case_GetAllCases",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Search string",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "tagUid",
            "in": "query",
            "description": "Uid of tag that is on the case",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "SubmittedDateTime": "string",
                        "LastActivity": "string",
                        "FromPerson": {},
                        "AssignedToPersonClientIdentifier": "string",
                        "Subject": "string",
                        "Body": "string",
                        "UserAgent": "string",
                        "Status": 1,
                        "Source": 1,
                        "CaseHistories": [],
                        "CaseTags": [],
                        "HasUnread": false,
                        "IsOnline": false,
                        "LastCaseHistory": {},
                        "Participants": "string",
                        "RecaptchaToken": "string",
                        "RecaptchaSiteKey": "string",
                        "Score": 0
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Case"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ],
        "x-outseta-sort-denylist": [
          "FromPerson.AccountUids",
          "FromPerson.FullName",
          "FromPerson.HasLoggedIn",
          "FromPerson.HasUnsubscribed",
          "FromPerson.IsConnectedToDiscord",
          "FromPerson.OAuthIntegrationStatus",
          "FromPerson.PersonAccount.Account.AccountStageLabel",
          "FromPerson.PersonAccount.Account.CurrentStripeProducts",
          "FromPerson.PersonAccount.Account.HasLoggedIn",
          "FromPerson.PersonAccount.Account.LifetimeRevenue",
          "FromPerson.PersonAccount.Account.NextStripeInvoiceDate",
          "FromPerson.PersonAccount.Account.TaxIdIsInvalid",
          "FromPerson.UserAgentPlatformBrowser",
          "HasUnread",
          "IsOnline",
          "LastCaseHistory",
          "LastCaseHistory.AgentName",
          "LastCaseHistory.HistoryDateTime",
          "LastCaseHistory.SeenDateTime",
          "LastCaseHistory.Type",
          "Participants",
          "Score"
        ],
        "x-outseta-filter-denylist": [
          "FromPerson.AccountUids",
          "FromPerson.FullName",
          "FromPerson.HasLoggedIn",
          "FromPerson.HasUnsubscribed",
          "FromPerson.IsConnectedToDiscord",
          "FromPerson.OAuthIntegrationStatus",
          "FromPerson.PersonAccount.Account.AccountStageLabel",
          "FromPerson.PersonAccount.Account.CurrentStripeProducts",
          "FromPerson.PersonAccount.Account.HasLoggedIn",
          "FromPerson.PersonAccount.Account.LifetimeRevenue",
          "FromPerson.PersonAccount.Account.NextStripeInvoiceDate",
          "FromPerson.PersonAccount.Account.TaxIdIsInvalid",
          "FromPerson.UserAgentPlatformBrowser",
          "HasUnread",
          "IsOnline",
          "LastCaseHistory",
          "LastCaseHistory.AgentName",
          "LastCaseHistory.HistoryDateTime",
          "LastCaseHistory.SeenDateTime",
          "LastCaseHistory.Type",
          "Participants",
          "Score"
        ]
      },
      "post": {
        "tags": [
          "Support"
        ],
        "summary": "Adds a case into the support system.",
        "operationId": "Case_AddCase",
        "parameters": [
          {
            "name": "sendautoresponder",
            "in": "query",
            "description": "Indicates whether an automatic message is sent that the ticket has been created.",
            "schema": {
              "type": "string",
              "default": "true",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "requestBody": {
          "x-name": "item",
          "description": "The case to create",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Case"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Case"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/support/cases/{caseUid}": {
      "get": {
        "tags": [
          "Support"
        ],
        "summary": "Retrieve a case.",
        "operationId": "Case_GetCase",
        "parameters": [
          {
            "name": "caseUid",
            "in": "path",
            "required": true,
            "description": "The Uid of the case",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Case"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Case not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/support/cases/{caseUid}/replies": {
      "post": {
        "tags": [
          "Support"
        ],
        "summary": "Adds a reply from an agent to a support case.",
        "operationId": "Case_AddReply",
        "parameters": [
          {
            "name": "caseUid",
            "in": "path",
            "required": true,
            "description": "The case's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/support/cases/{caseUid}/clientresponse/{comment}": {
      "post": {
        "tags": [
          "Support"
        ],
        "summary": "Adds a response to the case from the person that opened the case.",
        "operationId": "Case_AddClientResponse",
        "parameters": [
          {
            "name": "caseUid",
            "in": "path",
            "required": true,
            "description": "The case's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "comment",
            "in": "path",
            "required": true,
            "description": "The response text",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseHistory"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "CaseHistory not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/support/articles": {
      "get": {
        "tags": [
          "Support"
        ],
        "summary": "Retrieve all knowledge base articles.",
        "operationId": "Article_GetAllArticles",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Matches on title or body of the article",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "Weight": 0,
                        "Title": "string",
                        "Body": "string",
                        "SupportArticleStatus": 1,
                        "Category": {},
                        "Keywords": "string"
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Article"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Support"
        ],
        "summary": "Create a knowledge base article.",
        "operationId": "Article_AddArticle",
        "requestBody": {
          "x-name": "article",
          "description": "The knowledge base article to create",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Article"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Article"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/support/articles/{articleUid}": {
      "get": {
        "tags": [
          "Support"
        ],
        "summary": "Retrieve a knowledge base article.",
        "operationId": "Article_GetArticle",
        "parameters": [
          {
            "name": "articleUid",
            "in": "path",
            "required": true,
            "description": "The article's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Article"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "404": {
            "description": "Article not found"
          }
        }
      }
    },
    "/api/v1/support/categories": {
      "get": {
        "tags": [
          "Support"
        ],
        "summary": "Retrieve all knowledge base categories.",
        "operationId": "Category_GetAllCategories",
        "parameters": [
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/offset"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "Name": "string",
                        "Description": "string",
                        "Weight": 0,
                        "Articles": []
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Category"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/email/campaigns/drips": {
      "get": {
        "tags": [
          "Email"
        ],
        "summary": "Retrieve all drip campaigns.",
        "operationId": "DripCampaign_GetAllDripCampaigns",
        "parameters": [
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/offset"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "IsActive": false,
                        "Campaign": {},
                        "TriggerId": 0,
                        "TriggerStartValue": "string",
                        "TriggerStopValue": "string",
                        "DripCampaignMessages": [],
                        "AllowRepeatProcessing": false,
                        "StartDripToExistingMembers": false,
                        "MarkExistingRecipientsDone": false
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/DripCampaign"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "post": {
        "tags": [
          "Email"
        ],
        "summary": "Create a new drip campaign.",
        "description": "To copy an existing drip campaign, retrieve it and pass its data as the request body — the\nUid and per-message counts are automatically reset. Messages can be supplied inline via\nDripCampaignMessages, or added later with the messages endpoint. Each inline message's Name\ndefaults to its position (e.g. \"Message 1\") when omitted.",
        "operationId": "DripCampaign_AddDripCampaign",
        "requestBody": {
          "x-name": "campaign",
          "description": "The drip campaign to create. Must include a Campaign (with Name).",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DripCampaign"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DripCampaign"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/email/campaigns/drips/{dripCampaignUid}": {
      "get": {
        "tags": [
          "Email"
        ],
        "summary": "Retrieve a drip campaign.",
        "operationId": "DripCampaign_GetDripCampaign",
        "parameters": [
          {
            "name": "dripCampaignUid",
            "in": "path",
            "required": true,
            "description": "The drip campaign's unique identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DripCampaign"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "DripCampaign not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "put": {
        "tags": [
          "Email"
        ],
        "summary": "Update a drip campaign.",
        "description": "Activating a drip campaign (setting IsActive) begins sending its messages to members.\nStartDripToExistingMembers controls whether members already in the campaign receive the\nmessages or only members added going forward.",
        "operationId": "DripCampaign_UpdateDripCampaign",
        "parameters": [
          {
            "name": "dripCampaignUid",
            "in": "path",
            "required": true,
            "description": "The drip campaign's unique identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "campaign",
          "description": "The updated drip campaign.",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DripCampaign"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DripCampaign"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "DripCampaign not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Email"
        ],
        "summary": "Delete a drip campaign.",
        "operationId": "DripCampaign_DeleteDripCampaign",
        "parameters": [
          {
            "name": "dripCampaignUid",
            "in": "path",
            "required": true,
            "description": "The drip campaign's unique identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/email/campaigns/drips/{dripCampaignUid}/messages": {
      "post": {
        "tags": [
          "Email"
        ],
        "summary": "Add a message to a drip campaign.",
        "description": "Adding a message deactivates the drip campaign so its schedule can be reviewed before it\nresumes sending. Use DelayInHours to control how long after the trigger the message is sent.",
        "operationId": "DripCampaign_AddDripCampaignMessage",
        "parameters": [
          {
            "name": "dripCampaignUid",
            "in": "path",
            "required": true,
            "description": "The drip campaign's unique identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "dcm",
          "description": "The message to add. Must include a Message (with Subject and Body); the Message Name defaults to the message's position in the drip when omitted.",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DripCampaignMessage"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DripCampaignMessage"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "DripCampaignMessage not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/email/campaigns/drips/{dripCampaignUid}/messages/{dripCampaignMessageUid}": {
      "get": {
        "tags": [
          "Email"
        ],
        "summary": "Retrieve a message from a drip campaign.",
        "operationId": "DripCampaign_GetDripCampaignMessage",
        "parameters": [
          {
            "name": "dripCampaignUid",
            "in": "path",
            "required": true,
            "description": "The drip campaign's unique identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "dripCampaignMessageUid",
            "in": "path",
            "required": true,
            "description": "The drip campaign message's unique identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DripCampaignMessage"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "DripCampaignMessage not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "put": {
        "tags": [
          "Email"
        ],
        "summary": "Update a message in a drip campaign.",
        "description": "Changing DelayInHours on an active drip campaign reschedules the drip for its existing\nmembers. The DripCampaign Uid on the body, if supplied, must match the dripCampaignUid in\nthe URL, and the message Uid on the body must match the dripCampaignMessageUid in the URL.",
        "operationId": "DripCampaign_UpdateDripCampaignMessage",
        "parameters": [
          {
            "name": "dripCampaignUid",
            "in": "path",
            "required": true,
            "description": "The drip campaign's unique identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "dripCampaignMessageUid",
            "in": "path",
            "required": true,
            "description": "The drip campaign message's unique identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "requestBody": {
          "x-name": "dcm",
          "description": "The updated message.",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DripCampaignMessage"
                  }
                ]
              }
            }
          },
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DripCampaignMessage"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "DripCampaignMessage not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Email"
        ],
        "summary": "Delete a message from a drip campaign.",
        "description": "Deleting a message deactivates the drip campaign (like adding a message) so its schedule can be\nreviewed before it resumes. Reactivate the campaign to resume sending.",
        "operationId": "DripCampaign_DeleteDripCampaignMessage",
        "parameters": [
          {
            "name": "dripCampaignUid",
            "in": "path",
            "required": true,
            "description": "The drip campaign's unique identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "dripCampaignMessageUid",
            "in": "path",
            "required": true,
            "description": "The drip campaign message's unique identifier.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/email/campaigns/drips/sendtestemail": {
      "post": {
        "tags": [
          "Email"
        ],
        "summary": "Send a test email for a drip campaign.",
        "description": "Sends the drip campaign to the logged-in user and optionally to additional recipients.\nAdditional recipients are specified as a list of person Uids and must belong to the same\naccount as the logged-in user. Sending is skipped when the account is restricted due to\nunpaid invoices.",
        "operationId": "DripCampaign_SendTestCampaignEmail",
        "requestBody": {
          "x-name": "sendTestEmailRequest",
          "description": "The request containing the DripCampaign to test and an optional list of AdditionalRecipients (person Uids).",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SendTestEmailRequest"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/email/campaigns/broadcasts": {
      "get": {
        "tags": [
          "Email"
        ],
        "summary": "Retrieve all broadcasts.",
        "description": "Archived broadcasts are excluded.",
        "operationId": "Campaign_GetAllBroadcastEmails",
        "parameters": [
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/offset"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "SendDateTime": "string",
                        "NextRunDateTime": "string",
                        "Campaign": {},
                        "Message": {},
                        "RecipientData": "string",
                        "EmailListUids": [],
                        "SegmentUids": [],
                        "TemplateUid": "string",
                        "Status": 1,
                        "ErrorMessage": "string",
                        "Tags": []
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/BroadcastCampaign"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "post": {
        "tags": [
          "Email"
        ],
        "summary": "Create a new broadcast.",
        "description": "To copy an existing broadcast, retrieve it and pass its data as the request body — the\nUid, SendDateTime, and message counts are automatically reset. A new broadcast is always\ncreated as a Draft; schedule it by updating it with a SendDateTime (see the update endpoint).\n            \nSpecify who the broadcast is sent to with EmailListUids and/or SegmentUids: EmailListUids is\nan array of email list Uids (from GET /api/v1/email/lists) and SegmentUids is an array of\nsegment Uids (from GET /api/v1/crm/segments). These are the recommended way to set recipients\n— they are merged into the underlying RecipientData for you, so callers (including LLM tools)\ndo not need to build that structure by hand; unknown Uids are rejected. RecipientData may\nstill be supplied directly (a JSON string of the form\n{\"BroadcastRecipientsEmailLists\":[{\"Uid\":\"...\"}],\"BroadcastRecipientsSegments\":[{\"Uid\":\"...\"}]});\nwhen both are present they are merged.\n            \nMessage.Body is rendered as a Liquid template, so it may include merge tags such as\n{{ Person.FirstName }}; unknown {{ }} tokens render as empty text. An inline-styled HTML\nfragment is recommended. Message.Design (the drag-and-drop editor state) is optional — when\nomitted it is derived automatically, so callers (including LLM tools) do not need to\nunderstand it. Use Message.PreviewText for inbox preview text rather than an in-body\npreheader.\n            \nWhen Body is a content fragment with no Design, it is composed into the account's API\nemail layout — a branded header and footer that includes the unsubscribe and\nmanage-subscriptions links — and the composed result is what is sent and opened in the\neditor. Do not add your own unsubscribe link in this case; the layout provides one. The\nlayout is editable in the app; TemplateUid selects a specific layout template when the\naccount has more than one.\n            \nThe layout is NOT applied when a Design is supplied or when the body is a complex full\nHTML document (Outlook conditional comments, stylesheet links) — in those cases the body\nis sent exactly as supplied, and you must include a visible unsubscribe link in it\nyourself: add {{ UnsubscribeLink }} (a ready-made anchor) or {{ UnsubscribeUrl }} (the raw\nURL) where you want it. Its presence is not validated. A one-click List-Unsubscribe header\nis always added, but most anti-spam laws (e.g. CAN-SPAM) also require a visible\nunsubscribe link in the body.",
        "operationId": "Campaign_AddBroadcastEmail",
        "requestBody": {
          "x-name": "campaign",
          "description": "The broadcast campaign to create. Must include a Campaign (with Name) and a Message (with Subject and Body); the Message Name defaults to the campaign name when omitted.",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BroadcastCampaign"
                  }
                ]
              },
              "example": {
                "Campaign": {
                  "Name": "Product launch",
                  "FromName": "Acme",
                  "FromEmail": "hello@acme.com"
                },
                "EmailListUids": [
                  "YOUR_EMAIL_LIST_UID"
                ],
                "Message": {
                  "Subject": "{{ Person.FirstName }}, see what's new",
                  "PreviewText": "A quick look at what's new",
                  "Body": "<div style='font-family:Arial,sans-serif;font-size:16px;line-height:1.5;color:#111'><p>Hi {{ Person.FirstName }},</p><p>We just shipped something we think you'll love. <a href='https://acme.com/whats-new' style='color:#2f80ed'>Take a look</a>.</p></div>"
                }
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BroadcastCampaign"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/email/campaigns/broadcasts/{broadcastCampaignUid}": {
      "get": {
        "tags": [
          "Email"
        ],
        "summary": "Retrieve a broadcast.",
        "operationId": "Campaign_GetBroadcastEmail",
        "parameters": [
          {
            "name": "broadcastCampaignUid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BroadcastCampaign"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "BroadcastCampaign not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "put": {
        "tags": [
          "Email"
        ],
        "summary": "Update a broadcast.",
        "description": "Setting SendDateTime to a future UTC date schedules the broadcast for sending and its status\nchanges to Pending. An account may only have 5 broadcasts scheduled or sending at one time;\nscheduling beyond that is rejected until one finishes sending or is unscheduled. There is no\nlimit on the number of drafts. Clearing SendDateTime unschedules the broadcast. Recipients can be added\nwith EmailListUids and SegmentUids (see the create endpoint): on update these are merged onto\nthe broadcast's existing recipients and only ever add — to remove recipients or replace the\nset, send RecipientData directly.\n            \nWhen changing Message.Body, omit Message.Design: it is regenerated from the new Body so the\ndrag-and-drop editor stays in sync. Sending a Design that was captured from an earlier\nresponse alongside an edited Body would otherwise keep the stale design. A body that was\ncomposed into the API email layout keeps the layout on such updates without duplicating\nit — its content is re-composed into the layout — and a bare fragment is composed like on\ncreate. See the create endpoint for how Body is rendered (Liquid), when the layout\napplies, and the unsubscribe-token expectation when it does not.",
        "operationId": "Campaign_UpdateBroadcastEmail",
        "parameters": [
          {
            "name": "broadcastCampaignUid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "campaign",
          "description": "The updated broadcast. The Uid in the body must match the broadcastCampaignUid in the URL.",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BroadcastCampaign"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BroadcastCampaign"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "BroadcastCampaign not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Email"
        ],
        "summary": "Delete a broadcast.",
        "description": "Only broadcasts in Draft or Pending status can be deleted. Broadcasts that have been\nprocessed should be archived instead.",
        "operationId": "Campaign_DeleteBroadcastCampaign",
        "parameters": [
          {
            "name": "broadcastCampaignUid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/email/campaigns/broadcasts/{broadcastCampaignUid}/unschedule": {
      "post": {
        "tags": [
          "Email"
        ],
        "summary": "Unschedule a broadcast.",
        "description": "Unschedules a pending broadcast, reverting its status to Draft.",
        "operationId": "Campaign_UnscheduleBroadcastEmail",
        "parameters": [
          {
            "name": "broadcastCampaignUid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BroadcastCampaign"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "BroadcastCampaign not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/email/campaigns/broadcasts/{broadcastCampaignUid}/archive": {
      "post": {
        "tags": [
          "Email"
        ],
        "summary": "Archive a broadcast.",
        "description": "Archived broadcasts are excluded from the default list results.",
        "operationId": "Campaign_ArchiveBroadcastCampaign",
        "parameters": [
          {
            "name": "broadcastCampaignUid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/email/campaigns/broadcasts/sendtestemail": {
      "post": {
        "tags": [
          "Email"
        ],
        "summary": "Send a test email for a broadcast.",
        "description": "Sends to the logged-in user and optionally to additional recipients. Additional\nrecipients are specified as a list of person Uids and must belong to the same account\nas the logged-in user.",
        "operationId": "Campaign_SendTestCampaignEmail",
        "requestBody": {
          "x-name": "sendTestEmailRequest",
          "description": "The request containing the broadcast to test and an optional list of AdditionalRecipients (person Uids).",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SendTestEmailRequest2"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/email/lists/{emailListUid}/subscriptions": {
      "get": {
        "tags": [
          "Email"
        ],
        "summary": "Retrieve all subscribers to an email list.",
        "operationId": "EmailList_GetAllSubscriptions",
        "parameters": [
          {
            "name": "emailListUid",
            "in": "path",
            "required": true,
            "description": "The email list's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "q",
            "in": "query",
            "description": "Matches person's first name or last name or email address.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "EmailList": {},
                        "Person": {},
                        "EmailListSubscriberStatus": 1,
                        "SubscribedDate": "string",
                        "ConfirmedDate": "string",
                        "ConfirmationNotes": "string",
                        "UnsubscribedDate": "string",
                        "CleanedDate": "string",
                        "WelcomeEmailDeliverDateTime": "string",
                        "WelcomeEmailOpenDateTime": "string",
                        "UnsubscribeReason": "string",
                        "UnsubscribeReasonOther": "string",
                        "RecaptchaToken": "string",
                        "RecaptchaSiteKey": "string",
                        "SendWelcomeEmail": false,
                        "Source": "string"
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/EmailListPerson"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "post": {
        "tags": [
          "Email"
        ],
        "summary": "Subscribe a person to an email list.",
        "description": "To subscribe a new person, pass a Person object with an Email address. To subscribe an\nexisting person, pass a Person object with a Uid. The SendWelcomeEmail property\ndetermines if the person is sent a welcome email and defaults to false.",
        "operationId": "EmailList_AddSubscription",
        "parameters": [
          {
            "name": "emailListUid",
            "in": "path",
            "required": true,
            "description": "The email list's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "subscription",
          "description": "The subscription to create, including the Person and EmailList references",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EmailListPerson"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailListPerson"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "EmailListPerson not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/email/lists/{emailListUid}/subscriptions/{subscriptionUid}": {
      "delete": {
        "tags": [
          "Email"
        ],
        "summary": "Remove a subscriber from an email list.",
        "operationId": "EmailList_DeleteSubscription",
        "parameters": [
          {
            "name": "emailListUid",
            "in": "path",
            "required": true,
            "description": "The email list's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "subscriptionUid",
            "in": "path",
            "required": true,
            "description": "The subscription's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/deals": {
      "get": {
        "tags": [
          "CRM"
        ],
        "summary": "Retrieve all deals.",
        "description": "Returns the deals associated with your account.",
        "operationId": "Deal_GetAllDeals",
        "parameters": [
          {
            "name": "ownerUid",
            "in": "query",
            "description": "Uid of the owner of the deal, or -1 for unassigned deals and -2 for all assigned deals.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "q",
            "in": "query",
            "description": "Match on the deal name, the pipeline stage name, or the account name.",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "SchemaLessData": {},
                        "Name": "string",
                        "Amount": 0,
                        "DueDate": "string",
                        "AssignedToPersonClientIdentifier": "string",
                        "Weight": 0,
                        "DealPipelineStage": {},
                        "Account": {},
                        "DealPeople": [],
                        "Contacts": "string",
                        "AccountId": 0,
                        "Owner": {},
                        "PipelineUid": "string"
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Deal"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ],
        "x-outseta-sort-denylist": [
          "Account.AccountStageLabel",
          "Account.CurrentStripeProducts",
          "Account.CurrentSubscription.DiscountCode",
          "Account.CurrentSubscription.DiscountCouponExpirationDate",
          "Account.CurrentSubscription.Rate",
          "Account.HasLoggedIn",
          "Account.LifetimeRevenue",
          "Account.NextStripeInvoiceDate",
          "Account.PrimarySubscription.DiscountCode",
          "Account.PrimarySubscription.DiscountCouponExpirationDate",
          "Account.PrimarySubscription.Rate",
          "Account.TaxIdIsInvalid",
          "AccountId",
          "Contacts",
          "Owner.AccountUids",
          "Owner.FullName",
          "Owner.HasLoggedIn",
          "Owner.HasUnsubscribed",
          "Owner.IsConnectedToDiscord",
          "Owner.OAuthIntegrationStatus",
          "Owner.UserAgentPlatformBrowser"
        ],
        "x-outseta-filter-denylist": [
          "Account.AccountStageLabel",
          "Account.CurrentStripeProducts",
          "Account.CurrentSubscription.DiscountCode",
          "Account.CurrentSubscription.DiscountCouponExpirationDate",
          "Account.CurrentSubscription.Rate",
          "Account.HasLoggedIn",
          "Account.LifetimeRevenue",
          "Account.NextStripeInvoiceDate",
          "Account.PrimarySubscription.DiscountCode",
          "Account.PrimarySubscription.DiscountCouponExpirationDate",
          "Account.PrimarySubscription.Rate",
          "Account.TaxIdIsInvalid",
          "AccountId",
          "Contacts",
          "Owner.AccountUids",
          "Owner.FullName",
          "Owner.HasLoggedIn",
          "Owner.HasUnsubscribed",
          "Owner.IsConnectedToDiscord",
          "Owner.OAuthIntegrationStatus",
          "Owner.UserAgentPlatformBrowser"
        ]
      },
      "post": {
        "tags": [
          "CRM"
        ],
        "summary": "Add a new deal.",
        "operationId": "Deal_AddDeal",
        "requestBody": {
          "x-name": "deal",
          "description": "The deal to create",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Deal"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Deal"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/deals/{dealUid}": {
      "get": {
        "tags": [
          "CRM"
        ],
        "summary": "Retrieve a deal.",
        "operationId": "Deal_GetDeal",
        "parameters": [
          {
            "name": "dealUid",
            "in": "path",
            "required": true,
            "description": "The deal's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Deal"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Deal not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "put": {
        "tags": [
          "CRM"
        ],
        "summary": "Update a deal.",
        "operationId": "Deal_UpdateDeal",
        "parameters": [
          {
            "name": "dealUid",
            "in": "path",
            "required": true,
            "description": "The deal's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "deal",
          "description": "The updated deal data",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Deal"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Deal"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Deal not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "CRM"
        ],
        "summary": "Delete a deal.",
        "operationId": "Deal_DeleteDeal",
        "parameters": [
          {
            "name": "dealUid",
            "in": "path",
            "required": true,
            "description": "The deal's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/registrations": {
      "post": {
        "tags": [
          "CRM"
        ],
        "summary": "Register a new account.",
        "description": "This is the same endpoint the sign up embed uses to create accounts. At a minimum you\nmust pass one Primary Contact with an Email address and one Subscription record with a\nreference to a Plan. Other fields (e.g. Account Name, Billing Address, Payment\nInformation, etc.) can be passed as desired. A confirmation email will be sent to the\nuser unless you've specifically toggled this option off on the AUTH > SIGN UP AND LOGIN\npage.",
        "operationId": "Registration_RegisterAccount",
        "requestBody": {
          "description": "The account to register. At a minimum, provide one Primary Contact with an Email and one Subscription referencing a Plan. May be sent as application/json, or as multipart/form-data with an \"account\" JSON part plus an optional image \"file\" part for the primary contact's profile image.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "description": "Common-case registration payload. The endpoint also accepts the full Account object (billing address, payment information, custom attributes, etc.); see the Account response model below for the complete set of fields.",
                "required": [
                  "PersonAccount",
                  "Subscriptions"
                ],
                "properties": {
                  "Name": {
                    "type": "string",
                    "description": "Account or company name."
                  },
                  "PersonAccount": {
                    "type": "array",
                    "description": "People on the account. Include one primary contact with an email address.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "IsPrimary": {
                          "type": "boolean"
                        },
                        "Person": {
                          "type": "object",
                          "required": [
                            "Email"
                          ],
                          "properties": {
                            "Email": {
                              "type": "string",
                              "format": "email"
                            }
                          }
                        }
                      }
                    }
                  },
                  "Subscriptions": {
                    "type": "array",
                    "description": "Subscription(s) to create. Reference an existing Plan by its Uid.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "BillingRenewalTerm": {
                          "type": "integer",
                          "description": "Billing term (enum value)."
                        },
                        "Plan": {
                          "type": "object",
                          "required": [
                            "Uid"
                          ],
                          "properties": {
                            "Uid": {
                              "type": "string",
                              "description": "Uid of an existing Plan."
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "example": {
                "Name": "ACME, LLC",
                "PersonAccount": [
                  {
                    "IsPrimary": true,
                    "Person": {
                      "Email": "jdoe@domain.com"
                    }
                  }
                ],
                "Subscriptions": [
                  {
                    "BillingRenewalTerm": 2,
                    "Plan": {
                      "Uid": "amRXjE9J"
                    }
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/crm/accounts": {
      "get": {
        "tags": [
          "CRM"
        ],
        "summary": "Retrieve all accounts.",
        "description": "Optionally filtered by segment (segmentUid) or search query (q).",
        "operationId": "Account_GetAllAccounts",
        "parameters": [
          {
            "name": "segmentUid",
            "in": "query",
            "description": "Accounts are filtered based on whether they are associated with the segment",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "q",
            "in": "query",
            "description": "Partial match on account name or exact account Uid",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "SchemaLessData": {},
                        "StripeId": "string",
                        "IsLivemode": false,
                        "Name": "string",
                        "ClientIdentifier": "string",
                        "Currency": "string",
                        "InvoiceNotes": "string",
                        "IsDemo": false,
                        "BillingAddress": {},
                        "MailingAddress": {},
                        "AccountStage": 2,
                        "PaymentInformation": {},
                        "PersonAccount": [],
                        "StripeDefaultPaymentMethodId": "string",
                        "StripeInvoices": [],
                        "StripePaymentMethods": [],
                        "StripeSubscriptions": [],
                        "Subscriptions": [],
                        "Deals": [],
                        "LastLoginDateTime": "string",
                        "AccountSpecificPageUrl1": "string",
                        "AccountSpecificPageUrl2": "string",
                        "AccountSpecificPageUrl3": "string",
                        "AccountSpecificPageUrl4": "string",
                        "AccountSpecificPageUrl5": "string",
                        "AccountSpecificPageUrl6": "string",
                        "AccountSpecificPageUrl7": "string",
                        "AccountSpecificPageUrl8": "string",
                        "AccountSpecificPageUrl9": "string",
                        "AccountSpecificPageUrl10": "string",
                        "RewardFulReferralId": "string",
                        "ToltReferralId": "string",
                        "TaxIds": [],
                        "TaxStatus": "string",
                        "AccountStageLabel": "string",
                        "CurrentStripeProducts": "string",
                        "CurrentSubscription": {},
                        "DomainName": "string",
                        "HasLoggedIn": false,
                        "LatestSubscription": {},
                        "LifetimeRevenue": 0,
                        "NextStripeInvoiceDate": "string",
                        "Nonce": "string",
                        "PrimaryContact": {},
                        "PrimarySubscription": {},
                        "PrimaryStripeSubscription": {},
                        "RecaptchaToken": "string",
                        "StripeNextInvoiceSequence": 0,
                        "StripePrice": [],
                        "StripePriceIds": "string",
                        "StripePromotionCode": "string",
                        "TaxId": "string",
                        "TaxIdIsInvalid": false,
                        "TaxIdType": "string",
                        "WebflowSlug": "string"
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Account"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ],
        "x-outseta-sort-denylist": [
          "AccountStageLabel",
          "CurrentStripeProducts",
          "CurrentSubscription.DiscountCode",
          "CurrentSubscription.DiscountCouponExpirationDate",
          "CurrentSubscription.Rate",
          "CurrentSubscription.SubscriptionAddOns.Rate",
          "HasLoggedIn",
          "LifetimeRevenue",
          "NextStripeInvoiceDate",
          "PersonAccount.Person.AccountUids",
          "PersonAccount.Person.FullName",
          "PersonAccount.Person.HasLoggedIn",
          "PersonAccount.Person.HasUnsubscribed",
          "PersonAccount.Person.IsConnectedToDiscord",
          "PersonAccount.Person.OAuthIntegrationStatus",
          "PersonAccount.Person.UserAgentPlatformBrowser",
          "PrimaryContact.AccountUids",
          "PrimaryContact.FullName",
          "PrimaryContact.HasLoggedIn",
          "PrimaryContact.HasUnsubscribed",
          "PrimaryContact.IsConnectedToDiscord",
          "PrimaryContact.OAuthIntegrationStatus",
          "PrimaryContact.UserAgentPlatformBrowser",
          "PrimarySubscription.DiscountCode",
          "PrimarySubscription.DiscountCouponExpirationDate",
          "PrimarySubscription.Rate",
          "PrimarySubscription.SubscriptionAddOns.Rate",
          "Subscriptions.DiscountCode",
          "Subscriptions.DiscountCouponExpirationDate",
          "Subscriptions.Rate",
          "Subscriptions.SubscriptionAddOns.Rate",
          "TaxIdIsInvalid"
        ],
        "x-outseta-filter-denylist": [
          "AccountStageLabel",
          "CurrentStripeProducts",
          "CurrentSubscription.DiscountCode",
          "CurrentSubscription.DiscountCouponExpirationDate",
          "CurrentSubscription.Rate",
          "CurrentSubscription.SubscriptionAddOns.Rate",
          "HasLoggedIn",
          "LifetimeRevenue",
          "NextStripeInvoiceDate",
          "PersonAccount.Person.AccountUids",
          "PersonAccount.Person.FullName",
          "PersonAccount.Person.HasLoggedIn",
          "PersonAccount.Person.HasUnsubscribed",
          "PersonAccount.Person.IsConnectedToDiscord",
          "PersonAccount.Person.OAuthIntegrationStatus",
          "PersonAccount.Person.UserAgentPlatformBrowser",
          "PrimaryContact.AccountUids",
          "PrimaryContact.FullName",
          "PrimaryContact.HasLoggedIn",
          "PrimaryContact.HasUnsubscribed",
          "PrimaryContact.IsConnectedToDiscord",
          "PrimaryContact.OAuthIntegrationStatus",
          "PrimaryContact.UserAgentPlatformBrowser",
          "PrimarySubscription.DiscountCode",
          "PrimarySubscription.DiscountCouponExpirationDate",
          "PrimarySubscription.Rate",
          "PrimarySubscription.SubscriptionAddOns.Rate",
          "Subscriptions.DiscountCode",
          "Subscriptions.DiscountCouponExpirationDate",
          "Subscriptions.Rate",
          "Subscriptions.SubscriptionAddOns.Rate",
          "TaxIdIsInvalid"
        ]
      },
      "post": {
        "tags": [
          "CRM"
        ],
        "summary": "Add a new account.",
        "description": "To add an account with an existing person, the Account payload include something like this:\n{ ... other Account properties ..., \"PersonAccount\": [ { \"Person\": { \"Uid\": [personUid] }, \"IsPrimary\": \"true\" } ] }",
        "operationId": "Account_AddAccount",
        "parameters": [
          {
            "name": "isImported",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 2
          }
        ],
        "requestBody": {
          "x-name": "account",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Account"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/accounts/{accountUid}": {
      "get": {
        "tags": [
          "CRM"
        ],
        "summary": "Retrieve an account.",
        "operationId": "Account_GetAccount",
        "parameters": [
          {
            "name": "accountUid",
            "in": "path",
            "required": true,
            "description": "The account's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Account not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "CRM"
        ],
        "summary": "Delete an account record.",
        "operationId": "Account_DeleteAccount",
        "parameters": [
          {
            "name": "accountUid",
            "in": "path",
            "required": true,
            "description": "The account's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "put": {
        "tags": [
          "CRM"
        ],
        "summary": "Update account information.",
        "description": "You can update one or multiple properties on the object. Any property that you\ninclude in the json schema will be updated. To update custom properties just\ninclude them in the same way that they are included when you do a get on the object.",
        "operationId": "Account_UpdateAccount",
        "parameters": [
          {
            "name": "accountUid",
            "in": "path",
            "required": true,
            "description": "The account's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "account",
          "description": "The updated account data",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Account"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Account not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/accounts/{accountUid}/memberships": {
      "post": {
        "tags": [
          "CRM"
        ],
        "summary": "Add a person to an existing account.",
        "operationId": "Account_AddPersonToAccount",
        "parameters": [
          {
            "name": "accountUid",
            "in": "path",
            "required": true,
            "description": "The account's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "personAccount",
          "description": "The person-account membership to create",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PersonAccount"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PersonAccount"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "PersonAccount not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ],
        "description": "Add a person to an existing account. Set sendWelcomeEmail=true to send a welcome email to the person added."
      }
    },
    "/api/v1/crm/accounts/{accountUid}/memberships/{membershipUid}": {
      "put": {
        "tags": [
          "CRM"
        ],
        "summary": "Update an account membership.",
        "description": "Update the membership that links a person to an account — for example, to make a different\nperson the account's primary contact. The membershipUid identifies which membership to update;\nsend the changed PersonAccount fields (such as IsPrimary) in the request body.",
        "operationId": "Account_UpdateMembership",
        "parameters": [
          {
            "name": "accountUid",
            "in": "path",
            "required": true,
            "description": "The account's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "membershipUid",
            "in": "path",
            "required": true,
            "description": "The membership's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "requestBody": {
          "x-name": "membership",
          "description": "The updated membership data",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PersonAccount"
                  }
                ]
              }
            }
          },
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "CRM"
        ],
        "summary": "Remove a person from an account.",
        "description": "Note that you cannot remove the primary contact of an account.",
        "operationId": "Account_DeleteMembership",
        "parameters": [
          {
            "name": "accountUid",
            "in": "path",
            "required": true,
            "description": "The account's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "membershipUid",
            "in": "path",
            "required": true,
            "description": "The membership's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/accounts/{accountUid}/cancel": {
      "put": {
        "tags": [
          "CRM"
        ],
        "summary": "Add a cancellation request to an account.",
        "description": "The account needs to be in subscribing stage. The stage will automatically change over to\ncancelling. If the account has a subscription attached to it then at the subscription\nrenewal the subscription will end and the account will be automatically set to expired.",
        "operationId": "Account_CancelAccount",
        "parameters": [
          {
            "name": "accountUid",
            "in": "path",
            "required": true,
            "description": "The account's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "item",
          "description": "The cancellation details",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AccountCancelation"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/accounts/{accountUid}/remove-cancellation": {
      "put": {
        "tags": [
          "CRM"
        ],
        "summary": "Remove a previous cancellation request from an account.",
        "operationId": "Account_RemoveCancellation",
        "parameters": [
          {
            "name": "accountUid",
            "in": "path",
            "required": true,
            "description": "The account's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/accounts/{accountUid}/extend-trial": {
      "put": {
        "tags": [
          "CRM"
        ],
        "summary": "Extend the date that a trial subscription expires.",
        "operationId": "Account_ExtendTrial",
        "parameters": [
          {
            "name": "accountUid",
            "in": "path",
            "required": true,
            "description": "The account's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "extendTrialDateParams",
          "description": "The new trial expiration date",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ExtendTrialParams"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/accounts/{accountUid}/send-confirmation-email": {
      "put": {
        "tags": [
          "CRM"
        ],
        "summary": "Send a confirmation email to people on an account.",
        "description": "Pass personUid as a query parameter to send to a specific person, or personUid=* to send\nto all people on the account. If no personUid is provided, the email is sent to the\nprimary contact.",
        "operationId": "Account_SendConfirmationEmail",
        "parameters": [
          {
            "name": "accountUid",
            "in": "path",
            "required": true,
            "description": "The account's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/people": {
      "get": {
        "tags": [
          "CRM"
        ],
        "summary": "Retrieve all people.",
        "description": "Returns the people associated with your account.",
        "operationId": "Person_GetAllPeople",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Match on the person's first or last name or email address",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "SchemaLessData": {},
                        "Email": "string",
                        "FirstName": "string",
                        "LastName": "string",
                        "MailingAddress": {},
                        "PasswordLastUpdated": "string",
                        "PasswordMustChange": false,
                        "PhoneMobile": "string",
                        "PhoneWork": "string",
                        "ProfileImageS3Url": "string",
                        "Title": "string",
                        "Timezone": "string",
                        "Language": "string",
                        "IPAddress": "string",
                        "Referer": "string",
                        "UserAgent": "string",
                        "LastLoginDateTime": "string",
                        "OAuthGoogleProfileId": "string",
                        "PersonAccount": [],
                        "DealPeople": [],
                        "LeadFormSubmissions": [],
                        "Account": {},
                        "AccountUids": "string",
                        "EmailListPerson": [],
                        "FullName": "string",
                        "HasLoggedIn": false,
                        "OAuthIntegrationStatus": 0,
                        "OptInToEmailList": false,
                        "Password": "string",
                        "UserAgentPlatformBrowser": "string",
                        "HasUnsubscribed": false,
                        "DiscordUser": {},
                        "IsConnectedToDiscord": false
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Person"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ],
        "x-outseta-sort-denylist": [
          "Account.AccountStageLabel",
          "Account.CurrentStripeProducts",
          "Account.CurrentSubscription.DiscountCode",
          "Account.CurrentSubscription.DiscountCouponExpirationDate",
          "Account.CurrentSubscription.Rate",
          "Account.HasLoggedIn",
          "Account.LifetimeRevenue",
          "Account.NextStripeInvoiceDate",
          "Account.PrimarySubscription.DiscountCode",
          "Account.PrimarySubscription.DiscountCouponExpirationDate",
          "Account.PrimarySubscription.Rate",
          "Account.TaxIdIsInvalid",
          "AccountUids",
          "FullName",
          "HasLoggedIn",
          "HasUnsubscribed",
          "IsConnectedToDiscord",
          "OAuthIntegrationStatus",
          "PersonAccount.Account.AccountStageLabel",
          "PersonAccount.Account.CurrentStripeProducts",
          "PersonAccount.Account.CurrentSubscription.DiscountCode",
          "PersonAccount.Account.CurrentSubscription.DiscountCouponExpirationDate",
          "PersonAccount.Account.CurrentSubscription.Rate",
          "PersonAccount.Account.HasLoggedIn",
          "PersonAccount.Account.LifetimeRevenue",
          "PersonAccount.Account.NextStripeInvoiceDate",
          "PersonAccount.Account.PrimarySubscription.DiscountCode",
          "PersonAccount.Account.PrimarySubscription.DiscountCouponExpirationDate",
          "PersonAccount.Account.PrimarySubscription.Rate",
          "PersonAccount.Account.TaxIdIsInvalid",
          "UserAgentPlatformBrowser"
        ],
        "x-outseta-filter-denylist": [
          "Account.AccountStageLabel",
          "Account.CurrentStripeProducts",
          "Account.CurrentSubscription.DiscountCode",
          "Account.CurrentSubscription.DiscountCouponExpirationDate",
          "Account.CurrentSubscription.Rate",
          "Account.HasLoggedIn",
          "Account.LifetimeRevenue",
          "Account.NextStripeInvoiceDate",
          "Account.PrimarySubscription.DiscountCode",
          "Account.PrimarySubscription.DiscountCouponExpirationDate",
          "Account.PrimarySubscription.Rate",
          "Account.TaxIdIsInvalid",
          "AccountUids",
          "FullName",
          "HasLoggedIn",
          "HasUnsubscribed",
          "IsConnectedToDiscord",
          "OAuthIntegrationStatus",
          "PersonAccount.Account.AccountStageLabel",
          "PersonAccount.Account.CurrentStripeProducts",
          "PersonAccount.Account.CurrentSubscription.DiscountCode",
          "PersonAccount.Account.CurrentSubscription.DiscountCouponExpirationDate",
          "PersonAccount.Account.CurrentSubscription.Rate",
          "PersonAccount.Account.HasLoggedIn",
          "PersonAccount.Account.LifetimeRevenue",
          "PersonAccount.Account.NextStripeInvoiceDate",
          "PersonAccount.Account.PrimarySubscription.DiscountCode",
          "PersonAccount.Account.PrimarySubscription.DiscountCouponExpirationDate",
          "PersonAccount.Account.PrimarySubscription.Rate",
          "PersonAccount.Account.TaxIdIsInvalid",
          "UserAgentPlatformBrowser"
        ]
      },
      "post": {
        "tags": [
          "CRM"
        ],
        "summary": "Add a new person.",
        "operationId": "Person_AddPerson",
        "requestBody": {
          "x-name": "person",
          "description": "The person to create",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Person"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/people/{personUid}": {
      "get": {
        "tags": [
          "CRM"
        ],
        "summary": "Retrieve a person.",
        "operationId": "Person_GetPerson",
        "parameters": [
          {
            "name": "personUid",
            "in": "path",
            "required": true,
            "description": "The person's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Person not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "put": {
        "tags": [
          "CRM"
        ],
        "summary": "Update a person record.",
        "description": "You can update one or multiple properties on the object. Any property that you\ninclude in the json schema will be updated. To update custom properties just\ninclude them in the same way that they are included when you do a get on the object.",
        "operationId": "Person_UpdatePerson",
        "parameters": [
          {
            "name": "personUid",
            "in": "path",
            "required": true,
            "description": "The person's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "person",
          "description": "The updated person data",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Person"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Person not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "CRM"
        ],
        "summary": "Delete a person record.",
        "operationId": "Person_DeletePerson",
        "parameters": [
          {
            "name": "personUid",
            "in": "path",
            "required": true,
            "description": "The person's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/people/{personUid}/setTemporaryPassword": {
      "put": {
        "tags": [
          "CRM"
        ],
        "summary": "Set a temporary password for a user.",
        "description": "The user needs to update the password with the next login.",
        "operationId": "Person_SetTemporaryPassword",
        "parameters": [
          {
            "name": "personUid",
            "in": "path",
            "required": true,
            "description": "The person's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "data",
          "description": "The temporary password",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TemporaryPasswordModel"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/people/{personUid}/regenerateTwoFactorRecoveryCodes": {
      "put": {
        "tags": [
          "CRM"
        ],
        "summary": "Regenerate 2FA recovery codes for a user.",
        "description": "Use this when a user is locked out of their authenticator. All prior recovery codes are\ninvalidated. Existing TOTP/Email mechanisms are intentionally left in place — the admin\nreturns the new codes to the user out of band, the user logs in with one, then re-enrolls\ntheir device. Mirrors the temporary-password flow at SetTemporaryPassword.",
        "operationId": "Person_RegenerateTwoFactorRecoveryCodes",
        "parameters": [
          {
            "name": "personUid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/crm/people/forgotPassword": {
      "post": {
        "tags": [
          "CRM"
        ],
        "summary": "Initiate the forgot password flow.",
        "description": "Sends an email to the user with a link to a page where they can reset their password.\nThe reset password token in the link is valid for 30 minutes.",
        "operationId": "Person_ForgotPassword",
        "requestBody": {
          "x-name": "person",
          "description": "A person object containing the Email of the user",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Person"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/public/billing/discountcoupons/{code}": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve a discount coupon by code.",
        "description": "Used during registration to confirm that a coupon code can still be applied to a plan.\nReturns the coupon when valid, 404 when no coupon matches the code, or a validation\nerror when the coupon cannot be applied.",
        "operationId": "DiscountCoupon_GetDiscountCouponByCode",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "required": true,
            "description": "The discount coupon's code",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "planUid",
            "in": "query",
            "required": true,
            "description": "The unique identifier of the plan to validate the coupon against",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscountCoupon"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "404": {
            "description": "DiscountCoupon not found"
          }
        }
      }
    },
    "/api/v1/billing/discountcoupons": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve all discount coupons.",
        "operationId": "DiscountCoupon_GetAllDiscountCoupons",
        "parameters": [
          {
            "name": "canRedeem",
            "in": "query",
            "description": "When true, returns only coupons that can still be redeemed",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 1
          },
          {
            "name": "q",
            "in": "query",
            "description": "Searches coupons by name or code",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "planUid",
            "in": "query",
            "description": "Returns only coupons that apply to the plan with this unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "UniqueIdentifier": "string",
                        "Name": "string",
                        "IsActive": false,
                        "AmountOff": 0,
                        "PercentOff": 0,
                        "RedeemBy": "string",
                        "Duration": 1,
                        "DurationInMonths": 0,
                        "TimesRedeemed": 0,
                        "MaxRedemptions": 0,
                        "DiscountCouponPlans": [],
                        "ApplyToAddOns": false,
                        "PlanUids": "string"
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/DiscountCoupon"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ],
        "x-outseta-sort-denylist": [
          "PlanUids"
        ],
        "x-outseta-filter-denylist": [
          "PlanUids"
        ]
      },
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Add a new discount coupon.",
        "description": "Only one of AmountOff or PercentOff should be set.\nDuration values: 1 = Forever, 2 = Once, 3 = Repeating (DurationInMonths must be set).",
        "operationId": "DiscountCoupon_AddDiscountCoupon",
        "requestBody": {
          "x-name": "item",
          "description": "The discount coupon to create",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DiscountCoupon"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscountCoupon"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/discountcoupons/{discountCouponUid}": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve a discount coupon.",
        "operationId": "DiscountCoupon_GetDiscountCoupon",
        "parameters": [
          {
            "name": "discountCouponUid",
            "in": "path",
            "required": true,
            "description": "The discount coupon's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscountCoupon"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "DiscountCoupon not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "put": {
        "tags": [
          "Billing"
        ],
        "summary": "Update a discount coupon.",
        "operationId": "DiscountCoupon_UpdateDiscountCoupon",
        "parameters": [
          {
            "name": "discountCouponUid",
            "in": "path",
            "required": true,
            "description": "The discount coupon's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "item",
          "description": "The discount coupon's updated values",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DiscountCoupon"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscountCoupon"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "DiscountCoupon not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Billing"
        ],
        "summary": "Delete a discount coupon.",
        "operationId": "DiscountCoupon_DeleteDiscountCoupon",
        "parameters": [
          {
            "name": "discountCouponUid",
            "in": "path",
            "required": true,
            "description": "The discount coupon's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/discountcoupons/{discountCouponUid}/redemptions": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve the redemptions of a discount coupon.",
        "operationId": "DiscountCoupon_GetDiscountCouponRedemptions",
        "parameters": [
          {
            "name": "discountCouponUid",
            "in": "path",
            "required": true,
            "description": "The discount coupon's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "q",
            "in": "query",
            "description": "Searches redemptions by account or plan name",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "isActive",
            "in": "query",
            "description": "When set, filters by whether the redemption is still active",
            "schema": {
              "type": "boolean",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "RedeemedDate": "string",
                        "ExpireDate": "string",
                        "Subscription": {},
                        "DiscountCoupon": {}
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/DiscountCouponSubscription"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ],
        "x-outseta-sort-denylist": [
          "DiscountCoupon.PlanUids",
          "Subscription.Account.AccountStageLabel",
          "Subscription.Account.CurrentStripeProducts",
          "Subscription.Account.HasLoggedIn",
          "Subscription.Account.LifetimeRevenue",
          "Subscription.Account.NextStripeInvoiceDate",
          "Subscription.Account.TaxIdIsInvalid",
          "Subscription.DiscountCode",
          "Subscription.DiscountCouponExpirationDate",
          "Subscription.Rate",
          "Subscription.SubscriptionAddOns.Rate"
        ],
        "x-outseta-filter-denylist": [
          "DiscountCoupon.PlanUids",
          "Subscription.Account.AccountStageLabel",
          "Subscription.Account.CurrentStripeProducts",
          "Subscription.Account.HasLoggedIn",
          "Subscription.Account.LifetimeRevenue",
          "Subscription.Account.NextStripeInvoiceDate",
          "Subscription.Account.TaxIdIsInvalid",
          "Subscription.DiscountCode",
          "Subscription.DiscountCouponExpirationDate",
          "Subscription.Rate",
          "Subscription.SubscriptionAddOns.Rate"
        ]
      }
    },
    "/api/v1/billing/usage": {
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Add a usage entry for an add-on that bills for usage at the end of the month.",
        "operationId": "Usage_AddUsage",
        "requestBody": {
          "x-name": "item",
          "description": "The usage entry to create, including UsageDate, Amount, and SubscriptionAddOn reference",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Usage"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Usage"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/transactions/{accountUid}": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve all transactions.",
        "description": "Transactions for a given account, tied to accounts and invoices.\nBillingTransactionType: Invoice = 1, Payment = 2, Credit = 3, Refund = 4, Chargeback = 5.",
        "operationId": "Transactions_GetAllTransactionsByAccountId",
        "parameters": [
          {
            "name": "accountUid",
            "in": "path",
            "required": true,
            "description": "The account's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/offset"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "TransactionDate": "string",
                        "BillingTransactionType": 1,
                        "Account": {},
                        "Invoice": {},
                        "Amount": 0,
                        "IsCaptured": false,
                        "IsElectronicTransaction": false
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Transaction"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ],
        "x-outseta-sort-denylist": [
          "Account.AccountStageLabel",
          "Account.CurrentStripeProducts",
          "Account.HasLoggedIn",
          "Account.LifetimeRevenue",
          "Account.NextStripeInvoiceDate",
          "Account.TaxIdIsInvalid",
          "Invoice.AmountCredit",
          "Invoice.AmountDiscount",
          "Invoice.AmountPaid",
          "Invoice.AmountRefunded",
          "Invoice.AmountSubtotal",
          "Invoice.AmountTax",
          "Invoice.AmountTaxRefunded",
          "Invoice.HasPaymentGatewayTransactions",
          "Invoice.StripePaymentTransactionIds",
          "Invoice.StripeRefundTransactionIds",
          "Invoice.StripeTaxRefundTransactionIds",
          "Invoice.Subscription.DiscountCode",
          "Invoice.Subscription.DiscountCouponExpirationDate",
          "Invoice.Subscription.Rate",
          "Invoice.Subscription.SubscriptionAddOns.Rate",
          "IsCaptured",
          "IsElectronicTransaction"
        ],
        "x-outseta-filter-denylist": [
          "Account.AccountStageLabel",
          "Account.CurrentStripeProducts",
          "Account.HasLoggedIn",
          "Account.LifetimeRevenue",
          "Account.NextStripeInvoiceDate",
          "Account.TaxIdIsInvalid",
          "Invoice.AmountCredit",
          "Invoice.AmountDiscount",
          "Invoice.AmountPaid",
          "Invoice.AmountRefunded",
          "Invoice.AmountSubtotal",
          "Invoice.AmountTax",
          "Invoice.AmountTaxRefunded",
          "Invoice.HasPaymentGatewayTransactions",
          "Invoice.StripePaymentTransactionIds",
          "Invoice.StripeRefundTransactionIds",
          "Invoice.StripeTaxRefundTransactionIds",
          "Invoice.Subscription.DiscountCode",
          "Invoice.Subscription.DiscountCouponExpirationDate",
          "Invoice.Subscription.Rate",
          "Invoice.Subscription.SubscriptionAddOns.Rate",
          "IsCaptured",
          "IsElectronicTransaction"
        ]
      }
    },
    "/api/v1/billing/transactions/payment": {
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Add a payment to an invoice.",
        "description": "If the amount matches the outstanding amount of the invoice, the invoice will be marked\nas Paid.",
        "operationId": "Transactions_AddPaymentTransaction",
        "requestBody": {
          "x-name": "item",
          "description": "The payment transaction, including Account, Invoice, and Amount references",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Transaction"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transaction"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/paymentinformation": {
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Update payment information for an account.",
        "operationId": "PaymentInformation_SavePaymentInformation",
        "requestBody": {
          "x-name": "item",
          "description": "The payment information, including Account reference, CustomerToken, NameOnCard, and PaymentToken",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaymentInformation"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentInformation"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptionaddons": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve all subscription add-ons.",
        "operationId": "SubscriptionAddOn_GetAllSubscriptionsAddOns",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "description": "Filters by the add-on's lifecycle: current, future, or past",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "BillingRenewalTerm": 1,
                        "Subscription": {},
                        "AddOn": {},
                        "Quantity": 0,
                        "StartDate": "string",
                        "EndDate": "string",
                        "ExpirationDate": "string",
                        "RenewalDate": "string",
                        "NewRequiredQuantity": 0,
                        "Rate": 0
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SubscriptionAddOn"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ],
        "x-outseta-sort-denylist": [
          "Rate",
          "Subscription.Account.AccountStageLabel",
          "Subscription.Account.CurrentStripeProducts",
          "Subscription.Account.HasLoggedIn",
          "Subscription.Account.LifetimeRevenue",
          "Subscription.Account.NextStripeInvoiceDate",
          "Subscription.Account.TaxIdIsInvalid",
          "Subscription.DiscountCode",
          "Subscription.DiscountCouponExpirationDate",
          "Subscription.Rate"
        ],
        "x-outseta-filter-denylist": [
          "Rate",
          "Subscription.Account.AccountStageLabel",
          "Subscription.Account.CurrentStripeProducts",
          "Subscription.Account.HasLoggedIn",
          "Subscription.Account.LifetimeRevenue",
          "Subscription.Account.NextStripeInvoiceDate",
          "Subscription.Account.TaxIdIsInvalid",
          "Subscription.DiscountCode",
          "Subscription.DiscountCouponExpirationDate",
          "Subscription.Rate"
        ]
      },
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Add an add-on to a subscription.",
        "operationId": "SubscriptionAddOn_AddSubscriptionAddOn",
        "requestBody": {
          "x-name": "item",
          "description": "The subscription add-on to create, including AddOn, BillingRenewalTerm, Quantity, and Subscription references",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SubscriptionAddOn"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptionaddons/{subscriptionAddOnUid}": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve a subscription add-on.",
        "operationId": "SubscriptionAddOn_GetSubscriptionAddOn",
        "parameters": [
          {
            "name": "subscriptionAddOnUid",
            "in": "path",
            "required": true,
            "description": "The subscription add-on's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionAddOn"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "SubscriptionAddOn not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptionaddons/addsubscriptionaddonpreview": {
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Preview the invoice for adding an add-on to a subscription.",
        "description": "Returns an invoice object with information about the amount outstanding. This method\ndoes not commit the change.",
        "operationId": "SubscriptionAddOn_AddSubscriptionAddOnPreview",
        "requestBody": {
          "x-name": "item",
          "description": "The subscription add-on to preview, including its Subscription reference",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SubscriptionAddOn"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invoice"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptionaddons/{subscriptionAddOnUid}/setaddonupgraderequired": {
      "put": {
        "tags": [
          "Billing"
        ],
        "summary": "Indicate that an upgrade of an add-on is required.",
        "description": "When a subscription add-on is flagged, the next time the user authenticates the\nauthentication widget will prompt the user to change their add-on.",
        "operationId": "SubscriptionAddOn_SetAddOnUpgradeRequired",
        "parameters": [
          {
            "name": "subscriptionAddOnUid",
            "in": "path",
            "required": true,
            "description": "The subscription add-on's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "item",
          "description": "The subscription add-on with IsPlanUpgradeRequired set",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SubscriptionAddOn"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionAddOn"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "SubscriptionAddOn not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptionaddons/{subscriptionAddOnUid}/end": {
      "put": {
        "tags": [
          "Billing"
        ],
        "summary": "End an add-on on a subscription.",
        "description": "Removes the add-on from the subscription going forward and returns the updated\nsubscription.",
        "operationId": "SubscriptionAddOn_EndSubscriptionAddOn",
        "parameters": [
          {
            "name": "subscriptionAddOnUid",
            "in": "path",
            "required": true,
            "description": "The subscription add-on's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Subscription"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Subscription not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptionaddons/{subscriptionAddOnUid}/expire": {
      "put": {
        "tags": [
          "Billing"
        ],
        "summary": "Immediately ends an add-on.",
        "operationId": "SubscriptionAddOn_ExpireSubscriptionAddOn",
        "parameters": [
          {
            "name": "subscriptionAddOnUid",
            "in": "path",
            "required": true,
            "description": "The subscription add-on's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/invoices": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve all invoices.",
        "description": "Admins and API key callers see every invoice. Non-admin users see only invoices\nbelonging to the account they are the primary contact of.\nPass excludeInvoiceUid as a query parameter to omit a specific invoice from the result set.",
        "operationId": "Invoice_GetAllInvoices",
        "parameters": [
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/offset"
          },
          {
            "name": "excludeInvoiceUid",
            "in": "query",
            "description": "The invoice Uid to omit from the result set.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "InvoiceDate": "string",
                        "PaymentReminderSentDate": "string",
                        "Number": 0,
                        "BillingInvoiceStatus": 1,
                        "Subscription": {},
                        "Amount": 0,
                        "AmountOutstanding": 0,
                        "InvoiceLineItems": [],
                        "IsUserGenerated": false,
                        "StripeTaxCalculationId": "string",
                        "StripeTaxBehavior": "string",
                        "AmountCredit": 0,
                        "AmountDiscount": 0,
                        "AmountPaid": 0,
                        "AmountRefunded": 0,
                        "AmountSubtotal": 0,
                        "AmountTax": 0,
                        "AmountTaxRefunded": 0,
                        "IsTaxable": false,
                        "HasPaymentGatewayTransactions": false,
                        "StripePaymentTransactionIds": "string",
                        "StripeRefundTransactionIds": "string",
                        "StripeTaxRefundTransactionIds": "string"
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Invoice"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ],
        "x-outseta-sort-denylist": [
          "AmountCredit",
          "AmountDiscount",
          "AmountPaid",
          "AmountRefunded",
          "AmountSubtotal",
          "AmountTax",
          "AmountTaxRefunded",
          "HasPaymentGatewayTransactions",
          "StripePaymentTransactionIds",
          "StripeRefundTransactionIds",
          "StripeTaxRefundTransactionIds",
          "Subscription.Account.AccountStageLabel",
          "Subscription.Account.CurrentStripeProducts",
          "Subscription.Account.HasLoggedIn",
          "Subscription.Account.LifetimeRevenue",
          "Subscription.Account.NextStripeInvoiceDate",
          "Subscription.Account.TaxIdIsInvalid",
          "Subscription.DiscountCode",
          "Subscription.DiscountCouponExpirationDate",
          "Subscription.Rate",
          "Subscription.SubscriptionAddOns.Rate"
        ],
        "x-outseta-filter-denylist": [
          "AmountCredit",
          "AmountDiscount",
          "AmountPaid",
          "AmountRefunded",
          "AmountSubtotal",
          "AmountTax",
          "AmountTaxRefunded",
          "HasPaymentGatewayTransactions",
          "StripePaymentTransactionIds",
          "StripeRefundTransactionIds",
          "StripeTaxRefundTransactionIds",
          "Subscription.Account.AccountStageLabel",
          "Subscription.Account.CurrentStripeProducts",
          "Subscription.Account.HasLoggedIn",
          "Subscription.Account.LifetimeRevenue",
          "Subscription.Account.NextStripeInvoiceDate",
          "Subscription.Account.TaxIdIsInvalid",
          "Subscription.DiscountCode",
          "Subscription.DiscountCouponExpirationDate",
          "Subscription.Rate",
          "Subscription.SubscriptionAddOns.Rate"
        ]
      },
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Create an ad-hoc invoice for a given account.",
        "operationId": "Invoice_AddInvoice",
        "requestBody": {
          "x-name": "item",
          "description": "The invoice to create, including Subscription reference, InvoiceDate, and InvoiceLineItems",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Invoice"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invoice"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/invoices/{invoiceUid}": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve an invoice.",
        "operationId": "Invoice_GetInvoice",
        "parameters": [
          {
            "name": "invoiceUid",
            "in": "path",
            "required": true,
            "description": "The invoice's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invoice"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Invoice not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "put": {
        "tags": [
          "Billing"
        ],
        "summary": "Update an ad-hoc (manually created) invoice.",
        "description": "Only invoices created manually via the API or admin UI can be updated; invoices\ngenerated by a subscription's billing cycle are immutable and will return a\nvalidation error.",
        "operationId": "Invoice_UpdateInvoice",
        "parameters": [
          {
            "name": "invoiceUid",
            "in": "path",
            "required": true,
            "description": "The invoice's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "item",
          "description": "The updated invoice, including InvoiceLineItems and Subscription reference",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Invoice"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invoice"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Invoice not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Billing"
        ],
        "summary": "Delete an invoice.",
        "operationId": "Invoice_DeleteInvoice",
        "parameters": [
          {
            "name": "invoiceUid",
            "in": "path",
            "required": true,
            "description": "The invoice's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/invoices/{invoiceUid}/pdf": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve a rendered PDF copy of an invoice.",
        "description": "Response body is a binary PDF (Content-Type: application/pdf) served as an\nattachment named invoice-{Number}-{InvoiceDate}-{AccountName}.pdf.",
        "operationId": "Invoice_GetInvoiceAsPdf",
        "parameters": [
          {
            "name": "invoiceUid",
            "in": "path",
            "required": true,
            "description": "The invoice's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/invoices/{invoiceUid}/sendinvoiceemail": {
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Email an invoice to the account's billing contact.",
        "description": "Optional query parameters:\n  note - free-text note to include in the email body.\n  bcc  - comma-separated list of email addresses to BCC.",
        "operationId": "Invoice_SendInvoiceEmail",
        "parameters": [
          {
            "name": "invoiceUid",
            "in": "path",
            "required": true,
            "description": "The invoice's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/invoices/{invoiceUid}/sendinvoicepaidemail": {
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Send the invoice paid receipt email to the account's billing contact.",
        "description": "Returns 400 Bad Request if the invoice is not in the Paid status.",
        "operationId": "Invoice_SendInvoicePaidEmail",
        "parameters": [
          {
            "name": "invoiceUid",
            "in": "path",
            "required": true,
            "description": "The invoice's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptions": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve all subscriptions.",
        "description": "Admins and API key callers see every subscription; non-admin users see only\nsubscriptions on accounts they are related to. That scope is determined by the auth\ntoken and cannot be widened by the caller. Optionally pass\nAccount.PersonAccount.Person.Uid as a query parameter to narrow the results to a\nspecific person.",
        "operationId": "Subscription_GetAllSubscriptions",
        "parameters": [
          {
            "name": "current",
            "in": "query",
            "description": "Pass 1 to return only the most recent subscription per account, expired or not",
            "schema": {
              "type": "string",
              "default": "0",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "status",
            "in": "query",
            "description": "Filters by the subscription's lifecycle: current, future, or past",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "BillingRenewalTerm": 1,
                        "Account": {},
                        "Plan": {},
                        "Quantity": 0,
                        "StartDate": "string",
                        "EndDate": "string",
                        "ExpirationDate": "string",
                        "RenewalDate": "string",
                        "NewRequiredQuantity": 0,
                        "IsPlanUpgradeRequired": false,
                        "PlanUpgradeRequiredMessage": "string",
                        "SubscriptionAddOns": [],
                        "DiscountCouponSubscriptions": [],
                        "DiscountCode": "string",
                        "DiscountCouponExpirationDate": "string",
                        "LatestInvoice": {},
                        "Rate": 0
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Subscription"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ],
        "x-outseta-sort-denylist": [
          "Account.AccountStageLabel",
          "Account.CurrentStripeProducts",
          "Account.HasLoggedIn",
          "Account.LifetimeRevenue",
          "Account.NextStripeInvoiceDate",
          "Account.TaxIdIsInvalid",
          "DiscountCode",
          "DiscountCouponExpirationDate",
          "Rate",
          "SubscriptionAddOns.Rate"
        ],
        "x-outseta-filter-denylist": [
          "Account.AccountStageLabel",
          "Account.CurrentStripeProducts",
          "Account.HasLoggedIn",
          "Account.LifetimeRevenue",
          "Account.NextStripeInvoiceDate",
          "Account.TaxIdIsInvalid",
          "DiscountCode",
          "DiscountCouponExpirationDate",
          "Rate",
          "SubscriptionAddOns.Rate"
        ]
      }
    },
    "/api/v1/billing/subscriptions/{subscriptionUid}": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve a subscription.",
        "operationId": "Subscription_GetSubscription",
        "parameters": [
          {
            "name": "subscriptionUid",
            "in": "path",
            "required": true,
            "description": "The subscription's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Subscription"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Subscription not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Billing"
        ],
        "summary": "Delete a subscription.",
        "description": "Only a future-dated subscription can be deleted; the current subscription on an\naccount cannot be removed this way.",
        "operationId": "Subscription_DeleteSubscription",
        "parameters": [
          {
            "name": "subscriptionUid",
            "in": "path",
            "required": true,
            "description": "The subscription's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptions/{subscriptionUid}/discounts/{discountUid}": {
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Add a discount to a subscription.",
        "operationId": "Subscription_AddDiscountToSubscription",
        "parameters": [
          {
            "name": "subscriptionUid",
            "in": "path",
            "required": true,
            "description": "The subscription's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "discountUid",
            "in": "path",
            "required": true,
            "description": "The discount coupon's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Billing"
        ],
        "summary": "Remove a discount from a subscription.",
        "description": "Expires the active discount coupon on the subscription as of now.",
        "operationId": "Subscription_ExpireDiscountCouponSubscription",
        "parameters": [
          {
            "name": "subscriptionUid",
            "in": "path",
            "required": true,
            "description": "The subscription's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "discountUid",
            "in": "path",
            "required": true,
            "description": "The discount coupon's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptions/{subscriptionUid}/setsubscriptionupgraderequired": {
      "put": {
        "tags": [
          "Billing"
        ],
        "summary": "Indicate that an upgrade of plan is required.",
        "description": "When a subscription is flagged, next time the user authenticates the authentication\nwidget will prompt the user to change plan.",
        "operationId": "Subscription_SetSubscriptionUpgradeRequired",
        "parameters": [
          {
            "name": "subscriptionUid",
            "in": "path",
            "required": true,
            "description": "The subscription's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "item",
          "description": "The subscription with IsPlanUpgradeRequired and optional PlanUpgradeRequiredMessage",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Subscription"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Subscription"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Subscription not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptions/compute-charge-summary": {
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Preview the initial or renewal invoice for a hypothetical subscription.",
        "description": "Returns an invoice object with information about the amount outstanding if an account\nwere to register with this subscription. BillingRenewalTerm values: 1 = Monthly,\n2 = Yearly, 3 = Quarterly, 4 = OneTime. Pass asOf=renewal to see the renewal invoice\ninstead of the initial invoice.",
        "operationId": "Subscription_FirstTimeSubscriptionPreview",
        "parameters": [
          {
            "name": "asOf",
            "in": "query",
            "description": "Set to \"renewal\" to see the renewal invoice. Defaults to \"now\".",
            "schema": {
              "type": "string",
              "default": "now",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "requestBody": {
          "x-name": "newSubscription",
          "description": "The subscription to preview",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Subscription"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invoice"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/billing/subscriptions/firsttimesubscription": {
      "put": {
        "tags": [
          "Billing"
        ],
        "summary": "Add a subscription to an account for the first time.",
        "description": "Returns an invoice object with information about the amount outstanding.",
        "operationId": "Subscription_FirstTimeSubscription",
        "requestBody": {
          "x-name": "newSubscription",
          "description": "The subscription to create, including Plan, BillingRenewalTerm, and Account references",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Subscription"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invoice"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptions/{subscriptionUid}/changesubscriptionpreview": {
      "put": {
        "tags": [
          "Billing"
        ],
        "summary": "Preview the invoice for a subscription change.",
        "description": "Returns an invoice object with information about the amount outstanding. This method\ndoes not commit the subscription change.",
        "operationId": "Subscription_ChangeSubscriptionPreview",
        "parameters": [
          {
            "name": "subscriptionUid",
            "in": "path",
            "required": true,
            "description": "The subscription's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "startImmediately",
            "in": "query",
            "description": "If true, the subscription change takes effect immediately",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "requestBody": {
          "x-name": "newSubscription",
          "description": "The new subscription details",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Subscription"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invoice"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Invoice not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/subscriptions/{subscriptionUid}/changesubscription": {
      "put": {
        "tags": [
          "Billing"
        ],
        "summary": "Change a subscription on an account.",
        "description": "Returns an invoice object with information about the amount outstanding.",
        "operationId": "Subscription_ChangeSubscription",
        "parameters": [
          {
            "name": "subscriptionUid",
            "in": "path",
            "required": true,
            "description": "The subscription's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "startImmediately",
            "in": "query",
            "description": "If true, the subscription change takes effect immediately",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "requestBody": {
          "x-name": "newSubscription",
          "description": "The new subscription details",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Subscription"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Subscription"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Subscription not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/plans": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve all plans.",
        "operationId": "Plan_GetAllPlans",
        "parameters": [
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/offset"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "Name": "string",
                        "Description": "string",
                        "PlanFamily": {},
                        "AccountRegistrationMode": 1,
                        "IsQuantityEditable": false,
                        "MinimumQuantity": 0,
                        "MaximumPeople": 0,
                        "MonthlyRate": 0,
                        "AnnualRate": 0,
                        "QuarterlyRate": 0,
                        "OneTimeRate": 0,
                        "SetupFee": 0,
                        "SkipSetupFeeOnPlanChange": false,
                        "IsTaxable": false,
                        "IsActive": false,
                        "IsPerUser": false,
                        "RequirePaymentInformation": false,
                        "TrialPeriodDays": 0,
                        "TrialUntilDate": "string",
                        "ExpiresAfterMonths": 0,
                        "ExpirationDate": "string",
                        "PostLoginPath": "string",
                        "StripeTaxCodeId": "string",
                        "UnitOfMeasure": "string",
                        "PlanAddOns": [],
                        "ContentGroups": [],
                        "NumberOfSubscriptions": 0
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Plan"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-outseta-sort-denylist": [
          "NumberOfSubscriptions"
        ],
        "x-outseta-filter-denylist": [
          "NumberOfSubscriptions"
        ]
      },
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Add a new plan.",
        "operationId": "Plan_AddPlan",
        "requestBody": {
          "x-name": "item",
          "description": "The plan to create, including its PlanFamily reference",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Plan"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Plan"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/plans/{planUid}": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve a plan.",
        "operationId": "Plan_GetPlan",
        "parameters": [
          {
            "name": "planUid",
            "in": "path",
            "required": true,
            "description": "The plan's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Plan"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "404": {
            "description": "Plan not found"
          }
        }
      },
      "put": {
        "tags": [
          "Billing"
        ],
        "summary": "Update a plan.",
        "operationId": "Plan_UpdatePlan",
        "parameters": [
          {
            "name": "planUid",
            "in": "path",
            "required": true,
            "description": "The plan's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "item",
          "description": "The plan's updated values",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Plan"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Plan"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Plan not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Billing"
        ],
        "summary": "Delete a plan.",
        "operationId": "Plan_DeletePlan",
        "parameters": [
          {
            "name": "planUid",
            "in": "path",
            "required": true,
            "description": "The plan's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/planfamilies": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve all plan families.",
        "operationId": "PlanFamily_GetAllPlanFamilies",
        "parameters": [
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/offset"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "SchemaLessData": {},
                        "Name": "string",
                        "IsActive": false,
                        "IsDefault": false,
                        "Plans": []
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/PlanFamily"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-outseta-sort-denylist": [
          "Plans.NumberOfSubscriptions"
        ],
        "x-outseta-filter-denylist": [
          "Plans.NumberOfSubscriptions"
        ]
      },
      "post": {
        "tags": [
          "Billing"
        ],
        "summary": "Add a new plan family.",
        "operationId": "PlanFamily_AddPlanFamily",
        "requestBody": {
          "x-name": "item",
          "description": "The plan family to create",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PlanFamily"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlanFamily"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/billing/planfamilies/{planFamilyUid}": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Retrieve a plan family.",
        "operationId": "PlanFamily_GetPlanFamily",
        "parameters": [
          {
            "name": "planFamilyUid",
            "in": "path",
            "required": true,
            "description": "The plan family's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlanFamily"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "PlanFamily not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "put": {
        "tags": [
          "Billing"
        ],
        "summary": "Update a plan family.",
        "operationId": "PlanFamily_UpdatePlanFamily",
        "parameters": [
          {
            "name": "planFamilyUid",
            "in": "path",
            "required": true,
            "description": "The plan family's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "item",
          "description": "The plan family's updated values",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PlanFamily"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlanFamily"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "PlanFamily not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Billing"
        ],
        "summary": "Delete a plan family.",
        "operationId": "PlanFamily_DeletePlanFamily",
        "parameters": [
          {
            "name": "planFamilyUid",
            "in": "path",
            "required": true,
            "description": "The plan family's unique identifier",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "400": {
            "description": "Invalid Uid format"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/activities": {
      "get": {
        "tags": [
          "Activity"
        ],
        "summary": "Retrieve all activities.",
        "description": "One or multiple parameters can be defined to filter the results.\nActivityType=[100,101] where ActivityUpdated = 100 and AcccountUpdated = 101.\nResults will be limited to the last year unless ActivityDateTime is specified,\npossibly with ActivityDateTime__gt/ActivityDateTime__gte and\nActivityDateTime__lt/ActivityDateTime__lte.",
        "operationId": "Activity_GetAll",
        "parameters": [
          {
            "name": "criteria",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "$ref": "#/components/schemas/ActivityCriteria"
              }
            },
            "x-position": 1
          },
          {
            "name": "ActivityType",
            "x-originalName": "activityType",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "EntityType",
            "x-originalName": "entityTypeParameter",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "EntityUid",
            "x-originalName": "entityUidParameter",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "metadata": {
                      "limit": 0,
                      "offset": 0,
                      "total": 0
                    },
                    "items": [
                      {
                        "Uid": "string",
                        "_objectType": "string",
                        "Created": "string",
                        "Updated": "string",
                        "ActivityEventData": {},
                        "Title": "string",
                        "Description": "string",
                        "ActivityData": "string",
                        "ActivityDateTime": "string",
                        "ActivityType": 10,
                        "EntityType": 0,
                        "EntityUid": "string"
                      }
                    ]
                  },
                  "properties": {
                    "metadata": {
                      "$ref": "#/components/schemas/CollectionMetadata"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Activity"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/v1/activities/customactivity": {
      "post": {
        "tags": [
          "Activity"
        ],
        "summary": "Record a custom event associated to an account, person or deal.",
        "description": "These activities show up on the activity feed of the corresponding entity and can be\nleveraged to trigger drip campaigns and other automation. For integration with drip\ncampaigns make sure that what you pass in the Title property matches the start / stop\nvalue specified for the campaign.",
        "operationId": "Activity_AddCustomActivity",
        "requestBody": {
          "x-name": "activity",
          "description": "The custom activity to record. Must include Title, EntityType, and EntityUid.",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Activity"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "example": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Translation": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Key",
              "Value",
              "LanguageCode"
            ],
            "properties": {
              "Key": {
                "type": "string",
                "maxLength": 255,
                "minLength": 1
              },
              "Value": {
                "type": "string",
                "maxLength": 255,
                "minLength": 1
              },
              "LanguageCode": {
                "type": "string",
                "maxLength": 42,
                "minLength": 1
              }
            }
          }
        ]
      },
      "AbstractQcountBean": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Qcount_Id"
            ],
            "properties": {
              "ActivityEventData": {
                "nullable": true
              }
            }
          }
        ]
      },
      "AbstractBean": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "required": [
          "Id",
          "Created",
          "CreatedByUser_Id",
          "Updated",
          "UpdatedByUser_Id"
        ],
        "properties": {
          "Uid": {
            "type": "string",
            "maxLength": 10,
            "nullable": true
          },
          "_objectType": {
            "type": "string",
            "nullable": true
          },
          "Created": {
            "type": "string",
            "readOnly": true,
            "format": "date-time",
            "minLength": 1
          },
          "Updated": {
            "type": "string",
            "readOnly": true,
            "format": "date-time",
            "minLength": 1
          }
        }
      },
      "DeserializationStatus": {
        "type": "integer",
        "description": "`0` - NotSet, `1` - Deserialized, `2` - DeserializedNull",
        "x-enumNames": [
          "NotSet",
          "Deserialized",
          "DeserializedNull"
        ],
        "x-enum-descriptions": [
          "",
          "",
          ""
        ],
        "enum": [
          0,
          1,
          2
        ]
      },
      "Tag": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Name"
            ],
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 50,
                "minLength": 1
              },
              "SystemName": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "SystemDescription": {
                "type": "string",
                "maxLength": 500,
                "nullable": true
              },
              "TagColor": {
                "$ref": "#/components/schemas/TagColor"
              },
              "EntityType": {
                "$ref": "#/components/schemas/EntityType"
              }
            }
          }
        ]
      },
      "TagColor": {
        "type": "integer",
        "description": "`1` - Red, `2` - Orange, `3` - Amber, `4` - Green, `5` - Teal, `6` - Blue, `7` - Indigo, `8` - Purple, `9` - Pink, `10` - Gray",
        "x-enumNames": [
          "Red",
          "Orange",
          "Amber",
          "Green",
          "Teal",
          "Blue",
          "Indigo",
          "Purple",
          "Pink",
          "Gray"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ]
      },
      "EntityType": {
        "type": "integer",
        "description": "`0` - None, `1` - Account, `2` - Person, `3` - Deal, `4` - Case, `5` - Invoice, `6` - EmailLog, `7` - Plan, `8` - DiscountCoupon, `9` - AddOn, `10` - Task, `11` - Segment, `12` - Broadcast",
        "x-enumNames": [
          "None",
          "Account",
          "Person",
          "Deal",
          "Case",
          "Invoice",
          "EmailLog",
          "Plan",
          "DiscountCoupon",
          "AddOn",
          "Task",
          "Segment",
          "Broadcast"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ]
      },
      "Definition": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "ControlType": "string",
          "ControlParams": "string",
          "Label": "string",
          "SystemName": "string",
          "EntityType": 0,
          "Position": 0,
          "Hidden": false
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ControlType": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "ControlParams": {
                "type": "string",
                "nullable": true
              },
              "Label": {
                "type": "string",
                "nullable": true
              },
              "SystemName": {
                "type": "string",
                "nullable": true
              },
              "EntityType": {
                "$ref": "#/components/schemas/EntityType"
              },
              "Position": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "Hidden": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "EmailSubscriptionsPayload": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ActiveSubscriptions": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EmailListPerson"
            }
          },
          "RecaptchaToken": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EmailListPerson": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "EmailList": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "Name": "string",
            "Description": "string",
            "WelcomeSubject": "string",
            "WelcomeBody": "string",
            "WelcomeFromName": "string",
            "WelcomeFromEmail": "string",
            "RequiresDoubleOptIn": false,
            "IsInternal": false,
            "EmailListPerson": [],
            "FieldConfigurationDataJSON": "string",
            "CountSubscriptionsActive": 0,
            "CountSubscriptionsBounce": 0,
            "CountSubscriptionsNotConfirmed": 0,
            "CountSubscriptionsSpam": 0,
            "CountSubscriptionsUnsubscribed": 0
          },
          "Person": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "Email": "string",
            "FirstName": "string",
            "LastName": "string",
            "MailingAddress": {},
            "PasswordLastUpdated": "string",
            "PasswordMustChange": false,
            "PhoneMobile": "string",
            "PhoneWork": "string",
            "ProfileImageS3Url": "string",
            "Title": "string",
            "Timezone": "string",
            "Language": "string",
            "IPAddress": "string",
            "Referer": "string",
            "UserAgent": "string",
            "LastLoginDateTime": "string",
            "OAuthGoogleProfileId": "string",
            "PersonAccount": [],
            "DealPeople": [],
            "LeadFormSubmissions": [],
            "Account": {},
            "AccountUids": "string",
            "EmailListPerson": [],
            "FullName": "string",
            "HasLoggedIn": false,
            "OAuthIntegrationStatus": 0,
            "OptInToEmailList": false,
            "Password": "string",
            "UserAgentPlatformBrowser": "string",
            "HasUnsubscribed": false,
            "DiscordUser": {},
            "IsConnectedToDiscord": false
          },
          "EmailListSubscriberStatus": 1,
          "SubscribedDate": "string",
          "ConfirmedDate": "string",
          "ConfirmationNotes": "string",
          "UnsubscribedDate": "string",
          "CleanedDate": "string",
          "WelcomeEmailDeliverDateTime": "string",
          "WelcomeEmailOpenDateTime": "string",
          "UnsubscribeReason": "string",
          "UnsubscribeReasonOther": "string",
          "RecaptchaToken": "string",
          "RecaptchaSiteKey": "string",
          "SendWelcomeEmail": false,
          "Source": "string"
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "EmailList": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EmailList"
                  }
                ]
              },
              "Person": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Person",
                    "description": "Circular reference to Person (not expanded here)."
                  }
                ]
              },
              "EmailListSubscriberStatus": {
                "maximum": 4,
                "minimum": 1,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EmailListSubscriberStatus"
                  }
                ]
              },
              "SubscribedDate": {
                "type": "string",
                "format": "date-time"
              },
              "ConfirmedDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "ConfirmationNotes": {
                "type": "string",
                "maxLength": 500,
                "nullable": true
              },
              "UnsubscribedDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "CleanedDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "WelcomeEmailDeliverDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "WelcomeEmailOpenDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "UnsubscribeReason": {
                "type": "string",
                "maxLength": 20,
                "nullable": true
              },
              "UnsubscribeReasonOther": {
                "type": "string",
                "nullable": true
              },
              "RecaptchaToken": {
                "type": "string",
                "nullable": true
              },
              "RecaptchaSiteKey": {
                "type": "string",
                "nullable": true
              },
              "SendWelcomeEmail": {
                "type": "boolean"
              },
              "Source": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "EmailList": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Name"
            ],
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              "Description": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "WelcomeSubject": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "WelcomeBody": {
                "type": "string",
                "nullable": true
              },
              "WelcomeFromName": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "WelcomeFromEmail": {
                "title": "From Email",
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "RequiresDoubleOptIn": {
                "type": "boolean"
              },
              "IsInternal": {
                "type": "boolean"
              },
              "EmailListPerson": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "EmailListPerson",
                  "description": "Circular reference to EmailListPerson (not expanded here)."
                }
              },
              "FieldConfigurationDataJSON": {
                "type": "string",
                "nullable": true
              },
              "CountSubscriptionsActive": {
                "type": "integer",
                "format": "int32"
              },
              "CountSubscriptionsBounce": {
                "type": "integer",
                "format": "int32"
              },
              "CountSubscriptionsNotConfirmed": {
                "type": "integer",
                "format": "int32"
              },
              "CountSubscriptionsSpam": {
                "type": "integer",
                "format": "int32"
              },
              "CountSubscriptionsUnsubscribed": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "Person": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "SchemaLessData": {},
          "Email": "string",
          "FirstName": "string",
          "LastName": "string",
          "MailingAddress": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "AddressLine1": "string",
            "AddressLine2": "string",
            "AddressLine3": "string",
            "City": "string",
            "State": "string",
            "PostalCode": "string",
            "Country": "string",
            "GeoLocation": "string"
          },
          "PasswordLastUpdated": "string",
          "PasswordMustChange": false,
          "PhoneMobile": "string",
          "PhoneWork": "string",
          "ProfileImageS3Url": "string",
          "Title": "string",
          "Timezone": "string",
          "Language": "string",
          "IPAddress": "string",
          "Referer": "string",
          "UserAgent": "string",
          "LastLoginDateTime": "string",
          "OAuthGoogleProfileId": "string",
          "PersonAccount": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "Person": {},
              "Account": {},
              "IsPrimary": false,
              "ReceiveInvoices": false,
              "Role": 1
            }
          ],
          "DealPeople": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "Person": {},
              "Deal": {}
            }
          ],
          "LeadFormSubmissions": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "Person": {},
              "LeadForm": {},
              "RefererURL": "string",
              "RecaptchaToken": "string",
              "RecaptchaSiteKey": "string"
            }
          ],
          "Account": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "StripeId": "string",
            "IsLivemode": false,
            "Name": "string",
            "ClientIdentifier": "string",
            "Currency": "string",
            "InvoiceNotes": "string",
            "IsDemo": false,
            "BillingAddress": {},
            "MailingAddress": {},
            "AccountStage": 2,
            "PaymentInformation": {},
            "PersonAccount": [],
            "StripeDefaultPaymentMethodId": "string",
            "StripeInvoices": [],
            "StripePaymentMethods": [],
            "StripeSubscriptions": [],
            "Subscriptions": [],
            "Deals": [],
            "LastLoginDateTime": "string",
            "AccountSpecificPageUrl1": "string",
            "AccountSpecificPageUrl2": "string",
            "AccountSpecificPageUrl3": "string",
            "AccountSpecificPageUrl4": "string",
            "AccountSpecificPageUrl5": "string",
            "AccountSpecificPageUrl6": "string",
            "AccountSpecificPageUrl7": "string",
            "AccountSpecificPageUrl8": "string",
            "AccountSpecificPageUrl9": "string",
            "AccountSpecificPageUrl10": "string",
            "RewardFulReferralId": "string",
            "ToltReferralId": "string",
            "TaxIds": [],
            "TaxStatus": "string",
            "AccountStageLabel": "string",
            "CurrentStripeProducts": "string",
            "CurrentSubscription": {},
            "DomainName": "string",
            "HasLoggedIn": false,
            "LatestSubscription": {},
            "LifetimeRevenue": 0,
            "NextStripeInvoiceDate": "string",
            "Nonce": "string",
            "PrimaryContact": {},
            "PrimarySubscription": {},
            "PrimaryStripeSubscription": {},
            "RecaptchaToken": "string",
            "StripeNextInvoiceSequence": 0,
            "StripePrice": [],
            "StripePriceIds": "string",
            "StripePromotionCode": "string",
            "TaxId": "string",
            "TaxIdIsInvalid": false,
            "TaxIdType": "string",
            "WebflowSlug": "string"
          },
          "AccountUids": "string",
          "EmailListPerson": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "EmailList": {},
              "Person": {},
              "EmailListSubscriberStatus": 1,
              "SubscribedDate": "string",
              "ConfirmedDate": "string",
              "ConfirmationNotes": "string",
              "UnsubscribedDate": "string",
              "CleanedDate": "string",
              "WelcomeEmailDeliverDateTime": "string",
              "WelcomeEmailOpenDateTime": "string",
              "UnsubscribeReason": "string",
              "UnsubscribeReasonOther": "string",
              "RecaptchaToken": "string",
              "RecaptchaSiteKey": "string",
              "SendWelcomeEmail": false,
              "Source": "string"
            }
          ],
          "FullName": "string",
          "HasLoggedIn": false,
          "OAuthIntegrationStatus": 0,
          "OptInToEmailList": false,
          "Password": "string",
          "UserAgentPlatformBrowser": "string",
          "HasUnsubscribed": false,
          "DiscordUser": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "DiscordUserId": "string",
            "DiscordEmail": "string",
            "DiscordUsername": "string",
            "DiscordOAuthRefreshToken": "string"
          },
          "IsConnectedToDiscord": false
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "Email": {
                "type": "string",
                "format": "email",
                "maxLength": 250,
                "nullable": true
              },
              "FirstName": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "LastName": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "MailingAddress": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "PasswordLastUpdated": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "PasswordMustChange": {
                "type": "boolean"
              },
              "PhoneMobile": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PhoneWork": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "ProfileImageS3Url": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Title": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Timezone": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "Language": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "IPAddress": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Referer": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "UserAgent": {
                "type": "string",
                "maxLength": 1000,
                "nullable": true
              },
              "LastLoginDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "OAuthGoogleProfileId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "PersonAccount": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "PersonAccount",
                  "description": "Circular reference to PersonAccount (not expanded here)."
                }
              },
              "DealPeople": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DealPerson"
                }
              },
              "LeadFormSubmissions": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/LeadFormSubmission"
                }
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "AccountUids": {
                "type": "string",
                "nullable": true
              },
              "EmailListPerson": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/EmailListPerson"
                }
              },
              "FullName": {
                "type": "string",
                "nullable": true
              },
              "HasLoggedIn": {
                "type": "boolean"
              },
              "OAuthIntegrationStatus": {
                "$ref": "#/components/schemas/OAuthService"
              },
              "OptInToEmailList": {
                "type": "boolean"
              },
              "Password": {
                "type": "string",
                "nullable": true
              },
              "UserAgentPlatformBrowser": {
                "type": "string",
                "nullable": true
              },
              "HasUnsubscribed": {
                "type": "boolean"
              },
              "DiscordUser": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DiscordUser"
                  }
                ]
              },
              "IsConnectedToDiscord": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "Address": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "AddressLine1": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "AddressLine2": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "AddressLine3": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "City": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "State": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PostalCode": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Country": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "GeoLocation": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              }
            }
          }
        ]
      },
      "PersonAccount": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "Person": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "Email": "string",
            "FirstName": "string",
            "LastName": "string",
            "MailingAddress": {},
            "PasswordLastUpdated": "string",
            "PasswordMustChange": false,
            "PhoneMobile": "string",
            "PhoneWork": "string",
            "ProfileImageS3Url": "string",
            "Title": "string",
            "Timezone": "string",
            "Language": "string",
            "IPAddress": "string",
            "Referer": "string",
            "UserAgent": "string",
            "LastLoginDateTime": "string",
            "OAuthGoogleProfileId": "string",
            "PersonAccount": [],
            "DealPeople": [],
            "LeadFormSubmissions": [],
            "Account": {},
            "AccountUids": "string",
            "EmailListPerson": [],
            "FullName": "string",
            "HasLoggedIn": false,
            "OAuthIntegrationStatus": 0,
            "OptInToEmailList": false,
            "Password": "string",
            "UserAgentPlatformBrowser": "string",
            "HasUnsubscribed": false,
            "DiscordUser": {},
            "IsConnectedToDiscord": false
          },
          "Account": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "StripeId": "string",
            "IsLivemode": false,
            "Name": "string",
            "ClientIdentifier": "string",
            "Currency": "string",
            "InvoiceNotes": "string",
            "IsDemo": false,
            "BillingAddress": {},
            "MailingAddress": {},
            "AccountStage": 2,
            "PaymentInformation": {},
            "PersonAccount": [],
            "StripeDefaultPaymentMethodId": "string",
            "StripeInvoices": [],
            "StripePaymentMethods": [],
            "StripeSubscriptions": [],
            "Subscriptions": [],
            "Deals": [],
            "LastLoginDateTime": "string",
            "AccountSpecificPageUrl1": "string",
            "AccountSpecificPageUrl2": "string",
            "AccountSpecificPageUrl3": "string",
            "AccountSpecificPageUrl4": "string",
            "AccountSpecificPageUrl5": "string",
            "AccountSpecificPageUrl6": "string",
            "AccountSpecificPageUrl7": "string",
            "AccountSpecificPageUrl8": "string",
            "AccountSpecificPageUrl9": "string",
            "AccountSpecificPageUrl10": "string",
            "RewardFulReferralId": "string",
            "ToltReferralId": "string",
            "TaxIds": [],
            "TaxStatus": "string",
            "AccountStageLabel": "string",
            "CurrentStripeProducts": "string",
            "CurrentSubscription": {},
            "DomainName": "string",
            "HasLoggedIn": false,
            "LatestSubscription": {},
            "LifetimeRevenue": 0,
            "NextStripeInvoiceDate": "string",
            "Nonce": "string",
            "PrimaryContact": {},
            "PrimarySubscription": {},
            "PrimaryStripeSubscription": {},
            "RecaptchaToken": "string",
            "StripeNextInvoiceSequence": 0,
            "StripePrice": [],
            "StripePriceIds": "string",
            "StripePromotionCode": "string",
            "TaxId": "string",
            "TaxIdIsInvalid": false,
            "TaxIdType": "string",
            "WebflowSlug": "string"
          },
          "IsPrimary": false,
          "ReceiveInvoices": false,
          "Role": 1
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Person": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Person"
                  }
                ]
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "IsPrimary": {
                "type": "boolean"
              },
              "ReceiveInvoices": {
                "type": "boolean"
              },
              "Role": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TeamRole"
                  }
                ]
              }
            }
          }
        ]
      },
      "Account": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "SchemaLessData": {},
          "StripeId": "string",
          "IsLivemode": false,
          "Name": "string",
          "ClientIdentifier": "string",
          "Currency": "string",
          "InvoiceNotes": "string",
          "IsDemo": false,
          "BillingAddress": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "AddressLine1": "string",
            "AddressLine2": "string",
            "AddressLine3": "string",
            "City": "string",
            "State": "string",
            "PostalCode": "string",
            "Country": "string",
            "GeoLocation": "string"
          },
          "MailingAddress": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "AddressLine1": "string",
            "AddressLine2": "string",
            "AddressLine3": "string",
            "City": "string",
            "State": "string",
            "PostalCode": "string",
            "Country": "string",
            "GeoLocation": "string"
          },
          "AccountStage": 2,
          "PaymentInformation": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "Account": {},
            "CustomerToken": "string",
            "LastFourDigits": "string",
            "LatestFailureDateTime": "string",
            "LatestFailureDescription": "string",
            "LatestSuccessDateTime": "string",
            "NumberOfFailures": 0,
            "PaymentClientSecret": "string",
            "PaymentMethodType": "string",
            "PaymentToken": "string",
            "BankName": "string",
            "BankAccountType": "string",
            "BankAccountHolderType": "string",
            "NameOnCard": "string",
            "CardType": "string",
            "ExpirationMonth": "string",
            "ExpirationYear": "string",
            "Mode": "string",
            "OneTimeToken": "string",
            "RecaptchaToken": "string",
            "SetupIntent": "string"
          },
          "PersonAccount": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "Person": {},
              "Account": {},
              "IsPrimary": false,
              "ReceiveInvoices": false,
              "Role": 1
            }
          ],
          "StripeDefaultPaymentMethodId": "string",
          "StripeInvoices": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "SchemaLessData": {},
              "StripeId": "string",
              "IsLivemode": false,
              "AmountDue": 0,
              "AmountPaid": 0,
              "AmountShipping": 0,
              "AttemptCount": 0,
              "Attempted": false,
              "Currency": "string",
              "Description": "string",
              "FinalizedAt": "string",
              "HostedInvoiceUrl": "string",
              "InvoicePdf": "string",
              "NextPaymentAttempt": "string",
              "Number": "string",
              "PeriodEnd": "string",
              "PeriodStart": "string",
              "Status": "string",
              "StripeDiscounts": [],
              "StripeInvoiceDiscountAmounts": [],
              "StripeInvoiceLineItems": [],
              "StripeInvoicePayments": [],
              "SubTotal": 0,
              "SubTotalExcludingTax": 0,
              "SubscriptionId": "string",
              "Tax": 0,
              "Total": 0,
              "TotalExcludingTax": 0,
              "Account": {},
              "IsRefunded": false,
              "CurrencyAmountCreditedPostPayment": 0,
              "CurrencyAmountCreditedPrePayment": 0,
              "CurrencyAmountDue": 0,
              "CurrencyAmountPaid": 0,
              "CurrencySymbol": "string",
              "CurrencyTotal": 0,
              "CurrencyTotalExcludingTax": 0,
              "CurrencySubTotal": 0,
              "CurrencySubTotalExcludingTax": 0,
              "CurrencyTax": 0,
              "DaysUntilDue": 0,
              "CustomerId": "string",
              "PaymentStatus": "string",
              "StripeCreditNotes": [],
              "StripePaymentMethodId": "string"
            }
          ],
          "StripePaymentMethods": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "SchemaLessData": {},
              "StripeId": "string",
              "IsLivemode": false,
              "Account": {},
              "Card_Brand": "string",
              "Card_ExpMonth": 0,
              "Card_ExpYear": 0,
              "Card_Wallet_Type": "string",
              "BankName": "string",
              "Last4": "string",
              "Type": "string",
              "Label": "string"
            }
          ],
          "StripeSubscriptions": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "SchemaLessData": {},
              "StripeId": "string",
              "IsLivemode": false,
              "ApplicationFeePercent": 0,
              "CancelAt": "string",
              "CancelAtPeriodEnd": false,
              "StripeSubscriptionCancellation": {},
              "Currency": "string",
              "EndedAt": "string",
              "PauseCollection_Behavior": "string",
              "PauseCollection_ResumesAt": "string",
              "StartDate": "string",
              "Status": "string",
              "TrialEnd": "string",
              "StripeDiscounts": [],
              "StripeSubscriptionItems": [],
              "StripeSubscriptionSchedules": [],
              "Account": {},
              "AccountUid": "string",
              "BillingCycleAnchor": "string",
              "CollectionMethod": "string",
              "CustomerId": "string",
              "DaysUntilDue": 0,
              "ScheduleId": "string",
              "StripeDiscountIds": [],
              "StripePriceIds": "string",
              "TrialPeriodDays": 0,
              "CurrentStripeSubscriptionSchedule": {}
            }
          ],
          "Subscriptions": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "BillingRenewalTerm": 1,
              "Account": {},
              "Plan": {},
              "Quantity": 0,
              "StartDate": "string",
              "EndDate": "string",
              "ExpirationDate": "string",
              "RenewalDate": "string",
              "NewRequiredQuantity": 0,
              "IsPlanUpgradeRequired": false,
              "PlanUpgradeRequiredMessage": "string",
              "SubscriptionAddOns": [],
              "DiscountCouponSubscriptions": [],
              "DiscountCode": "string",
              "DiscountCouponExpirationDate": "string",
              "LatestInvoice": {},
              "Rate": 0
            }
          ],
          "Deals": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "SchemaLessData": {},
              "Name": "string",
              "Amount": 0,
              "DueDate": "string",
              "AssignedToPersonClientIdentifier": "string",
              "Weight": 0,
              "DealPipelineStage": {},
              "Account": {},
              "DealPeople": [],
              "Contacts": "string",
              "AccountId": 0,
              "Owner": {},
              "PipelineUid": "string"
            }
          ],
          "LastLoginDateTime": "string",
          "AccountSpecificPageUrl1": "string",
          "AccountSpecificPageUrl2": "string",
          "AccountSpecificPageUrl3": "string",
          "AccountSpecificPageUrl4": "string",
          "AccountSpecificPageUrl5": "string",
          "AccountSpecificPageUrl6": "string",
          "AccountSpecificPageUrl7": "string",
          "AccountSpecificPageUrl8": "string",
          "AccountSpecificPageUrl9": "string",
          "AccountSpecificPageUrl10": "string",
          "RewardFulReferralId": "string",
          "ToltReferralId": "string",
          "TaxIds": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "SchemaLessData": {},
              "StripeId": "string",
              "IsLivemode": false,
              "Account": {},
              "TaxId": "string",
              "TaxIdType": "string",
              "IsInvalid": false
            }
          ],
          "TaxStatus": "string",
          "AccountStageLabel": "string",
          "CurrentStripeProducts": "string",
          "CurrentSubscription": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "BillingRenewalTerm": 1,
            "Account": {},
            "Plan": {},
            "Quantity": 0,
            "StartDate": "string",
            "EndDate": "string",
            "ExpirationDate": "string",
            "RenewalDate": "string",
            "NewRequiredQuantity": 0,
            "IsPlanUpgradeRequired": false,
            "PlanUpgradeRequiredMessage": "string",
            "SubscriptionAddOns": [],
            "DiscountCouponSubscriptions": [],
            "DiscountCode": "string",
            "DiscountCouponExpirationDate": "string",
            "LatestInvoice": {},
            "Rate": 0
          },
          "DomainName": "string",
          "HasLoggedIn": false,
          "LatestSubscription": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "BillingRenewalTerm": 1,
            "Account": {},
            "Plan": {},
            "Quantity": 0,
            "StartDate": "string",
            "EndDate": "string",
            "ExpirationDate": "string",
            "RenewalDate": "string",
            "NewRequiredQuantity": 0,
            "IsPlanUpgradeRequired": false,
            "PlanUpgradeRequiredMessage": "string",
            "SubscriptionAddOns": [],
            "DiscountCouponSubscriptions": [],
            "DiscountCode": "string",
            "DiscountCouponExpirationDate": "string",
            "LatestInvoice": {},
            "Rate": 0
          },
          "LifetimeRevenue": 0,
          "NextStripeInvoiceDate": "string",
          "Nonce": "string",
          "PrimaryContact": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "Email": "string",
            "FirstName": "string",
            "LastName": "string",
            "MailingAddress": {},
            "PasswordLastUpdated": "string",
            "PasswordMustChange": false,
            "PhoneMobile": "string",
            "PhoneWork": "string",
            "ProfileImageS3Url": "string",
            "Title": "string",
            "Timezone": "string",
            "Language": "string",
            "IPAddress": "string",
            "Referer": "string",
            "UserAgent": "string",
            "LastLoginDateTime": "string",
            "OAuthGoogleProfileId": "string",
            "PersonAccount": [],
            "DealPeople": [],
            "LeadFormSubmissions": [],
            "Account": {},
            "AccountUids": "string",
            "EmailListPerson": [],
            "FullName": "string",
            "HasLoggedIn": false,
            "OAuthIntegrationStatus": 0,
            "OptInToEmailList": false,
            "Password": "string",
            "UserAgentPlatformBrowser": "string",
            "HasUnsubscribed": false,
            "DiscordUser": {},
            "IsConnectedToDiscord": false
          },
          "PrimarySubscription": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "BillingRenewalTerm": 1,
            "Account": {},
            "Plan": {},
            "Quantity": 0,
            "StartDate": "string",
            "EndDate": "string",
            "ExpirationDate": "string",
            "RenewalDate": "string",
            "NewRequiredQuantity": 0,
            "IsPlanUpgradeRequired": false,
            "PlanUpgradeRequiredMessage": "string",
            "SubscriptionAddOns": [],
            "DiscountCouponSubscriptions": [],
            "DiscountCode": "string",
            "DiscountCouponExpirationDate": "string",
            "LatestInvoice": {},
            "Rate": 0
          },
          "PrimaryStripeSubscription": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "StripeId": "string",
            "IsLivemode": false,
            "ApplicationFeePercent": 0,
            "CancelAt": "string",
            "CancelAtPeriodEnd": false,
            "StripeSubscriptionCancellation": {},
            "Currency": "string",
            "EndedAt": "string",
            "PauseCollection_Behavior": "string",
            "PauseCollection_ResumesAt": "string",
            "StartDate": "string",
            "Status": "string",
            "TrialEnd": "string",
            "StripeDiscounts": [],
            "StripeSubscriptionItems": [],
            "StripeSubscriptionSchedules": [],
            "Account": {},
            "AccountUid": "string",
            "BillingCycleAnchor": "string",
            "CollectionMethod": "string",
            "CustomerId": "string",
            "DaysUntilDue": 0,
            "ScheduleId": "string",
            "StripeDiscountIds": [],
            "StripePriceIds": "string",
            "TrialPeriodDays": 0,
            "CurrentStripeSubscriptionSchedule": {}
          },
          "RecaptchaToken": "string",
          "StripeNextInvoiceSequence": 0,
          "StripePrice": [
            "string"
          ],
          "StripePriceIds": "string",
          "StripePromotionCode": "string",
          "TaxId": "string",
          "TaxIdIsInvalid": false,
          "TaxIdType": "string",
          "WebflowSlug": "string"
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfCustomer"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "required": [
              "Name"
            ],
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1
              },
              "ClientIdentifier": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "InvoiceNotes": {
                "type": "string",
                "nullable": true
              },
              "IsDemo": {
                "type": "boolean"
              },
              "BillingAddress": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "MailingAddress": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              },
              "AccountStage": {
                "$ref": "#/components/schemas/AccountStage"
              },
              "PaymentInformation": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PaymentInformation"
                  }
                ]
              },
              "PersonAccount": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PersonAccount"
                }
              },
              "StripeDefaultPaymentMethodId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "StripeInvoices": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeInvoice"
                }
              },
              "StripePaymentMethods": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripePaymentMethod"
                }
              },
              "StripeSubscriptions": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeSubscription"
                }
              },
              "Subscriptions": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Subscription"
                }
              },
              "Deals": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Deal"
                }
              },
              "LastLoginDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "AccountSpecificPageUrl1": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl2": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl3": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl4": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl5": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl6": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl7": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl8": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl9": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl10": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "RewardFulReferralId": {
                "type": "string",
                "nullable": true
              },
              "ToltReferralId": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "TaxIds": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AccountTaxId"
                }
              },
              "TaxStatus": {
                "type": "string",
                "maxLength": 20,
                "nullable": true
              },
              "AccountStageLabel": {
                "type": "string",
                "nullable": true
              },
              "CurrentStripeProducts": {
                "type": "string",
                "nullable": true
              },
              "CurrentSubscription": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Subscription"
                  }
                ]
              },
              "DomainName": {
                "type": "string",
                "nullable": true
              },
              "HasLoggedIn": {
                "type": "boolean"
              },
              "LatestSubscription": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Subscription"
                  }
                ]
              },
              "LifetimeRevenue": {
                "type": "number",
                "format": "decimal"
              },
              "NextStripeInvoiceDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Nonce": {
                "type": "string",
                "nullable": true
              },
              "PrimaryContact": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Person"
                  }
                ]
              },
              "PrimarySubscription": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Subscription"
                  }
                ]
              },
              "PrimaryStripeSubscription": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripeSubscription"
                  }
                ]
              },
              "RecaptchaToken": {
                "type": "string",
                "nullable": true
              },
              "StripeNextInvoiceSequence": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "StripePrice": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "StripePriceIds": {
                "type": "string",
                "nullable": true
              },
              "StripePromotionCode": {
                "type": "string",
                "nullable": true
              },
              "TaxId": {
                "type": "string",
                "nullable": true
              },
              "TaxIdIsInvalid": {
                "type": "boolean"
              },
              "TaxIdType": {
                "type": "string",
                "nullable": true
              },
              "WebflowSlug": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "AccountStage": {
        "type": "integer",
        "description": "`2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created",
        "x-enumNames": [
          "Trialing",
          "Subscribing",
          "Cancelling",
          "Expired",
          "TrialExpired",
          "PastDue",
          "CancellingTrial",
          "Paused",
          "Created"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "Trial Expired",
          "Past Due",
          "Cancelling Trial",
          "",
          ""
        ],
        "enum": [
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ]
      },
      "PaymentInformation": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "Account": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "StripeId": "string",
            "IsLivemode": false,
            "Name": "string",
            "ClientIdentifier": "string",
            "Currency": "string",
            "InvoiceNotes": "string",
            "IsDemo": false,
            "BillingAddress": {},
            "MailingAddress": {},
            "AccountStage": 2,
            "PaymentInformation": {},
            "PersonAccount": [],
            "StripeDefaultPaymentMethodId": "string",
            "StripeInvoices": [],
            "StripePaymentMethods": [],
            "StripeSubscriptions": [],
            "Subscriptions": [],
            "Deals": [],
            "LastLoginDateTime": "string",
            "AccountSpecificPageUrl1": "string",
            "AccountSpecificPageUrl2": "string",
            "AccountSpecificPageUrl3": "string",
            "AccountSpecificPageUrl4": "string",
            "AccountSpecificPageUrl5": "string",
            "AccountSpecificPageUrl6": "string",
            "AccountSpecificPageUrl7": "string",
            "AccountSpecificPageUrl8": "string",
            "AccountSpecificPageUrl9": "string",
            "AccountSpecificPageUrl10": "string",
            "RewardFulReferralId": "string",
            "ToltReferralId": "string",
            "TaxIds": [],
            "TaxStatus": "string",
            "AccountStageLabel": "string",
            "CurrentStripeProducts": "string",
            "CurrentSubscription": {},
            "DomainName": "string",
            "HasLoggedIn": false,
            "LatestSubscription": {},
            "LifetimeRevenue": 0,
            "NextStripeInvoiceDate": "string",
            "Nonce": "string",
            "PrimaryContact": {},
            "PrimarySubscription": {},
            "PrimaryStripeSubscription": {},
            "RecaptchaToken": "string",
            "StripeNextInvoiceSequence": 0,
            "StripePrice": [],
            "StripePriceIds": "string",
            "StripePromotionCode": "string",
            "TaxId": "string",
            "TaxIdIsInvalid": false,
            "TaxIdType": "string",
            "WebflowSlug": "string"
          },
          "CustomerToken": "string",
          "LastFourDigits": "string",
          "LatestFailureDateTime": "string",
          "LatestFailureDescription": "string",
          "LatestSuccessDateTime": "string",
          "NumberOfFailures": 0,
          "PaymentClientSecret": "string",
          "PaymentMethodType": "string",
          "PaymentToken": "string",
          "BankName": "string",
          "BankAccountType": "string",
          "BankAccountHolderType": "string",
          "NameOnCard": "string",
          "CardType": "string",
          "ExpirationMonth": "string",
          "ExpirationYear": "string",
          "Mode": "string",
          "OneTimeToken": "string",
          "RecaptchaToken": "string",
          "SetupIntent": "string"
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Account",
              "NumberOfFailures"
            ],
            "properties": {
              "Account": {
                "type": "object",
                "title": "Account",
                "description": "Circular reference to Account (not expanded here)."
              },
              "CustomerToken": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "LastFourDigits": {
                "type": "string",
                "nullable": true
              },
              "LatestFailureDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "LatestFailureDescription": {
                "type": "string",
                "nullable": true
              },
              "LatestSuccessDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "NumberOfFailures": {
                "type": "integer",
                "format": "int32"
              },
              "PaymentClientSecret": {
                "type": "string",
                "nullable": true
              },
              "PaymentMethodType": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "PaymentToken": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "BankName": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "BankAccountType": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "BankAccountHolderType": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "NameOnCard": {
                "type": "string",
                "nullable": true
              },
              "CardType": {
                "type": "string",
                "nullable": true
              },
              "ExpirationMonth": {
                "type": "string",
                "nullable": true
              },
              "ExpirationYear": {
                "type": "string",
                "nullable": true
              },
              "Mode": {
                "type": "string",
                "nullable": true
              },
              "OneTimeToken": {
                "type": "string",
                "nullable": true
              },
              "RecaptchaToken": {
                "type": "string",
                "nullable": true
              },
              "SetupIntent": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "StripeInvoice": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfInvoice"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "AmountDue": {
                "type": "integer",
                "format": "int64"
              },
              "AmountPaid": {
                "type": "integer",
                "format": "int64"
              },
              "AmountShipping": {
                "type": "integer",
                "format": "int64"
              },
              "AttemptCount": {
                "type": "integer",
                "format": "int64"
              },
              "Attempted": {
                "type": "boolean"
              },
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "Description": {
                "type": "string",
                "nullable": true
              },
              "FinalizedAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "HostedInvoiceUrl": {
                "type": "string",
                "maxLength": 500,
                "nullable": true
              },
              "InvoicePdf": {
                "type": "string",
                "maxLength": 500,
                "nullable": true
              },
              "NextPaymentAttempt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Number": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "PeriodEnd": {
                "type": "string",
                "format": "date-time"
              },
              "PeriodStart": {
                "type": "string",
                "format": "date-time"
              },
              "Status": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "StripeDiscounts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeDiscount"
                }
              },
              "StripeInvoiceDiscountAmounts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeInvoiceDiscountAmount"
                }
              },
              "StripeInvoiceLineItems": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeInvoiceLineItem"
                }
              },
              "StripeInvoicePayments": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeInvoicePayment"
                }
              },
              "SubTotal": {
                "type": "integer",
                "format": "int64"
              },
              "SubTotalExcludingTax": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "SubscriptionId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "Tax": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "Total": {
                "type": "integer",
                "format": "int64"
              },
              "TotalExcludingTax": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "IsRefunded": {
                "type": "boolean"
              },
              "CurrencyAmountCreditedPostPayment": {
                "type": "number",
                "format": "decimal"
              },
              "CurrencyAmountCreditedPrePayment": {
                "type": "number",
                "format": "decimal"
              },
              "CurrencyAmountDue": {
                "type": "number",
                "format": "decimal"
              },
              "CurrencyAmountPaid": {
                "type": "number",
                "format": "decimal"
              },
              "CurrencySymbol": {
                "type": "string",
                "nullable": true
              },
              "CurrencyTotal": {
                "type": "number",
                "format": "decimal"
              },
              "CurrencyTotalExcludingTax": {
                "type": "number",
                "format": "decimal"
              },
              "CurrencySubTotal": {
                "type": "number",
                "format": "decimal"
              },
              "CurrencySubTotalExcludingTax": {
                "type": "number",
                "format": "decimal"
              },
              "CurrencyTax": {
                "type": "number",
                "format": "decimal"
              },
              "DaysUntilDue": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "CustomerId": {
                "type": "string",
                "nullable": true
              },
              "PaymentStatus": {
                "type": "string",
                "nullable": true
              },
              "StripeCreditNotes": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeCreditNote"
                }
              },
              "StripePaymentMethodId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "StripeDiscount": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfDiscount"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "CheckoutSessionId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "End": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "InvoiceId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "InvoiceItemId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsDeleted": {
                "type": "boolean"
              },
              "Start": {
                "type": "string",
                "format": "date-time"
              },
              "StripeCoupon": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripeCoupon"
                  }
                ]
              },
              "StripePromotionCode": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripePromotionCode"
                  }
                ]
              },
              "SubscriptionId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "SubscriptionItemId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "CouponId": {
                "type": "string",
                "nullable": true
              },
              "CustomerId": {
                "type": "string",
                "nullable": true
              },
              "StripeInvoice": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "StripeInvoice",
                    "description": "Circular reference to StripeInvoice (not expanded here)."
                  }
                ]
              },
              "StripeSubscription": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripeSubscription"
                  }
                ]
              },
              "PromotionCodeId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "StripeCoupon": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfCoupon"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "AmountOff": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "AppliesToProducts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeProduct"
                }
              },
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "Duration": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "DurationInMonths": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "MaxRedemptions": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PercentOff": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "RedeemBy": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "TimesRedeemed": {
                "type": "integer",
                "format": "int64"
              },
              "Valid": {
                "type": "boolean"
              },
              "AppliesToProductIds": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "CurrencySymbol": {
                "type": "string",
                "nullable": true
              },
              "CurrencyAmountOff": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "StripeProduct": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfProduct"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DefaultPriceId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "Description": {
                "type": "string",
                "nullable": true
              },
              "IsActive": {
                "type": "boolean"
              },
              "TaxCodeId": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "UnitLabel": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "ContentGroups": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ContentGroup"
                }
              },
              "StripePrices": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripePrice"
                }
              },
              "AccountRegistrationMode": {
                "$ref": "#/components/schemas/AccountRegistrationMode"
              },
              "ExpiresAfterMonths": {
                "type": "integer",
                "format": "int32"
              },
              "ExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "IsPerUser": {
                "type": "boolean"
              },
              "IsQuantityEditable": {
                "type": "boolean"
              },
              "MaximumPeople": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "MigratedAddOnUid": {
                "type": "string",
                "maxLength": 8,
                "nullable": true
              },
              "MigratedPlanUid": {
                "type": "string",
                "maxLength": 8,
                "nullable": true
              },
              "MinimumQuantity": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "PostLoginPath": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PostPurchaseUrl": {
                "type": "string",
                "maxLength": 500,
                "nullable": true
              },
              "RequirePaymentInformation": {
                "type": "boolean"
              },
              "StripeProductCrossSells": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeProductCrossSell"
                }
              },
              "TrialPeriodDays": {
                "type": "integer",
                "format": "int32"
              },
              "TrialUntilDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "NumberOfPurchases": {
                "type": "integer",
                "format": "int32"
              },
              "NumberOfSubscriptions": {
                "type": "integer",
                "format": "int32"
              },
              "StripeProductFamily": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripeProductFamily"
                  }
                ]
              }
            }
          }
        ]
      },
      "ContentGroup": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Name"
            ],
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 50,
                "minLength": 1
              },
              "AccessDeniedPath": {
                "type": "string",
                "maxLength": 1024,
                "nullable": true
              },
              "ContentGroupItems": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ContentGroupItem"
                }
              },
              "AllowedPlans": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Plan"
                }
              },
              "AllowedProducts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "StripeProduct",
                  "description": "Circular reference to StripeProduct (not expanded here)."
                }
              },
              "AllowedAddOns": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/AddOn"
                }
              }
            }
          }
        ]
      },
      "ContentGroupItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Pattern",
              "MatchMode",
              "ContentGroup"
            ],
            "properties": {
              "Pattern": {
                "type": "string",
                "minLength": 1
              },
              "MatchMode": {
                "$ref": "#/components/schemas/ContentGroupItemMatchMode"
              },
              "ContentGroup": {
                "type": "object",
                "title": "ContentGroup",
                "description": "Circular reference to ContentGroup (not expanded here)."
              }
            }
          }
        ]
      },
      "ContentGroupItemMatchMode": {
        "type": "integer",
        "description": "`1` - Equals, `2` - StartsWith",
        "x-enumNames": [
          "Equals",
          "StartsWith"
        ],
        "x-enum-descriptions": [
          "",
          ""
        ],
        "enum": [
          1,
          2
        ]
      },
      "Plan": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "Name": "string",
          "Description": "string",
          "PlanFamily": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "Name": "string",
            "IsActive": false,
            "IsDefault": false,
            "Plans": []
          },
          "AccountRegistrationMode": 1,
          "IsQuantityEditable": false,
          "MinimumQuantity": 0,
          "MaximumPeople": 0,
          "MonthlyRate": 0,
          "AnnualRate": 0,
          "QuarterlyRate": 0,
          "OneTimeRate": 0,
          "SetupFee": 0,
          "SkipSetupFeeOnPlanChange": false,
          "IsTaxable": false,
          "IsActive": false,
          "IsPerUser": false,
          "RequirePaymentInformation": false,
          "TrialPeriodDays": 0,
          "TrialUntilDate": "string",
          "ExpiresAfterMonths": 0,
          "ExpirationDate": "string",
          "PostLoginPath": "string",
          "StripeTaxCodeId": "string",
          "UnitOfMeasure": "string",
          "PlanAddOns": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "Plan": {},
              "AddOn": {},
              "IsUserSelectable": false
            }
          ],
          "ContentGroups": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "Name": "string",
              "AccessDeniedPath": "string",
              "ContentGroupItems": [],
              "AllowedPlans": [],
              "AllowedProducts": [],
              "AllowedAddOns": []
            }
          ],
          "NumberOfSubscriptions": 0
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "IsQuantityEditable",
              "IsTaxable"
            ],
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Description": {
                "type": "string",
                "nullable": true
              },
              "PlanFamily": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PlanFamily"
                  }
                ]
              },
              "AccountRegistrationMode": {
                "$ref": "#/components/schemas/AccountRegistrationMode"
              },
              "IsQuantityEditable": {
                "type": "boolean"
              },
              "MinimumQuantity": {
                "type": "integer",
                "format": "int32"
              },
              "MaximumPeople": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "MonthlyRate": {
                "type": "number",
                "format": "decimal"
              },
              "AnnualRate": {
                "type": "number",
                "format": "decimal"
              },
              "QuarterlyRate": {
                "type": "number",
                "format": "decimal"
              },
              "OneTimeRate": {
                "type": "number",
                "format": "decimal"
              },
              "SetupFee": {
                "type": "number",
                "format": "decimal"
              },
              "SkipSetupFeeOnPlanChange": {
                "type": "boolean"
              },
              "IsTaxable": {
                "type": "boolean"
              },
              "IsActive": {
                "type": "boolean"
              },
              "IsPerUser": {
                "type": "boolean"
              },
              "RequirePaymentInformation": {
                "type": "boolean"
              },
              "TrialPeriodDays": {
                "type": "integer",
                "format": "int32"
              },
              "TrialUntilDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "ExpiresAfterMonths": {
                "type": "integer",
                "format": "int32"
              },
              "ExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "PostLoginPath": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "StripeTaxCodeId": {
                "type": "string",
                "maxLength": 15,
                "nullable": true
              },
              "UnitOfMeasure": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PlanAddOns": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PlanAddOn"
                }
              },
              "ContentGroups": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "ContentGroup",
                  "description": "Circular reference to ContentGroup (not expanded here)."
                }
              },
              "NumberOfSubscriptions": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "PlanFamily": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "SchemaLessData": {},
          "Name": "string",
          "IsActive": false,
          "IsDefault": false,
          "Plans": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "Name": "string",
              "Description": "string",
              "PlanFamily": {},
              "AccountRegistrationMode": 1,
              "IsQuantityEditable": false,
              "MinimumQuantity": 0,
              "MaximumPeople": 0,
              "MonthlyRate": 0,
              "AnnualRate": 0,
              "QuarterlyRate": 0,
              "OneTimeRate": 0,
              "SetupFee": 0,
              "SkipSetupFeeOnPlanChange": false,
              "IsTaxable": false,
              "IsActive": false,
              "IsPerUser": false,
              "RequirePaymentInformation": false,
              "TrialPeriodDays": 0,
              "TrialUntilDate": "string",
              "ExpiresAfterMonths": 0,
              "ExpirationDate": "string",
              "PostLoginPath": "string",
              "StripeTaxCodeId": "string",
              "UnitOfMeasure": "string",
              "PlanAddOns": [],
              "ContentGroups": [],
              "NumberOfSubscriptions": 0
            }
          ]
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "IsActive": {
                "type": "boolean"
              },
              "IsDefault": {
                "type": "boolean"
              },
              "Plans": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "Plan",
                  "description": "Circular reference to Plan (not expanded here)."
                }
              }
            }
          }
        ]
      },
      "AbstractSchemaLessBean": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "x-abstract": true,
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "SchemaLessData": {
                "type": "object",
                "nullable": true,
                "additionalProperties": {}
              }
            }
          }
        ]
      },
      "AccountRegistrationMode": {
        "type": "integer",
        "description": "`1` - Individual, `2` - Team",
        "x-enumNames": [
          "Individual",
          "Team"
        ],
        "x-enum-descriptions": [
          "",
          ""
        ],
        "enum": [
          1,
          2
        ]
      },
      "PlanAddOn": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "IsUserSelectable"
            ],
            "properties": {
              "Plan": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Plan",
                    "description": "Circular reference to Plan (not expanded here)."
                  }
                ]
              },
              "AddOn": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddOn"
                  }
                ]
              },
              "IsUserSelectable": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AddOn": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "IsQuantityEditable",
              "IsTaxable",
              "IsBilledDuringTrial"
            ],
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "BillingAddOnType": {
                "maximum": 3,
                "minimum": 1,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BillingAddOnType"
                  }
                ]
              },
              "IsQuantityEditable": {
                "type": "boolean"
              },
              "MinimumQuantity": {
                "type": "integer",
                "format": "int32"
              },
              "MonthlyRate": {
                "type": "number",
                "format": "decimal"
              },
              "AnnualRate": {
                "type": "number",
                "format": "decimal"
              },
              "SetupFee": {
                "type": "number",
                "format": "decimal"
              },
              "UnitOfMeasure": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "IsTaxable": {
                "type": "boolean"
              },
              "IsBilledDuringTrial": {
                "type": "boolean"
              },
              "ExpiresAfterMonths": {
                "type": "integer",
                "format": "int32"
              },
              "ExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "StripeTaxCodeId": {
                "type": "string",
                "maxLength": 15,
                "nullable": true
              },
              "PlanAddOns": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "PlanAddOn",
                  "description": "Circular reference to PlanAddOn (not expanded here)."
                }
              },
              "ContentGroups": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "ContentGroup",
                  "description": "Circular reference to ContentGroup (not expanded here)."
                }
              },
              "IsPerUser": {
                "type": "boolean"
              },
              "QuarterlyRate": {
                "type": "number",
                "format": "decimal"
              },
              "OneTimeRate": {
                "type": "number",
                "format": "decimal"
              },
              "SubscriptionCount": {
                "type": "integer",
                "format": "int32"
              },
              "Quantity": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "BillingAddOnType": {
        "type": "integer",
        "description": "`1` - Recurring, `2` - Usage, `3` - OneTime",
        "x-enumNames": [
          "Recurring",
          "Usage",
          "OneTime"
        ],
        "x-enum-descriptions": [
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3
        ]
      },
      "StripePrice": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfPrice"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "BillingScheme": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "Currency": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "CustomUnitAmount_Maximum": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "CustomUnitAmount_Minimum": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "CustomUnitAmount_Preset": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "IsActive": {
                "type": "boolean"
              },
              "Nickname": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Recurring_Interval": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "Recurring_IntervalCount": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "Recurring_StripeMeter": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripeMeter"
                  }
                ]
              },
              "Recurring_UsageType": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "StripeProduct": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "StripeProduct",
                    "description": "Circular reference to StripeProduct (not expanded here)."
                  }
                ]
              },
              "TaxBehavior": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "TiersMode": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "TransformQuantity_DivideBy": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "Type": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "UnitAmount": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "UnitAmountDecimal": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "ShowInSignUpForm": {
                "type": "boolean"
              },
              "CurrencySymbol": {
                "type": "string",
                "nullable": true
              },
              "CurrencyUnitAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "CurrencyUnitAmountDecimal": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "Recurring_IntervalDays": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "Recurring_Description": {
                "type": "string",
                "nullable": true
              },
              "StripeMeterId": {
                "type": "string",
                "nullable": true
              },
              "StripeProductId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "StripeMeter": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfMeter"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "required": [
              "DisplayName",
              "EventName"
            ],
            "properties": {
              "DisplayName": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1
              },
              "EventName": {
                "type": "string",
                "maxLength": 50,
                "minLength": 1
              },
              "Status": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfMeter": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfPrice": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "StripeProductCrossSell": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "StripeProduct": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "StripeProduct",
                    "description": "Circular reference to StripeProduct (not expanded here)."
                  }
                ]
              },
              "CrossSellProduct": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "StripeProduct",
                    "description": "Circular reference to StripeProduct (not expanded here)."
                  }
                ]
              },
              "IsUserSelectable": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "StripeProductFamily": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "IsActive": {
                "type": "boolean"
              },
              "IsDefault": {
                "type": "boolean"
              },
              "StripeProducts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "StripeProduct",
                  "description": "Circular reference to StripeProduct (not expanded here)."
                }
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfProduct": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfCoupon": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "StripePromotionCode": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfPromotionCode"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "Active": {
                "type": "boolean"
              },
              "Code": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "ExpiresAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "MaxRedemptions": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "Restrictions_FirstTimeTransaction": {
                "type": "boolean"
              },
              "StripeCoupon": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripeCoupon"
                  }
                ]
              },
              "TimesRedeemed": {
                "type": "integer",
                "format": "int64"
              },
              "Valid": {
                "type": "boolean"
              },
              "CustomerId": {
                "type": "string",
                "nullable": true
              },
              "CouponId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfPromotionCode": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "StripeSubscription": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfSubscription"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "ApplicationFeePercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "CancelAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "CancelAtPeriodEnd": {
                "type": "boolean"
              },
              "StripeSubscriptionCancellation": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripeSubscriptionCancellation"
                  }
                ]
              },
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "EndedAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "PauseCollection_Behavior": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "PauseCollection_ResumesAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "StartDate": {
                "type": "string",
                "format": "date-time"
              },
              "Status": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "TrialEnd": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "StripeDiscounts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "StripeDiscount",
                  "description": "Circular reference to StripeDiscount (not expanded here)."
                }
              },
              "StripeSubscriptionItems": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeSubscriptionItem"
                }
              },
              "StripeSubscriptionSchedules": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeSubscriptionSchedule"
                }
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "AccountUid": {
                "type": "string",
                "nullable": true
              },
              "BillingCycleAnchor": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "CollectionMethod": {
                "type": "string",
                "nullable": true
              },
              "CustomerId": {
                "type": "string",
                "nullable": true
              },
              "DaysUntilDue": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "ScheduleId": {
                "type": "string",
                "nullable": true
              },
              "StripeDiscountIds": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "StripePriceIds": {
                "type": "string",
                "nullable": true
              },
              "TrialPeriodDays": {
                "type": "integer",
                "format": "int32"
              },
              "CurrentStripeSubscriptionSchedule": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripeSubscriptionSchedule"
                  }
                ]
              }
            }
          }
        ]
      },
      "StripeSubscriptionCancellation": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Comment": {
                "type": "string",
                "maxLength": 1024,
                "nullable": true
              },
              "Feedback": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "Reason": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "CancelationReason": {
                "type": "string",
                "nullable": true
              },
              "LastProduct": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripeProduct"
                  }
                ]
              },
              "SubmittedDateTime": {
                "type": "string",
                "format": "date-time"
              },
              "SubscribingStartDate": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        ]
      },
      "StripeSubscriptionItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfSubscriptionItem"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "CurrentPeriodStart": {
                "type": "string",
                "format": "date-time"
              },
              "CurrentPeriodEnd": {
                "type": "string",
                "format": "date-time"
              },
              "StripeSubscription": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "StripeSubscription",
                    "description": "Circular reference to StripeSubscription (not expanded here)."
                  }
                ]
              },
              "StripeDiscounts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "StripeDiscount",
                  "description": "Circular reference to StripeDiscount (not expanded here)."
                }
              },
              "StripePrice": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripePrice"
                  }
                ]
              },
              "Quantity": {
                "type": "integer",
                "format": "int64"
              },
              "PriceId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfSubscriptionItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "StripeSubscriptionSchedule": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfSubscriptionSchedule"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "CompletedAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "CurrentPhase_EndDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "CurrentPhase_StartDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "EndBehavior": {
                "type": "string",
                "nullable": true
              },
              "StripeSubscriptionSchedulePhases": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeSubscriptionSchedulePhase"
                }
              },
              "ReleasedAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Status": {
                "type": "string",
                "nullable": true
              },
              "StripeSubscription": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "StripeSubscription",
                    "description": "Circular reference to StripeSubscription (not expanded here)."
                  }
                ]
              },
              "SubscriptionId": {
                "type": "string",
                "nullable": true
              },
              "ReleasedSubscriptionId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "StripeSubscriptionSchedulePhase": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfSubscriptionSchedulePhase"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "EndDate": {
                "type": "string",
                "format": "date-time"
              },
              "IsLivemode": {
                "type": "boolean"
              },
              "StartDate": {
                "type": "string",
                "format": "date-time"
              },
              "StripeSubscriptionSchedulePhaseItems": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeSubscriptionSchedulePhaseItem"
                }
              },
              "StripeSubscriptionSchedule": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "StripeSubscriptionSchedule",
                    "description": "Circular reference to StripeSubscriptionSchedule (not expanded here)."
                  }
                ]
              },
              "TrialEnd": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "StripeSubscriptionSchedulePhaseItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfSubscriptionSchedulePhaseItem"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripePrice": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripePrice"
                  }
                ]
              },
              "Quantity": {
                "type": "integer",
                "format": "int64"
              },
              "PriceId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfSubscriptionSchedulePhaseItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfSubscriptionSchedulePhase": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfSubscriptionSchedule": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfSubscription": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfDiscount": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "StripeInvoiceDiscountAmount": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Amount": {
                "type": "integer",
                "format": "int64"
              },
              "DiscountId": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "StripeInvoice": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "StripeInvoice",
                    "description": "Circular reference to StripeInvoice (not expanded here)."
                  }
                ]
              },
              "CurrencyAmount": {
                "type": "number",
                "format": "decimal"
              },
              "StripeDiscount": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripeDiscount"
                  }
                ]
              }
            }
          }
        ]
      },
      "StripeInvoiceLineItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfInvoiceLineItem"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeInvoice": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "StripeInvoice",
                    "description": "Circular reference to StripeInvoice (not expanded here)."
                  }
                ]
              },
              "Amount": {
                "type": "integer",
                "format": "int64"
              },
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "PeriodStart": {
                "type": "string",
                "format": "date-time"
              },
              "PeriodEnd": {
                "type": "string",
                "format": "date-time"
              },
              "Quantity": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "StripeDiscounts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeDiscount"
                }
              },
              "StripePrice": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripePrice"
                  }
                ]
              },
              "EndDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "CurrencyAmount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "PriceId": {
                "type": "string",
                "nullable": true
              },
              "Proration": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfInvoiceLineItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "StripeInvoicePayment": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfInvoicePayment"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "AmountPaid": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "AmountRequested": {
                "type": "integer",
                "format": "int64"
              },
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "Payment_ChargeId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "Payment_PaymentIntentId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "Payment_Type": {
                "type": "string",
                "maxLength": 20,
                "nullable": true
              },
              "StripeInvoice": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "StripeInvoice",
                    "description": "Circular reference to StripeInvoice (not expanded here)."
                  }
                ]
              },
              "Status": {
                "type": "string",
                "nullable": true
              },
              "InvoiceId": {
                "type": "string",
                "nullable": true
              },
              "StripeCharges": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeCharge"
                }
              }
            }
          }
        ]
      },
      "StripeCharge": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfCharge"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "Amount": {
                "type": "integer",
                "format": "int64"
              },
              "AmountCaptured": {
                "type": "integer",
                "format": "int64"
              },
              "AmountRefunded": {
                "type": "integer",
                "format": "int64"
              },
              "ApplicationFeeAmount": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "ApplicationFeeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "Captured": {
                "type": "boolean"
              },
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "Paid": {
                "type": "boolean"
              },
              "PaymentIntentId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "Refunded": {
                "type": "boolean"
              },
              "Status": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "StripePaymentMethod": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StripePaymentMethod"
                  }
                ]
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "ExtraData": {
                "type": "string",
                "maxLength": 256,
                "nullable": true
              },
              "CurrencySymbol": {
                "type": "string",
                "nullable": true
              },
              "CurrencyAmount": {
                "type": "number",
                "format": "decimal"
              },
              "CustomerId": {
                "type": "string",
                "nullable": true
              },
              "PaymentMethodId": {
                "type": "string",
                "nullable": true
              },
              "StripeRefunds": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeRefund"
                }
              }
            }
          }
        ]
      },
      "StripePaymentMethod": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfPaymentMethod"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "Card_Brand": {
                "type": "string",
                "nullable": true
              },
              "Card_ExpMonth": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "Card_ExpYear": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "Card_Wallet_Type": {
                "type": "string",
                "nullable": true
              },
              "BankName": {
                "type": "string",
                "nullable": true
              },
              "Last4": {
                "type": "string",
                "nullable": true
              },
              "Type": {
                "type": "string",
                "nullable": true
              },
              "Label": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfPaymentMethod": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "StripeRefund": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfRefund"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "Amount": {
                "type": "integer",
                "format": "int64"
              },
              "ChargeId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "PaymentIntentId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "Reason": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "Status": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "CurrencySymbol": {
                "type": "string",
                "nullable": true
              },
              "CurrencyAmount": {
                "type": "number",
                "format": "decimal"
              },
              "StripeCharge": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "StripeCharge",
                    "description": "Circular reference to StripeCharge (not expanded here)."
                  }
                ]
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfRefund": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfCharge": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfInvoicePayment": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "StripeCreditNote": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfCreditNote"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "CustomerId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "InvoiceId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "OutOfBandAmount": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "PostPaymentAmount": {
                "type": "integer",
                "format": "int64"
              },
              "PrePaymentAmount": {
                "type": "integer",
                "format": "int64"
              },
              "Reason": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "Status": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "Total": {
                "type": "integer",
                "format": "int64"
              },
              "Type": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "CurrencySymbol": {
                "type": "string",
                "nullable": true
              },
              "CurrencyTotal": {
                "type": "number",
                "format": "decimal"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfCreditNote": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfInvoice": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "Subscription": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "BillingRenewalTerm": 1,
          "Account": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "StripeId": "string",
            "IsLivemode": false,
            "Name": "string",
            "ClientIdentifier": "string",
            "Currency": "string",
            "InvoiceNotes": "string",
            "IsDemo": false,
            "BillingAddress": {},
            "MailingAddress": {},
            "AccountStage": 2,
            "PaymentInformation": {},
            "PersonAccount": [],
            "StripeDefaultPaymentMethodId": "string",
            "StripeInvoices": [],
            "StripePaymentMethods": [],
            "StripeSubscriptions": [],
            "Subscriptions": [],
            "Deals": [],
            "LastLoginDateTime": "string",
            "AccountSpecificPageUrl1": "string",
            "AccountSpecificPageUrl2": "string",
            "AccountSpecificPageUrl3": "string",
            "AccountSpecificPageUrl4": "string",
            "AccountSpecificPageUrl5": "string",
            "AccountSpecificPageUrl6": "string",
            "AccountSpecificPageUrl7": "string",
            "AccountSpecificPageUrl8": "string",
            "AccountSpecificPageUrl9": "string",
            "AccountSpecificPageUrl10": "string",
            "RewardFulReferralId": "string",
            "ToltReferralId": "string",
            "TaxIds": [],
            "TaxStatus": "string",
            "AccountStageLabel": "string",
            "CurrentStripeProducts": "string",
            "CurrentSubscription": {},
            "DomainName": "string",
            "HasLoggedIn": false,
            "LatestSubscription": {},
            "LifetimeRevenue": 0,
            "NextStripeInvoiceDate": "string",
            "Nonce": "string",
            "PrimaryContact": {},
            "PrimarySubscription": {},
            "PrimaryStripeSubscription": {},
            "RecaptchaToken": "string",
            "StripeNextInvoiceSequence": 0,
            "StripePrice": [],
            "StripePriceIds": "string",
            "StripePromotionCode": "string",
            "TaxId": "string",
            "TaxIdIsInvalid": false,
            "TaxIdType": "string",
            "WebflowSlug": "string"
          },
          "Plan": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "Name": "string",
            "Description": "string",
            "PlanFamily": {},
            "AccountRegistrationMode": 1,
            "IsQuantityEditable": false,
            "MinimumQuantity": 0,
            "MaximumPeople": 0,
            "MonthlyRate": 0,
            "AnnualRate": 0,
            "QuarterlyRate": 0,
            "OneTimeRate": 0,
            "SetupFee": 0,
            "SkipSetupFeeOnPlanChange": false,
            "IsTaxable": false,
            "IsActive": false,
            "IsPerUser": false,
            "RequirePaymentInformation": false,
            "TrialPeriodDays": 0,
            "TrialUntilDate": "string",
            "ExpiresAfterMonths": 0,
            "ExpirationDate": "string",
            "PostLoginPath": "string",
            "StripeTaxCodeId": "string",
            "UnitOfMeasure": "string",
            "PlanAddOns": [],
            "ContentGroups": [],
            "NumberOfSubscriptions": 0
          },
          "Quantity": 0,
          "StartDate": "string",
          "EndDate": "string",
          "ExpirationDate": "string",
          "RenewalDate": "string",
          "NewRequiredQuantity": 0,
          "IsPlanUpgradeRequired": false,
          "PlanUpgradeRequiredMessage": "string",
          "SubscriptionAddOns": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "BillingRenewalTerm": 1,
              "Subscription": {},
              "AddOn": {},
              "Quantity": 0,
              "StartDate": "string",
              "EndDate": "string",
              "ExpirationDate": "string",
              "RenewalDate": "string",
              "NewRequiredQuantity": 0,
              "Rate": 0
            }
          ],
          "DiscountCouponSubscriptions": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "RedeemedDate": "string",
              "ExpireDate": "string",
              "Subscription": {},
              "DiscountCoupon": {}
            }
          ],
          "DiscountCode": "string",
          "DiscountCouponExpirationDate": "string",
          "LatestInvoice": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "InvoiceDate": "string",
            "PaymentReminderSentDate": "string",
            "Number": 0,
            "BillingInvoiceStatus": 1,
            "Subscription": {},
            "Amount": 0,
            "AmountOutstanding": 0,
            "InvoiceLineItems": [],
            "IsUserGenerated": false,
            "StripeTaxCalculationId": "string",
            "StripeTaxBehavior": "string",
            "AmountCredit": 0,
            "AmountDiscount": 0,
            "AmountPaid": 0,
            "AmountRefunded": 0,
            "AmountSubtotal": 0,
            "AmountTax": 0,
            "AmountTaxRefunded": 0,
            "IsTaxable": false,
            "HasPaymentGatewayTransactions": false,
            "StripePaymentTransactionIds": "string",
            "StripeRefundTransactionIds": "string",
            "StripeTaxRefundTransactionIds": "string"
          },
          "Rate": 0
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "BillingRenewalTerm": {
                "maximum": 4,
                "minimum": 1,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BillingRenewalTerm"
                  }
                ]
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "Plan": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Plan"
                  }
                ]
              },
              "Quantity": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "StartDate": {
                "type": "string",
                "format": "date-time"
              },
              "EndDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "ExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "RenewalDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "NewRequiredQuantity": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "IsPlanUpgradeRequired": {
                "type": "boolean"
              },
              "PlanUpgradeRequiredMessage": {
                "type": "string",
                "nullable": true
              },
              "SubscriptionAddOns": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/SubscriptionAddOn"
                }
              },
              "DiscountCouponSubscriptions": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DiscountCouponSubscription"
                }
              },
              "DiscountCode": {
                "type": "string",
                "nullable": true
              },
              "DiscountCouponExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "LatestInvoice": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Invoice"
                  }
                ]
              },
              "Rate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "BillingRenewalTerm": {
        "type": "integer",
        "description": "`1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time",
        "x-enumNames": [
          "Monthly",
          "Yearly",
          "Quarterly",
          "OneTime"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "One Time"
        ],
        "enum": [
          1,
          2,
          3,
          4
        ]
      },
      "SubscriptionAddOn": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "BillingRenewalTerm": 1,
          "Subscription": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "BillingRenewalTerm": 1,
            "Account": {},
            "Plan": {},
            "Quantity": 0,
            "StartDate": "string",
            "EndDate": "string",
            "ExpirationDate": "string",
            "RenewalDate": "string",
            "NewRequiredQuantity": 0,
            "IsPlanUpgradeRequired": false,
            "PlanUpgradeRequiredMessage": "string",
            "SubscriptionAddOns": [],
            "DiscountCouponSubscriptions": [],
            "DiscountCode": "string",
            "DiscountCouponExpirationDate": "string",
            "LatestInvoice": {},
            "Rate": 0
          },
          "AddOn": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "Name": "string",
            "BillingAddOnType": 1,
            "IsQuantityEditable": false,
            "MinimumQuantity": 0,
            "MonthlyRate": 0,
            "AnnualRate": 0,
            "SetupFee": 0,
            "UnitOfMeasure": "string",
            "IsTaxable": false,
            "IsBilledDuringTrial": false,
            "ExpiresAfterMonths": 0,
            "ExpirationDate": "string",
            "StripeTaxCodeId": "string",
            "PlanAddOns": [],
            "ContentGroups": [],
            "IsPerUser": false,
            "QuarterlyRate": 0,
            "OneTimeRate": 0,
            "SubscriptionCount": 0,
            "Quantity": 0
          },
          "Quantity": 0,
          "StartDate": "string",
          "EndDate": "string",
          "ExpirationDate": "string",
          "RenewalDate": "string",
          "NewRequiredQuantity": 0,
          "Rate": 0
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "BillingRenewalTerm": {
                "maximum": 4,
                "minimum": 1,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BillingRenewalTerm"
                  }
                ]
              },
              "Subscription": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Subscription",
                    "description": "Circular reference to Subscription (not expanded here)."
                  }
                ]
              },
              "AddOn": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddOn"
                  }
                ]
              },
              "Quantity": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "StartDate": {
                "type": "string",
                "format": "date-time"
              },
              "EndDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "ExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "RenewalDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "NewRequiredQuantity": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "Rate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              }
            }
          }
        ]
      },
      "DiscountCouponSubscription": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "RedeemedDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "ExpireDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Subscription": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Subscription",
                    "description": "Circular reference to Subscription (not expanded here)."
                  }
                ]
              },
              "DiscountCoupon": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DiscountCoupon"
                  }
                ]
              }
            }
          }
        ]
      },
      "DiscountCoupon": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "UniqueIdentifier": "string",
          "Name": "string",
          "IsActive": false,
          "AmountOff": 0,
          "PercentOff": 0,
          "RedeemBy": "string",
          "Duration": 1,
          "DurationInMonths": 0,
          "TimesRedeemed": 0,
          "MaxRedemptions": 0,
          "DiscountCouponPlans": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "Plan": {},
              "DiscountCoupon": {}
            }
          ],
          "ApplyToAddOns": false,
          "PlanUids": "string"
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "UniqueIdentifier": {
                "type": "string",
                "nullable": true
              },
              "Name": {
                "type": "string",
                "nullable": true
              },
              "IsActive": {
                "type": "boolean"
              },
              "AmountOff": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "PercentOff": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "RedeemBy": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Duration": {
                "maximum": 3,
                "minimum": 1,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/BillingDiscountDuration"
                  }
                ]
              },
              "DurationInMonths": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "TimesRedeemed": {
                "type": "integer",
                "format": "int32"
              },
              "MaxRedemptions": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "DiscountCouponPlans": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DiscountCouponPlan"
                }
              },
              "ApplyToAddOns": {
                "type": "boolean"
              },
              "PlanUids": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "BillingDiscountDuration": {
        "type": "integer",
        "description": "`1` - Forever, `2` - Once, `3` - Repeating",
        "x-enumNames": [
          "Forever",
          "Once",
          "Repeating"
        ],
        "x-enum-descriptions": [
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3
        ]
      },
      "DiscountCouponPlan": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Plan": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Plan"
                  }
                ]
              },
              "DiscountCoupon": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "DiscountCoupon",
                    "description": "Circular reference to DiscountCoupon (not expanded here)."
                  }
                ]
              }
            }
          }
        ]
      },
      "Invoice": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "InvoiceDate": "string",
          "PaymentReminderSentDate": "string",
          "Number": 0,
          "BillingInvoiceStatus": 1,
          "Subscription": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "BillingRenewalTerm": 1,
            "Account": {},
            "Plan": {},
            "Quantity": 0,
            "StartDate": "string",
            "EndDate": "string",
            "ExpirationDate": "string",
            "RenewalDate": "string",
            "NewRequiredQuantity": 0,
            "IsPlanUpgradeRequired": false,
            "PlanUpgradeRequiredMessage": "string",
            "SubscriptionAddOns": [],
            "DiscountCouponSubscriptions": [],
            "DiscountCode": "string",
            "DiscountCouponExpirationDate": "string",
            "LatestInvoice": {},
            "Rate": 0
          },
          "Amount": 0,
          "AmountOutstanding": 0,
          "InvoiceLineItems": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "StartDate": "string",
              "EndDate": "string",
              "Description": "string",
              "UnitOfMeasure": "string",
              "Quantity": 0,
              "Rate": 0,
              "Amount": 0,
              "Tax": 0,
              "Invoice": {},
              "LineItemType": 1,
              "EntityId": 0,
              "StripeTaxReference": "string",
              "StripeTaxLineItemId": "string",
              "EntityUid": "string"
            }
          ],
          "IsUserGenerated": false,
          "StripeTaxCalculationId": "string",
          "StripeTaxBehavior": "string",
          "AmountCredit": 0,
          "AmountDiscount": 0,
          "AmountPaid": 0,
          "AmountRefunded": 0,
          "AmountSubtotal": 0,
          "AmountTax": 0,
          "AmountTaxRefunded": 0,
          "IsTaxable": false,
          "HasPaymentGatewayTransactions": false,
          "StripePaymentTransactionIds": "string",
          "StripeRefundTransactionIds": "string",
          "StripeTaxRefundTransactionIds": "string"
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "InvoiceDate": {
                "type": "string",
                "format": "date-time"
              },
              "PaymentReminderSentDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Number": {
                "type": "integer",
                "format": "int32"
              },
              "BillingInvoiceStatus": {
                "$ref": "#/components/schemas/BillingInvoiceStatus"
              },
              "Subscription": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Subscription",
                    "description": "Circular reference to Subscription (not expanded here)."
                  }
                ]
              },
              "Amount": {
                "type": "number",
                "format": "decimal"
              },
              "AmountOutstanding": {
                "type": "number",
                "format": "decimal"
              },
              "InvoiceLineItems": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/InvoiceLineItem"
                }
              },
              "IsUserGenerated": {
                "type": "boolean"
              },
              "StripeTaxCalculationId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "StripeTaxBehavior": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "AmountCredit": {
                "type": "number",
                "format": "decimal"
              },
              "AmountDiscount": {
                "type": "number",
                "format": "decimal"
              },
              "AmountPaid": {
                "type": "number",
                "format": "decimal"
              },
              "AmountRefunded": {
                "type": "number",
                "format": "decimal"
              },
              "AmountSubtotal": {
                "type": "number",
                "format": "decimal"
              },
              "AmountTax": {
                "type": "number",
                "format": "decimal"
              },
              "AmountTaxRefunded": {
                "type": "number",
                "format": "decimal"
              },
              "IsTaxable": {
                "type": "boolean"
              },
              "HasPaymentGatewayTransactions": {
                "type": "boolean"
              },
              "StripePaymentTransactionIds": {
                "type": "string",
                "nullable": true
              },
              "StripeRefundTransactionIds": {
                "type": "string",
                "nullable": true
              },
              "StripeTaxRefundTransactionIds": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "BillingInvoiceStatus": {
        "type": "integer",
        "description": "`1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing",
        "x-enumNames": [
          "Unpaid",
          "Paid",
          "Partial",
          "Uncollected",
          "Refunded",
          "Uncollectible",
          "Processing"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ]
      },
      "InvoiceLineItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "StartDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "EndDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Description": {
                "type": "string",
                "nullable": true
              },
              "UnitOfMeasure": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Quantity": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "Rate": {
                "type": "number",
                "format": "decimal"
              },
              "Amount": {
                "type": "number",
                "format": "decimal"
              },
              "Tax": {
                "type": "number",
                "format": "decimal"
              },
              "Invoice": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Invoice",
                    "description": "Circular reference to Invoice (not expanded here)."
                  }
                ]
              },
              "LineItemType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LineItemType"
                  }
                ]
              },
              "EntityId": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "StripeTaxReference": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "StripeTaxLineItemId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "EntityUid": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "LineItemType": {
        "type": "integer",
        "description": "`1` - Plan, `2` - PlanSetupFee, `3` - AddOn, `4` - AddOnSetupFee, `5` - Discount, `6` - Credit, `7` - PlanCredit, `8` - AddOnCredit",
        "x-enumNames": [
          "Plan",
          "PlanSetupFee",
          "AddOn",
          "AddOnSetupFee",
          "Discount",
          "Credit",
          "PlanCredit",
          "AddOnCredit"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ]
      },
      "AccountCancelation": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "SubmittedDateTime": {
                "type": "string",
                "format": "date-time"
              },
              "CancelationReason": {
                "type": "string",
                "nullable": true
              },
              "Comment": {
                "type": "string",
                "nullable": true
              },
              "CancelationStatus": {
                "$ref": "#/components/schemas/CancelationStatus"
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Account"
                  }
                ]
              },
              "LastPlan": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Plan"
                  }
                ]
              },
              "SubscribingStartDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "CancelationStatus": {
        "type": "integer",
        "description": "`0` - Pending, `1` - Unknown, `2` - Completed, `3` - Removed, `4` - Deleted",
        "x-enumNames": [
          "Pending",
          "Unknown",
          "Completed",
          "Removed",
          "Deleted"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4
        ]
      },
      "Deal": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "SchemaLessData": {},
          "Name": "string",
          "Amount": 0,
          "DueDate": "string",
          "AssignedToPersonClientIdentifier": "string",
          "Weight": 0,
          "DealPipelineStage": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "Weight": 0,
            "Name": "string",
            "DealPipeline": {},
            "Deals": []
          },
          "Account": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "StripeId": "string",
            "IsLivemode": false,
            "Name": "string",
            "ClientIdentifier": "string",
            "Currency": "string",
            "InvoiceNotes": "string",
            "IsDemo": false,
            "BillingAddress": {},
            "MailingAddress": {},
            "AccountStage": 2,
            "PaymentInformation": {},
            "PersonAccount": [],
            "StripeDefaultPaymentMethodId": "string",
            "StripeInvoices": [],
            "StripePaymentMethods": [],
            "StripeSubscriptions": [],
            "Subscriptions": [],
            "Deals": [],
            "LastLoginDateTime": "string",
            "AccountSpecificPageUrl1": "string",
            "AccountSpecificPageUrl2": "string",
            "AccountSpecificPageUrl3": "string",
            "AccountSpecificPageUrl4": "string",
            "AccountSpecificPageUrl5": "string",
            "AccountSpecificPageUrl6": "string",
            "AccountSpecificPageUrl7": "string",
            "AccountSpecificPageUrl8": "string",
            "AccountSpecificPageUrl9": "string",
            "AccountSpecificPageUrl10": "string",
            "RewardFulReferralId": "string",
            "ToltReferralId": "string",
            "TaxIds": [],
            "TaxStatus": "string",
            "AccountStageLabel": "string",
            "CurrentStripeProducts": "string",
            "CurrentSubscription": {},
            "DomainName": "string",
            "HasLoggedIn": false,
            "LatestSubscription": {},
            "LifetimeRevenue": 0,
            "NextStripeInvoiceDate": "string",
            "Nonce": "string",
            "PrimaryContact": {},
            "PrimarySubscription": {},
            "PrimaryStripeSubscription": {},
            "RecaptchaToken": "string",
            "StripeNextInvoiceSequence": 0,
            "StripePrice": [],
            "StripePriceIds": "string",
            "StripePromotionCode": "string",
            "TaxId": "string",
            "TaxIdIsInvalid": false,
            "TaxIdType": "string",
            "WebflowSlug": "string"
          },
          "DealPeople": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "Person": {},
              "Deal": {}
            }
          ],
          "Contacts": "string",
          "AccountId": 0,
          "Owner": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "Email": "string",
            "FirstName": "string",
            "LastName": "string",
            "MailingAddress": {},
            "PasswordLastUpdated": "string",
            "PasswordMustChange": false,
            "PhoneMobile": "string",
            "PhoneWork": "string",
            "ProfileImageS3Url": "string",
            "Title": "string",
            "Timezone": "string",
            "Language": "string",
            "IPAddress": "string",
            "Referer": "string",
            "UserAgent": "string",
            "LastLoginDateTime": "string",
            "OAuthGoogleProfileId": "string",
            "PersonAccount": [],
            "DealPeople": [],
            "LeadFormSubmissions": [],
            "Account": {},
            "AccountUids": "string",
            "EmailListPerson": [],
            "FullName": "string",
            "HasLoggedIn": false,
            "OAuthIntegrationStatus": 0,
            "OptInToEmailList": false,
            "Password": "string",
            "UserAgentPlatformBrowser": "string",
            "HasUnsubscribed": false,
            "DiscordUser": {},
            "IsConnectedToDiscord": false
          },
          "PipelineUid": "string"
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "required": [
              "Name"
            ],
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1
              },
              "Amount": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "DueDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "AssignedToPersonClientIdentifier": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "Weight": {
                "type": "integer",
                "format": "int32"
              },
              "DealPipelineStage": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DealPipelineStage"
                  }
                ]
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "DealPeople": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "DealPerson",
                  "description": "Circular reference to DealPerson (not expanded here)."
                }
              },
              "Contacts": {
                "type": "string",
                "nullable": true
              },
              "AccountId": {
                "type": "integer",
                "format": "int64"
              },
              "Owner": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Person",
                    "description": "Circular reference to Person (not expanded here)."
                  }
                ]
              },
              "PipelineUid": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "DealPipelineStage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Weight": {
                "type": "integer",
                "format": "int32"
              },
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DealPipeline": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DealPipeline"
                  }
                ]
              },
              "Deals": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "Deal",
                  "description": "Circular reference to Deal (not expanded here)."
                }
              }
            }
          }
        ]
      },
      "DealPipeline": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DealPipelineStages": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "DealPipelineStage",
                  "description": "Circular reference to DealPipelineStage (not expanded here)."
                }
              }
            }
          }
        ]
      },
      "DealPerson": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Person": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Person",
                    "description": "Circular reference to Person (not expanded here)."
                  }
                ]
              },
              "Deal": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Deal"
                  }
                ]
              }
            }
          }
        ]
      },
      "AccountTaxId": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractStripeBeanOfTaxId"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Account",
                    "description": "Circular reference to Account (not expanded here)."
                  }
                ]
              },
              "TaxId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "TaxIdType": {
                "type": "string",
                "maxLength": 20,
                "nullable": true
              },
              "IsInvalid": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfTaxId": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "AbstractStripeBeanOfCustomer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractSchemaLessBean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "properties": {
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "TeamRole": {
        "type": "integer",
        "description": "`1` - Admin, `2` - Member, `3` - Operator",
        "x-enumNames": [
          "Admin",
          "Member",
          "Operator"
        ],
        "x-enum-descriptions": [
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3
        ]
      },
      "LeadFormSubmission": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Person",
              "LeadForm"
            ],
            "properties": {
              "Person": {
                "type": "object",
                "title": "Person",
                "description": "Circular reference to Person (not expanded here)."
              },
              "LeadForm": {
                "$ref": "#/components/schemas/LeadForm"
              },
              "RefererURL": {
                "type": "string",
                "nullable": true
              },
              "RecaptchaToken": {
                "type": "string",
                "nullable": true
              },
              "RecaptchaSiteKey": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "LeadForm": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "FieldConfigurationDataJSON": {
                "type": "string",
                "nullable": true
              },
              "ThankYouRedirectUrl": {
                "type": "string",
                "format": "uri",
                "maxLength": 1000,
                "deprecated": true,
                "x-deprecatedMessage": "RedirectUrl stored in FieldConfigurationJSON",
                "nullable": true
              },
              "SubmissionCount": {
                "type": "integer",
                "format": "int32"
              },
              "PipelineStageUid": {
                "type": "string",
                "nullable": true
              },
              "DealPipelineStage": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DealPipelineStage"
                  }
                ]
              }
            }
          }
        ]
      },
      "OAuthService": {
        "type": "integer",
        "description": "`0` - None, `1` - Gmail",
        "x-enumFlags": true,
        "x-enumNames": [
          "None",
          "Gmail"
        ],
        "x-enum-descriptions": [
          "",
          ""
        ],
        "enum": [
          0,
          1
        ]
      },
      "DiscordUser": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Person"
            ],
            "properties": {
              "DiscordUserId": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DiscordEmail": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DiscordUsername": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DiscordOAuthRefreshToken": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "EmailListSubscriberStatus": {
        "type": "integer",
        "description": "`1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed",
        "x-enumNames": [
          "Subscribed",
          "Unsubscribed",
          "Cleaned",
          "Confirmed"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3,
          4
        ]
      },
      "TokenPayload": {
        "type": "object",
        "example": {
          "access_token": "string",
          "authentication_callback_url": "string",
          "expires_in": 0,
          "id_token": "string",
          "refresh_token": "string",
          "token_type": "string"
        },
        "additionalProperties": false,
        "properties": {
          "access_token": {
            "type": "string",
            "nullable": true
          },
          "authentication_callback_url": {
            "type": "string",
            "nullable": true
          },
          "expires_in": {
            "type": "integer",
            "format": "int32"
          },
          "id_token": {
            "type": "string",
            "nullable": true
          },
          "refresh_token": {
            "type": "string",
            "nullable": true
          },
          "token_type": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "TwoFactorChallengePayload": {
        "type": "object",
        "description": "Returned when a login cannot complete with a password alone because the\nuser has two-factor authentication enabled. Carries the opaque challenge\ntoken that must be echoed back to POST /api/v1/tokens/two-factor\n(or the recovery / resend / switch-mechanism endpoints) along with enough\nmetadata for a client to render the verification step without a second\nround-trip. The property names are snake_case to match the wire format of\nthe other token endpoints (see TokenPayload).",
        "example": {
          "two_factor_required": false,
          "two_factor_enrollment_required": false,
          "challenge_token": "string",
          "mechanism": "string",
          "masked_destination": "string",
          "expires_in": 0,
          "available_mechanisms": [
            "string"
          ],
          "recovery_codes_available": false
        },
        "additionalProperties": false,
        "properties": {
          "two_factor_required": {
            "type": "boolean",
            "description": "Present and true on the 202 response from POST /api/v1/tokens\nwhen the user has at least one verified 2FA method. Absent on the\nresend / switch-mechanism responses, which only ever follow an\nalready-issued login challenge.",
            "nullable": true
          },
          "two_factor_enrollment_required": {
            "type": "boolean",
            "description": "Present and true instead of two_factor_required\nwhen the tenant forces 2FA but the user has not yet enrolled any\nmethod. In that case only challenge_token and\nexpires_in are populated and the client must route the\nuser through the mid-login enrollment endpoints\n(/api/v1/tokens/two-factor/enroll/...) before a token can be issued.",
            "nullable": true
          },
          "challenge_token": {
            "type": "string",
            "description": "Short-lived signed JWT (audience outseta:2fa-challenge) that\nidentifies this challenge. Echo it back verbatim to complete the login.",
            "nullable": true
          },
          "mechanism": {
            "type": "string",
            "description": "The mechanism this challenge was issued against: Email or\nTotp (authenticator app). For Email a code has already\nbeen sent to the user; for Totp the user reads the current\ncode from their authenticator app and nothing is sent.",
            "nullable": true
          },
          "masked_destination": {
            "type": "string",
            "description": "A masked view of where an emailed code was sent (e.g. b***@outseta.com),\nsuitable for display. Empty when mechanism is Totp.",
            "nullable": true
          },
          "expires_in": {
            "type": "integer",
            "description": "Seconds until the challenge expires (600). After this the\nchallenge_token can no longer be verified and the login must restart.",
            "format": "int32"
          },
          "available_mechanisms": {
            "type": "array",
            "description": "Every verified mechanism enrolled for this user (excluding recovery\ncodes), e.g. [\"Totp\", \"Email\"]. A client can offer a\n\"use a different method\" option for any value other than the current\nmechanism via POST /api/v1/tokens/two-factor/switch-mechanism.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "recovery_codes_available": {
            "type": "boolean",
            "description": "true when the user has a batch of recovery codes on file, in\nwhich case POST /api/v1/tokens/two-factor/recovery can be used\nas a fallback if they cannot produce a primary code.",
            "nullable": true
          }
        }
      },
      "TwoFactorVerifyRequest": {
        "type": "object",
        "description": "Request body for POST /api/v1/tokens/two-factor: the challenge token\nfrom the login response plus the user's one-time code. Property names are\nsnake_case to match the wire format of the token endpoints.\n            \nThe action binds the body as a loose JObject at runtime; this type\nexists so the API docs describe the body instead of an opaque data\nparameter (see [OpenApiRequestBody] on the action).",
        "additionalProperties": false,
        "properties": {
          "challenge_token": {
            "type": "string",
            "description": "The challenge_token returned by POST /api/v1/tokens when\ntwo-factor authentication is required. Echo it back verbatim.",
            "nullable": true
          },
          "code": {
            "type": "string",
            "description": "The user's one-time code: the emailed code for an Email challenge,\nor the current code from their authenticator app for a Totp challenge.",
            "nullable": true
          }
        }
      },
      "PasswordPayload": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Password": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "TwoFactorTotpEnrollmentPayload": {
        "type": "object",
        "description": "Returned from POST /api/v1/tokens/two-factor/enroll/totp/begin when a\nuser forced into 2FA chooses to enroll an authenticator app. Carries the\nshared secret in the three forms a client may need to present it, plus the\nchallenge token the user's first generated code is confirmed against. The\nproperty names are snake_case to match the wire format of the other token\nendpoints (see TokenPayload).",
        "example": {
          "challenge_token": "string",
          "secret": "string",
          "otpauth_uri": "string",
          "qr_code_png_base64": "string",
          "expires_in": 0
        },
        "additionalProperties": false,
        "properties": {
          "challenge_token": {
            "type": "string",
            "description": "Short-lived signed JWT identifying the enrollment-test challenge.\nEcho it back to POST /api/v1/tokens/two-factor/enroll/totp/confirm\nalong with the first code from the authenticator app.",
            "nullable": true
          },
          "secret": {
            "type": "string",
            "description": "The Base32-encoded shared secret. Offer this for manual entry by users\nwho cannot scan the QR code.",
            "nullable": true
          },
          "otpauth_uri": {
            "type": "string",
            "description": "The full otpauth://totp/... URI encoding the secret, issuer and\nparameters. Most authenticator apps add an account directly from this.",
            "nullable": true
          },
          "qr_code_png_base64": {
            "type": "string",
            "description": "A QR code rendering of otpauth_uri as a PNG, Base64\nencoded — render it as an <img> for the user to scan.",
            "nullable": true
          },
          "expires_in": {
            "type": "integer",
            "description": "Seconds until the enrollment-test challenge expires (600).",
            "format": "int32"
          }
        }
      },
      "TwoFactorEnrollmentConfirmationPayload": {
        "type": "object",
        "description": "Returned from the mid-login enrollment confirm endpoints\n(POST /api/v1/tokens/two-factor/enroll/{email|totp}/confirm) once the\nuser has proven control of the new mechanism. Completes a forced-enrollment\nlogin: it both finalizes the JWT access token and surfaces the freshly\ngenerated recovery codes. The property names are snake_case to match the\nwire format of the other token endpoints (see TokenPayload).",
        "example": {
          "confirmed": false,
          "recovery_codes": [
            "string"
          ],
          "access_token": "string",
          "token_type": "string",
          "expires_in": 0
        },
        "additionalProperties": false,
        "properties": {
          "confirmed": {
            "type": "boolean",
            "description": "Always true on a success response; the enrollment is now active."
          },
          "recovery_codes": {
            "type": "array",
            "description": "The user's recovery codes, generated as part of first-time enrollment.\nThese are shown once and never returned again — prompt the user\nto store them somewhere safe. Each code is single-use at\nPOST /api/v1/tokens/two-factor/recovery.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "access_token": {
            "type": "string",
            "description": "The JWT access token. Use it as Authorization: bearer {access_token}\nfor subsequent API calls — login is complete.",
            "nullable": true
          },
          "token_type": {
            "type": "string",
            "description": "Always Bearer.",
            "nullable": true
          },
          "expires_in": {
            "type": "integer",
            "description": "Seconds until the access token expires.",
            "format": "int32"
          }
        }
      },
      "NoCodeSettings": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "AccountPagesEnabled": {
                "type": "boolean"
              },
              "AccountPagesPathPrefix": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountPagesAccessDeniedPath": {
                "type": "string",
                "maxLength": 1024,
                "nullable": true
              },
              "AccountPagesRedirectOnLogin": {
                "type": "boolean"
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Account"
                  }
                ]
              },
              "BillingSystem": {
                "$ref": "#/components/schemas/BillingSystem"
              },
              "ContentGroups": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ContentGroup"
                }
              },
              "MagicLinkApiKey": {
                "type": "string",
                "nullable": true
              },
              "OidcClients": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ClientApplication"
                }
              },
              "OidcClientId": {
                "type": "string",
                "deprecated": true,
                "nullable": true
              },
              "OidcRedirectUri": {
                "type": "string",
                "deprecated": true,
                "nullable": true
              },
              "OidcPostLogoutRedirectUri": {
                "type": "string",
                "deprecated": true,
                "nullable": true
              },
              "Plans": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Plan"
                }
              },
              "Products": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StripeProduct"
                }
              }
            }
          }
        ]
      },
      "BillingSystem": {
        "type": "integer",
        "description": "`1` - Outseta, `2` - Stripe",
        "x-enumNames": [
          "Outseta",
          "Stripe"
        ],
        "x-enum-descriptions": [
          "",
          ""
        ],
        "enum": [
          1,
          2
        ]
      },
      "ClientApplication": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Name",
              "AllowedOrigin"
            ],
            "properties": {
              "ClientId": {
                "type": "string",
                "maxLength": 20,
                "nullable": true
              },
              "ClientSecret": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "Name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              "AllowedOrigin": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              "PostLogoutRedirectUris": {
                "type": "string",
                "nullable": true
              },
              "RedirectUris": {
                "type": "string",
                "nullable": true
              },
              "RefreshTokenLifetime": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "ChatSettings": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "IntroHeading": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "IntroMessage": {
                "type": "string",
                "maxLength": 280,
                "nullable": true
              },
              "AutoResponderMessageAway": {
                "type": "string",
                "maxLength": 280,
                "nullable": true
              },
              "AutoResponderMessageAwayNoEmail": {
                "type": "string",
                "maxLength": 280,
                "deprecated": true,
                "nullable": true
              },
              "AutoResponderMessageAwayNoEmailThankYou": {
                "type": "string",
                "maxLength": 280,
                "deprecated": true,
                "nullable": true
              },
              "AutoResponderDelayMinutes": {
                "type": "integer",
                "format": "int32"
              },
              "RequireEmail": {
                "type": "boolean"
              },
              "RequireEmailMessage": {
                "type": "string",
                "maxLength": 280,
                "nullable": true
              }
            }
          }
        ]
      },
      "Case": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "SubmittedDateTime": "string",
          "LastActivity": "string",
          "FromPerson": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "Email": "string",
            "FirstName": "string",
            "LastName": "string",
            "MailingAddress": {},
            "PasswordLastUpdated": "string",
            "PasswordMustChange": false,
            "PhoneMobile": "string",
            "PhoneWork": "string",
            "ProfileImageS3Url": "string",
            "Title": "string",
            "Timezone": "string",
            "Language": "string",
            "IPAddress": "string",
            "Referer": "string",
            "UserAgent": "string",
            "LastLoginDateTime": "string",
            "OAuthGoogleProfileId": "string",
            "PersonAccount": [],
            "DealPeople": [],
            "LeadFormSubmissions": [],
            "Account": {},
            "AccountUids": "string",
            "EmailListPerson": [],
            "FullName": "string",
            "HasLoggedIn": false,
            "OAuthIntegrationStatus": 0,
            "OptInToEmailList": false,
            "Password": "string",
            "UserAgentPlatformBrowser": "string",
            "HasUnsubscribed": false,
            "DiscordUser": {},
            "IsConnectedToDiscord": false
          },
          "AssignedToPersonClientIdentifier": "string",
          "Subject": "string",
          "Body": "string",
          "UserAgent": "string",
          "Status": 1,
          "Source": 1,
          "CaseHistories": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "HistoryDateTime": "string",
              "Case": {},
              "AgentName": "string",
              "Comment": "string",
              "Type": 1,
              "SeenDateTime": "string",
              "ClickDateTime": "string",
              "UniqueIdentifier": "string",
              "PersonEmail": "string",
              "NewUvi": "string"
            }
          ],
          "CaseTags": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "Case": {},
              "Tag": {}
            }
          ],
          "HasUnread": false,
          "IsOnline": false,
          "LastCaseHistory": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "HistoryDateTime": "string",
            "Case": {},
            "AgentName": "string",
            "Comment": "string",
            "Type": 1,
            "SeenDateTime": "string",
            "ClickDateTime": "string",
            "UniqueIdentifier": "string",
            "PersonEmail": "string",
            "NewUvi": "string"
          },
          "Participants": "string",
          "RecaptchaToken": "string",
          "RecaptchaSiteKey": "string",
          "Score": 0
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "FromPerson",
              "Status",
              "Source"
            ],
            "properties": {
              "SubmittedDateTime": {
                "type": "string",
                "format": "date-time"
              },
              "LastActivity": {
                "type": "string",
                "format": "date-time"
              },
              "FromPerson": {
                "$ref": "#/components/schemas/Person"
              },
              "AssignedToPersonClientIdentifier": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "Subject": {
                "type": "string",
                "nullable": true
              },
              "Body": {
                "type": "string",
                "nullable": true
              },
              "UserAgent": {
                "type": "string",
                "nullable": true
              },
              "Status": {
                "maximum": 3,
                "minimum": 1,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportCaseStatus"
                  }
                ]
              },
              "Source": {
                "maximum": 5,
                "minimum": 1,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportCaseSource"
                  }
                ]
              },
              "CaseHistories": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CaseHistory"
                }
              },
              "CaseTags": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CaseTag"
                }
              },
              "HasUnread": {
                "type": "boolean"
              },
              "IsOnline": {
                "type": "boolean"
              },
              "LastCaseHistory": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CaseHistory"
                  }
                ]
              },
              "Participants": {
                "type": "string",
                "nullable": true
              },
              "RecaptchaToken": {
                "type": "string",
                "nullable": true
              },
              "RecaptchaSiteKey": {
                "type": "string",
                "nullable": true
              },
              "Score": {
                "type": "number",
                "format": "float"
              }
            }
          }
        ]
      },
      "SupportCaseStatus": {
        "type": "integer",
        "description": "`1` - Open, `2` - Closed, `3` - Spam",
        "x-enumNames": [
          "Open",
          "Closed",
          "Spam"
        ],
        "x-enum-descriptions": [
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3
        ]
      },
      "SupportCaseSource": {
        "type": "integer",
        "description": "`1` - Website, `2` - Email, `3` - Facebook, `4` - Twitter, `5` - Chat",
        "x-enumNames": [
          "Website",
          "Email",
          "Facebook",
          "Twitter",
          "Chat"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3,
          4,
          5
        ]
      },
      "CaseHistory": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "HistoryDateTime": "string",
          "Case": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SubmittedDateTime": "string",
            "LastActivity": "string",
            "FromPerson": {},
            "AssignedToPersonClientIdentifier": "string",
            "Subject": "string",
            "Body": "string",
            "UserAgent": "string",
            "Status": 1,
            "Source": 1,
            "CaseHistories": [],
            "CaseTags": [],
            "HasUnread": false,
            "IsOnline": false,
            "LastCaseHistory": {},
            "Participants": "string",
            "RecaptchaToken": "string",
            "RecaptchaSiteKey": "string",
            "Score": 0
          },
          "AgentName": "string",
          "Comment": "string",
          "Type": 1,
          "SeenDateTime": "string",
          "ClickDateTime": "string",
          "UniqueIdentifier": "string",
          "PersonEmail": "string",
          "NewUvi": "string"
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Case",
              "Type"
            ],
            "properties": {
              "HistoryDateTime": {
                "type": "string",
                "format": "date-time"
              },
              "Case": {
                "type": "object",
                "title": "Case",
                "description": "Circular reference to Case (not expanded here)."
              },
              "AgentName": {
                "type": "string",
                "nullable": true
              },
              "Comment": {
                "type": "string",
                "nullable": true
              },
              "Type": {
                "$ref": "#/components/schemas/SupportCaseHistoryType"
              },
              "SeenDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "ClickDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "UniqueIdentifier": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "PersonEmail": {
                "type": "string",
                "nullable": true
              },
              "NewUvi": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "SupportCaseHistoryType": {
        "type": "integer",
        "description": "`1` - PersonReply, `2` - Note, `3` - Closed, `4` - Reopened, `5` - Assigned, `6` - AgentReply, `7` - AutoReply, `8` - ContactChange",
        "x-enumNames": [
          "PersonReply",
          "Note",
          "Closed",
          "Reopened",
          "Assigned",
          "AgentReply",
          "AutoReply",
          "ContactChange"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ]
      },
      "CaseTag": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Case": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Case",
                    "description": "Circular reference to Case (not expanded here)."
                  }
                ]
              },
              "Tag": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Tag"
                  }
                ]
              }
            }
          }
        ]
      },
      "Article": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "Weight": 0,
          "Title": "string",
          "Body": "string",
          "SupportArticleStatus": 1,
          "Category": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "Name": "string",
            "Description": "string",
            "Weight": 0,
            "Articles": []
          },
          "Keywords": "string"
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Weight": {
                "type": "integer",
                "format": "int32"
              },
              "Title": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "Body": {
                "type": "string",
                "nullable": true
              },
              "SupportArticleStatus": {
                "maximum": 3,
                "minimum": 1,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SupportArticleStatus"
                  }
                ]
              },
              "Category": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Category"
                  }
                ]
              },
              "Keywords": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              }
            }
          }
        ]
      },
      "SupportArticleStatus": {
        "type": "integer",
        "description": "`1` - Draft, `2` - WaitingReview, `3` - Published",
        "x-enumNames": [
          "Draft",
          "WaitingReview",
          "Published"
        ],
        "x-enum-descriptions": [
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3
        ]
      },
      "Category": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Description": {
                "type": "string",
                "nullable": true
              },
              "Weight": {
                "type": "integer",
                "format": "int32"
              },
              "Articles": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "Article",
                  "description": "Circular reference to Article (not expanded here)."
                }
              }
            }
          }
        ]
      },
      "SupportSettings": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "EmailAddress": {
                "type": "string",
                "format": "email",
                "nullable": true
              },
              "HeaderCssBgColor": {
                "type": "string",
                "nullable": true
              },
              "HeaderCssColor": {
                "type": "string",
                "nullable": true
              },
              "PhoneNumber": {
                "type": "string",
                "nullable": true
              },
              "KnowledgeBaseCss": {
                "type": "string",
                "nullable": true
              },
              "KnowledgeBaseLogoS3Url": {
                "type": "string",
                "nullable": true
              },
              "KnowledgeBaseHeader": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "KnowledgeBaseIntroduction": {
                "type": "string",
                "nullable": true
              },
              "KnowledgeBaseFooterLinkJSON": {
                "type": "string",
                "nullable": true
              },
              "OfficeHoursJSON": {
                "type": "string",
                "nullable": true
              },
              "EmailNotificationForNewTickets": {
                "type": "string",
                "nullable": true
              },
              "DoNotSendSupportThankYouEmail": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "WebflowConfiguration": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "IsAuthorized": {
            "type": "boolean"
          },
          "LastSynced": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "LastSyncErrors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/WebflowSyncError"
            }
          },
          "SyncConfiguration": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/WebflowSyncConfiguration"
              }
            ]
          },
          "SyncLogs": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/WebflowSyncLog"
            }
          }
        }
      },
      "WebflowSyncError": {
        "type": "object",
        "additionalProperties": false
      },
      "WebflowSyncConfiguration": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "IsActive": {
            "type": "boolean"
          },
          "Site": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/WebflowSite"
              }
            ]
          },
          "Collection": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/WebflowCollection"
              }
            ]
          },
          "FieldMappings": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/WebflowFieldMapping"
            }
          },
          "SyncSlugToAccount": {
            "type": "boolean"
          }
        }
      },
      "WebflowSite": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "_id": {
            "type": "string",
            "deprecated": true,
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdOn": {
            "type": "string",
            "format": "date-time"
          },
          "database": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "lastPublished": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "previewUrl": {
            "type": "string",
            "nullable": true
          },
          "shortName": {
            "type": "string",
            "nullable": true
          },
          "timezone": {
            "type": "string",
            "deprecated": true,
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "WebflowCollection": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "_id": {
            "type": "string",
            "deprecated": true,
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdOn": {
            "type": "string",
            "format": "date-time"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string",
            "deprecated": true,
            "nullable": true
          },
          "singularName": {
            "type": "string",
            "nullable": true
          },
          "slug": {
            "type": "string",
            "nullable": true
          },
          "fields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/WebflowField"
            }
          }
        }
      },
      "WebflowField": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "editable": {
            "type": "boolean",
            "deprecated": true
          },
          "helpText": {
            "type": "string",
            "nullable": true
          },
          "isEditable": {
            "type": "boolean"
          },
          "isRequired": {
            "type": "boolean"
          },
          "itemRefCollectionId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "deprecated": true,
            "nullable": true
          },
          "required": {
            "type": "boolean",
            "deprecated": true
          },
          "slug": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "WebflowFieldMapping": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "OutsetaField": {
            "type": "string",
            "nullable": true
          },
          "WebflowField": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/WebflowField"
              }
            ]
          }
        }
      },
      "WebflowSyncLog": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Count": {
            "type": "integer",
            "format": "int32"
          },
          "SyncDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "WebflowSyncItems": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/WebflowSyncItem"
            }
          }
        }
      },
      "WebflowSyncItem": {
        "type": "object",
        "additionalProperties": false
      },
      "ProcessCodePayload": {
        "type": "object",
        "additionalProperties": false
      },
      "QcountConfig": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "SettingType": {
                "$ref": "#/components/schemas/QcountConfigSettingType"
              },
              "SettingValue": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "QcountConfigSettingType": {
        "type": "integer",
        "description": "`100` - Slack, `102` - MagicLinkApiKey, `103` - MagicLinkApiKeySecret, `104` - OAuth_HideCreateAccountLink, `105` - Chat_IsOffline, `106` - HostedPageCustomCode, `107` - RegistrationConfirmationEmailDelaySeconds, `108` - AccountCancellationReasons, `110` - WebhookSignatureKey, `111` - HostedProfileBackLink, `112` - AccountCancellationReasonRequired, `114` - Email_OutsetaBrandingDisabled, `119` - Email_BlacklistedInboundEmails, `121` - PasswordPolicy, `123` - CRM_FieldSortingEnabled, `124` - CRM_RegistrationCallbackLocations, `125` - KnowledgeBaseVersion, `126` - Support_SpamThreshold, `127` - Email_RestrictedPhrases, `128` - KnowledgeBaseLanguage, `130` - Billing_System, `131` - Billing_RestrictSubscriptionActions, `140` - TwoFactorAuthenticationEnabled, `142` - ForceTwoFactorAuthentication, `190` - Stripe_TaxEnabled, `192` - Stripe_TaxIdTypes, `193` - Stripe_ApplePayMerchantIdDomainAssociation, `194` - Stripe_WebhookSecret, `195` - Stripe_OnlySyncOutsetaCustomers, `200` - Webflow_AccessToken, `201` - Webflow_SyncEnabled, `202` - Webflow_SyncConfiguration, `203` - Webflow_ApiVersion, `550` - CopyQcount_AddOnMap, `551` - CopyQcount_AccountMap, `552` - CopyQcount_DiscountCouponMap, `553` - CopyQcount_InvoiceMap, `554` - CopyQcount_PersonMap, `555` - CopyQcount_PlanMap, `556` - CopyQcount_PlanFamilyMap, `557` - CopyQcount_SubscriptionMap, `558` - CopyQcount_TransactionMap, `570` - StripeMigration_LastAccountId, `571` - StripeMigration_LastInvoiceId, `572` - StripeMigration_LastExpiredSubscriptionId, `573` - StripeMigration_LastPostExportSubscriptionId, `574` - StripeMigration_LastUsageId, `575` - StripeMigration_SubscriptionExportDate, `576` - StripeMigration_SubscriptionExportIds, `577` - StripeMigration_SubscriptionAddOnExportIds, `578` - StripeMigration_SubscriptionCutoverDate, `579` - StripeMigration_LastPreCutoverExportSubscriptionId",
        "x-enumNames": [
          "Slack",
          "MagicLinkApiKey",
          "MagicLinkApiKeySecret",
          "OAuth_HideCreateAccountLink",
          "Chat_IsOffline",
          "HostedPageCustomCode",
          "RegistrationConfirmationEmailDelaySeconds",
          "AccountCancellationReasons",
          "WebhookSignatureKey",
          "HostedProfileBackLink",
          "AccountCancellationReasonRequired",
          "Email_OutsetaBrandingDisabled",
          "Email_BlacklistedInboundEmails",
          "PasswordPolicy",
          "CRM_FieldSortingEnabled",
          "CRM_RegistrationCallbackLocations",
          "KnowledgeBaseVersion",
          "Support_SpamThreshold",
          "Email_RestrictedPhrases",
          "KnowledgeBaseLanguage",
          "Billing_System",
          "Billing_RestrictSubscriptionActions",
          "TwoFactorAuthenticationEnabled",
          "ForceTwoFactorAuthentication",
          "Stripe_TaxEnabled",
          "Stripe_TaxIdTypes",
          "Stripe_ApplePayMerchantIdDomainAssociation",
          "Stripe_WebhookSecret",
          "Stripe_OnlySyncOutsetaCustomers",
          "Webflow_AccessToken",
          "Webflow_SyncEnabled",
          "Webflow_SyncConfiguration",
          "Webflow_ApiVersion",
          "CopyQcount_AddOnMap",
          "CopyQcount_AccountMap",
          "CopyQcount_DiscountCouponMap",
          "CopyQcount_InvoiceMap",
          "CopyQcount_PersonMap",
          "CopyQcount_PlanMap",
          "CopyQcount_PlanFamilyMap",
          "CopyQcount_SubscriptionMap",
          "CopyQcount_TransactionMap",
          "StripeMigration_LastAccountId",
          "StripeMigration_LastInvoiceId",
          "StripeMigration_LastExpiredSubscriptionId",
          "StripeMigration_LastPostExportSubscriptionId",
          "StripeMigration_LastUsageId",
          "StripeMigration_SubscriptionExportDate",
          "StripeMigration_SubscriptionExportIds",
          "StripeMigration_SubscriptionAddOnExportIds",
          "StripeMigration_SubscriptionCutoverDate",
          "StripeMigration_LastPreCutoverExportSubscriptionId"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          100,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          110,
          111,
          112,
          114,
          119,
          121,
          123,
          124,
          125,
          126,
          127,
          128,
          130,
          131,
          140,
          142,
          190,
          192,
          193,
          194,
          195,
          200,
          201,
          202,
          203,
          550,
          551,
          552,
          553,
          554,
          555,
          556,
          557,
          558,
          570,
          571,
          572,
          573,
          574,
          575,
          576,
          577,
          578,
          579
        ]
      },
      "DiscordServer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ExternalId": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Description": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "RequiresActiveSubscription": {
                "type": "boolean"
              },
              "SuppressPromptToConnect": {
                "type": "boolean"
              },
              "IsActive": {
                "type": "boolean"
              },
              "DiscordRoles": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "title": "DiscordRole",
                  "description": "Circular reference to DiscordRole (not expanded here)."
                }
              }
            }
          }
        ]
      },
      "DiscordRole": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ExternalId": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Position": {
                "type": "integer",
                "format": "int32"
              },
              "Icon": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Emoji": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DiscordServer": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DiscordServer"
                  }
                ]
              },
              "DiscordRolePlans": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DiscordRolePlan"
                }
              }
            }
          }
        ]
      },
      "DiscordRolePlan": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "DiscordRole": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "DiscordRole",
                    "description": "Circular reference to DiscordRole (not expanded here)."
                  }
                ]
              },
              "Plan": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Plan"
                  }
                ]
              }
            }
          }
        ]
      },
      "SlackChannelSetting": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Channel": {
            "type": "string",
            "nullable": true
          },
          "ChannelId": {
            "type": "string",
            "nullable": true
          },
          "Webhook": {
            "type": "string",
            "nullable": true
          },
          "Notifications": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ActivityType"
            }
          }
        }
      },
      "ActivityType": {
        "type": "integer",
        "description": "`10` - Custom, `50` - Note, `51` - Email, `52` - PhoneCall, `53` - Meeting, `54` - Chat, `100` - AccountCreated, `101` - AccountUpdated, `102` - AccountAddPerson, `103` - AccountStageUpdated, `104` - AccountDeleted, `105` - AccountBillingInformationUpdated, `106` - AccountSubscriptionPlanUpdated, `107` - AccountSubscriptionPaymentCollected, `108` - AccountSubscriptionPaymentDeclined, `109` - AccountBillingInformationRequested, `110` - AccountBillingInvoiceEmailSent, `111` - AccountRemovePerson, `112` - AccountPaidSubscriptionCreated, `113` - AccountBillingInformationRemoved, `114` - AccountPrimaryPersonUpdated, `115` - AccountBillingInvoiceCreated, `116` - AccountSubscriptionStarted, `117` - AccountSubscriptionRenewalExtended, `118` - AccountSubscriptionAddOnsChanged, `119` - AccountSubscriptionCancellationRequested, `120` - AccountBillingInvoiceDeleted, `121` - AccountPersonRoleUpdated, `200` - PersonCreated, `201` - PersonUpdated, `202` - PersonDeleted, `203` - PersonLogin, `204` - PersonListSubscribed, `205` - PersonListUnsubscribed, `206` - PersonSegmentAdded, `207` - PersonSegmentRemoved, `208` - PersonEmailOpened, `209` - PersonEmailClicked, `210` - PersonEmailBounce, `211` - PersonEmailSpam, `212` - PersonSupportTicketCreated, `213` - PersonSupportTicketUpdated, `214` - PersonLeadFormSubmitted, `215` - PersonListConfirmed, `216` - PersonEmailSubscribed, `217` - PersonEmailUnsubscribed, `218` - PersonTemporaryPasswordSet, `219` - PersonSupportTicketClosed, `220` - PersonTwoFactorRecoveryCodesRegenerated, `300` - DealCreated, `301` - DealUpdated, `304` - DealDeleted, `305` - DealDueDate, `306` - TaskCreated, `307` - TaskUpdated, `400` - PlanCreated, `401` - PlanUpdated, `402` - AddOnCreated, `403` - AddOnUpdated, `500` - DiscordUserLinked, `501` - DiscordUserAddedToServer, `502` - DiscordUserRolesUpdated, `503` - DiscordUserRemovedFromServer",
        "x-enumNames": [
          "Custom",
          "Note",
          "Email",
          "PhoneCall",
          "Meeting",
          "Chat",
          "AccountCreated",
          "AccountUpdated",
          "AccountAddPerson",
          "AccountStageUpdated",
          "AccountDeleted",
          "AccountBillingInformationUpdated",
          "AccountSubscriptionPlanUpdated",
          "AccountSubscriptionPaymentCollected",
          "AccountSubscriptionPaymentDeclined",
          "AccountBillingInformationRequested",
          "AccountBillingInvoiceEmailSent",
          "AccountRemovePerson",
          "AccountPaidSubscriptionCreated",
          "AccountBillingInformationRemoved",
          "AccountPrimaryPersonUpdated",
          "AccountBillingInvoiceCreated",
          "AccountSubscriptionStarted",
          "AccountSubscriptionRenewalExtended",
          "AccountSubscriptionAddOnsChanged",
          "AccountSubscriptionCancellationRequested",
          "AccountBillingInvoiceDeleted",
          "AccountPersonRoleUpdated",
          "PersonCreated",
          "PersonUpdated",
          "PersonDeleted",
          "PersonLogin",
          "PersonListSubscribed",
          "PersonListUnsubscribed",
          "PersonSegmentAdded",
          "PersonSegmentRemoved",
          "PersonEmailOpened",
          "PersonEmailClicked",
          "PersonEmailBounce",
          "PersonEmailSpam",
          "PersonSupportTicketCreated",
          "PersonSupportTicketUpdated",
          "PersonLeadFormSubmitted",
          "PersonListConfirmed",
          "PersonEmailSubscribed",
          "PersonEmailUnsubscribed",
          "PersonTemporaryPasswordSet",
          "PersonSupportTicketClosed",
          "PersonTwoFactorRecoveryCodesRegenerated",
          "DealCreated",
          "DealUpdated",
          "DealDeleted",
          "DealDueDate",
          "TaskCreated",
          "TaskUpdated",
          "PlanCreated",
          "PlanUpdated",
          "AddOnCreated",
          "AddOnUpdated",
          "DiscordUserLinked",
          "DiscordUserAddedToServer",
          "DiscordUserRolesUpdated",
          "DiscordUserRemovedFromServer"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          10,
          50,
          51,
          52,
          53,
          54,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          213,
          214,
          215,
          216,
          217,
          218,
          219,
          220,
          300,
          301,
          304,
          305,
          306,
          307,
          400,
          401,
          402,
          403,
          500,
          501,
          502,
          503
        ]
      },
      "Template": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Name",
              "Body"
            ],
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1
              },
              "Subject": {
                "type": "string",
                "maxLength": 1000,
                "nullable": true
              },
              "Body": {
                "type": "string",
                "minLength": 1
              },
              "Design": {
                "type": "string",
                "nullable": true
              },
              "Description": {
                "type": "string",
                "maxLength": 1000,
                "nullable": true
              },
              "SystemName": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "IsInternal": {
                "type": "boolean"
              },
              "AvailableTokens": {
                "type": "string",
                "nullable": true
              },
              "RequiredTokens": {
                "type": "string",
                "nullable": true
              },
              "Tag": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "SendGridDomainAuthentication": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "DomainName"
            ],
            "properties": {
              "DomainName": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1
              },
              "SendGridSubuser": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "IsValid": {
                "type": "boolean"
              },
              "IsBrandedLinksDisabled": {
                "type": "boolean"
              },
              "IsLinkTrackingDnsValid": {
                "type": "boolean"
              },
              "CloudflareCustomHostnameId": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "CloudflareSslStatus": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "CloudflareCustomHostnameCreatedAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "IsHttpsUpgradeAvailable": {
                "type": "boolean"
              },
              "LastValidationAttempt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "DnsEntries": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DnsEntry"
                }
              },
              "LegacyDnsEntries": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DnsEntry"
                }
              }
            }
          }
        ]
      },
      "DnsEntry": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Valid": {
            "type": "boolean"
          },
          "Type": {
            "type": "string",
            "nullable": true
          },
          "Host": {
            "type": "string",
            "nullable": true
          },
          "Data": {
            "type": "string",
            "nullable": true
          },
          "Reason": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ResendEmailsRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "EmailLogUids": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "DripCampaign": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "IsActive": false,
          "Campaign": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "Name": "string",
            "FromName": "string",
            "FromEmail": "string",
            "CampaignType": 1
          },
          "TriggerId": 0,
          "TriggerStartValue": "string",
          "TriggerStopValue": "string",
          "DripCampaignMessages": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "DripCampaign": {},
              "Message": {},
              "DelayFromPriorDay": 0,
              "DelayInHours": 0,
              "Weight": 0
            }
          ],
          "AllowRepeatProcessing": false,
          "StartDripToExistingMembers": false,
          "MarkExistingRecipientsDone": false
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "IsActive": {
                "type": "boolean"
              },
              "Campaign": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Campaign"
                  }
                ]
              },
              "TriggerId": {
                "type": "integer"
              },
              "TriggerStartValue": {
                "type": "string",
                "nullable": true
              },
              "TriggerStopValue": {
                "type": "string",
                "nullable": true
              },
              "DripCampaignMessages": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DripCampaignMessage"
                }
              },
              "AllowRepeatProcessing": {
                "type": "boolean"
              },
              "StartDripToExistingMembers": {
                "type": "boolean"
              },
              "MarkExistingRecipientsDone": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "Campaign": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Name"
            ],
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1
              },
              "FromName": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "FromEmail": {
                "title": "From Email",
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "CampaignType": {
                "maximum": 2,
                "minimum": 1,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CampaignType"
                  }
                ]
              }
            }
          }
        ]
      },
      "CampaignType": {
        "type": "integer",
        "description": "`1` - Broadcast, `2` - Drip",
        "x-enumNames": [
          "Broadcast",
          "Drip"
        ],
        "x-enum-descriptions": [
          "",
          ""
        ],
        "enum": [
          1,
          2
        ]
      },
      "DripCampaignMessage": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "DripCampaign": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "IsActive": false,
            "Campaign": {},
            "TriggerId": 0,
            "TriggerStartValue": "string",
            "TriggerStopValue": "string",
            "DripCampaignMessages": [],
            "AllowRepeatProcessing": false,
            "StartDripToExistingMembers": false,
            "MarkExistingRecipientsDone": false
          },
          "Message": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "Template": {},
            "Name": "string",
            "Subject": "string",
            "PreviewText": "string",
            "Body": "string",
            "Design": "string",
            "CountSent": 0,
            "CountDelivered": 0,
            "CountBounce": 0,
            "CountSpam": 0,
            "CountOpen": 0,
            "CountClick": 0,
            "CountUnsubscribed": 0,
            "CountTotalOpen": 0,
            "CountTotalClick": 0,
            "IgnoredSpamBounce": 0,
            "IsBounceRatePaused": false,
            "IsSpamScorePaused": false,
            "EmailLinks": [],
            "SpamAssassinScore": 0,
            "SpamStatus": 0,
            "SpamReason": "string"
          },
          "DelayFromPriorDay": 0,
          "DelayInHours": 0,
          "Weight": 0
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "DripCampaign": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "DripCampaign",
                    "description": "Circular reference to DripCampaign (not expanded here)."
                  }
                ]
              },
              "Message": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Message"
                  }
                ]
              },
              "DelayFromPriorDay": {
                "type": "integer",
                "format": "int32"
              },
              "DelayInHours": {
                "type": "integer",
                "format": "int32"
              },
              "Weight": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "Message": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Name"
            ],
            "properties": {
              "Template": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Template"
                  }
                ]
              },
              "Name": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1
              },
              "Subject": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PreviewText": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Body": {
                "type": "string",
                "nullable": true
              },
              "Design": {
                "type": "string",
                "nullable": true
              },
              "CountSent": {
                "type": "integer",
                "format": "int32"
              },
              "CountDelivered": {
                "type": "integer",
                "format": "int32"
              },
              "CountBounce": {
                "type": "integer",
                "format": "int32"
              },
              "CountSpam": {
                "type": "integer",
                "format": "int32"
              },
              "CountOpen": {
                "type": "integer",
                "format": "int32"
              },
              "CountClick": {
                "type": "integer",
                "format": "int32"
              },
              "CountUnsubscribed": {
                "type": "integer",
                "format": "int32"
              },
              "CountTotalOpen": {
                "type": "integer",
                "format": "int32"
              },
              "CountTotalClick": {
                "type": "integer",
                "format": "int32"
              },
              "IgnoredSpamBounce": {
                "type": "integer",
                "format": "int32"
              },
              "IsBounceRatePaused": {
                "type": "boolean"
              },
              "IsSpamScorePaused": {
                "type": "boolean"
              },
              "EmailLinks": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/EmailLink"
                }
              },
              "SpamAssassinScore": {
                "type": "number",
                "format": "decimal"
              },
              "SpamStatus": {
                "$ref": "#/components/schemas/SpamStatus"
              },
              "SpamReason": {
                "type": "string",
                "maxLength": 1024,
                "nullable": true
              }
            }
          }
        ]
      },
      "EmailLink": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Name": {
                "type": "string",
                "nullable": true
              },
              "URL": {
                "type": "string",
                "nullable": true
              },
              "CountClick": {
                "type": "integer",
                "format": "int32"
              },
              "CountTotalClick": {
                "type": "integer",
                "format": "int32"
              },
              "RecipientIds": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            }
          }
        ]
      },
      "SpamStatus": {
        "type": "integer",
        "description": "`0` - Draft, `1` - Pending, `2` - Processing, `3` - Reprocessing, `4` - Spam, `5` - NotSpam, `6` - Ignored",
        "x-enumNames": [
          "Draft",
          "Pending",
          "Processing",
          "Reprocessing",
          "Spam",
          "NotSpam",
          "Ignored"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ]
      },
      "SequenceState": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Freezes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SequenceFreeze"
            }
          },
          "Versions": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SequenceVersion"
            }
          }
        }
      },
      "SequenceFreeze": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "FrozenAt": {
            "type": "string",
            "format": "date-time"
          },
          "CreatedByUserId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "SequenceVersion": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "EffectiveFrom": {
            "type": "string",
            "format": "date-time"
          },
          "Messages": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SequenceVersionMessage"
            }
          },
          "CreatedByUserId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "SequenceVersionMessage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "MessageId": {
            "type": "integer",
            "format": "int64"
          },
          "OffsetHours": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "SendTestEmailRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "DripCampaign": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DripCampaign"
              }
            ]
          },
          "AdditionalRecipients": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "Qcount": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "DomainName",
              "Database"
            ],
            "properties": {
              "CompanyName": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "CompanyWebsite": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "DomainName": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              "DomainNameCustomForKnowledgeBase": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "AddressLine1": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "AddressLine2": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "AddressLine3": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "City": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "State": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PostalCode": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Country": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "CompanyLogoS3Url": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "CssBgColor": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^#[a-fA-F0-9]{6}$",
                "nullable": true
              },
              "CssColor": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^#[a-fA-F0-9]{6}$",
                "nullable": true
              },
              "AuthenticationAudience": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "AuthenticationCallbackUrl": {
                "type": "string",
                "nullable": true
              },
              "AccessTokenLifetimeMinutes": {
                "type": "integer",
                "format": "int64"
              },
              "AccountUid": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "ForteJsAPILoginId": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "StripeApplicationId": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "StripePublishableKey": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "StripeCurrencySymbol": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "PaymentsGatewayActivationStatus": {
                "$ref": "#/components/schemas/PaymentsGatewayActivationStatus"
              },
              "RecaptchaSiteKey": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "RewardfulAPIKey": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DomainPrefix": {
                "type": "string",
                "nullable": true
              },
              "CurrencySymbol": {
                "type": "string",
                "nullable": true
              },
              "ColorDark": {
                "type": "string",
                "nullable": true
              },
              "ColorLight": {
                "type": "string",
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              },
              "PaymentsMode": {
                "$ref": "#/components/schemas/PaymentsMode"
              },
              "TaxEnabled": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "QcountStatus": {
        "type": "integer",
        "description": "`0` - Active, `1` - Inactive, `2` - MarkedForDeletion, `3` - Deleted",
        "x-enumNames": [
          "Active",
          "Inactive",
          "MarkedForDeletion",
          "Deleted"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          ""
        ],
        "enum": [
          0,
          1,
          2,
          3
        ]
      },
      "PaymentsGatewayActivationStatus": {
        "type": "integer",
        "description": "`0` - Disabled, `1` - ForteEnabled, `2` - StripeEnabled, `3` - CustomEnabled",
        "x-enumNames": [
          "Disabled",
          "ForteEnabled",
          "StripeEnabled",
          "CustomEnabled"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          ""
        ],
        "enum": [
          0,
          1,
          2,
          3
        ]
      },
      "Database": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ConnectionString": {
                "type": "string",
                "maxLength": 500,
                "nullable": true
              },
              "ProxyConnectionString": {
                "type": "string",
                "maxLength": 500,
                "nullable": true
              },
              "IsLive": {
                "type": "boolean"
              },
              "DatabaseType": {
                "$ref": "#/components/schemas/DatabaseType"
              }
            }
          }
        ]
      },
      "DatabaseType": {
        "type": "integer",
        "description": "`0` - Client, `1` - Log",
        "x-enumNames": [
          "Client",
          "Log"
        ],
        "x-enum-descriptions": [
          "",
          ""
        ],
        "enum": [
          0,
          1
        ]
      },
      "ApiKey": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "Key": {
                "type": "string",
                "maxLength": 40,
                "nullable": true
              },
              "Qcount": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Qcount"
                  }
                ]
              },
              "InitialSecret": {
                "type": "string",
                "nullable": true
              },
              "ApiKeyType": {
                "$ref": "#/components/schemas/ApiKeyType"
              }
            }
          }
        ]
      },
      "ApiKeyType": {
        "type": "integer",
        "description": "`0` - Admin, `1` - ReadOnly",
        "x-enumNames": [
          "Admin",
          "ReadOnly"
        ],
        "x-enum-descriptions": [
          "",
          ""
        ],
        "enum": [
          0,
          1
        ]
      },
      "JwtKey": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Active": {
                "type": "boolean"
              },
              "X509CertificatePublic": {
                "type": "string",
                "nullable": true
              },
              "KeyInitial": {
                "type": "string",
                "nullable": true
              },
              "KeyMasked": {
                "type": "string",
                "nullable": true
              },
              "Qcount": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Qcount"
                  }
                ]
              }
            }
          }
        ]
      },
      "PaymentsMode": {
        "type": "integer",
        "description": "`0` - Manual, `1` - Automatic",
        "x-enumNames": [
          "Manual",
          "Automatic"
        ],
        "x-enum-descriptions": [
          "",
          ""
        ],
        "enum": [
          0,
          1
        ]
      },
      "BroadcastCampaign": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "SendDateTime": "string",
          "NextRunDateTime": "string",
          "Campaign": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "Name": "string",
            "FromName": "string",
            "FromEmail": "string",
            "CampaignType": 1
          },
          "Message": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "Template": {},
            "Name": "string",
            "Subject": "string",
            "PreviewText": "string",
            "Body": "string",
            "Design": "string",
            "CountSent": 0,
            "CountDelivered": 0,
            "CountBounce": 0,
            "CountSpam": 0,
            "CountOpen": 0,
            "CountClick": 0,
            "CountUnsubscribed": 0,
            "CountTotalOpen": 0,
            "CountTotalClick": 0,
            "IgnoredSpamBounce": 0,
            "IsBounceRatePaused": false,
            "IsSpamScorePaused": false,
            "EmailLinks": [],
            "SpamAssassinScore": 0,
            "SpamStatus": 0,
            "SpamReason": "string"
          },
          "RecipientData": "string",
          "EmailListUids": [
            "string"
          ],
          "SegmentUids": [
            "string"
          ],
          "TemplateUid": "string",
          "Status": 1,
          "ErrorMessage": "string",
          "Tags": [
            {
              "Uid": "string",
              "_objectType": "string",
              "Created": "string",
              "Updated": "string",
              "ActivityEventData": {},
              "Name": "string",
              "SystemName": "string",
              "SystemDescription": "string",
              "TagColor": 1,
              "EntityType": 0
            }
          ]
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "SendDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "NextRunDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Campaign": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Campaign"
                  }
                ]
              },
              "Message": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Message"
                  }
                ]
              },
              "RecipientData": {
                "type": "string",
                "nullable": true
              },
              "EmailListUids": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "SegmentUids": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "TemplateUid": {
                "type": "string",
                "nullable": true
              },
              "Status": {
                "$ref": "#/components/schemas/BroadcastCampaignStatus"
              },
              "ErrorMessage": {
                "type": "string",
                "maxLength": 500,
                "nullable": true
              },
              "Tags": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Tag"
                }
              }
            }
          }
        ]
      },
      "BroadcastCampaignStatus": {
        "type": "integer",
        "description": "`1` - Draft, `2` - Pending, `3` - Sent, `4` - Queuing, `5` - Queued, `6` - Sending, `7` - Error, `8` - WaitingToResume, `9` - QueuedEmails, `10` - Archived",
        "x-enumNames": [
          "Draft",
          "Pending",
          "Sent",
          "Queuing",
          "Queued",
          "Sending",
          "Error",
          "WaitingToResume",
          "QueuedEmails",
          "Archived"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ]
      },
      "SendTestEmailRequest2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "BroadcastCampaign": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BroadcastCampaign"
              }
            ]
          },
          "AdditionalRecipients": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "TagUidList": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "TagUids": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "FlatfileImportData": {
        "type": "object",
        "additionalProperties": {
          "nullable": true
        },
        "properties": {
          "SchemalessData": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "JobId": {
            "type": "integer",
            "format": "int64"
          },
          "SheetId": {
            "type": "string",
            "nullable": true
          },
          "TaskType": {
            "$ref": "#/components/schemas/BackGroundTaskType"
          }
        }
      },
      "BackGroundTaskType": {
        "type": "integer",
        "description": "`1` - UpdateSegmentBackGroundTask, `2` - ImportPeopleTask, `3` - ImportAccountTask, `4` - ImportDealTask, `5` - ImportEmailList, `6` - RescheduleDripCampaignTask, `7` - DeleteSegmentPeopleTask, `8` - StartDripCampaignTask, `9` - WebflowSyncTask, `10` - UpdatePersonSegmentsTask, `11` - ImportDiscountCouponTask, `12` - RemoveDiscordUserFromAllServersTask, `13` - SendInvoiceEmailTask, `14` - UpdateDiscordUserRolesTask, `15` - StripeBillingSyncTask, `16` - UpdateStripeDefaultSourceTask, `17` - DeleteScheduledCampaignMessagesTask, `18` - SendSpamCheckEmailTask, `19` - UpdateDiscordMemberRolesTask, `20` - SendInvoicePaidEmailTask, `21` - ResendTrialLimitEmailTask",
        "x-enumNames": [
          "UpdateSegmentBackGroundTask",
          "ImportPeopleTask",
          "ImportAccountTask",
          "ImportDealTask",
          "ImportEmailList",
          "RescheduleDripCampaignTask",
          "DeleteSegmentPeopleTask",
          "StartDripCampaignTask",
          "WebflowSyncTask",
          "UpdatePersonSegmentsTask",
          "ImportDiscountCouponTask",
          "RemoveDiscordUserFromAllServersTask",
          "SendInvoiceEmailTask",
          "UpdateDiscordUserRolesTask",
          "StripeBillingSyncTask",
          "UpdateStripeDefaultSourceTask",
          "DeleteScheduledCampaignMessagesTask",
          "SendSpamCheckEmailTask",
          "UpdateDiscordMemberRolesTask",
          "SendInvoicePaidEmailTask",
          "ResendTrialLimitEmailTask"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21
        ]
      },
      "UpdateAccountMemberRoleModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Role": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TeamRole"
              }
            ]
          }
        }
      },
      "PasswordChangeModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ExistingPassword": {
            "type": "string",
            "nullable": true
          },
          "GoogleIdToken": {
            "type": "string",
            "nullable": true
          },
          "NewPassword": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Segment": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Name",
              "ContainsAccountConditions",
              "ContainsDailyRepopulationConditions"
            ],
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1
              },
              "Description": {
                "type": "string",
                "maxLength": 500,
                "nullable": true
              },
              "ContainsAccountConditions": {
                "type": "boolean"
              },
              "CriteriaData": {
                "type": "string",
                "nullable": true
              },
              "LastRefreshDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "People": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/SegmentPerson"
                }
              },
              "PendingProcessing": {
                "type": "boolean"
              },
              "PersonCount": {
                "type": "integer",
                "format": "int32"
              },
              "Tags": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Tag"
                }
              }
            }
          }
        ]
      },
      "SegmentPerson": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Person": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Person"
                  }
                ]
              },
              "Segment": {
                "nullable": true,
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Segment",
                    "description": "Circular reference to Segment (not expanded here)."
                  }
                ]
              }
            }
          }
        ]
      },
      "CrmSettings": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "AccountRegistrationMode": {
                "deprecated": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AccountRegistrationMode"
                  }
                ]
              },
              "AllowMultipleUserAccountsInTeamMode": {
                "type": "boolean"
              },
              "CustomRegistrationUrl": {
                "type": "string",
                "format": "uri",
                "maxLength": 1000,
                "nullable": true
              },
              "CustomPostRegistrationUrl": {
                "type": "string",
                "maxLength": 1000,
                "nullable": true
              },
              "EmailList": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EmailList"
                  }
                ]
              },
              "ProfileTabs": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "ProfileAccountFieldGroupConfiguration": {
                "type": "string",
                "nullable": true
              },
              "ProfileProfileFieldGroupConfiguration": {
                "type": "string",
                "nullable": true
              },
              "RegistrationCallbackUrl": {
                "type": "string",
                "format": "uri",
                "maxLength": 1000,
                "nullable": true
              },
              "RegistrationConfirmationUrl": {
                "type": "string",
                "format": "uri",
                "maxLength": 1000,
                "nullable": true
              },
              "RegistrationFields": {
                "$ref": "#/components/schemas/RegistrationField"
              },
              "RegistrationFieldConfiguration": {
                "type": "string",
                "nullable": true
              },
              "RequireAcceptTermsAndConditions": {
                "type": "boolean"
              },
              "RequireAcceptTermsAndConditionsLocations": {
                "$ref": "#/components/schemas/AcceptTermsAndConditionsLocations"
              },
              "RequireAcceptTermsAndConditionsHtml": {
                "type": "string",
                "nullable": true
              },
              "RequirePaymentInformation": {
                "type": "boolean"
              },
              "RequireCaptcha": {
                "type": "boolean"
              },
              "DoNotSendPasswordVerificationEmail": {
                "type": "boolean"
              },
              "GoogleOAuthClientId": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "CssWidgetStandard": {
                "type": "string",
                "nullable": true
              },
              "CssWidgetCustom": {
                "type": "string",
                "nullable": true
              },
              "SummaryDisplayFieldConfiguration": {
                "type": "string",
                "nullable": true
              },
              "RegistrationConfirmationEmailDelaySeconds": {
                "type": "integer",
                "format": "int32"
              },
              "RegistrationCallbackUrlLocations": {
                "type": "string",
                "nullable": true
              },
              "TwoFactorAuthenticationAvailable": {
                "type": "boolean"
              },
              "MagicLinkLoginOnly": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "RegistrationField": {
        "type": "integer",
        "description": "`1` - PersonFirstName, `2` - PersonLastName, `4` - AccountName, `8` - AccountMailingAddress, `16` - AccountBillingAddress, `32` - PersonMailingAddress",
        "x-enumFlags": true,
        "x-enumNames": [
          "PersonFirstName",
          "PersonLastName",
          "AccountName",
          "AccountMailingAddress",
          "AccountBillingAddress",
          "PersonMailingAddress"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          4,
          8,
          16,
          32
        ]
      },
      "AcceptTermsAndConditionsLocations": {
        "type": "integer",
        "description": "`1` - Registration, `2` - UpdatePaymentInformation",
        "x-enumFlags": true,
        "x-enumNames": [
          "Registration",
          "UpdatePaymentInformation"
        ],
        "x-enum-descriptions": [
          "",
          ""
        ],
        "enum": [
          1,
          2
        ]
      },
      "Task": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Title": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Type": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TaskType"
                  }
                ]
              },
              "Assignee": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Person"
                  }
                ]
              },
              "DueDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Deal": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Deal"
                  }
                ]
              },
              "Person": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Person"
                  }
                ]
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Account"
                  }
                ]
              },
              "Notes": {
                "type": "string",
                "maxLength": 5000,
                "nullable": true
              },
              "Status": {
                "$ref": "#/components/schemas/TaskStatus"
              },
              "CreatedDateTime": {
                "type": "string",
                "format": "date-time"
              },
              "CompletedDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "TaskType": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DisplayOrder": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "TaskStatus": {
        "type": "integer",
        "description": "`1` - Pending, `2` - InProgress, `3` - Done",
        "x-enumNames": [
          "Pending",
          "InProgress",
          "Done"
        ],
        "x-enum-descriptions": [
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3
        ]
      },
      "ExtendTrialParams": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ToDate": {
            "type": "string",
            "format": "date-time"
          },
          "ExpirationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "ExtendRenewalParams": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ToDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ExpirationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "TemporaryPasswordModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "temporaryPassword": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "StripeCheckoutParams": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PriceIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "StripeBillingSyncParams": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "StripeCustomerId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SessionFlowDataOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "AfterCompletion": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SessionFlowDataAfterCompletionOptions"
              }
            ]
          },
          "SubscriptionCancel": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SessionFlowDataSubscriptionCancelOptions"
              }
            ]
          },
          "SubscriptionUpdate": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SessionFlowDataSubscriptionUpdateOptions"
              }
            ]
          },
          "SubscriptionUpdateConfirm": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SessionFlowDataSubscriptionUpdateConfirmOptions"
              }
            ]
          },
          "Type": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SessionFlowDataAfterCompletionOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "HostedConfirmation": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SessionFlowDataAfterCompletionHostedConfirmationOptions"
              }
            ]
          },
          "Redirect": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SessionFlowDataAfterCompletionRedirectOptions"
              }
            ]
          },
          "Type": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SessionFlowDataAfterCompletionHostedConfirmationOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CustomMessage": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SessionFlowDataAfterCompletionRedirectOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ReturnUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SessionFlowDataSubscriptionCancelOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Retention": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SessionFlowDataSubscriptionCancelRetentionOptions"
              }
            ]
          },
          "Subscription": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SessionFlowDataSubscriptionCancelRetentionOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CouponOffer": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SessionFlowDataSubscriptionCancelRetentionCouponOfferOptions"
              }
            ]
          },
          "Type": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SessionFlowDataSubscriptionCancelRetentionCouponOfferOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Coupon": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SessionFlowDataSubscriptionUpdateOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Subscription": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SessionFlowDataSubscriptionUpdateConfirmOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Discounts": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SessionFlowDataSubscriptionUpdateConfirmDiscountOptions"
            }
          },
          "Items": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SessionFlowDataSubscriptionUpdateConfirmItemOptions"
            }
          },
          "Subscription": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SessionFlowDataSubscriptionUpdateConfirmDiscountOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Coupon": {
            "type": "string",
            "nullable": true
          },
          "PromotionCode": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SessionFlowDataSubscriptionUpdateConfirmItemOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "Price": {
            "type": "string",
            "nullable": true
          },
          "Quantity": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "InvoiceStatusChangeOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "NewStatus": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "InvoiceCreditOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CreditAmount": {
            "type": "number",
            "format": "decimal"
          },
          "CreditReason": {
            "type": "string",
            "nullable": true
          },
          "CreditType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PauseCollectionOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Behavior": {
            "type": "string",
            "nullable": true
          },
          "ResumesAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "ExtendSubscriptionOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ToDate": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "BillSettings": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "IsInvoicePaymentEmailDisabled"
            ],
            "properties": {
              "DaysPastDueToSetAccountToCanceling": {
                "type": "integer",
                "format": "int32"
              },
              "IsInvoicePaymentEmailDisabled": {
                "type": "boolean"
              },
              "PaymentsMode": {
                "$ref": "#/components/schemas/PaymentsMode"
              },
              "BillingSystem": {
                "$ref": "#/components/schemas/BillingSystem"
              },
              "RestrictSubscriptionActions": {
                "type": "boolean"
              },
              "StripeTaxCode": {
                "type": "string",
                "nullable": true
              },
              "StripeTaxEnabled": {
                "type": "boolean"
              },
              "StripeTaxTaxIdTypes": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "Usage": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "UsageDate": "string",
          "Invoice": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "InvoiceDate": "string",
            "PaymentReminderSentDate": "string",
            "Number": 0,
            "BillingInvoiceStatus": 1,
            "Subscription": {},
            "Amount": 0,
            "AmountOutstanding": 0,
            "InvoiceLineItems": [],
            "IsUserGenerated": false,
            "StripeTaxCalculationId": "string",
            "StripeTaxBehavior": "string",
            "AmountCredit": 0,
            "AmountDiscount": 0,
            "AmountPaid": 0,
            "AmountRefunded": 0,
            "AmountSubtotal": 0,
            "AmountTax": 0,
            "AmountTaxRefunded": 0,
            "IsTaxable": false,
            "HasPaymentGatewayTransactions": false,
            "StripePaymentTransactionIds": "string",
            "StripeRefundTransactionIds": "string",
            "StripeTaxRefundTransactionIds": "string"
          },
          "SubscriptionAddOn": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "BillingRenewalTerm": 1,
            "Subscription": {},
            "AddOn": {},
            "Quantity": 0,
            "StartDate": "string",
            "EndDate": "string",
            "ExpirationDate": "string",
            "RenewalDate": "string",
            "NewRequiredQuantity": 0,
            "Rate": 0
          },
          "Amount": 0,
          "AdditionalUsageData": "string"
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "UsageDate",
              "SubscriptionAddOn",
              "Amount"
            ],
            "properties": {
              "UsageDate": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Invoice": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Invoice"
                  }
                ]
              },
              "SubscriptionAddOn": {
                "$ref": "#/components/schemas/SubscriptionAddOn"
              },
              "Amount": {
                "type": "number",
                "format": "decimal"
              },
              "AdditionalUsageData": {
                "type": "string",
                "maxLength": 1024,
                "nullable": true
              }
            }
          }
        ]
      },
      "TaxRate": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Country": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "State": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Rate": {
                "type": "number",
                "format": "decimal",
                "maximum": 0.99,
                "minimum": 0.001
              }
            }
          }
        ]
      },
      "Transaction": {
        "example": {
          "Uid": "string",
          "_objectType": "string",
          "Created": "string",
          "Updated": "string",
          "ActivityEventData": {},
          "TransactionDate": "string",
          "BillingTransactionType": 1,
          "Account": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "SchemaLessData": {},
            "StripeId": "string",
            "IsLivemode": false,
            "Name": "string",
            "ClientIdentifier": "string",
            "Currency": "string",
            "InvoiceNotes": "string",
            "IsDemo": false,
            "BillingAddress": {},
            "MailingAddress": {},
            "AccountStage": 2,
            "PaymentInformation": {},
            "PersonAccount": [],
            "StripeDefaultPaymentMethodId": "string",
            "StripeInvoices": [],
            "StripePaymentMethods": [],
            "StripeSubscriptions": [],
            "Subscriptions": [],
            "Deals": [],
            "LastLoginDateTime": "string",
            "AccountSpecificPageUrl1": "string",
            "AccountSpecificPageUrl2": "string",
            "AccountSpecificPageUrl3": "string",
            "AccountSpecificPageUrl4": "string",
            "AccountSpecificPageUrl5": "string",
            "AccountSpecificPageUrl6": "string",
            "AccountSpecificPageUrl7": "string",
            "AccountSpecificPageUrl8": "string",
            "AccountSpecificPageUrl9": "string",
            "AccountSpecificPageUrl10": "string",
            "RewardFulReferralId": "string",
            "ToltReferralId": "string",
            "TaxIds": [],
            "TaxStatus": "string",
            "AccountStageLabel": "string",
            "CurrentStripeProducts": "string",
            "CurrentSubscription": {},
            "DomainName": "string",
            "HasLoggedIn": false,
            "LatestSubscription": {},
            "LifetimeRevenue": 0,
            "NextStripeInvoiceDate": "string",
            "Nonce": "string",
            "PrimaryContact": {},
            "PrimarySubscription": {},
            "PrimaryStripeSubscription": {},
            "RecaptchaToken": "string",
            "StripeNextInvoiceSequence": 0,
            "StripePrice": [],
            "StripePriceIds": "string",
            "StripePromotionCode": "string",
            "TaxId": "string",
            "TaxIdIsInvalid": false,
            "TaxIdType": "string",
            "WebflowSlug": "string"
          },
          "Invoice": {
            "Uid": "string",
            "_objectType": "string",
            "Created": "string",
            "Updated": "string",
            "ActivityEventData": {},
            "InvoiceDate": "string",
            "PaymentReminderSentDate": "string",
            "Number": 0,
            "BillingInvoiceStatus": 1,
            "Subscription": {},
            "Amount": 0,
            "AmountOutstanding": 0,
            "InvoiceLineItems": [],
            "IsUserGenerated": false,
            "StripeTaxCalculationId": "string",
            "StripeTaxBehavior": "string",
            "AmountCredit": 0,
            "AmountDiscount": 0,
            "AmountPaid": 0,
            "AmountRefunded": 0,
            "AmountSubtotal": 0,
            "AmountTax": 0,
            "AmountTaxRefunded": 0,
            "IsTaxable": false,
            "HasPaymentGatewayTransactions": false,
            "StripePaymentTransactionIds": "string",
            "StripeRefundTransactionIds": "string",
            "StripeTaxRefundTransactionIds": "string"
          },
          "Amount": 0,
          "IsCaptured": false,
          "IsElectronicTransaction": false
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "TransactionDate": {
                "type": "string",
                "format": "date-time"
              },
              "BillingTransactionType": {
                "$ref": "#/components/schemas/BillingTransactionType"
              },
              "Account": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Account"
                  }
                ]
              },
              "Invoice": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Invoice"
                  }
                ]
              },
              "Amount": {
                "type": "number",
                "format": "decimal"
              },
              "IsCaptured": {
                "type": "boolean"
              },
              "IsElectronicTransaction": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "BillingTransactionType": {
        "type": "integer",
        "description": "`1` - Invoice, `2` - Payment, `3` - Credit, `4` - Refund, `5` - Chargeback, `6` - TaxRefund",
        "x-enumNames": [
          "Invoice",
          "Payment",
          "Credit",
          "Refund",
          "Chargeback",
          "TaxRefund"
        ],
        "x-enum-descriptions": [
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ]
      },
      "SetupIntent": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "AddOnUid": {
            "type": "string",
            "nullable": true
          },
          "BillingAddress": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "CheckoutAmount": {
            "type": "number",
            "format": "decimal"
          },
          "ClientSecret": {
            "type": "string",
            "nullable": true
          },
          "CompanyName": {
            "type": "string",
            "nullable": true
          },
          "CustomerToken": {
            "type": "string",
            "nullable": true
          },
          "Email": {
            "type": "string",
            "nullable": true
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "InvoiceUid": {
            "type": "string",
            "nullable": true
          },
          "IsSetupIntent": {
            "type": "boolean"
          },
          "IsPaymentAuthentication": {
            "type": "boolean"
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "OutstandingAmount": {
            "type": "number",
            "format": "decimal"
          },
          "PaymentToken": {
            "type": "string",
            "nullable": true
          },
          "PlanUid": {
            "type": "string",
            "nullable": true
          },
          "SetupFutureUsage": {
            "type": "boolean"
          },
          "ToltReferralId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ActivityCRMDealTrigger": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ActivityType": {
                "$ref": "#/components/schemas/ActivityType"
              },
              "DealPipelineStage": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DealPipelineStage"
                  }
                ]
              }
            }
          }
        ]
      },
      "ActivityNotification": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ActivityType": {
                "$ref": "#/components/schemas/ActivityType"
              },
              "NotificationEmail": {
                "type": "string",
                "format": "email",
                "nullable": true
              },
              "CallbackURL": {
                "type": "string",
                "nullable": true
              },
              "SlackWebhookURL": {
                "type": "string",
                "maxLength": 512,
                "nullable": true
              },
              "CallbackErrorCount": {
                "type": "integer",
                "format": "int32"
              },
              "CallbackErrorDescription": {
                "type": "string",
                "maxLength": 512,
                "nullable": true
              }
            }
          }
        ]
      },
      "Activity": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbstractQcountBean"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Title": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Description": {
                "type": "string",
                "nullable": true
              },
              "ActivityData": {
                "type": "string",
                "nullable": true
              },
              "ActivityDateTime": {
                "type": "string",
                "format": "date-time"
              },
              "ActivityType": {
                "$ref": "#/components/schemas/ActivityType"
              },
              "EntityType": {
                "$ref": "#/components/schemas/EntityType"
              },
              "EntityUid": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "ActivityCriteria": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "EntityType": {
            "type": "string",
            "nullable": true
          },
          "EntityUid": {
            "type": "string",
            "nullable": true
          },
          "ActivityType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ActivityType"
              }
            ]
          },
          "ActivityTypes": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CollectionMetadata": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer"
          },
          "offset": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        }
      },
      "AccountWebhookEntity": {
        "type": "object",
        "required": [
          "Created",
          "Updated",
          "Name"
        ],
        "properties": {
          "Uid": {
            "type": "string",
            "maxLength": 10,
            "nullable": true
          },
          "_objectType": {
            "type": "string",
            "nullable": true
          },
          "Created": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "Updated": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "StripeId": {
            "type": "string",
            "maxLength": 255,
            "nullable": true
          },
          "IsLivemode": {
            "type": "boolean"
          },
          "Name": {
            "type": "string",
            "maxLength": 250,
            "minLength": 1
          },
          "ClientIdentifier": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "Currency": {
            "type": "string",
            "maxLength": 3,
            "nullable": true
          },
          "InvoiceNotes": {
            "type": "string",
            "nullable": true
          },
          "IsDemo": {
            "type": "boolean"
          },
          "BillingAddress": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "AddressLine1": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "AddressLine2": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "AddressLine3": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "City": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "State": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PostalCode": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Country": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "GeoLocation": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              }
            }
          },
          "MailingAddress": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "AddressLine1": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "AddressLine2": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "AddressLine3": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "City": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "State": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PostalCode": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Country": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "GeoLocation": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              }
            }
          },
          "AccountStage": {
            "type": "integer",
            "description": "`2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created",
            "x-enumNames": [
              "Trialing",
              "Subscribing",
              "Cancelling",
              "Expired",
              "TrialExpired",
              "PastDue",
              "CancellingTrial",
              "Paused",
              "Created"
            ],
            "enum": [
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10
            ]
          },
          "PaymentInformation": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "CustomerToken": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "LastFourDigits": {
                "type": "string",
                "nullable": true
              },
              "LatestFailureDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "LatestFailureDescription": {
                "type": "string",
                "nullable": true
              },
              "LatestSuccessDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "NumberOfFailures": {
                "type": "integer",
                "format": "int32"
              },
              "PaymentClientSecret": {
                "type": "string",
                "nullable": true
              },
              "PaymentMethodType": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "PaymentToken": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "BankName": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "BankAccountType": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "BankAccountHolderType": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "NameOnCard": {
                "type": "string",
                "nullable": true
              },
              "CardType": {
                "type": "string",
                "nullable": true
              },
              "ExpirationMonth": {
                "type": "string",
                "nullable": true
              },
              "ExpirationYear": {
                "type": "string",
                "nullable": true
              },
              "Mode": {
                "type": "string",
                "nullable": true
              },
              "OneTimeToken": {
                "type": "string",
                "nullable": true
              },
              "RecaptchaToken": {
                "type": "string",
                "nullable": true
              },
              "SetupIntent": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "PersonAccount": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Person": {
                  "type": "object",
                  "nullable": true,
                  "properties": {
                    "Uid": {
                      "type": "string",
                      "maxLength": 10,
                      "nullable": true
                    },
                    "_objectType": {
                      "type": "string",
                      "nullable": true
                    },
                    "Created": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "Updated": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "Email": {
                      "type": "string",
                      "format": "email",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "FirstName": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "LastName": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "PasswordLastUpdated": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "PasswordMustChange": {
                      "type": "boolean"
                    },
                    "PhoneMobile": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "PhoneWork": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "ProfileImageS3Url": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "Title": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "Timezone": {
                      "type": "string",
                      "maxLength": 100,
                      "nullable": true
                    },
                    "Language": {
                      "type": "string",
                      "maxLength": 50,
                      "nullable": true
                    },
                    "IPAddress": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "Referer": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "UserAgent": {
                      "type": "string",
                      "maxLength": 1000,
                      "nullable": true
                    },
                    "LastLoginDateTime": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "OAuthGoogleProfileId": {
                      "type": "string",
                      "maxLength": 50,
                      "nullable": true
                    },
                    "AccountUids": {
                      "type": "string",
                      "nullable": true
                    },
                    "FullName": {
                      "type": "string",
                      "nullable": true
                    },
                    "HasLoggedIn": {
                      "type": "boolean"
                    },
                    "OAuthIntegrationStatus": {
                      "type": "integer",
                      "description": "`0` - None, `1` - Gmail",
                      "x-enumNames": [
                        "None",
                        "Gmail"
                      ],
                      "enum": [
                        0,
                        1
                      ]
                    },
                    "OptInToEmailList": {
                      "type": "boolean"
                    },
                    "Password": {
                      "type": "string",
                      "nullable": true
                    },
                    "UserAgentPlatformBrowser": {
                      "type": "string",
                      "nullable": true
                    },
                    "HasUnsubscribed": {
                      "type": "boolean"
                    },
                    "IsConnectedToDiscord": {
                      "type": "boolean"
                    }
                  }
                },
                "IsPrimary": {
                  "type": "boolean"
                },
                "ReceiveInvoices": {
                  "type": "boolean"
                },
                "Role": {
                  "type": "integer",
                  "description": "`1` - Admin, `2` - Member, `3` - Operator",
                  "nullable": true,
                  "x-enumNames": [
                    "Admin",
                    "Member",
                    "Operator"
                  ],
                  "enum": [
                    1,
                    2,
                    3
                  ]
                }
              }
            }
          },
          "StripeDefaultPaymentMethodId": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          },
          "StripeInvoices": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "StripeId": {
                  "type": "string",
                  "maxLength": 255,
                  "nullable": true
                },
                "IsLivemode": {
                  "type": "boolean"
                },
                "AmountDue": {
                  "type": "integer",
                  "format": "int64"
                },
                "AmountPaid": {
                  "type": "integer",
                  "format": "int64"
                },
                "AmountShipping": {
                  "type": "integer",
                  "format": "int64"
                },
                "AttemptCount": {
                  "type": "integer",
                  "format": "int64"
                },
                "Attempted": {
                  "type": "boolean"
                },
                "Currency": {
                  "type": "string",
                  "maxLength": 3,
                  "nullable": true
                },
                "Description": {
                  "type": "string",
                  "nullable": true
                },
                "FinalizedAt": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "HostedInvoiceUrl": {
                  "type": "string",
                  "maxLength": 500,
                  "nullable": true
                },
                "InvoicePdf": {
                  "type": "string",
                  "maxLength": 500,
                  "nullable": true
                },
                "NextPaymentAttempt": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "Number": {
                  "type": "string",
                  "maxLength": 50,
                  "nullable": true
                },
                "PeriodEnd": {
                  "type": "string",
                  "format": "date-time"
                },
                "PeriodStart": {
                  "type": "string",
                  "format": "date-time"
                },
                "Status": {
                  "type": "string",
                  "maxLength": 30,
                  "nullable": true
                },
                "SubTotal": {
                  "type": "integer",
                  "format": "int64"
                },
                "SubTotalExcludingTax": {
                  "type": "integer",
                  "format": "int64",
                  "nullable": true
                },
                "SubscriptionId": {
                  "type": "string",
                  "maxLength": 255,
                  "nullable": true
                },
                "Tax": {
                  "type": "integer",
                  "format": "int64",
                  "nullable": true
                },
                "Total": {
                  "type": "integer",
                  "format": "int64"
                },
                "TotalExcludingTax": {
                  "type": "integer",
                  "format": "int64",
                  "nullable": true
                },
                "IsRefunded": {
                  "type": "boolean"
                },
                "CurrencyAmountCreditedPostPayment": {
                  "type": "number",
                  "format": "decimal"
                },
                "CurrencyAmountCreditedPrePayment": {
                  "type": "number",
                  "format": "decimal"
                },
                "CurrencyAmountDue": {
                  "type": "number",
                  "format": "decimal"
                },
                "CurrencyAmountPaid": {
                  "type": "number",
                  "format": "decimal"
                },
                "CurrencySymbol": {
                  "type": "string",
                  "nullable": true
                },
                "CurrencyTotal": {
                  "type": "number",
                  "format": "decimal"
                },
                "CurrencyTotalExcludingTax": {
                  "type": "number",
                  "format": "decimal"
                },
                "CurrencySubTotal": {
                  "type": "number",
                  "format": "decimal"
                },
                "CurrencySubTotalExcludingTax": {
                  "type": "number",
                  "format": "decimal"
                },
                "CurrencyTax": {
                  "type": "number",
                  "format": "decimal"
                },
                "DaysUntilDue": {
                  "type": "integer",
                  "format": "int64",
                  "nullable": true
                },
                "CustomerId": {
                  "type": "string",
                  "nullable": true
                },
                "PaymentStatus": {
                  "type": "string",
                  "nullable": true
                },
                "StripePaymentMethodId": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          },
          "StripePaymentMethods": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "StripeId": {
                  "type": "string",
                  "maxLength": 255,
                  "nullable": true
                },
                "IsLivemode": {
                  "type": "boolean"
                },
                "Card_Brand": {
                  "type": "string",
                  "nullable": true
                },
                "Card_ExpMonth": {
                  "type": "integer",
                  "format": "int64",
                  "nullable": true
                },
                "Card_ExpYear": {
                  "type": "integer",
                  "format": "int64",
                  "nullable": true
                },
                "Card_Wallet_Type": {
                  "type": "string",
                  "nullable": true
                },
                "BankName": {
                  "type": "string",
                  "nullable": true
                },
                "Last4": {
                  "type": "string",
                  "nullable": true
                },
                "Type": {
                  "type": "string",
                  "nullable": true
                },
                "Label": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          },
          "StripeSubscriptions": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "StripeId": {
                  "type": "string",
                  "maxLength": 255,
                  "nullable": true
                },
                "IsLivemode": {
                  "type": "boolean"
                },
                "ApplicationFeePercent": {
                  "type": "number",
                  "format": "decimal",
                  "nullable": true
                },
                "CancelAt": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "CancelAtPeriodEnd": {
                  "type": "boolean"
                },
                "Currency": {
                  "type": "string",
                  "maxLength": 3,
                  "nullable": true
                },
                "EndedAt": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "PauseCollection_Behavior": {
                  "type": "string",
                  "maxLength": 30,
                  "nullable": true
                },
                "PauseCollection_ResumesAt": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "StartDate": {
                  "type": "string",
                  "format": "date-time"
                },
                "Status": {
                  "type": "string",
                  "maxLength": 30,
                  "nullable": true
                },
                "TrialEnd": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "AccountUid": {
                  "type": "string",
                  "nullable": true
                },
                "BillingCycleAnchor": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "CollectionMethod": {
                  "type": "string",
                  "nullable": true
                },
                "CustomerId": {
                  "type": "string",
                  "nullable": true
                },
                "DaysUntilDue": {
                  "type": "integer",
                  "format": "int64",
                  "nullable": true
                },
                "ScheduleId": {
                  "type": "string",
                  "nullable": true
                },
                "StripeDiscountIds": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "type": "string"
                  }
                },
                "StripePriceIds": {
                  "type": "string",
                  "nullable": true
                },
                "TrialPeriodDays": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "Subscriptions": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "BillingRenewalTerm": {
                  "type": "integer",
                  "description": "`1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time",
                  "x-enumNames": [
                    "Monthly",
                    "Yearly",
                    "Quarterly",
                    "OneTime"
                  ],
                  "enum": [
                    1,
                    2,
                    3,
                    4
                  ]
                },
                "Plan": {
                  "type": "object",
                  "nullable": true,
                  "properties": {
                    "Uid": {
                      "type": "string",
                      "maxLength": 10,
                      "nullable": true
                    },
                    "_objectType": {
                      "type": "string",
                      "nullable": true
                    },
                    "Created": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "Updated": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "Name": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "Description": {
                      "type": "string",
                      "nullable": true
                    },
                    "PlanFamily": {
                      "type": "object",
                      "nullable": true,
                      "properties": {
                        "Uid": {
                          "type": "string",
                          "maxLength": 10,
                          "nullable": true
                        },
                        "_objectType": {
                          "type": "string",
                          "nullable": true
                        },
                        "Created": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Updated": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Name": {
                          "type": "string",
                          "maxLength": 250,
                          "nullable": true
                        },
                        "IsActive": {
                          "type": "boolean"
                        },
                        "IsDefault": {
                          "type": "boolean"
                        }
                      }
                    },
                    "AccountRegistrationMode": {
                      "type": "integer",
                      "description": "`1` - Individual, `2` - Team",
                      "x-enumNames": [
                        "Individual",
                        "Team"
                      ],
                      "enum": [
                        1,
                        2
                      ]
                    },
                    "IsQuantityEditable": {
                      "type": "boolean"
                    },
                    "MinimumQuantity": {
                      "type": "integer",
                      "format": "int32"
                    },
                    "MaximumPeople": {
                      "type": "integer",
                      "format": "int32",
                      "nullable": true
                    },
                    "MonthlyRate": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "AnnualRate": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "QuarterlyRate": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "OneTimeRate": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "SetupFee": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "SkipSetupFeeOnPlanChange": {
                      "type": "boolean"
                    },
                    "IsTaxable": {
                      "type": "boolean"
                    },
                    "IsActive": {
                      "type": "boolean"
                    },
                    "IsPerUser": {
                      "type": "boolean"
                    },
                    "RequirePaymentInformation": {
                      "type": "boolean"
                    },
                    "TrialPeriodDays": {
                      "type": "integer",
                      "format": "int32"
                    },
                    "TrialUntilDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "ExpiresAfterMonths": {
                      "type": "integer",
                      "format": "int32"
                    },
                    "ExpirationDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "PostLoginPath": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "StripeTaxCodeId": {
                      "type": "string",
                      "maxLength": 15,
                      "nullable": true
                    },
                    "UnitOfMeasure": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "PlanAddOns": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "type": "object",
                        "required": [
                          "Created",
                          "Updated",
                          "IsUserSelectable"
                        ],
                        "properties": {
                          "Uid": {
                            "type": "string",
                            "maxLength": 10,
                            "nullable": true
                          },
                          "_objectType": {
                            "type": "string",
                            "nullable": true
                          },
                          "Created": {
                            "type": "string",
                            "format": "date-time",
                            "minLength": 1
                          },
                          "Updated": {
                            "type": "string",
                            "format": "date-time",
                            "minLength": 1
                          },
                          "IsUserSelectable": {
                            "type": "boolean"
                          }
                        }
                      }
                    },
                    "ContentGroups": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "type": "object",
                        "required": [
                          "Created",
                          "Updated",
                          "Name"
                        ],
                        "properties": {
                          "Uid": {
                            "type": "string",
                            "maxLength": 10,
                            "nullable": true
                          },
                          "_objectType": {
                            "type": "string",
                            "nullable": true
                          },
                          "Created": {
                            "type": "string",
                            "format": "date-time",
                            "minLength": 1
                          },
                          "Updated": {
                            "type": "string",
                            "format": "date-time",
                            "minLength": 1
                          },
                          "Name": {
                            "type": "string",
                            "maxLength": 50,
                            "minLength": 1
                          },
                          "AccessDeniedPath": {
                            "type": "string",
                            "maxLength": 1024,
                            "nullable": true
                          }
                        }
                      }
                    },
                    "NumberOfSubscriptions": {
                      "type": "integer",
                      "format": "int32",
                      "nullable": true
                    }
                  }
                },
                "Quantity": {
                  "type": "integer",
                  "format": "int32",
                  "nullable": true
                },
                "StartDate": {
                  "type": "string",
                  "format": "date-time"
                },
                "EndDate": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "ExpirationDate": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "RenewalDate": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "NewRequiredQuantity": {
                  "type": "integer",
                  "format": "int32",
                  "nullable": true
                },
                "IsPlanUpgradeRequired": {
                  "type": "boolean"
                },
                "PlanUpgradeRequiredMessage": {
                  "type": "string",
                  "nullable": true
                },
                "SubscriptionAddOns": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "type": "object",
                    "required": [
                      "Created",
                      "Updated"
                    ],
                    "properties": {
                      "Uid": {
                        "type": "string",
                        "maxLength": 10,
                        "nullable": true
                      },
                      "_objectType": {
                        "type": "string",
                        "nullable": true
                      },
                      "Created": {
                        "type": "string",
                        "format": "date-time",
                        "minLength": 1
                      },
                      "Updated": {
                        "type": "string",
                        "format": "date-time",
                        "minLength": 1
                      },
                      "BillingRenewalTerm": {
                        "type": "integer",
                        "description": "`1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time",
                        "x-enumNames": [
                          "Monthly",
                          "Yearly",
                          "Quarterly",
                          "OneTime"
                        ],
                        "enum": [
                          1,
                          2,
                          3,
                          4
                        ]
                      },
                      "AddOn": {
                        "type": "object",
                        "nullable": true,
                        "properties": {
                          "Uid": {
                            "type": "string",
                            "maxLength": 10,
                            "nullable": true
                          },
                          "_objectType": {
                            "type": "string",
                            "nullable": true
                          },
                          "Created": {
                            "type": "string",
                            "format": "date-time",
                            "minLength": 1
                          },
                          "Updated": {
                            "type": "string",
                            "format": "date-time",
                            "minLength": 1
                          },
                          "Name": {
                            "type": "string",
                            "maxLength": 250,
                            "nullable": true
                          },
                          "BillingAddOnType": {
                            "type": "integer",
                            "description": "`1` - Recurring, `2` - Usage, `3` - OneTime",
                            "x-enumNames": [
                              "Recurring",
                              "Usage",
                              "OneTime"
                            ],
                            "enum": [
                              1,
                              2,
                              3
                            ]
                          },
                          "IsQuantityEditable": {
                            "type": "boolean"
                          },
                          "MinimumQuantity": {
                            "type": "integer",
                            "format": "int32"
                          },
                          "MonthlyRate": {
                            "type": "number",
                            "format": "decimal"
                          },
                          "AnnualRate": {
                            "type": "number",
                            "format": "decimal"
                          },
                          "SetupFee": {
                            "type": "number",
                            "format": "decimal"
                          },
                          "UnitOfMeasure": {
                            "type": "string",
                            "maxLength": 250,
                            "nullable": true
                          },
                          "IsTaxable": {
                            "type": "boolean"
                          },
                          "IsBilledDuringTrial": {
                            "type": "boolean"
                          },
                          "ExpiresAfterMonths": {
                            "type": "integer",
                            "format": "int32"
                          },
                          "ExpirationDate": {
                            "type": "string",
                            "format": "date-time",
                            "nullable": true
                          },
                          "StripeTaxCodeId": {
                            "type": "string",
                            "maxLength": 15,
                            "nullable": true
                          },
                          "IsPerUser": {
                            "type": "boolean"
                          },
                          "QuarterlyRate": {
                            "type": "number",
                            "format": "decimal"
                          },
                          "OneTimeRate": {
                            "type": "number",
                            "format": "decimal"
                          },
                          "SubscriptionCount": {
                            "type": "integer",
                            "format": "int32"
                          },
                          "Quantity": {
                            "type": "integer",
                            "format": "int32"
                          }
                        }
                      },
                      "Quantity": {
                        "type": "integer",
                        "format": "int32",
                        "nullable": true
                      },
                      "StartDate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "EndDate": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true
                      },
                      "ExpirationDate": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true
                      },
                      "RenewalDate": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true
                      },
                      "NewRequiredQuantity": {
                        "type": "integer",
                        "format": "int32",
                        "nullable": true
                      },
                      "Rate": {
                        "type": "number",
                        "format": "decimal",
                        "nullable": true
                      }
                    }
                  }
                },
                "DiscountCouponSubscriptions": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "type": "object",
                    "required": [
                      "Created",
                      "Updated"
                    ],
                    "properties": {
                      "Uid": {
                        "type": "string",
                        "maxLength": 10,
                        "nullable": true
                      },
                      "_objectType": {
                        "type": "string",
                        "nullable": true
                      },
                      "Created": {
                        "type": "string",
                        "format": "date-time",
                        "minLength": 1
                      },
                      "Updated": {
                        "type": "string",
                        "format": "date-time",
                        "minLength": 1
                      },
                      "RedeemedDate": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true
                      },
                      "ExpireDate": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true
                      },
                      "DiscountCoupon": {
                        "type": "object",
                        "nullable": true,
                        "properties": {
                          "Uid": {
                            "type": "string",
                            "maxLength": 10,
                            "nullable": true
                          },
                          "_objectType": {
                            "type": "string",
                            "nullable": true
                          },
                          "Created": {
                            "type": "string",
                            "format": "date-time",
                            "minLength": 1
                          },
                          "Updated": {
                            "type": "string",
                            "format": "date-time",
                            "minLength": 1
                          },
                          "UniqueIdentifier": {
                            "type": "string",
                            "nullable": true
                          },
                          "Name": {
                            "type": "string",
                            "nullable": true
                          },
                          "IsActive": {
                            "type": "boolean"
                          },
                          "AmountOff": {
                            "type": "number",
                            "format": "decimal",
                            "nullable": true
                          },
                          "PercentOff": {
                            "type": "number",
                            "format": "decimal",
                            "nullable": true
                          },
                          "RedeemBy": {
                            "type": "string",
                            "format": "date-time",
                            "nullable": true
                          },
                          "Duration": {
                            "type": "integer",
                            "description": "`1` - Forever, `2` - Once, `3` - Repeating",
                            "x-enumNames": [
                              "Forever",
                              "Once",
                              "Repeating"
                            ],
                            "enum": [
                              1,
                              2,
                              3
                            ]
                          },
                          "DurationInMonths": {
                            "type": "integer",
                            "format": "int32",
                            "nullable": true
                          },
                          "TimesRedeemed": {
                            "type": "integer",
                            "format": "int32"
                          },
                          "MaxRedemptions": {
                            "type": "integer",
                            "format": "int32",
                            "nullable": true
                          },
                          "ApplyToAddOns": {
                            "type": "boolean"
                          },
                          "PlanUids": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      }
                    }
                  }
                },
                "DiscountCode": {
                  "type": "string",
                  "nullable": true
                },
                "DiscountCouponExpirationDate": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "LatestInvoice": {
                  "type": "object",
                  "nullable": true,
                  "properties": {
                    "Uid": {
                      "type": "string",
                      "maxLength": 10,
                      "nullable": true
                    },
                    "_objectType": {
                      "type": "string",
                      "nullable": true
                    },
                    "Created": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "Updated": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "InvoiceDate": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "PaymentReminderSentDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "Number": {
                      "type": "integer",
                      "format": "int32"
                    },
                    "BillingInvoiceStatus": {
                      "type": "integer",
                      "description": "`1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing",
                      "x-enumNames": [
                        "Unpaid",
                        "Paid",
                        "Partial",
                        "Uncollected",
                        "Refunded",
                        "Uncollectible",
                        "Processing"
                      ],
                      "enum": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7
                      ]
                    },
                    "Amount": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "AmountOutstanding": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "IsUserGenerated": {
                      "type": "boolean"
                    },
                    "StripeTaxCalculationId": {
                      "type": "string",
                      "maxLength": 50,
                      "nullable": true
                    },
                    "StripeTaxBehavior": {
                      "type": "string",
                      "maxLength": 10,
                      "nullable": true
                    },
                    "AmountCredit": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "AmountDiscount": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "AmountPaid": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "AmountRefunded": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "AmountSubtotal": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "AmountTax": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "AmountTaxRefunded": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "IsTaxable": {
                      "type": "boolean"
                    },
                    "HasPaymentGatewayTransactions": {
                      "type": "boolean"
                    },
                    "StripePaymentTransactionIds": {
                      "type": "string",
                      "nullable": true
                    },
                    "StripeRefundTransactionIds": {
                      "type": "string",
                      "nullable": true
                    },
                    "StripeTaxRefundTransactionIds": {
                      "type": "string",
                      "nullable": true
                    }
                  }
                },
                "Rate": {
                  "type": "number",
                  "format": "decimal",
                  "nullable": true
                }
              }
            }
          },
          "Deals": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated",
                "Name"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Name": {
                  "type": "string",
                  "maxLength": 250,
                  "minLength": 1
                },
                "Amount": {
                  "type": "number",
                  "format": "decimal",
                  "nullable": true
                },
                "DueDate": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "AssignedToPersonClientIdentifier": {
                  "type": "string",
                  "maxLength": 50,
                  "nullable": true
                },
                "Weight": {
                  "type": "integer",
                  "format": "int32"
                },
                "Contacts": {
                  "type": "string",
                  "nullable": true
                },
                "AccountId": {
                  "type": "integer",
                  "format": "int64"
                },
                "PipelineUid": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          },
          "LastLoginDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "AccountSpecificPageUrl1": {
            "type": "string",
            "maxLength": 255,
            "nullable": true
          },
          "AccountSpecificPageUrl2": {
            "type": "string",
            "maxLength": 255,
            "nullable": true
          },
          "AccountSpecificPageUrl3": {
            "type": "string",
            "maxLength": 255,
            "nullable": true
          },
          "AccountSpecificPageUrl4": {
            "type": "string",
            "maxLength": 255,
            "nullable": true
          },
          "AccountSpecificPageUrl5": {
            "type": "string",
            "maxLength": 255,
            "nullable": true
          },
          "AccountSpecificPageUrl6": {
            "type": "string",
            "maxLength": 255,
            "nullable": true
          },
          "AccountSpecificPageUrl7": {
            "type": "string",
            "maxLength": 255,
            "nullable": true
          },
          "AccountSpecificPageUrl8": {
            "type": "string",
            "maxLength": 255,
            "nullable": true
          },
          "AccountSpecificPageUrl9": {
            "type": "string",
            "maxLength": 255,
            "nullable": true
          },
          "AccountSpecificPageUrl10": {
            "type": "string",
            "maxLength": 255,
            "nullable": true
          },
          "RewardFulReferralId": {
            "type": "string",
            "nullable": true
          },
          "ToltReferralId": {
            "type": "string",
            "maxLength": 36,
            "nullable": true
          },
          "TaxIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "StripeId": {
                  "type": "string",
                  "maxLength": 255,
                  "nullable": true
                },
                "IsLivemode": {
                  "type": "boolean"
                },
                "TaxId": {
                  "type": "string",
                  "maxLength": 50,
                  "nullable": true
                },
                "TaxIdType": {
                  "type": "string",
                  "maxLength": 20,
                  "nullable": true
                },
                "IsInvalid": {
                  "type": "boolean"
                }
              }
            }
          },
          "TaxStatus": {
            "type": "string",
            "maxLength": 20,
            "nullable": true
          },
          "AccountStageLabel": {
            "type": "string",
            "nullable": true
          },
          "CurrentStripeProducts": {
            "type": "string",
            "nullable": true
          },
          "CurrentSubscription": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "BillingRenewalTerm": {
                "type": "integer",
                "description": "`1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time",
                "x-enumNames": [
                  "Monthly",
                  "Yearly",
                  "Quarterly",
                  "OneTime"
                ],
                "enum": [
                  1,
                  2,
                  3,
                  4
                ]
              },
              "Plan": {
                "type": "object",
                "nullable": true,
                "properties": {
                  "Uid": {
                    "type": "string",
                    "maxLength": 10,
                    "nullable": true
                  },
                  "_objectType": {
                    "type": "string",
                    "nullable": true
                  },
                  "Created": {
                    "type": "string",
                    "format": "date-time",
                    "minLength": 1
                  },
                  "Updated": {
                    "type": "string",
                    "format": "date-time",
                    "minLength": 1
                  },
                  "Name": {
                    "type": "string",
                    "maxLength": 250,
                    "nullable": true
                  },
                  "Description": {
                    "type": "string",
                    "nullable": true
                  },
                  "PlanFamily": {
                    "type": "object",
                    "nullable": true,
                    "properties": {
                      "Uid": {
                        "type": "string",
                        "maxLength": 10,
                        "nullable": true
                      },
                      "_objectType": {
                        "type": "string",
                        "nullable": true
                      },
                      "Created": {
                        "type": "string",
                        "format": "date-time",
                        "minLength": 1
                      },
                      "Updated": {
                        "type": "string",
                        "format": "date-time",
                        "minLength": 1
                      },
                      "Name": {
                        "type": "string",
                        "maxLength": 250,
                        "nullable": true
                      },
                      "IsActive": {
                        "type": "boolean"
                      },
                      "IsDefault": {
                        "type": "boolean"
                      }
                    }
                  },
                  "AccountRegistrationMode": {
                    "type": "integer",
                    "description": "`1` - Individual, `2` - Team",
                    "x-enumNames": [
                      "Individual",
                      "Team"
                    ],
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "IsQuantityEditable": {
                    "type": "boolean"
                  },
                  "MinimumQuantity": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "MaximumPeople": {
                    "type": "integer",
                    "format": "int32",
                    "nullable": true
                  },
                  "MonthlyRate": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AnnualRate": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "QuarterlyRate": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "OneTimeRate": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "SetupFee": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "SkipSetupFeeOnPlanChange": {
                    "type": "boolean"
                  },
                  "IsTaxable": {
                    "type": "boolean"
                  },
                  "IsActive": {
                    "type": "boolean"
                  },
                  "IsPerUser": {
                    "type": "boolean"
                  },
                  "RequirePaymentInformation": {
                    "type": "boolean"
                  },
                  "TrialPeriodDays": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "TrialUntilDate": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "ExpiresAfterMonths": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "ExpirationDate": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "PostLoginPath": {
                    "type": "string",
                    "maxLength": 250,
                    "nullable": true
                  },
                  "StripeTaxCodeId": {
                    "type": "string",
                    "maxLength": 15,
                    "nullable": true
                  },
                  "UnitOfMeasure": {
                    "type": "string",
                    "maxLength": 250,
                    "nullable": true
                  },
                  "PlanAddOns": {
                    "type": "array",
                    "nullable": true,
                    "items": {
                      "type": "object",
                      "required": [
                        "Created",
                        "Updated",
                        "IsUserSelectable"
                      ],
                      "properties": {
                        "Uid": {
                          "type": "string",
                          "maxLength": 10,
                          "nullable": true
                        },
                        "_objectType": {
                          "type": "string",
                          "nullable": true
                        },
                        "Created": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Updated": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "IsUserSelectable": {
                          "type": "boolean"
                        }
                      }
                    }
                  },
                  "ContentGroups": {
                    "type": "array",
                    "nullable": true,
                    "items": {
                      "type": "object",
                      "required": [
                        "Created",
                        "Updated",
                        "Name"
                      ],
                      "properties": {
                        "Uid": {
                          "type": "string",
                          "maxLength": 10,
                          "nullable": true
                        },
                        "_objectType": {
                          "type": "string",
                          "nullable": true
                        },
                        "Created": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Updated": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Name": {
                          "type": "string",
                          "maxLength": 50,
                          "minLength": 1
                        },
                        "AccessDeniedPath": {
                          "type": "string",
                          "maxLength": 1024,
                          "nullable": true
                        }
                      }
                    }
                  },
                  "NumberOfSubscriptions": {
                    "type": "integer",
                    "format": "int32",
                    "nullable": true
                  }
                }
              },
              "Quantity": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "StartDate": {
                "type": "string",
                "format": "date-time"
              },
              "EndDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "ExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "RenewalDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "NewRequiredQuantity": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "IsPlanUpgradeRequired": {
                "type": "boolean"
              },
              "PlanUpgradeRequiredMessage": {
                "type": "string",
                "nullable": true
              },
              "SubscriptionAddOns": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "required": [
                    "Created",
                    "Updated"
                  ],
                  "properties": {
                    "Uid": {
                      "type": "string",
                      "maxLength": 10,
                      "nullable": true
                    },
                    "_objectType": {
                      "type": "string",
                      "nullable": true
                    },
                    "Created": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "Updated": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "BillingRenewalTerm": {
                      "type": "integer",
                      "description": "`1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time",
                      "x-enumNames": [
                        "Monthly",
                        "Yearly",
                        "Quarterly",
                        "OneTime"
                      ],
                      "enum": [
                        1,
                        2,
                        3,
                        4
                      ]
                    },
                    "AddOn": {
                      "type": "object",
                      "nullable": true,
                      "properties": {
                        "Uid": {
                          "type": "string",
                          "maxLength": 10,
                          "nullable": true
                        },
                        "_objectType": {
                          "type": "string",
                          "nullable": true
                        },
                        "Created": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Updated": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Name": {
                          "type": "string",
                          "maxLength": 250,
                          "nullable": true
                        },
                        "BillingAddOnType": {
                          "type": "integer",
                          "description": "`1` - Recurring, `2` - Usage, `3` - OneTime",
                          "x-enumNames": [
                            "Recurring",
                            "Usage",
                            "OneTime"
                          ],
                          "enum": [
                            1,
                            2,
                            3
                          ]
                        },
                        "IsQuantityEditable": {
                          "type": "boolean"
                        },
                        "MinimumQuantity": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "MonthlyRate": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "AnnualRate": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "SetupFee": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "UnitOfMeasure": {
                          "type": "string",
                          "maxLength": 250,
                          "nullable": true
                        },
                        "IsTaxable": {
                          "type": "boolean"
                        },
                        "IsBilledDuringTrial": {
                          "type": "boolean"
                        },
                        "ExpiresAfterMonths": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "ExpirationDate": {
                          "type": "string",
                          "format": "date-time",
                          "nullable": true
                        },
                        "StripeTaxCodeId": {
                          "type": "string",
                          "maxLength": 15,
                          "nullable": true
                        },
                        "IsPerUser": {
                          "type": "boolean"
                        },
                        "QuarterlyRate": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "OneTimeRate": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "SubscriptionCount": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "Quantity": {
                          "type": "integer",
                          "format": "int32"
                        }
                      }
                    },
                    "Quantity": {
                      "type": "integer",
                      "format": "int32",
                      "nullable": true
                    },
                    "StartDate": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "EndDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "ExpirationDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "RenewalDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "NewRequiredQuantity": {
                      "type": "integer",
                      "format": "int32",
                      "nullable": true
                    },
                    "Rate": {
                      "type": "number",
                      "format": "decimal",
                      "nullable": true
                    }
                  }
                }
              },
              "DiscountCouponSubscriptions": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "required": [
                    "Created",
                    "Updated"
                  ],
                  "properties": {
                    "Uid": {
                      "type": "string",
                      "maxLength": 10,
                      "nullable": true
                    },
                    "_objectType": {
                      "type": "string",
                      "nullable": true
                    },
                    "Created": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "Updated": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "RedeemedDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "ExpireDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "DiscountCoupon": {
                      "type": "object",
                      "nullable": true,
                      "properties": {
                        "Uid": {
                          "type": "string",
                          "maxLength": 10,
                          "nullable": true
                        },
                        "_objectType": {
                          "type": "string",
                          "nullable": true
                        },
                        "Created": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Updated": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "UniqueIdentifier": {
                          "type": "string",
                          "nullable": true
                        },
                        "Name": {
                          "type": "string",
                          "nullable": true
                        },
                        "IsActive": {
                          "type": "boolean"
                        },
                        "AmountOff": {
                          "type": "number",
                          "format": "decimal",
                          "nullable": true
                        },
                        "PercentOff": {
                          "type": "number",
                          "format": "decimal",
                          "nullable": true
                        },
                        "RedeemBy": {
                          "type": "string",
                          "format": "date-time",
                          "nullable": true
                        },
                        "Duration": {
                          "type": "integer",
                          "description": "`1` - Forever, `2` - Once, `3` - Repeating",
                          "x-enumNames": [
                            "Forever",
                            "Once",
                            "Repeating"
                          ],
                          "enum": [
                            1,
                            2,
                            3
                          ]
                        },
                        "DurationInMonths": {
                          "type": "integer",
                          "format": "int32",
                          "nullable": true
                        },
                        "TimesRedeemed": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "MaxRedemptions": {
                          "type": "integer",
                          "format": "int32",
                          "nullable": true
                        },
                        "ApplyToAddOns": {
                          "type": "boolean"
                        },
                        "PlanUids": {
                          "type": "string",
                          "nullable": true
                        }
                      }
                    }
                  }
                }
              },
              "DiscountCode": {
                "type": "string",
                "nullable": true
              },
              "DiscountCouponExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "LatestInvoice": {
                "type": "object",
                "nullable": true,
                "properties": {
                  "Uid": {
                    "type": "string",
                    "maxLength": 10,
                    "nullable": true
                  },
                  "_objectType": {
                    "type": "string",
                    "nullable": true
                  },
                  "Created": {
                    "type": "string",
                    "format": "date-time",
                    "minLength": 1
                  },
                  "Updated": {
                    "type": "string",
                    "format": "date-time",
                    "minLength": 1
                  },
                  "InvoiceDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "PaymentReminderSentDate": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "Number": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "BillingInvoiceStatus": {
                    "type": "integer",
                    "description": "`1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing",
                    "x-enumNames": [
                      "Unpaid",
                      "Paid",
                      "Partial",
                      "Uncollected",
                      "Refunded",
                      "Uncollectible",
                      "Processing"
                    ],
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7
                    ]
                  },
                  "Amount": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountOutstanding": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "IsUserGenerated": {
                    "type": "boolean"
                  },
                  "StripeTaxCalculationId": {
                    "type": "string",
                    "maxLength": 50,
                    "nullable": true
                  },
                  "StripeTaxBehavior": {
                    "type": "string",
                    "maxLength": 10,
                    "nullable": true
                  },
                  "AmountCredit": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountDiscount": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountPaid": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountRefunded": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountSubtotal": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountTax": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountTaxRefunded": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "IsTaxable": {
                    "type": "boolean"
                  },
                  "HasPaymentGatewayTransactions": {
                    "type": "boolean"
                  },
                  "StripePaymentTransactionIds": {
                    "type": "string",
                    "nullable": true
                  },
                  "StripeRefundTransactionIds": {
                    "type": "string",
                    "nullable": true
                  },
                  "StripeTaxRefundTransactionIds": {
                    "type": "string",
                    "nullable": true
                  }
                }
              },
              "Rate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              }
            }
          },
          "DomainName": {
            "type": "string",
            "nullable": true
          },
          "HasLoggedIn": {
            "type": "boolean"
          },
          "LatestSubscription": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "BillingRenewalTerm": {
                "type": "integer",
                "description": "`1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time",
                "x-enumNames": [
                  "Monthly",
                  "Yearly",
                  "Quarterly",
                  "OneTime"
                ],
                "enum": [
                  1,
                  2,
                  3,
                  4
                ]
              },
              "Plan": {
                "type": "object",
                "nullable": true,
                "properties": {
                  "Uid": {
                    "type": "string",
                    "maxLength": 10,
                    "nullable": true
                  },
                  "_objectType": {
                    "type": "string",
                    "nullable": true
                  },
                  "Created": {
                    "type": "string",
                    "format": "date-time",
                    "minLength": 1
                  },
                  "Updated": {
                    "type": "string",
                    "format": "date-time",
                    "minLength": 1
                  },
                  "Name": {
                    "type": "string",
                    "maxLength": 250,
                    "nullable": true
                  },
                  "Description": {
                    "type": "string",
                    "nullable": true
                  },
                  "PlanFamily": {
                    "type": "object",
                    "nullable": true,
                    "properties": {
                      "Uid": {
                        "type": "string",
                        "maxLength": 10,
                        "nullable": true
                      },
                      "_objectType": {
                        "type": "string",
                        "nullable": true
                      },
                      "Created": {
                        "type": "string",
                        "format": "date-time",
                        "minLength": 1
                      },
                      "Updated": {
                        "type": "string",
                        "format": "date-time",
                        "minLength": 1
                      },
                      "Name": {
                        "type": "string",
                        "maxLength": 250,
                        "nullable": true
                      },
                      "IsActive": {
                        "type": "boolean"
                      },
                      "IsDefault": {
                        "type": "boolean"
                      }
                    }
                  },
                  "AccountRegistrationMode": {
                    "type": "integer",
                    "description": "`1` - Individual, `2` - Team",
                    "x-enumNames": [
                      "Individual",
                      "Team"
                    ],
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "IsQuantityEditable": {
                    "type": "boolean"
                  },
                  "MinimumQuantity": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "MaximumPeople": {
                    "type": "integer",
                    "format": "int32",
                    "nullable": true
                  },
                  "MonthlyRate": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AnnualRate": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "QuarterlyRate": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "OneTimeRate": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "SetupFee": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "SkipSetupFeeOnPlanChange": {
                    "type": "boolean"
                  },
                  "IsTaxable": {
                    "type": "boolean"
                  },
                  "IsActive": {
                    "type": "boolean"
                  },
                  "IsPerUser": {
                    "type": "boolean"
                  },
                  "RequirePaymentInformation": {
                    "type": "boolean"
                  },
                  "TrialPeriodDays": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "TrialUntilDate": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "ExpiresAfterMonths": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "ExpirationDate": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "PostLoginPath": {
                    "type": "string",
                    "maxLength": 250,
                    "nullable": true
                  },
                  "StripeTaxCodeId": {
                    "type": "string",
                    "maxLength": 15,
                    "nullable": true
                  },
                  "UnitOfMeasure": {
                    "type": "string",
                    "maxLength": 250,
                    "nullable": true
                  },
                  "PlanAddOns": {
                    "type": "array",
                    "nullable": true,
                    "items": {
                      "type": "object",
                      "required": [
                        "Created",
                        "Updated",
                        "IsUserSelectable"
                      ],
                      "properties": {
                        "Uid": {
                          "type": "string",
                          "maxLength": 10,
                          "nullable": true
                        },
                        "_objectType": {
                          "type": "string",
                          "nullable": true
                        },
                        "Created": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Updated": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "IsUserSelectable": {
                          "type": "boolean"
                        }
                      }
                    }
                  },
                  "ContentGroups": {
                    "type": "array",
                    "nullable": true,
                    "items": {
                      "type": "object",
                      "required": [
                        "Created",
                        "Updated",
                        "Name"
                      ],
                      "properties": {
                        "Uid": {
                          "type": "string",
                          "maxLength": 10,
                          "nullable": true
                        },
                        "_objectType": {
                          "type": "string",
                          "nullable": true
                        },
                        "Created": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Updated": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Name": {
                          "type": "string",
                          "maxLength": 50,
                          "minLength": 1
                        },
                        "AccessDeniedPath": {
                          "type": "string",
                          "maxLength": 1024,
                          "nullable": true
                        }
                      }
                    }
                  },
                  "NumberOfSubscriptions": {
                    "type": "integer",
                    "format": "int32",
                    "nullable": true
                  }
                }
              },
              "Quantity": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "StartDate": {
                "type": "string",
                "format": "date-time"
              },
              "EndDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "ExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "RenewalDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "NewRequiredQuantity": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "IsPlanUpgradeRequired": {
                "type": "boolean"
              },
              "PlanUpgradeRequiredMessage": {
                "type": "string",
                "nullable": true
              },
              "SubscriptionAddOns": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "required": [
                    "Created",
                    "Updated"
                  ],
                  "properties": {
                    "Uid": {
                      "type": "string",
                      "maxLength": 10,
                      "nullable": true
                    },
                    "_objectType": {
                      "type": "string",
                      "nullable": true
                    },
                    "Created": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "Updated": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "BillingRenewalTerm": {
                      "type": "integer",
                      "description": "`1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time",
                      "x-enumNames": [
                        "Monthly",
                        "Yearly",
                        "Quarterly",
                        "OneTime"
                      ],
                      "enum": [
                        1,
                        2,
                        3,
                        4
                      ]
                    },
                    "AddOn": {
                      "type": "object",
                      "nullable": true,
                      "properties": {
                        "Uid": {
                          "type": "string",
                          "maxLength": 10,
                          "nullable": true
                        },
                        "_objectType": {
                          "type": "string",
                          "nullable": true
                        },
                        "Created": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Updated": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Name": {
                          "type": "string",
                          "maxLength": 250,
                          "nullable": true
                        },
                        "BillingAddOnType": {
                          "type": "integer",
                          "description": "`1` - Recurring, `2` - Usage, `3` - OneTime",
                          "x-enumNames": [
                            "Recurring",
                            "Usage",
                            "OneTime"
                          ],
                          "enum": [
                            1,
                            2,
                            3
                          ]
                        },
                        "IsQuantityEditable": {
                          "type": "boolean"
                        },
                        "MinimumQuantity": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "MonthlyRate": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "AnnualRate": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "SetupFee": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "UnitOfMeasure": {
                          "type": "string",
                          "maxLength": 250,
                          "nullable": true
                        },
                        "IsTaxable": {
                          "type": "boolean"
                        },
                        "IsBilledDuringTrial": {
                          "type": "boolean"
                        },
                        "ExpiresAfterMonths": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "ExpirationDate": {
                          "type": "string",
                          "format": "date-time",
                          "nullable": true
                        },
                        "StripeTaxCodeId": {
                          "type": "string",
                          "maxLength": 15,
                          "nullable": true
                        },
                        "IsPerUser": {
                          "type": "boolean"
                        },
                        "QuarterlyRate": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "OneTimeRate": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "SubscriptionCount": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "Quantity": {
                          "type": "integer",
                          "format": "int32"
                        }
                      }
                    },
                    "Quantity": {
                      "type": "integer",
                      "format": "int32",
                      "nullable": true
                    },
                    "StartDate": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "EndDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "ExpirationDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "RenewalDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "NewRequiredQuantity": {
                      "type": "integer",
                      "format": "int32",
                      "nullable": true
                    },
                    "Rate": {
                      "type": "number",
                      "format": "decimal",
                      "nullable": true
                    }
                  }
                }
              },
              "DiscountCouponSubscriptions": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "object",
                  "required": [
                    "Created",
                    "Updated"
                  ],
                  "properties": {
                    "Uid": {
                      "type": "string",
                      "maxLength": 10,
                      "nullable": true
                    },
                    "_objectType": {
                      "type": "string",
                      "nullable": true
                    },
                    "Created": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "Updated": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "RedeemedDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "ExpireDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "DiscountCoupon": {
                      "type": "object",
                      "nullable": true,
                      "properties": {
                        "Uid": {
                          "type": "string",
                          "maxLength": 10,
                          "nullable": true
                        },
                        "_objectType": {
                          "type": "string",
                          "nullable": true
                        },
                        "Created": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "Updated": {
                          "type": "string",
                          "format": "date-time",
                          "minLength": 1
                        },
                        "UniqueIdentifier": {
                          "type": "string",
                          "nullable": true
                        },
                        "Name": {
                          "type": "string",
                          "nullable": true
                        },
                        "IsActive": {
                          "type": "boolean"
                        },
                        "AmountOff": {
                          "type": "number",
                          "format": "decimal",
                          "nullable": true
                        },
                        "PercentOff": {
                          "type": "number",
                          "format": "decimal",
                          "nullable": true
                        },
                        "RedeemBy": {
                          "type": "string",
                          "format": "date-time",
                          "nullable": true
                        },
                        "Duration": {
                          "type": "integer",
                          "description": "`1` - Forever, `2` - Once, `3` - Repeating",
                          "x-enumNames": [
                            "Forever",
                            "Once",
                            "Repeating"
                          ],
                          "enum": [
                            1,
                            2,
                            3
                          ]
                        },
                        "DurationInMonths": {
                          "type": "integer",
                          "format": "int32",
                          "nullable": true
                        },
                        "TimesRedeemed": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "MaxRedemptions": {
                          "type": "integer",
                          "format": "int32",
                          "nullable": true
                        },
                        "ApplyToAddOns": {
                          "type": "boolean"
                        },
                        "PlanUids": {
                          "type": "string",
                          "nullable": true
                        }
                      }
                    }
                  }
                }
              },
              "DiscountCode": {
                "type": "string",
                "nullable": true
              },
              "DiscountCouponExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "LatestInvoice": {
                "type": "object",
                "nullable": true,
                "properties": {
                  "Uid": {
                    "type": "string",
                    "maxLength": 10,
                    "nullable": true
                  },
                  "_objectType": {
                    "type": "string",
                    "nullable": true
                  },
                  "Created": {
                    "type": "string",
                    "format": "date-time",
                    "minLength": 1
                  },
                  "Updated": {
                    "type": "string",
                    "format": "date-time",
                    "minLength": 1
                  },
                  "InvoiceDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "PaymentReminderSentDate": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "Number": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "BillingInvoiceStatus": {
                    "type": "integer",
                    "description": "`1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing",
                    "x-enumNames": [
                      "Unpaid",
                      "Paid",
                      "Partial",
                      "Uncollected",
                      "Refunded",
                      "Uncollectible",
                      "Processing"
                    ],
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7
                    ]
                  },
                  "Amount": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountOutstanding": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "IsUserGenerated": {
                    "type": "boolean"
                  },
                  "StripeTaxCalculationId": {
                    "type": "string",
                    "maxLength": 50,
                    "nullable": true
                  },
                  "StripeTaxBehavior": {
                    "type": "string",
                    "maxLength": 10,
                    "nullable": true
                  },
                  "AmountCredit": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountDiscount": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountPaid": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountRefunded": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountSubtotal": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountTax": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "AmountTaxRefunded": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "IsTaxable": {
                    "type": "boolean"
                  },
                  "HasPaymentGatewayTransactions": {
                    "type": "boolean"
                  },
                  "StripePaymentTransactionIds": {
                    "type": "string",
                    "nullable": true
                  },
                  "StripeRefundTransactionIds": {
                    "type": "string",
                    "nullable": true
                  },
                  "StripeTaxRefundTransactionIds": {
                    "type": "string",
                    "nullable": true
                  }
                }
              },
              "Rate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              }
            }
          },
          "LifetimeRevenue": {
            "type": "number",
            "format": "decimal"
          },
          "NextStripeInvoiceDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Nonce": {
            "type": "string",
            "nullable": true
          },
          "PrimaryContact": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Email": {
                "type": "string",
                "format": "email",
                "maxLength": 250,
                "nullable": true
              },
              "FirstName": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "LastName": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PasswordLastUpdated": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "PasswordMustChange": {
                "type": "boolean"
              },
              "PhoneMobile": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PhoneWork": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "ProfileImageS3Url": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Title": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Timezone": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "Language": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "IPAddress": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Referer": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "UserAgent": {
                "type": "string",
                "maxLength": 1000,
                "nullable": true
              },
              "LastLoginDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "OAuthGoogleProfileId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "AccountUids": {
                "type": "string",
                "nullable": true
              },
              "FullName": {
                "type": "string",
                "nullable": true
              },
              "HasLoggedIn": {
                "type": "boolean"
              },
              "OAuthIntegrationStatus": {
                "type": "integer",
                "description": "`0` - None, `1` - Gmail",
                "x-enumNames": [
                  "None",
                  "Gmail"
                ],
                "enum": [
                  0,
                  1
                ]
              },
              "OptInToEmailList": {
                "type": "boolean"
              },
              "Password": {
                "type": "string",
                "nullable": true
              },
              "UserAgentPlatformBrowser": {
                "type": "string",
                "nullable": true
              },
              "HasUnsubscribed": {
                "type": "boolean"
              },
              "IsConnectedToDiscord": {
                "type": "boolean"
              }
            }
          },
          "PrimarySubscription": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "BillingRenewalTerm": {
                "type": "integer",
                "description": "`1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time",
                "x-enumNames": [
                  "Monthly",
                  "Yearly",
                  "Quarterly",
                  "OneTime"
                ],
                "enum": [
                  1,
                  2,
                  3,
                  4
                ]
              },
              "Quantity": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "StartDate": {
                "type": "string",
                "format": "date-time"
              },
              "EndDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "ExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "RenewalDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "NewRequiredQuantity": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "IsPlanUpgradeRequired": {
                "type": "boolean"
              },
              "PlanUpgradeRequiredMessage": {
                "type": "string",
                "nullable": true
              },
              "DiscountCode": {
                "type": "string",
                "nullable": true
              },
              "DiscountCouponExpirationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Rate": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              }
            }
          },
          "PrimaryStripeSubscription": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              },
              "ApplicationFeePercent": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "CancelAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "CancelAtPeriodEnd": {
                "type": "boolean"
              },
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "EndedAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "PauseCollection_Behavior": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "PauseCollection_ResumesAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "StartDate": {
                "type": "string",
                "format": "date-time"
              },
              "Status": {
                "type": "string",
                "maxLength": 30,
                "nullable": true
              },
              "TrialEnd": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "AccountUid": {
                "type": "string",
                "nullable": true
              },
              "BillingCycleAnchor": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "CollectionMethod": {
                "type": "string",
                "nullable": true
              },
              "CustomerId": {
                "type": "string",
                "nullable": true
              },
              "DaysUntilDue": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "ScheduleId": {
                "type": "string",
                "nullable": true
              },
              "StripeDiscountIds": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "StripePriceIds": {
                "type": "string",
                "nullable": true
              },
              "TrialPeriodDays": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          "RecaptchaToken": {
            "type": "string",
            "nullable": true
          },
          "StripeNextInvoiceSequence": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "StripePrice": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "StripePriceIds": {
            "type": "string",
            "nullable": true
          },
          "StripePromotionCode": {
            "type": "string",
            "nullable": true
          },
          "TaxId": {
            "type": "string",
            "nullable": true
          },
          "TaxIdIsInvalid": {
            "type": "boolean"
          },
          "TaxIdType": {
            "type": "string",
            "nullable": true
          },
          "WebflowSlug": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountCreatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          }
        ]
      },
      "AccountUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          }
        ]
      },
      "AccountAddPersonActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "AccountUid": {
            "type": "string",
            "nullable": true
          },
          "PersonUid": {
            "type": "string",
            "nullable": true
          },
          "Email": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountAddPersonWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountAddPersonActivityData"
              }
            }
          }
        ]
      },
      "AccountStageUpdatedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PriorAccountStage": {
            "type": "string",
            "nullable": true
          },
          "CurrentAccountStage": {
            "type": "string",
            "nullable": true
          },
          "CancelationReason": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountStageUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountStageUpdatedActivityData"
              }
            }
          }
        ]
      },
      "AccountDeletedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          }
        ]
      },
      "AccountBillingInformationUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          }
        ]
      },
      "AccountSubscriptionPlanUpdatedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Subscription": {
            "nullable": true
          },
          "CurrentPrincipal": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountSubscriptionPlanUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountSubscriptionPlanUpdatedActivityData"
              }
            }
          }
        ]
      },
      "AccountSubscriptionPaymentCollectedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "InvoiceUid": {
            "type": "string",
            "nullable": true
          },
          "Amount": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountSubscriptionPaymentCollectedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountSubscriptionPaymentCollectedActivityData"
              }
            }
          }
        ]
      },
      "AccountSubscriptionPaymentDeclinedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          }
        ]
      },
      "AccountBillingInformationRequestedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          }
        ]
      },
      "AccountBillingInvoiceEmailSentWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          }
        ]
      },
      "AccountRemovePersonActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "AccountUid": {
            "type": "string",
            "nullable": true
          },
          "PersonUid": {
            "type": "string",
            "nullable": true
          },
          "Email": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountRemovePersonWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountRemovePersonActivityData"
              }
            }
          }
        ]
      },
      "AccountPaidSubscriptionCreatedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "SubscriptionUid": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountPaidSubscriptionCreatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountPaidSubscriptionCreatedActivityData"
              }
            }
          }
        ]
      },
      "AccountBillingInformationRemovedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          }
        ]
      },
      "AccountPrimaryPersonUpdatedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PreviousPrimaryPersonEmail": {
            "type": "string",
            "nullable": true
          },
          "CurrentPrimaryPersonEmail": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountPrimaryPersonUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountPrimaryPersonUpdatedActivityData"
              }
            }
          }
        ]
      },
      "AccountBillingInvoiceCreatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          }
        ]
      },
      "AccountSubscriptionStartedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Subscription": {
            "nullable": true
          },
          "CurrentPrincipal": {
            "type": "string",
            "nullable": true
          },
          "SubscriptionUid": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountSubscriptionStartedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountSubscriptionStartedActivityData"
              }
            }
          }
        ]
      },
      "AccountSubscriptionRenewalExtendedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PriorRenewalDate": {
            "type": "string",
            "nullable": true
          },
          "RenewalDate": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountSubscriptionRenewalExtendedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountSubscriptionRenewalExtendedActivityData"
              }
            }
          }
        ]
      },
      "AccountSubscriptionAddOnChange": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "AddOnChangeType": {
            "$ref": "#/components/schemas/AddOnChangeType"
          },
          "AddOnUid": {
            "type": "string",
            "nullable": true
          },
          "StartDate": {
            "type": "string",
            "format": "date-time"
          },
          "EndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "RenewalDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Quantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "AddOnChangeType": {
        "type": "string",
        "description": "`AddOnAdded` - AddOnAdded, `AddOnReactivated` - AddOnReactivated, `AddOnQuantityChanged` - AddOnQuantityChanged",
        "x-enumNames": [
          "AddOnAdded",
          "AddOnReactivated",
          "AddOnQuantityChanged"
        ],
        "x-enum-descriptions": [
          "",
          "",
          ""
        ],
        "enum": [
          "AddOnAdded",
          "AddOnReactivated",
          "AddOnQuantityChanged"
        ]
      },
      "AccountSubscriptionAddOnsChangedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AccountSubscriptionAddOnChange"
                }
              }
            }
          }
        ]
      },
      "AccountSubscriptionCancellationRequestedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "RequestedByEmail": {
            "type": "string",
            "nullable": true
          },
          "CancelationReason": {
            "type": "string",
            "nullable": true
          },
          "Comment": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountSubscriptionCancellationRequestedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountSubscriptionCancellationRequestedActivityData"
              }
            }
          }
        ]
      },
      "AccountBillingInvoiceDeletedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Invoice": {
            "nullable": true
          },
          "AccountUid": {
            "type": "string",
            "nullable": true
          },
          "CurrentPrincipal": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountBillingInvoiceDeletedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountBillingInvoiceDeletedActivityData"
              }
            }
          }
        ]
      },
      "AccountPersonRoleUpdatedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PersonEmail": {
            "type": "string",
            "nullable": true
          },
          "PreviousRole": {
            "type": "string",
            "nullable": true
          },
          "CurrentRole": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AccountPersonRoleUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/AccountPersonRoleUpdatedActivityData"
              }
            }
          }
        ]
      },
      "PersonWebhookEntity": {
        "type": "object",
        "required": [
          "Created",
          "Updated"
        ],
        "properties": {
          "Uid": {
            "type": "string",
            "maxLength": 10,
            "nullable": true
          },
          "_objectType": {
            "type": "string",
            "nullable": true
          },
          "Created": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "Updated": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "Email": {
            "type": "string",
            "format": "email",
            "maxLength": 250,
            "nullable": true
          },
          "FirstName": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "MailingAddress": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "AddressLine1": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "AddressLine2": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "AddressLine3": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "City": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "State": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PostalCode": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Country": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "GeoLocation": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              }
            }
          },
          "PasswordLastUpdated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "PasswordMustChange": {
            "type": "boolean"
          },
          "PhoneMobile": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "PhoneWork": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "ProfileImageS3Url": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "Title": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "Timezone": {
            "type": "string",
            "maxLength": 100,
            "nullable": true
          },
          "Language": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          },
          "IPAddress": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "Referer": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "UserAgent": {
            "type": "string",
            "maxLength": 1000,
            "nullable": true
          },
          "LastLoginDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "OAuthGoogleProfileId": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          },
          "PersonAccount": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Account": {
                  "type": "object",
                  "nullable": true,
                  "properties": {
                    "Uid": {
                      "type": "string",
                      "maxLength": 10,
                      "nullable": true
                    },
                    "_objectType": {
                      "type": "string",
                      "nullable": true
                    }
                  }
                },
                "IsPrimary": {
                  "type": "boolean"
                },
                "ReceiveInvoices": {
                  "type": "boolean"
                },
                "Role": {
                  "type": "integer",
                  "description": "`1` - Admin, `2` - Member, `3` - Operator",
                  "nullable": true,
                  "x-enumNames": [
                    "Admin",
                    "Member",
                    "Operator"
                  ],
                  "enum": [
                    1,
                    2,
                    3
                  ]
                }
              }
            }
          },
          "DealPeople": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                }
              }
            }
          },
          "LeadFormSubmissions": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "RefererURL": {
                  "type": "string",
                  "nullable": true
                },
                "RecaptchaToken": {
                  "type": "string",
                  "nullable": true
                },
                "RecaptchaSiteKey": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          },
          "Account": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              },
              "Name": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1
              },
              "ClientIdentifier": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "InvoiceNotes": {
                "type": "string",
                "nullable": true
              },
              "IsDemo": {
                "type": "boolean"
              },
              "AccountStage": {
                "type": "integer",
                "description": "`2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created",
                "x-enumNames": [
                  "Trialing",
                  "Subscribing",
                  "Cancelling",
                  "Expired",
                  "TrialExpired",
                  "PastDue",
                  "CancellingTrial",
                  "Paused",
                  "Created"
                ],
                "enum": [
                  2,
                  3,
                  4,
                  5,
                  6,
                  7,
                  8,
                  9,
                  10
                ]
              },
              "StripeDefaultPaymentMethodId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "LastLoginDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "AccountSpecificPageUrl1": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl2": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl3": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl4": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl5": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl6": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl7": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl8": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl9": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl10": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "RewardFulReferralId": {
                "type": "string",
                "nullable": true
              },
              "ToltReferralId": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "TaxStatus": {
                "type": "string",
                "maxLength": 20,
                "nullable": true
              },
              "AccountStageLabel": {
                "type": "string",
                "nullable": true
              },
              "CurrentStripeProducts": {
                "type": "string",
                "nullable": true
              },
              "DomainName": {
                "type": "string",
                "nullable": true
              },
              "HasLoggedIn": {
                "type": "boolean"
              },
              "LifetimeRevenue": {
                "type": "number",
                "format": "decimal"
              },
              "NextStripeInvoiceDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Nonce": {
                "type": "string",
                "nullable": true
              },
              "RecaptchaToken": {
                "type": "string",
                "nullable": true
              },
              "StripeNextInvoiceSequence": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "StripePrice": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "StripePriceIds": {
                "type": "string",
                "nullable": true
              },
              "StripePromotionCode": {
                "type": "string",
                "nullable": true
              },
              "TaxId": {
                "type": "string",
                "nullable": true
              },
              "TaxIdIsInvalid": {
                "type": "boolean"
              },
              "TaxIdType": {
                "type": "string",
                "nullable": true
              },
              "WebflowSlug": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "AccountUids": {
            "type": "string",
            "nullable": true
          },
          "EmailListPerson": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "EmailListSubscriberStatus": {
                  "type": "integer",
                  "description": "`1` - Subscribed, `2` - Unsubscribed, `3` - Cleaned, `4` - Confirmed",
                  "x-enumNames": [
                    "Subscribed",
                    "Unsubscribed",
                    "Cleaned",
                    "Confirmed"
                  ],
                  "enum": [
                    1,
                    2,
                    3,
                    4
                  ]
                },
                "SubscribedDate": {
                  "type": "string",
                  "format": "date-time"
                },
                "ConfirmedDate": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "ConfirmationNotes": {
                  "type": "string",
                  "maxLength": 500,
                  "nullable": true
                },
                "UnsubscribedDate": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "CleanedDate": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "WelcomeEmailDeliverDateTime": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "WelcomeEmailOpenDateTime": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                },
                "UnsubscribeReason": {
                  "type": "string",
                  "maxLength": 20,
                  "nullable": true
                },
                "UnsubscribeReasonOther": {
                  "type": "string",
                  "nullable": true
                },
                "RecaptchaToken": {
                  "type": "string",
                  "nullable": true
                },
                "RecaptchaSiteKey": {
                  "type": "string",
                  "nullable": true
                },
                "SendWelcomeEmail": {
                  "type": "boolean"
                },
                "Source": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          },
          "FullName": {
            "type": "string",
            "nullable": true
          },
          "HasLoggedIn": {
            "type": "boolean"
          },
          "OAuthIntegrationStatus": {
            "type": "integer",
            "description": "`0` - None, `1` - Gmail",
            "x-enumNames": [
              "None",
              "Gmail"
            ],
            "enum": [
              0,
              1
            ]
          },
          "OptInToEmailList": {
            "type": "boolean"
          },
          "Password": {
            "type": "string",
            "nullable": true
          },
          "UserAgentPlatformBrowser": {
            "type": "string",
            "nullable": true
          },
          "HasUnsubscribed": {
            "type": "boolean"
          },
          "DiscordUser": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "DiscordUserId": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DiscordEmail": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DiscordUsername": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "DiscordOAuthRefreshToken": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "IsConnectedToDiscord": {
            "type": "boolean"
          }
        }
      },
      "PersonCreatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          }
        ]
      },
      "PersonUpdatedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "OriginalValues": {
            "nullable": true
          },
          "CurrentValues": {
            "nullable": true
          }
        }
      },
      "PersonUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonUpdatedActivityData"
              }
            }
          }
        ]
      },
      "PersonDeletedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          }
        ]
      },
      "PersonLoginActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PersonUid": {
            "type": "string",
            "nullable": true
          },
          "LoginDateTime": {
            "type": "string",
            "nullable": true
          },
          "SiteUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PersonLoginWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonLoginActivityData"
              }
            }
          }
        ]
      },
      "PersonListSubscribedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "EmailListUid": {
            "type": "string",
            "nullable": true
          },
          "EmaillistId": {
            "type": "string",
            "deprecated": true,
            "x-deprecatedMessage": "Use EmailListUid instead.",
            "nullable": true
          }
        }
      },
      "PersonListSubscribedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonListSubscribedActivityData"
              }
            }
          }
        ]
      },
      "PersonListUnsubscribedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "EmailListUid": {
            "type": "string",
            "nullable": true
          },
          "PersonUid": {
            "type": "string",
            "nullable": true
          },
          "EmaillistId": {
            "type": "string",
            "deprecated": true,
            "x-deprecatedMessage": "Use EmailListUid instead.",
            "nullable": true
          }
        }
      },
      "PersonListUnsubscribedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonListUnsubscribedActivityData"
              }
            }
          }
        ]
      },
      "PersonSegmentAddedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "SegmentUid": {
            "type": "string",
            "nullable": true
          },
          "SegmentId": {
            "type": "string",
            "deprecated": true,
            "x-deprecatedMessage": "Use SegmentUid instead.",
            "nullable": true
          }
        }
      },
      "PersonSegmentAddedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonSegmentAddedActivityData"
              }
            }
          }
        ]
      },
      "PersonSegmentRemovedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "SegmentUid": {
            "type": "string",
            "nullable": true
          },
          "SegmentId": {
            "type": "string",
            "deprecated": true,
            "x-deprecatedMessage": "Use SegmentUid instead.",
            "nullable": true
          }
        }
      },
      "PersonSegmentRemovedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonSegmentRemovedActivityData"
              }
            }
          }
        ]
      },
      "PersonEmailOpenedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          }
        ]
      },
      "PersonEmailClickedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          }
        ]
      },
      "PersonEmailBounceWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          }
        ]
      },
      "PersonEmailSpamWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          }
        ]
      },
      "PersonSupportTicketCreatedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CaseUid": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PersonSupportTicketCreatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonSupportTicketCreatedActivityData"
              }
            }
          }
        ]
      },
      "PersonSupportTicketUpdatedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CaseUid": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PersonSupportTicketUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonSupportTicketUpdatedActivityData"
              }
            }
          }
        ]
      },
      "PersonLeadFormSubmittedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "LeadFormUid": {
            "type": "string",
            "nullable": true
          },
          "RefererUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PersonLeadFormSubmittedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonLeadFormSubmittedActivityData"
              }
            }
          }
        ]
      },
      "PersonListConfirmedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "EmailListUid": {
            "type": "string",
            "nullable": true
          },
          "EmaillistId": {
            "type": "string",
            "deprecated": true,
            "x-deprecatedMessage": "Use EmailListUid instead.",
            "nullable": true
          }
        }
      },
      "PersonListConfirmedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonListConfirmedActivityData"
              }
            }
          }
        ]
      },
      "PersonEmailSubscribedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          }
        ]
      },
      "PersonEmailUnsubscribedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "UserAgent": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PersonEmailUnsubscribedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonEmailUnsubscribedActivityData"
              }
            }
          }
        ]
      },
      "PersonTemporaryPasswordSetWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          }
        ]
      },
      "PersonSupportTicketClosedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CaseUid": {
            "type": "string",
            "nullable": true
          },
          "AgentName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PersonSupportTicketClosedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/PersonSupportTicketClosedActivityData"
              }
            }
          }
        ]
      },
      "PersonTwoFactorRecoveryCodesRegeneratedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          }
        ]
      },
      "DealWebhookEntity": {
        "type": "object",
        "required": [
          "Created",
          "Updated",
          "Name"
        ],
        "properties": {
          "Uid": {
            "type": "string",
            "maxLength": 10,
            "nullable": true
          },
          "_objectType": {
            "type": "string",
            "nullable": true
          },
          "Created": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "Updated": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "Name": {
            "type": "string",
            "maxLength": 250,
            "minLength": 1
          },
          "Amount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "AssignedToPersonClientIdentifier": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          },
          "Weight": {
            "type": "integer",
            "format": "int32"
          },
          "DealPipelineStage": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Weight": {
                "type": "integer",
                "format": "int32"
              },
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              }
            }
          },
          "Account": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "StripeId": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "IsLivemode": {
                "type": "boolean"
              },
              "Name": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1
              },
              "ClientIdentifier": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Currency": {
                "type": "string",
                "maxLength": 3,
                "nullable": true
              },
              "InvoiceNotes": {
                "type": "string",
                "nullable": true
              },
              "IsDemo": {
                "type": "boolean"
              },
              "AccountStage": {
                "type": "integer",
                "description": "`2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created",
                "x-enumNames": [
                  "Trialing",
                  "Subscribing",
                  "Cancelling",
                  "Expired",
                  "TrialExpired",
                  "PastDue",
                  "CancellingTrial",
                  "Paused",
                  "Created"
                ],
                "enum": [
                  2,
                  3,
                  4,
                  5,
                  6,
                  7,
                  8,
                  9,
                  10
                ]
              },
              "StripeDefaultPaymentMethodId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "LastLoginDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "AccountSpecificPageUrl1": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl2": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl3": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl4": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl5": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl6": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl7": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl8": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl9": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "AccountSpecificPageUrl10": {
                "type": "string",
                "maxLength": 255,
                "nullable": true
              },
              "RewardFulReferralId": {
                "type": "string",
                "nullable": true
              },
              "ToltReferralId": {
                "type": "string",
                "maxLength": 36,
                "nullable": true
              },
              "TaxStatus": {
                "type": "string",
                "maxLength": 20,
                "nullable": true
              },
              "AccountStageLabel": {
                "type": "string",
                "nullable": true
              },
              "CurrentStripeProducts": {
                "type": "string",
                "nullable": true
              },
              "DomainName": {
                "type": "string",
                "nullable": true
              },
              "HasLoggedIn": {
                "type": "boolean"
              },
              "LifetimeRevenue": {
                "type": "number",
                "format": "decimal"
              },
              "NextStripeInvoiceDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Nonce": {
                "type": "string",
                "nullable": true
              },
              "RecaptchaToken": {
                "type": "string",
                "nullable": true
              },
              "StripeNextInvoiceSequence": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "StripePrice": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "StripePriceIds": {
                "type": "string",
                "nullable": true
              },
              "StripePromotionCode": {
                "type": "string",
                "nullable": true
              },
              "TaxId": {
                "type": "string",
                "nullable": true
              },
              "TaxIdIsInvalid": {
                "type": "boolean"
              },
              "TaxIdType": {
                "type": "string",
                "nullable": true
              },
              "WebflowSlug": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "DealPeople": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                }
              }
            }
          },
          "Contacts": {
            "type": "string",
            "nullable": true
          },
          "AccountId": {
            "type": "integer",
            "format": "int64"
          },
          "Owner": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Email": {
                "type": "string",
                "format": "email",
                "maxLength": 250,
                "nullable": true
              },
              "FirstName": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "LastName": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PasswordLastUpdated": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "PasswordMustChange": {
                "type": "boolean"
              },
              "PhoneMobile": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "PhoneWork": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "ProfileImageS3Url": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Title": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Timezone": {
                "type": "string",
                "maxLength": 100,
                "nullable": true
              },
              "Language": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "IPAddress": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "Referer": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "UserAgent": {
                "type": "string",
                "maxLength": 1000,
                "nullable": true
              },
              "LastLoginDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "OAuthGoogleProfileId": {
                "type": "string",
                "maxLength": 50,
                "nullable": true
              },
              "AccountUids": {
                "type": "string",
                "nullable": true
              },
              "FullName": {
                "type": "string",
                "nullable": true
              },
              "HasLoggedIn": {
                "type": "boolean"
              },
              "OAuthIntegrationStatus": {
                "type": "integer",
                "description": "`0` - None, `1` - Gmail",
                "x-enumNames": [
                  "None",
                  "Gmail"
                ],
                "enum": [
                  0,
                  1
                ]
              },
              "OptInToEmailList": {
                "type": "boolean"
              },
              "Password": {
                "type": "string",
                "nullable": true
              },
              "UserAgentPlatformBrowser": {
                "type": "string",
                "nullable": true
              },
              "HasUnsubscribed": {
                "type": "boolean"
              },
              "IsConnectedToDiscord": {
                "type": "boolean"
              }
            }
          },
          "PipelineUid": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DealCreatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DealWebhookEntity"
          }
        ]
      },
      "DealUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DealWebhookEntity"
          }
        ]
      },
      "DealDeletedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DealWebhookEntity"
          }
        ]
      },
      "DealDueDateWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DealWebhookEntity"
          }
        ]
      },
      "PlanWebhookEntity": {
        "type": "object",
        "required": [
          "Created",
          "Updated",
          "IsQuantityEditable",
          "IsTaxable"
        ],
        "properties": {
          "Uid": {
            "type": "string",
            "maxLength": 10,
            "nullable": true
          },
          "_objectType": {
            "type": "string",
            "nullable": true
          },
          "Created": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "Updated": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "Name": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "PlanFamily": {
            "type": "object",
            "nullable": true,
            "properties": {
              "Uid": {
                "type": "string",
                "maxLength": 10,
                "nullable": true
              },
              "_objectType": {
                "type": "string",
                "nullable": true
              },
              "Created": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Updated": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "Name": {
                "type": "string",
                "maxLength": 250,
                "nullable": true
              },
              "IsActive": {
                "type": "boolean"
              },
              "IsDefault": {
                "type": "boolean"
              }
            }
          },
          "AccountRegistrationMode": {
            "type": "integer",
            "description": "`1` - Individual, `2` - Team",
            "x-enumNames": [
              "Individual",
              "Team"
            ],
            "enum": [
              1,
              2
            ]
          },
          "IsQuantityEditable": {
            "type": "boolean"
          },
          "MinimumQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "MaximumPeople": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "MonthlyRate": {
            "type": "number",
            "format": "decimal"
          },
          "AnnualRate": {
            "type": "number",
            "format": "decimal"
          },
          "QuarterlyRate": {
            "type": "number",
            "format": "decimal"
          },
          "OneTimeRate": {
            "type": "number",
            "format": "decimal"
          },
          "SetupFee": {
            "type": "number",
            "format": "decimal"
          },
          "SkipSetupFeeOnPlanChange": {
            "type": "boolean"
          },
          "IsTaxable": {
            "type": "boolean"
          },
          "IsActive": {
            "type": "boolean"
          },
          "IsPerUser": {
            "type": "boolean"
          },
          "RequirePaymentInformation": {
            "type": "boolean"
          },
          "TrialPeriodDays": {
            "type": "integer",
            "format": "int32"
          },
          "TrialUntilDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ExpiresAfterMonths": {
            "type": "integer",
            "format": "int32"
          },
          "ExpirationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "PostLoginPath": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "StripeTaxCodeId": {
            "type": "string",
            "maxLength": 15,
            "nullable": true
          },
          "UnitOfMeasure": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "PlanAddOns": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated",
                "IsUserSelectable"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "AddOn": {
                  "type": "object",
                  "nullable": true,
                  "properties": {
                    "Uid": {
                      "type": "string",
                      "maxLength": 10,
                      "nullable": true
                    },
                    "_objectType": {
                      "type": "string",
                      "nullable": true
                    },
                    "Created": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "Updated": {
                      "type": "string",
                      "format": "date-time",
                      "minLength": 1
                    },
                    "Name": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "BillingAddOnType": {
                      "type": "integer",
                      "description": "`1` - Recurring, `2` - Usage, `3` - OneTime",
                      "x-enumNames": [
                        "Recurring",
                        "Usage",
                        "OneTime"
                      ],
                      "enum": [
                        1,
                        2,
                        3
                      ]
                    },
                    "IsQuantityEditable": {
                      "type": "boolean"
                    },
                    "MinimumQuantity": {
                      "type": "integer",
                      "format": "int32"
                    },
                    "MonthlyRate": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "AnnualRate": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "SetupFee": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "UnitOfMeasure": {
                      "type": "string",
                      "maxLength": 250,
                      "nullable": true
                    },
                    "IsTaxable": {
                      "type": "boolean"
                    },
                    "IsBilledDuringTrial": {
                      "type": "boolean"
                    },
                    "ExpiresAfterMonths": {
                      "type": "integer",
                      "format": "int32"
                    },
                    "ExpirationDate": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true
                    },
                    "StripeTaxCodeId": {
                      "type": "string",
                      "maxLength": 15,
                      "nullable": true
                    },
                    "IsPerUser": {
                      "type": "boolean"
                    },
                    "QuarterlyRate": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "OneTimeRate": {
                      "type": "number",
                      "format": "decimal"
                    },
                    "SubscriptionCount": {
                      "type": "integer",
                      "format": "int32"
                    },
                    "Quantity": {
                      "type": "integer",
                      "format": "int32"
                    }
                  }
                },
                "IsUserSelectable": {
                  "type": "boolean"
                }
              }
            }
          },
          "ContentGroups": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated",
                "Name"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Name": {
                  "type": "string",
                  "maxLength": 50,
                  "minLength": 1
                },
                "AccessDeniedPath": {
                  "type": "string",
                  "maxLength": 1024,
                  "nullable": true
                }
              }
            }
          },
          "NumberOfSubscriptions": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "PlanCreatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PlanWebhookEntity"
          }
        ]
      },
      "PlanUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PlanWebhookEntity"
          }
        ]
      },
      "AddOnWebhookEntity": {
        "type": "object",
        "required": [
          "Created",
          "Updated",
          "IsQuantityEditable",
          "IsTaxable",
          "IsBilledDuringTrial"
        ],
        "properties": {
          "Uid": {
            "type": "string",
            "maxLength": 10,
            "nullable": true
          },
          "_objectType": {
            "type": "string",
            "nullable": true
          },
          "Created": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "Updated": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "Name": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "BillingAddOnType": {
            "type": "integer",
            "description": "`1` - Recurring, `2` - Usage, `3` - OneTime",
            "x-enumNames": [
              "Recurring",
              "Usage",
              "OneTime"
            ],
            "enum": [
              1,
              2,
              3
            ]
          },
          "IsQuantityEditable": {
            "type": "boolean"
          },
          "MinimumQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "MonthlyRate": {
            "type": "number",
            "format": "decimal"
          },
          "AnnualRate": {
            "type": "number",
            "format": "decimal"
          },
          "SetupFee": {
            "type": "number",
            "format": "decimal"
          },
          "UnitOfMeasure": {
            "type": "string",
            "maxLength": 250,
            "nullable": true
          },
          "IsTaxable": {
            "type": "boolean"
          },
          "IsBilledDuringTrial": {
            "type": "boolean"
          },
          "ExpiresAfterMonths": {
            "type": "integer",
            "format": "int32"
          },
          "ExpirationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "StripeTaxCodeId": {
            "type": "string",
            "maxLength": 15,
            "nullable": true
          },
          "PlanAddOns": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated",
                "IsUserSelectable"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "IsUserSelectable": {
                  "type": "boolean"
                }
              }
            }
          },
          "ContentGroups": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "required": [
                "Created",
                "Updated",
                "Name"
              ],
              "properties": {
                "Uid": {
                  "type": "string",
                  "maxLength": 10,
                  "nullable": true
                },
                "_objectType": {
                  "type": "string",
                  "nullable": true
                },
                "Created": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Updated": {
                  "type": "string",
                  "format": "date-time",
                  "minLength": 1
                },
                "Name": {
                  "type": "string",
                  "maxLength": 50,
                  "minLength": 1
                },
                "AccessDeniedPath": {
                  "type": "string",
                  "maxLength": 1024,
                  "nullable": true
                }
              }
            }
          },
          "IsPerUser": {
            "type": "boolean"
          },
          "QuarterlyRate": {
            "type": "number",
            "format": "decimal"
          },
          "OneTimeRate": {
            "type": "number",
            "format": "decimal"
          },
          "SubscriptionCount": {
            "type": "integer",
            "format": "int32"
          },
          "Quantity": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "AddOnCreatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AddOnWebhookEntity"
          }
        ]
      },
      "AddOnUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AddOnWebhookEntity"
          }
        ]
      },
      "DiscordUserLinkedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          }
        ]
      },
      "DiscordUserAddedToServerActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PersonUid": {
            "type": "string",
            "nullable": true
          },
          "DiscordUserId": {
            "type": "string",
            "nullable": true
          },
          "DiscordEmail": {
            "type": "string",
            "nullable": true
          },
          "DiscordUsername": {
            "type": "string",
            "nullable": true
          },
          "DiscordServerId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DiscordUserAddedToServerWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/DiscordUserAddedToServerActivityData"
              }
            }
          }
        ]
      },
      "DiscordUserRolesUpdatedActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PersonUid": {
            "type": "string",
            "nullable": true
          },
          "DiscordUserId": {
            "type": "string",
            "nullable": true
          },
          "DiscordEmail": {
            "type": "string",
            "nullable": true
          },
          "DiscordUsername": {
            "type": "string",
            "nullable": true
          },
          "DiscordServerId": {
            "type": "string",
            "nullable": true
          },
          "RoleIds": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DiscordUserRolesUpdatedWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/DiscordUserRolesUpdatedActivityData"
              }
            }
          }
        ]
      },
      "DiscordUserRemovedFromServerActivityData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PersonUid": {
            "type": "string",
            "nullable": true
          },
          "DiscordUserId": {
            "type": "string",
            "nullable": true
          },
          "DiscordEmail": {
            "type": "string",
            "nullable": true
          },
          "DiscordUsername": {
            "type": "string",
            "nullable": true
          },
          "DiscordServerId": {
            "type": "string",
            "nullable": true
          },
          "Trigger": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DiscordUserRemovedFromServerWebhookPayload": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PersonWebhookEntity"
          },
          {
            "type": "object",
            "properties": {
              "ActivityEventData": {
                "$ref": "#/components/schemas/DiscordUserRemovedFromServerActivityData"
              }
            }
          }
        ]
      }
    },
    "parameters": {
      "limit": {
        "name": "limit",
        "in": "query",
        "description": "Requested page size. The server caps it at 100, or 25 when requested fields expand child objects or require additional queries; metadata.limit reports the applied value. Use offset=1 for the second page.",
        "schema": {
          "type": "integer",
          "default": 25
        }
      },
      "offset": {
        "name": "offset",
        "in": "query",
        "description": "Zero-based page number, not a record offset. With limit=50, the second page is offset=1; offset=50 is page index 50 (records 2501-2550).",
        "schema": {
          "type": "integer",
          "default": 0
        }
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "Enter your access token (OAuth / JWT).",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "ApiKey": {
        "type": "apiKey",
        "description": "Enter: Outseta {api_key}:{api_secret}",
        "name": "Authorization",
        "in": "header"
      }
    }
  }
}