> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Omnisend API reference

> API reference for the Omnisend plugin in Corsair: every `omnisend.api.*` operation with its input and output types, taken from the plugin's Zod schemas.

> [!NOTE]
>
> **New to Corsair?** See [API access](https://docs.corsair.dev/concepts/api.md), [authentication](https://docs.corsair.dev/concepts/auth.md), and [error handling](https://docs.corsair.dev/concepts/error-handling).

## Analytics

### generateReport

`analytics.generateReport`

Generate report. Returns aggregated marketing analytics grouped by message send date. Covers delivery, engagement, and revenue attribution metrics for campaigns and automations. Supports optional dimensions (timestamp, channel, activity), filters, and up to 4 queries per request. Limited to 10 calls a minute and 55 a day per brand; a 429 comes back as is, without retries.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.analytics.generateReport({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `queries` | `object[]` | No | — |

> [accordion] queries full type
>
> ```ts theme={null}
> {
>   alias?: string,
>   dateRange?: {
>     from?: string,
>     interval?: string,
>     to?: string
>   },
>   dimensions?: {
>     granularity?: string,
>     name?: string
>   }[],
>   filters?: {
>     name?: string,
>     operator?: string,
>     values?: string[]
>   }[],
>   metrics?: {
>     name?: string
>   }[]
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `reports` | `object[] \| null` | No | — |

> [accordion] reports full type
>
> ```ts theme={null}
> {
>   alias?: string | null,
>   dimensions?: {
>     granularity?: string | null,
>     name?: string | null
>   }[] | null,
>   metrics?: {
>     name?: string | null
>   }[] | null,
>   rows?: Record<string, any>[] | null
> }[] | null
> ```

***

### generateStatistics

`analytics.generateStatistics`

Generate report. Returns aggregated marketing analytics grouped by event date (when opens, clicks, orders actually occurred). Covers delivery, engagement, revenue attribution, and audience growth metrics. Requires a timestamp dimension. Limited to 10 calls a minute and 55 a day per brand; a 429 comes back as is, without retries.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.analytics.generateStatistics({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `queries` | `object[]` | No | — |

> [accordion] queries full type
>
> ```ts theme={null}
> {
>   alias?: string,
>   dateRange?: {
>     from?: string,
>     to?: string
>   },
>   dimensions?: {
>     granularity?: string,
>     name?: string
>   }[],
>   filters?: {
>     name?: string,
>     operator?: string,
>     values?: string[]
>   }[],
>   metrics?: {
>     name?: string
>   }[]
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `statistics` | `object[] \| null` | No | — |

> [accordion] statistics full type
>
> ```ts theme={null}
> {
>   alias?: string | null,
>   dimensions?: {
>     granularity?: string | null,
>     name?: string | null
>   }[] | null,
>   metrics?: {
>     name?: string | null
>   }[] | null,
>   rows?: Record<string, any>[] | null
> }[] | null
> ```

***

## Automations

### copy

`automations.copy`

Copy automation workflow. Create a copy of an existing automation workflow. The copy is always created in a disabled state, regardless of the source automation's status. The request body is optional. When provided, you can specify a custom name for the copy.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.automations.copy({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID to copy (24 character hexadecimal) |
| `name` | `string` | No | Custom name for the copied automation workflow. When omitted, defaults to "Copy of: \<original name>". |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `blocks` | `object[] \| null` | No | Automation workflow blocks (actions, delays, splits, A/B tests). Omitted from list responses with `view=summary` unless `include=blocks` is passed. |
| `brandID` | `string \| null` | No | Brand identifier (read-only) |
| `createdAt` | `string \| null` | No | Automation creation timestamp (read-only) |
| `disabledAt` | `string \| null` | No | Timestamp when automation was disabled (read-only) |
| `enabledAt` | `string \| null` | No | Timestamp when automation was enabled (read-only) |
| `exitConditions` | `object[] \| null` | No | Exit conditions that remove contacts from the automation workflow (evaluated with OR logic) |
| `id` | `string \| null` | No | Automation workflow unique identifier (read-only) |
| `isEnabled` | `boolean \| null` | No | Whether the automation workflow is enabled (read-only). Controlled via enable/disable actions. |
| `name` | `string \| null` | No | Automation workflow name |
| `settings` | `object \| null` | No | Automation settings |
| `trigger` | `object \| null` | No | Automation trigger configuration |
| `updatedAt` | `string \| null` | No | Automation last update timestamp (read-only) |
| `url` | `string \| null` | No | Link to the automation workflow editor in the Omnisend app (read-only) |

> [accordion] blocks full type
>
> ```ts theme={null}
> {
>   abTesting?: {
>     aBlocks?: {
>       abTesting?: {
>         aBlocks?: (recursive)[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null,
>     aBlocksPercentage?: number | null,
>     bBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: (recursive)[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null
>   } | null,
>   action?: {
>     addTag?: {
>       value?: string | null
>     } | null,
>     removeTag?: {
>       value?: string | null
>     } | null,
>     sendEmail?: {
>       contentID?: string | null,
>       isSkipAllowed?: boolean | null,
>       language?: string | null,
>       preheader?: string | null,
>       replyToEmail?: string | null,
>       senderEmail?: string | null,
>       senderName?: string | null,
>       subject?: string | null
>     } | null,
>     sendPush?: {
>       body?: string | null,
>       clickUrl?: string | null,
>       iconID?: string | null,
>       imageID?: string | null,
>       isSkipAllowed?: boolean | null,
>       title?: string | null
>     } | null,
>     sendSms?: {
>       compliance?: {
>         isStopKeywordIncluded?: boolean | null,
>         isUnsubscribeLinkIncluded?: boolean | null,
>         stopKeywordText?: string | null,
>         unsubscribeLinkText?: string | null
>       } | null,
>       discountSettings?: {
>         combinesWith?: {
>           isOrderCompatible?: boolean | null,
>           isProductCompatible?: boolean | null,
>           isShippingCompatible?: boolean | null
>         } | null,
>         expiry?: {
>           dateFormat?: string | null,
>           expirationText?: string | null,
>           expiresInDays?: number | null
>         } | null,
>         isItemsOnSaleExcluded?: boolean | null,
>         scope?: {
>           collectionID?: number | null,
>           collectionType?: string | null,
>           conditions?: string | null,
>           minimumOrderAmount?: string | null
>         } | null,
>         type?: string | null,
>         value?: string | null
>       } | null,
>       imageID?: string | null,
>       isLinkShorteningEnabled?: boolean | null,
>       isSkipAllowed?: boolean | null,
>       message?: string | null
>     } | null,
>     sendWebhook?: {
>       body?: string | null,
>       callbackUrl?: string | null,
>       headers?: {
>         key?: string | null,
>         value?: string | null
>       }[] | null
>     } | null,
>     type?: string | null,
>     unsubscribe?: {
>       channels?: string[] | null
>     } | null
>   } | null,
>   delay?: {
>     allowedWeekdays?: string[] | null,
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null,
>     time?: string | null
>   } | null,
>   id?: string | null,
>   split?: {
>     falseBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: (recursive)[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null,
>     filterGroup?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         type?: string | null,
>         urlMatch?: {
>           operator?: string | null,
>           value?: string | null
>         } | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     } | null,
>     trueBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: (recursive)[] | null
>       } | null,
>       type?: string | null
>     }[] | null
>   } | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] exitConditions full type
>
> ```ts theme={null}
> {
>   event?: string | null,
>   filterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   origin?: string | null
> }[] | null
> ```

> [accordion] settings full type
>
> ```ts theme={null}
> {
>   discount?: {
>     combinesWith?: {
>       isOrderCompatible?: boolean | null,
>       isProductCompatible?: boolean | null,
>       isShippingCompatible?: boolean | null
>     } | null,
>     expiry?: {
>       dateFormat?: string | null,
>       expirationText?: string | null,
>       expiresInDays?: number | null
>     } | null,
>     isItemsOnSaleExcluded?: boolean | null,
>     scope?: {
>       collectionID?: number | null,
>       collectionType?: string | null,
>       conditions?: string | null,
>       minimumOrderAmount?: string | null
>     } | null,
>     type?: string | null,
>     value?: string | null
>   } | null,
>   frequencyLimiter?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null
>   } | null,
>   overlapLimiter?: {
>     automationIDs?: string[] | null,
>     mode?: string | null,
>     withinDays?: number | null
>   } | null,
>   sendingThresholds?: {
>     email?: string | null,
>     sms?: string | null
>   } | null
> } | null
> ```

> [accordion] trigger full type
>
> ```ts theme={null}
> {
>   audienceFilterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   condition?: {
>     event?: string | null,
>     filterGroups?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     }[] | null,
>     origin?: string | null
>   } | null,
>   inactivitySettings?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null
>   } | null
> } | null
> ```

***

### create

`automations.create`

Create automation workflow. Create a new automation workflow.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.automations.create({
	blocks: [{ temporaryID: 'tmp-1', type: 'delay' }],
	name: 'Spring sale',
	trigger: {
		condition: { event: 'placed order' },
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `blocks` | `object[]` | Yes | Automation workflow blocks (actions, delays, splits, A/B tests). At least one block is required. |
| `exitConditions` | `object[]` | No | Exit conditions. When a contact triggers any of these events, they are immediately removed from the workflow. Multiple exit conditions are evaluated with OR logic. |
| `name` | `string` | Yes | Automation workflow name |
| `settings` | `object` | No | Automation settings (sending thresholds, frequency, overlap, etc.). Omit to use engine defaults. |
| `trigger` | `object` | Yes | Trigger configuration |

> [accordion] blocks full type
>
> ```ts theme={null}
> {
>   abTesting?: {
>     aBlocks?: {
>       abTesting?: {
>         aBlocks?: (recursive)[],
>         aBlocksPercentage: number,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[],
>             aBlocksPercentage: number,
>             bBlocks?: (recursive)[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[]
>       },
>       action?: {
>         addTag?: {
>           value: string
>         },
>         removeTag?: {
>           value: string
>         },
>         sendEmail?: {
>           isSkipAllowed?: boolean,
>           language: string,
>           preheader: string,
>           replyToEmail?: string,
>           senderEmail?: string,
>           senderName: string,
>           subject: string,
>           templateID: string
>         },
>         sendPush?: {
>           body: string,
>           clickUrl: string,
>           iconID?: string,
>           imageID?: string,
>           isSkipAllowed?: boolean,
>           title: string
>         },
>         sendSms?: {
>           compliance: {
>             isStopKeywordIncluded?: boolean,
>             isUnsubscribeLinkIncluded?: boolean,
>             stopKeywordText?: string,
>             unsubscribeLinkText?: string
>           },
>           imageID?: string,
>           isLinkShorteningEnabled?: boolean,
>           isSkipAllowed?: boolean,
>           message: string
>         },
>         sendWebhook?: {
>           body: string,
>           callbackUrl: string,
>           headers?: {
>             key?: string,
>             value?: string
>           }[]
>         },
>         type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>         unsubscribe?: {
>           channels: (email | sms | push)[]
>         }
>       },
>       delay?: {
>         allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>         duration?: {
>           amount: number,
>           units: m | h | d | w | M
>         },
>         mode: duration | immediate | specificTime,
>         time?: string
>       },
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[],
>             aBlocksPercentage: number,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: (recursive)[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[],
>         filterGroup: {
>           filters: {
>             field: string,
>             operator: string,
>             type: event | contact | message,
>             urlMatch?: {
>               operator: any | is | contains | startsWith | endsWith,
>               value?: string
>             },
>             value?: any
>           }[],
>           logicalOperator: and | or
>         },
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[],
>             aBlocksPercentage: number,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: (recursive)[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[]
>       },
>       temporaryID: string,
>       type: delay | action | split | abTesting
>     }[],
>     aBlocksPercentage: number,
>     bBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[],
>             aBlocksPercentage: number,
>             bBlocks?: (recursive)[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[],
>         aBlocksPercentage: number,
>         bBlocks?: (recursive)[]
>       },
>       action?: {
>         addTag?: {
>           value: string
>         },
>         removeTag?: {
>           value: string
>         },
>         sendEmail?: {
>           isSkipAllowed?: boolean,
>           language: string,
>           preheader: string,
>           replyToEmail?: string,
>           senderEmail?: string,
>           senderName: string,
>           subject: string,
>           templateID: string
>         },
>         sendPush?: {
>           body: string,
>           clickUrl: string,
>           iconID?: string,
>           imageID?: string,
>           isSkipAllowed?: boolean,
>           title: string
>         },
>         sendSms?: {
>           compliance: {
>             isStopKeywordIncluded?: boolean,
>             isUnsubscribeLinkIncluded?: boolean,
>             stopKeywordText?: string,
>             unsubscribeLinkText?: string
>           },
>           imageID?: string,
>           isLinkShorteningEnabled?: boolean,
>           isSkipAllowed?: boolean,
>           message: string
>         },
>         sendWebhook?: {
>           body: string,
>           callbackUrl: string,
>           headers?: {
>             key?: string,
>             value?: string
>           }[]
>         },
>         type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>         unsubscribe?: {
>           channels: (email | sms | push)[]
>         }
>       },
>       delay?: {
>         allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>         duration?: {
>           amount: number,
>           units: m | h | d | w | M
>         },
>         mode: duration | immediate | specificTime,
>         time?: string
>       },
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             aBlocksPercentage: number,
>             bBlocks?: (recursive)[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: (recursive)[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[],
>         filterGroup: {
>           filters: {
>             field: string,
>             operator: string,
>             type: event | contact | message,
>             urlMatch?: {
>               operator: any | is | contains | startsWith | endsWith,
>               value?: string
>             },
>             value?: any
>           }[],
>           logicalOperator: and | or
>         },
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             aBlocksPercentage: number,
>             bBlocks?: (recursive)[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: (recursive)[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[]
>       },
>       temporaryID: string,
>       type: delay | action | split | abTesting
>     }[]
>   },
>   action?: {
>     addTag?: {
>       value: string
>     },
>     removeTag?: {
>       value: string
>     },
>     sendEmail?: {
>       isSkipAllowed?: boolean,
>       language: string,
>       preheader: string,
>       replyToEmail?: string,
>       senderEmail?: string,
>       senderName: string,
>       subject: string,
>       templateID: string
>     },
>     sendPush?: {
>       body: string,
>       clickUrl: string,
>       iconID?: string,
>       imageID?: string,
>       isSkipAllowed?: boolean,
>       title: string
>     },
>     sendSms?: {
>       compliance: {
>         isStopKeywordIncluded?: boolean,
>         isUnsubscribeLinkIncluded?: boolean,
>         stopKeywordText?: string,
>         unsubscribeLinkText?: string
>       },
>       imageID?: string,
>       isLinkShorteningEnabled?: boolean,
>       isSkipAllowed?: boolean,
>       message: string
>     },
>     sendWebhook?: {
>       body: string,
>       callbackUrl: string,
>       headers?: {
>         key?: string,
>         value?: string
>       }[]
>     },
>     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>     unsubscribe?: {
>       channels: (email | sms | push)[]
>     }
>   },
>   delay?: {
>     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>     duration?: {
>       amount: number,
>       units: m | h | d | w | M
>     },
>     mode: duration | immediate | specificTime,
>     time?: string
>   },
>   split?: {
>     falseBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[],
>             aBlocksPercentage: number,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: (recursive)[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[],
>         aBlocksPercentage: number,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             aBlocksPercentage: number,
>             bBlocks?: (recursive)[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: (recursive)[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[]
>       },
>       action?: {
>         addTag?: {
>           value: string
>         },
>         removeTag?: {
>           value: string
>         },
>         sendEmail?: {
>           isSkipAllowed?: boolean,
>           language: string,
>           preheader: string,
>           replyToEmail?: string,
>           senderEmail?: string,
>           senderName: string,
>           subject: string,
>           templateID: string
>         },
>         sendPush?: {
>           body: string,
>           clickUrl: string,
>           iconID?: string,
>           imageID?: string,
>           isSkipAllowed?: boolean,
>           title: string
>         },
>         sendSms?: {
>           compliance: {
>             isStopKeywordIncluded?: boolean,
>             isUnsubscribeLinkIncluded?: boolean,
>             stopKeywordText?: string,
>             unsubscribeLinkText?: string
>           },
>           imageID?: string,
>           isLinkShorteningEnabled?: boolean,
>           isSkipAllowed?: boolean,
>           message: string
>         },
>         sendWebhook?: {
>           body: string,
>           callbackUrl: string,
>           headers?: {
>             key?: string,
>             value?: string
>           }[]
>         },
>         type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>         unsubscribe?: {
>           channels: (email | sms | push)[]
>         }
>       },
>       delay?: {
>         allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>         duration?: {
>           amount: number,
>           units: m | h | d | w | M
>         },
>         mode: duration | immediate | specificTime,
>         time?: string
>       },
>       split?: {
>         falseBlocks?: (recursive)[],
>         filterGroup: {
>           filters: {
>             field: string,
>             operator: string,
>             type: event | contact | message,
>             urlMatch?: {
>               operator: any | is | contains | startsWith | endsWith,
>               value?: string
>             },
>             value?: any
>           }[],
>           logicalOperator: and | or
>         },
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             aBlocksPercentage: number,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: (recursive)[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: (recursive)[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[]
>       },
>       temporaryID: string,
>       type: delay | action | split | abTesting
>     }[],
>     filterGroup: {
>       filters: {
>         field: string,
>         operator: string,
>         type: event | contact | message,
>         urlMatch?: {
>           operator: any | is | contains | startsWith | endsWith,
>           value?: string
>         },
>         value?: any
>       }[],
>       logicalOperator: and | or
>     },
>     trueBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[],
>             aBlocksPercentage: number,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: (recursive)[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[],
>         aBlocksPercentage: number,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             aBlocksPercentage: number,
>             bBlocks?: (recursive)[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: (recursive)[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[]
>       },
>       action?: {
>         addTag?: {
>           value: string
>         },
>         removeTag?: {
>           value: string
>         },
>         sendEmail?: {
>           isSkipAllowed?: boolean,
>           language: string,
>           preheader: string,
>           replyToEmail?: string,
>           senderEmail?: string,
>           senderName: string,
>           subject: string,
>           templateID: string
>         },
>         sendPush?: {
>           body: string,
>           clickUrl: string,
>           iconID?: string,
>           imageID?: string,
>           isSkipAllowed?: boolean,
>           title: string
>         },
>         sendSms?: {
>           compliance: {
>             isStopKeywordIncluded?: boolean,
>             isUnsubscribeLinkIncluded?: boolean,
>             stopKeywordText?: string,
>             unsubscribeLinkText?: string
>           },
>           imageID?: string,
>           isLinkShorteningEnabled?: boolean,
>           isSkipAllowed?: boolean,
>           message: string
>         },
>         sendWebhook?: {
>           body: string,
>           callbackUrl: string,
>           headers?: {
>             key?: string,
>             value?: string
>           }[]
>         },
>         type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>         unsubscribe?: {
>           channels: (email | sms | push)[]
>         }
>       },
>       delay?: {
>         allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>         duration?: {
>           amount: number,
>           units: m | h | d | w | M
>         },
>         mode: duration | immediate | specificTime,
>         time?: string
>       },
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[],
>                 aBlocksPercentage: number,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[],
>             aBlocksPercentage: number,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[],
>                     aBlocksPercentage: number,
>                     bBlocks?: (recursive)[]
>                   },
>                   action?: {
>                     addTag?: {
>                       value: string
>                     },
>                     removeTag?: {
>                       value: string
>                     },
>                     sendEmail?: {
>                       isSkipAllowed?: boolean,
>                       language: string,
>                       preheader: string,
>                       replyToEmail?: string,
>                       senderEmail?: string,
>                       senderName: string,
>                       subject: string,
>                       templateID: string
>                     },
>                     sendPush?: {
>                       body: string,
>                       clickUrl: string,
>                       iconID?: string,
>                       imageID?: string,
>                       isSkipAllowed?: boolean,
>                       title: string
>                     },
>                     sendSms?: {
>                       compliance: {
>                         isStopKeywordIncluded?: boolean,
>                         isUnsubscribeLinkIncluded?: boolean,
>                         stopKeywordText?: string,
>                         unsubscribeLinkText?: string
>                       },
>                       imageID?: string,
>                       isLinkShorteningEnabled?: boolean,
>                       isSkipAllowed?: boolean,
>                       message: string
>                     },
>                     sendWebhook?: {
>                       body: string,
>                       callbackUrl: string,
>                       headers?: {
>                         key?: string,
>                         value?: string
>                       }[]
>                     },
>                     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                     unsubscribe?: {
>                       channels: (email | sms | push)[]
>                     }
>                   },
>                   delay?: {
>                     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                     duration?: {
>                       amount: number,
>                       units: m | h | d | w | M
>                     },
>                     mode: duration | immediate | specificTime,
>                     time?: string
>                   },
>                   split?: {
>                     falseBlocks?: (recursive)[],
>                     filterGroup: {
>                       filters: {
>                         field: string,
>                         operator: string,
>                         type: event | contact | message,
>                         urlMatch?: {
>                           operator: any | is | contains | startsWith | endsWith,
>                           value?: string
>                         },
>                         value?: any
>                       }[],
>                       logicalOperator: and | or
>                     },
>                     trueBlocks?: (recursive)[]
>                   },
>                   temporaryID: string,
>                   type: delay | action | split | abTesting
>                 }[],
>                 aBlocksPercentage: number,
>                 bBlocks?: (recursive)[]
>               },
>               action?: {
>                 addTag?: {
>                   value: string
>                 },
>                 removeTag?: {
>                   value: string
>                 },
>                 sendEmail?: {
>                   isSkipAllowed?: boolean,
>                   language: string,
>                   preheader: string,
>                   replyToEmail?: string,
>                   senderEmail?: string,
>                   senderName: string,
>                   subject: string,
>                   templateID: string
>                 },
>                 sendPush?: {
>                   body: string,
>                   clickUrl: string,
>                   iconID?: string,
>                   imageID?: string,
>                   isSkipAllowed?: boolean,
>                   title: string
>                 },
>                 sendSms?: {
>                   compliance: {
>                     isStopKeywordIncluded?: boolean,
>                     isUnsubscribeLinkIncluded?: boolean,
>                     stopKeywordText?: string,
>                     unsubscribeLinkText?: string
>                   },
>                   imageID?: string,
>                   isLinkShorteningEnabled?: boolean,
>                   isSkipAllowed?: boolean,
>                   message: string
>                 },
>                 sendWebhook?: {
>                   body: string,
>                   callbackUrl: string,
>                   headers?: {
>                     key?: string,
>                     value?: string
>                   }[]
>                 },
>                 type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>                 unsubscribe?: {
>                   channels: (email | sms | push)[]
>                 }
>               },
>               delay?: {
>                 allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>                 duration?: {
>                   amount: number,
>                   units: m | h | d | w | M
>                 },
>                 mode: duration | immediate | specificTime,
>                 time?: string
>               },
>               split?: {
>                 falseBlocks?: (recursive)[],
>                 filterGroup: {
>                   filters: {
>                     field: string,
>                     operator: string,
>                     type: event | contact | message,
>                     urlMatch?: {
>                       operator: any | is | contains | startsWith | endsWith,
>                       value?: string
>                     },
>                     value?: any
>                   }[],
>                   logicalOperator: and | or
>                 },
>                 trueBlocks?: (recursive)[]
>               },
>               temporaryID: string,
>               type: delay | action | split | abTesting
>             }[]
>           },
>           action?: {
>             addTag?: {
>               value: string
>             },
>             removeTag?: {
>               value: string
>             },
>             sendEmail?: {
>               isSkipAllowed?: boolean,
>               language: string,
>               preheader: string,
>               replyToEmail?: string,
>               senderEmail?: string,
>               senderName: string,
>               subject: string,
>               templateID: string
>             },
>             sendPush?: {
>               body: string,
>               clickUrl: string,
>               iconID?: string,
>               imageID?: string,
>               isSkipAllowed?: boolean,
>               title: string
>             },
>             sendSms?: {
>               compliance: {
>                 isStopKeywordIncluded?: boolean,
>                 isUnsubscribeLinkIncluded?: boolean,
>                 stopKeywordText?: string,
>                 unsubscribeLinkText?: string
>               },
>               imageID?: string,
>               isLinkShorteningEnabled?: boolean,
>               isSkipAllowed?: boolean,
>               message: string
>             },
>             sendWebhook?: {
>               body: string,
>               callbackUrl: string,
>               headers?: {
>                 key?: string,
>                 value?: string
>               }[]
>             },
>             type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>             unsubscribe?: {
>               channels: (email | sms | push)[]
>             }
>           },
>           delay?: {
>             allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>             duration?: {
>               amount: number,
>               units: m | h | d | w | M
>             },
>             mode: duration | immediate | specificTime,
>             time?: string
>           },
>           split?: {
>             falseBlocks?: (recursive)[],
>             filterGroup: {
>               filters: {
>                 field: string,
>                 operator: string,
>                 type: event | contact | message,
>                 urlMatch?: {
>                   operator: any | is | contains | startsWith | endsWith,
>                   value?: string
>                 },
>                 value?: any
>               }[],
>               logicalOperator: and | or
>             },
>             trueBlocks?: (recursive)[]
>           },
>           temporaryID: string,
>           type: delay | action | split | abTesting
>         }[],
>         filterGroup: {
>           filters: {
>             field: string,
>             operator: string,
>             type: event | contact | message,
>             urlMatch?: {
>               operator: any | is | contains | startsWith | endsWith,
>               value?: string
>             },
>             value?: any
>           }[],
>           logicalOperator: and | or
>         },
>         trueBlocks?: (recursive)[]
>       },
>       temporaryID: string,
>       type: delay | action | split | abTesting
>     }[]
>   },
>   temporaryID: string,
>   type: delay | action | split | abTesting
> }[]
> ```

> [accordion] exitConditions full type
>
> ```ts theme={null}
> {
>   event: string,
>   filterGroup?: {
>     filters: {
>       field: string,
>       operator: eq | neq | gt | gte | lt | lte | contains | notContains | startsWith | endsWith | exists | notExists | in | notIn,
>       value?: any
>     }[],
>     logicalOperator: and | or
>   },
>   origin?: string
> }[]
> ```

> [accordion] settings full type
>
> ```ts theme={null}
> {
>   frequencyLimiter?: {
>     duration?: {
>       amount: number,
>       units: h | d | w
>     },
>     mode: once | interval
>   } | null,
>   overlapLimiter?: {
>     automationIDs: string[],
>     mode: currentlyIn | recentlyIn,
>     withinDays?: number
>   } | null,
>   sendingThresholds?: {
>     email: subscribed | nonSubscribed | all,
>     sms: subscribed | nonSubscribed | all
>   }
> }
> ```

> [accordion] trigger full type
>
> ```ts theme={null}
> {
>   audienceFilterGroup?: {
>     filters: {
>       field: segmentID | tag | dateAdded | firstName | lastName | gender | country | state | city | postalCode,
>       operator: eq | neq | gt | lt | contains | notContains,
>       value: string
>     }[],
>     logicalOperator: and | or
>   },
>   condition: {
>     event: string,
>     filterGroups?: {
>       filters: {
>         field: string,
>         operator: eq | neq | gt | gte | lt | lte | contains | notContains | startsWith | endsWith | exists | notExists | in | notIn,
>         value?: any
>       }[],
>       logicalOperator: and | or
>     }[],
>     origin?: string
>   },
>   inactivitySettings?: {
>     duration: {
>       amount: number,
>       units: m | h | d | w
>     }
>   }
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `blocks` | `object[] \| null` | No | Automation workflow blocks (actions, delays, splits, A/B tests). Omitted from list responses with `view=summary` unless `include=blocks` is passed. |
| `brandID` | `string \| null` | No | Brand identifier (read-only) |
| `createdAt` | `string \| null` | No | Automation creation timestamp (read-only) |
| `disabledAt` | `string \| null` | No | Timestamp when automation was disabled (read-only) |
| `enabledAt` | `string \| null` | No | Timestamp when automation was enabled (read-only) |
| `exitConditions` | `object[] \| null` | No | Exit conditions that remove contacts from the automation workflow (evaluated with OR logic) |
| `id` | `string \| null` | No | Automation workflow unique identifier (read-only) |
| `isEnabled` | `boolean \| null` | No | Whether the automation workflow is enabled (read-only). Controlled via enable/disable actions. |
| `name` | `string \| null` | No | Automation workflow name |
| `settings` | `object \| null` | No | Automation settings |
| `trigger` | `object \| null` | No | Automation trigger configuration |
| `updatedAt` | `string \| null` | No | Automation last update timestamp (read-only) |
| `url` | `string \| null` | No | Link to the automation workflow editor in the Omnisend app (read-only) |

> [accordion] blocks full type
>
> ```ts theme={null}
> {
>   abTesting?: {
>     aBlocks?: {
>       abTesting?: {
>         aBlocks?: (recursive)[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null,
>     aBlocksPercentage?: number | null,
>     bBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: (recursive)[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null
>   } | null,
>   action?: {
>     addTag?: {
>       value?: string | null
>     } | null,
>     removeTag?: {
>       value?: string | null
>     } | null,
>     sendEmail?: {
>       contentID?: string | null,
>       isSkipAllowed?: boolean | null,
>       language?: string | null,
>       preheader?: string | null,
>       replyToEmail?: string | null,
>       senderEmail?: string | null,
>       senderName?: string | null,
>       subject?: string | null
>     } | null,
>     sendPush?: {
>       body?: string | null,
>       clickUrl?: string | null,
>       iconID?: string | null,
>       imageID?: string | null,
>       isSkipAllowed?: boolean | null,
>       title?: string | null
>     } | null,
>     sendSms?: {
>       compliance?: {
>         isStopKeywordIncluded?: boolean | null,
>         isUnsubscribeLinkIncluded?: boolean | null,
>         stopKeywordText?: string | null,
>         unsubscribeLinkText?: string | null
>       } | null,
>       discountSettings?: {
>         combinesWith?: {
>           isOrderCompatible?: boolean | null,
>           isProductCompatible?: boolean | null,
>           isShippingCompatible?: boolean | null
>         } | null,
>         expiry?: {
>           dateFormat?: string | null,
>           expirationText?: string | null,
>           expiresInDays?: number | null
>         } | null,
>         isItemsOnSaleExcluded?: boolean | null,
>         scope?: {
>           collectionID?: number | null,
>           collectionType?: string | null,
>           conditions?: string | null,
>           minimumOrderAmount?: string | null
>         } | null,
>         type?: string | null,
>         value?: string | null
>       } | null,
>       imageID?: string | null,
>       isLinkShorteningEnabled?: boolean | null,
>       isSkipAllowed?: boolean | null,
>       message?: string | null
>     } | null,
>     sendWebhook?: {
>       body?: string | null,
>       callbackUrl?: string | null,
>       headers?: {
>         key?: string | null,
>         value?: string | null
>       }[] | null
>     } | null,
>     type?: string | null,
>     unsubscribe?: {
>       channels?: string[] | null
>     } | null
>   } | null,
>   delay?: {
>     allowedWeekdays?: string[] | null,
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null,
>     time?: string | null
>   } | null,
>   id?: string | null,
>   split?: {
>     falseBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: (recursive)[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null,
>     filterGroup?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         type?: string | null,
>         urlMatch?: {
>           operator?: string | null,
>           value?: string | null
>         } | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     } | null,
>     trueBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: (recursive)[] | null
>       } | null,
>       type?: string | null
>     }[] | null
>   } | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] exitConditions full type
>
> ```ts theme={null}
> {
>   event?: string | null,
>   filterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   origin?: string | null
> }[] | null
> ```

> [accordion] settings full type
>
> ```ts theme={null}
> {
>   discount?: {
>     combinesWith?: {
>       isOrderCompatible?: boolean | null,
>       isProductCompatible?: boolean | null,
>       isShippingCompatible?: boolean | null
>     } | null,
>     expiry?: {
>       dateFormat?: string | null,
>       expirationText?: string | null,
>       expiresInDays?: number | null
>     } | null,
>     isItemsOnSaleExcluded?: boolean | null,
>     scope?: {
>       collectionID?: number | null,
>       collectionType?: string | null,
>       conditions?: string | null,
>       minimumOrderAmount?: string | null
>     } | null,
>     type?: string | null,
>     value?: string | null
>   } | null,
>   frequencyLimiter?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null
>   } | null,
>   overlapLimiter?: {
>     automationIDs?: string[] | null,
>     mode?: string | null,
>     withinDays?: number | null
>   } | null,
>   sendingThresholds?: {
>     email?: string | null,
>     sms?: string | null
>   } | null
> } | null
> ```

> [accordion] trigger full type
>
> ```ts theme={null}
> {
>   audienceFilterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   condition?: {
>     event?: string | null,
>     filterGroups?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     }[] | null,
>     origin?: string | null
>   } | null,
>   inactivitySettings?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null
>   } | null
> } | null
> ```

***

### delete

`automations.delete`

Delete automation workflow. Delete a single automation workflow by ID. This operation is idempotent — deleting a non-existent automation returns a success response. Cannot be undone.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.automations.delete({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### deleteSchedule

`automations.deleteSchedule`

Delete automation workflow schedule. Remove the scheduled start and end of an automation workflow. isEnabled is not changed. This operation is idempotent — deleting a schedule that does not exist returns a success response. Cannot be undone.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.automations.deleteSchedule({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### disable

`automations.disable`

Disable automation workflow. Disable an automation workflow. Once disabled, the workflow stops accepting new trigger events. Use contactsInWorkflow to control what happens to contacts currently progressing through the workflow: - keep: contacts remain and continue through the remaining blocks until completion.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.automations.disable({ id: '6650a1b2c3d4e5f6a7b8c9d0', contactsInWorkflow: 'keep' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |
| `contactsInWorkflow` | `keep \| exit` | Yes | What to do with contacts currently in the workflow |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `blocks` | `object[] \| null` | No | Automation workflow blocks (actions, delays, splits, A/B tests). Omitted from list responses with `view=summary` unless `include=blocks` is passed. |
| `brandID` | `string \| null` | No | Brand identifier (read-only) |
| `createdAt` | `string \| null` | No | Automation creation timestamp (read-only) |
| `disabledAt` | `string \| null` | No | Timestamp when automation was disabled (read-only) |
| `enabledAt` | `string \| null` | No | Timestamp when automation was enabled (read-only) |
| `exitConditions` | `object[] \| null` | No | Exit conditions that remove contacts from the automation workflow (evaluated with OR logic) |
| `id` | `string \| null` | No | Automation workflow unique identifier (read-only) |
| `isEnabled` | `boolean \| null` | No | Whether the automation workflow is enabled (read-only). Controlled via enable/disable actions. |
| `name` | `string \| null` | No | Automation workflow name |
| `settings` | `object \| null` | No | Automation settings |
| `trigger` | `object \| null` | No | Automation trigger configuration |
| `updatedAt` | `string \| null` | No | Automation last update timestamp (read-only) |
| `url` | `string \| null` | No | Link to the automation workflow editor in the Omnisend app (read-only) |

> [accordion] blocks full type
>
> ```ts theme={null}
> {
>   abTesting?: {
>     aBlocks?: {
>       abTesting?: {
>         aBlocks?: (recursive)[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null,
>     aBlocksPercentage?: number | null,
>     bBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: (recursive)[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null
>   } | null,
>   action?: {
>     addTag?: {
>       value?: string | null
>     } | null,
>     removeTag?: {
>       value?: string | null
>     } | null,
>     sendEmail?: {
>       contentID?: string | null,
>       isSkipAllowed?: boolean | null,
>       language?: string | null,
>       preheader?: string | null,
>       replyToEmail?: string | null,
>       senderEmail?: string | null,
>       senderName?: string | null,
>       subject?: string | null
>     } | null,
>     sendPush?: {
>       body?: string | null,
>       clickUrl?: string | null,
>       iconID?: string | null,
>       imageID?: string | null,
>       isSkipAllowed?: boolean | null,
>       title?: string | null
>     } | null,
>     sendSms?: {
>       compliance?: {
>         isStopKeywordIncluded?: boolean | null,
>         isUnsubscribeLinkIncluded?: boolean | null,
>         stopKeywordText?: string | null,
>         unsubscribeLinkText?: string | null
>       } | null,
>       discountSettings?: {
>         combinesWith?: {
>           isOrderCompatible?: boolean | null,
>           isProductCompatible?: boolean | null,
>           isShippingCompatible?: boolean | null
>         } | null,
>         expiry?: {
>           dateFormat?: string | null,
>           expirationText?: string | null,
>           expiresInDays?: number | null
>         } | null,
>         isItemsOnSaleExcluded?: boolean | null,
>         scope?: {
>           collectionID?: number | null,
>           collectionType?: string | null,
>           conditions?: string | null,
>           minimumOrderAmount?: string | null
>         } | null,
>         type?: string | null,
>         value?: string | null
>       } | null,
>       imageID?: string | null,
>       isLinkShorteningEnabled?: boolean | null,
>       isSkipAllowed?: boolean | null,
>       message?: string | null
>     } | null,
>     sendWebhook?: {
>       body?: string | null,
>       callbackUrl?: string | null,
>       headers?: {
>         key?: string | null,
>         value?: string | null
>       }[] | null
>     } | null,
>     type?: string | null,
>     unsubscribe?: {
>       channels?: string[] | null
>     } | null
>   } | null,
>   delay?: {
>     allowedWeekdays?: string[] | null,
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null,
>     time?: string | null
>   } | null,
>   id?: string | null,
>   split?: {
>     falseBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: (recursive)[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null,
>     filterGroup?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         type?: string | null,
>         urlMatch?: {
>           operator?: string | null,
>           value?: string | null
>         } | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     } | null,
>     trueBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: (recursive)[] | null
>       } | null,
>       type?: string | null
>     }[] | null
>   } | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] exitConditions full type
>
> ```ts theme={null}
> {
>   event?: string | null,
>   filterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   origin?: string | null
> }[] | null
> ```

> [accordion] settings full type
>
> ```ts theme={null}
> {
>   discount?: {
>     combinesWith?: {
>       isOrderCompatible?: boolean | null,
>       isProductCompatible?: boolean | null,
>       isShippingCompatible?: boolean | null
>     } | null,
>     expiry?: {
>       dateFormat?: string | null,
>       expirationText?: string | null,
>       expiresInDays?: number | null
>     } | null,
>     isItemsOnSaleExcluded?: boolean | null,
>     scope?: {
>       collectionID?: number | null,
>       collectionType?: string | null,
>       conditions?: string | null,
>       minimumOrderAmount?: string | null
>     } | null,
>     type?: string | null,
>     value?: string | null
>   } | null,
>   frequencyLimiter?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null
>   } | null,
>   overlapLimiter?: {
>     automationIDs?: string[] | null,
>     mode?: string | null,
>     withinDays?: number | null
>   } | null,
>   sendingThresholds?: {
>     email?: string | null,
>     sms?: string | null
>   } | null
> } | null
> ```

> [accordion] trigger full type
>
> ```ts theme={null}
> {
>   audienceFilterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   condition?: {
>     event?: string | null,
>     filterGroups?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     }[] | null,
>     origin?: string | null
>   } | null,
>   inactivitySettings?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null
>   } | null
> } | null
> ```

***

### enable

`automations.enable`

Enable automation workflow. Enable an automation workflow. Once enabled, the workflow starts processing trigger events in real time. The request body is optional. Use enrollExisting to also enroll contacts who already qualify at the time of enabling. An enabled automation emails or texts contacts on its own whenever its trigger fires.

**Risk:** `destructive`

```ts theme={null}
await corsair.omnisend.api.automations.enable({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |
| `enrollExisting` | `boolean` | No | Whether to enroll contacts who already meet the trigger conditions. When omitted or false, only future trigger events are processed. When `enrollExisting=true`: - **Event-based triggers** (e.g. "placed order", "started checkout"): contacts whose trigger event occurred within the first delay block's time window are enrolled. They receive messages based on their original event time, not when the workflow was enabled (e.g. 30-day delay, event 20 days ago → message in 10 days). The workflow **must** start with a delay block — otherwise the request is rejected with 409 `enroll-existing-not-applicable`. - **"Entered segment" trigger**: all contacts currently in the trigger's segments are enrolled immediately. Takes effect only on the first enable; re-enabling with `enrollExisting=true` is rejected with 409 `enroll-existing-not-applicable`. Copy the workflow if a fresh enrollment is needed. - **Birthday, "Product back in stock", and custom virtual events**: not supported; `enrollExisting=true` is rejected with 409 `enroll-existing-not-applicable`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `blocks` | `object[] \| null` | No | Automation workflow blocks (actions, delays, splits, A/B tests). Omitted from list responses with `view=summary` unless `include=blocks` is passed. |
| `brandID` | `string \| null` | No | Brand identifier (read-only) |
| `createdAt` | `string \| null` | No | Automation creation timestamp (read-only) |
| `disabledAt` | `string \| null` | No | Timestamp when automation was disabled (read-only) |
| `enabledAt` | `string \| null` | No | Timestamp when automation was enabled (read-only) |
| `exitConditions` | `object[] \| null` | No | Exit conditions that remove contacts from the automation workflow (evaluated with OR logic) |
| `id` | `string \| null` | No | Automation workflow unique identifier (read-only) |
| `isEnabled` | `boolean \| null` | No | Whether the automation workflow is enabled (read-only). Controlled via enable/disable actions. |
| `name` | `string \| null` | No | Automation workflow name |
| `settings` | `object \| null` | No | Automation settings |
| `trigger` | `object \| null` | No | Automation trigger configuration |
| `updatedAt` | `string \| null` | No | Automation last update timestamp (read-only) |
| `url` | `string \| null` | No | Link to the automation workflow editor in the Omnisend app (read-only) |

> [accordion] blocks full type
>
> ```ts theme={null}
> {
>   abTesting?: {
>     aBlocks?: {
>       abTesting?: {
>         aBlocks?: (recursive)[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null,
>     aBlocksPercentage?: number | null,
>     bBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: (recursive)[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null
>   } | null,
>   action?: {
>     addTag?: {
>       value?: string | null
>     } | null,
>     removeTag?: {
>       value?: string | null
>     } | null,
>     sendEmail?: {
>       contentID?: string | null,
>       isSkipAllowed?: boolean | null,
>       language?: string | null,
>       preheader?: string | null,
>       replyToEmail?: string | null,
>       senderEmail?: string | null,
>       senderName?: string | null,
>       subject?: string | null
>     } | null,
>     sendPush?: {
>       body?: string | null,
>       clickUrl?: string | null,
>       iconID?: string | null,
>       imageID?: string | null,
>       isSkipAllowed?: boolean | null,
>       title?: string | null
>     } | null,
>     sendSms?: {
>       compliance?: {
>         isStopKeywordIncluded?: boolean | null,
>         isUnsubscribeLinkIncluded?: boolean | null,
>         stopKeywordText?: string | null,
>         unsubscribeLinkText?: string | null
>       } | null,
>       discountSettings?: {
>         combinesWith?: {
>           isOrderCompatible?: boolean | null,
>           isProductCompatible?: boolean | null,
>           isShippingCompatible?: boolean | null
>         } | null,
>         expiry?: {
>           dateFormat?: string | null,
>           expirationText?: string | null,
>           expiresInDays?: number | null
>         } | null,
>         isItemsOnSaleExcluded?: boolean | null,
>         scope?: {
>           collectionID?: number | null,
>           collectionType?: string | null,
>           conditions?: string | null,
>           minimumOrderAmount?: string | null
>         } | null,
>         type?: string | null,
>         value?: string | null
>       } | null,
>       imageID?: string | null,
>       isLinkShorteningEnabled?: boolean | null,
>       isSkipAllowed?: boolean | null,
>       message?: string | null
>     } | null,
>     sendWebhook?: {
>       body?: string | null,
>       callbackUrl?: string | null,
>       headers?: {
>         key?: string | null,
>         value?: string | null
>       }[] | null
>     } | null,
>     type?: string | null,
>     unsubscribe?: {
>       channels?: string[] | null
>     } | null
>   } | null,
>   delay?: {
>     allowedWeekdays?: string[] | null,
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null,
>     time?: string | null
>   } | null,
>   id?: string | null,
>   split?: {
>     falseBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: (recursive)[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null,
>     filterGroup?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         type?: string | null,
>         urlMatch?: {
>           operator?: string | null,
>           value?: string | null
>         } | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     } | null,
>     trueBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: (recursive)[] | null
>       } | null,
>       type?: string | null
>     }[] | null
>   } | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] exitConditions full type
>
> ```ts theme={null}
> {
>   event?: string | null,
>   filterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   origin?: string | null
> }[] | null
> ```

> [accordion] settings full type
>
> ```ts theme={null}
> {
>   discount?: {
>     combinesWith?: {
>       isOrderCompatible?: boolean | null,
>       isProductCompatible?: boolean | null,
>       isShippingCompatible?: boolean | null
>     } | null,
>     expiry?: {
>       dateFormat?: string | null,
>       expirationText?: string | null,
>       expiresInDays?: number | null
>     } | null,
>     isItemsOnSaleExcluded?: boolean | null,
>     scope?: {
>       collectionID?: number | null,
>       collectionType?: string | null,
>       conditions?: string | null,
>       minimumOrderAmount?: string | null
>     } | null,
>     type?: string | null,
>     value?: string | null
>   } | null,
>   frequencyLimiter?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null
>   } | null,
>   overlapLimiter?: {
>     automationIDs?: string[] | null,
>     mode?: string | null,
>     withinDays?: number | null
>   } | null,
>   sendingThresholds?: {
>     email?: string | null,
>     sms?: string | null
>   } | null
> } | null
> ```

> [accordion] trigger full type
>
> ```ts theme={null}
> {
>   audienceFilterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   condition?: {
>     event?: string | null,
>     filterGroups?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     }[] | null,
>     origin?: string | null
>   } | null,
>   inactivitySettings?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null
>   } | null
> } | null
> ```

***

### get

`automations.get`

Get automation workflow. Get a single automation workflow by ID.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.automations.get({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `blocks` | `object[] \| null` | No | Automation workflow blocks (actions, delays, splits, A/B tests). Omitted from list responses with `view=summary` unless `include=blocks` is passed. |
| `brandID` | `string \| null` | No | Brand identifier (read-only) |
| `createdAt` | `string \| null` | No | Automation creation timestamp (read-only) |
| `disabledAt` | `string \| null` | No | Timestamp when automation was disabled (read-only) |
| `enabledAt` | `string \| null` | No | Timestamp when automation was enabled (read-only) |
| `exitConditions` | `object[] \| null` | No | Exit conditions that remove contacts from the automation workflow (evaluated with OR logic) |
| `id` | `string \| null` | No | Automation workflow unique identifier (read-only) |
| `isEnabled` | `boolean \| null` | No | Whether the automation workflow is enabled (read-only). Controlled via enable/disable actions. |
| `name` | `string \| null` | No | Automation workflow name |
| `settings` | `object \| null` | No | Automation settings |
| `trigger` | `object \| null` | No | Automation trigger configuration |
| `updatedAt` | `string \| null` | No | Automation last update timestamp (read-only) |
| `url` | `string \| null` | No | Link to the automation workflow editor in the Omnisend app (read-only) |

> [accordion] blocks full type
>
> ```ts theme={null}
> {
>   abTesting?: {
>     aBlocks?: {
>       abTesting?: {
>         aBlocks?: (recursive)[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null,
>     aBlocksPercentage?: number | null,
>     bBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: (recursive)[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null
>   } | null,
>   action?: {
>     addTag?: {
>       value?: string | null
>     } | null,
>     removeTag?: {
>       value?: string | null
>     } | null,
>     sendEmail?: {
>       contentID?: string | null,
>       isSkipAllowed?: boolean | null,
>       language?: string | null,
>       preheader?: string | null,
>       replyToEmail?: string | null,
>       senderEmail?: string | null,
>       senderName?: string | null,
>       subject?: string | null
>     } | null,
>     sendPush?: {
>       body?: string | null,
>       clickUrl?: string | null,
>       iconID?: string | null,
>       imageID?: string | null,
>       isSkipAllowed?: boolean | null,
>       title?: string | null
>     } | null,
>     sendSms?: {
>       compliance?: {
>         isStopKeywordIncluded?: boolean | null,
>         isUnsubscribeLinkIncluded?: boolean | null,
>         stopKeywordText?: string | null,
>         unsubscribeLinkText?: string | null
>       } | null,
>       discountSettings?: {
>         combinesWith?: {
>           isOrderCompatible?: boolean | null,
>           isProductCompatible?: boolean | null,
>           isShippingCompatible?: boolean | null
>         } | null,
>         expiry?: {
>           dateFormat?: string | null,
>           expirationText?: string | null,
>           expiresInDays?: number | null
>         } | null,
>         isItemsOnSaleExcluded?: boolean | null,
>         scope?: {
>           collectionID?: number | null,
>           collectionType?: string | null,
>           conditions?: string | null,
>           minimumOrderAmount?: string | null
>         } | null,
>         type?: string | null,
>         value?: string | null
>       } | null,
>       imageID?: string | null,
>       isLinkShorteningEnabled?: boolean | null,
>       isSkipAllowed?: boolean | null,
>       message?: string | null
>     } | null,
>     sendWebhook?: {
>       body?: string | null,
>       callbackUrl?: string | null,
>       headers?: {
>         key?: string | null,
>         value?: string | null
>       }[] | null
>     } | null,
>     type?: string | null,
>     unsubscribe?: {
>       channels?: string[] | null
>     } | null
>   } | null,
>   delay?: {
>     allowedWeekdays?: string[] | null,
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null,
>     time?: string | null
>   } | null,
>   id?: string | null,
>   split?: {
>     falseBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: (recursive)[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       type?: string | null
>     }[] | null,
>     filterGroup?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         type?: string | null,
>         urlMatch?: {
>           operator?: string | null,
>           value?: string | null
>         } | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     } | null,
>     trueBlocks?: {
>       abTesting?: {
>         aBlocks?: {
>           abTesting?: {
>             aBlocks?: (recursive)[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         aBlocksPercentage?: number | null,
>         bBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: (recursive)[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null
>       } | null,
>       action?: {
>         addTag?: {
>           value?: string | null
>         } | null,
>         removeTag?: {
>           value?: string | null
>         } | null,
>         sendEmail?: {
>           contentID?: string | null,
>           isSkipAllowed?: boolean | null,
>           language?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null,
>         sendPush?: {
>           body?: string | null,
>           clickUrl?: string | null,
>           iconID?: string | null,
>           imageID?: string | null,
>           isSkipAllowed?: boolean | null,
>           title?: string | null
>         } | null,
>         sendSms?: {
>           compliance?: {
>             isStopKeywordIncluded?: boolean | null,
>             isUnsubscribeLinkIncluded?: boolean | null,
>             stopKeywordText?: string | null,
>             unsubscribeLinkText?: string | null
>           } | null,
>           discountSettings?: {
>             combinesWith?: {
>               isOrderCompatible?: boolean | null,
>               isProductCompatible?: boolean | null,
>               isShippingCompatible?: boolean | null
>             } | null,
>             expiry?: {
>               dateFormat?: string | null,
>               expirationText?: string | null,
>               expiresInDays?: number | null
>             } | null,
>             isItemsOnSaleExcluded?: boolean | null,
>             scope?: {
>               collectionID?: number | null,
>               collectionType?: string | null,
>               conditions?: string | null,
>               minimumOrderAmount?: string | null
>             } | null,
>             type?: string | null,
>             value?: string | null
>           } | null,
>           imageID?: string | null,
>           isLinkShorteningEnabled?: boolean | null,
>           isSkipAllowed?: boolean | null,
>           message?: string | null
>         } | null,
>         sendWebhook?: {
>           body?: string | null,
>           callbackUrl?: string | null,
>           headers?: {
>             key?: string | null,
>             value?: string | null
>           }[] | null
>         } | null,
>         type?: string | null,
>         unsubscribe?: {
>           channels?: string[] | null
>         } | null
>       } | null,
>       delay?: {
>         allowedWeekdays?: string[] | null,
>         duration?: {
>           amount?: number | null,
>           units?: string | null
>         } | null,
>         mode?: string | null,
>         time?: string | null
>       } | null,
>       id?: string | null,
>       split?: {
>         falseBlocks?: {
>           abTesting?: {
>             aBlocks?: {
>               abTesting?: {
>                 aBlocks?: (recursive)[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null,
>             aBlocksPercentage?: number | null,
>             bBlocks?: {
>               abTesting?: {
>                 aBlocks?: {
>                   abTesting?: {
>                     aBlocks?: (recursive)[] | null,
>                     aBlocksPercentage?: number | null,
>                     bBlocks?: (recursive)[] | null
>                   } | null,
>                   action?: {
>                     addTag?: {
>                       value?: string | null
>                     } | null,
>                     removeTag?: {
>                       value?: string | null
>                     } | null,
>                     sendEmail?: {
>                       contentID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       language?: string | null,
>                       preheader?: string | null,
>                       replyToEmail?: string | null,
>                       senderEmail?: string | null,
>                       senderName?: string | null,
>                       subject?: string | null
>                     } | null,
>                     sendPush?: {
>                       body?: string | null,
>                       clickUrl?: string | null,
>                       iconID?: string | null,
>                       imageID?: string | null,
>                       isSkipAllowed?: boolean | null,
>                       title?: string | null
>                     } | null,
>                     sendSms?: {
>                       compliance?: {
>                         isStopKeywordIncluded?: boolean | null,
>                         isUnsubscribeLinkIncluded?: boolean | null,
>                         stopKeywordText?: string | null,
>                         unsubscribeLinkText?: string | null
>                       } | null,
>                       discountSettings?: {
>                         combinesWith?: {
>                           isOrderCompatible?: boolean | null,
>                           isProductCompatible?: boolean | null,
>                           isShippingCompatible?: boolean | null
>                         } | null,
>                         expiry?: {
>                           dateFormat?: string | null,
>                           expirationText?: string | null,
>                           expiresInDays?: number | null
>                         } | null,
>                         isItemsOnSaleExcluded?: boolean | null,
>                         scope?: {
>                           collectionID?: number | null,
>                           collectionType?: string | null,
>                           conditions?: string | null,
>                           minimumOrderAmount?: string | null
>                         } | null,
>                         type?: string | null,
>                         value?: string | null
>                       } | null,
>                       imageID?: string | null,
>                       isLinkShorteningEnabled?: boolean | null,
>                       isSkipAllowed?: boolean | null,
>                       message?: string | null
>                     } | null,
>                     sendWebhook?: {
>                       body?: string | null,
>                       callbackUrl?: string | null,
>                       headers?: {
>                         key?: string | null,
>                         value?: string | null
>                       }[] | null
>                     } | null,
>                     type?: string | null,
>                     unsubscribe?: {
>                       channels?: string[] | null
>                     } | null
>                   } | null,
>                   delay?: {
>                     allowedWeekdays?: string[] | null,
>                     duration?: {
>                       amount?: number | null,
>                       units?: string | null
>                     } | null,
>                     mode?: string | null,
>                     time?: string | null
>                   } | null,
>                   id?: string | null,
>                   split?: {
>                     falseBlocks?: (recursive)[] | null,
>                     filterGroup?: {
>                       filters?: {
>                         field?: string | null,
>                         operator?: string | null,
>                         type?: string | null,
>                         urlMatch?: {
>                           operator?: string | null,
>                           value?: string | null
>                         } | null,
>                         value?: any | null
>                       }[] | null,
>                       logicalOperator?: string | null
>                     } | null,
>                     trueBlocks?: (recursive)[] | null
>                   } | null,
>                   type?: string | null
>                 }[] | null,
>                 aBlocksPercentage?: number | null,
>                 bBlocks?: (recursive)[] | null
>               } | null,
>               action?: {
>                 addTag?: {
>                   value?: string | null
>                 } | null,
>                 removeTag?: {
>                   value?: string | null
>                 } | null,
>                 sendEmail?: {
>                   contentID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   language?: string | null,
>                   preheader?: string | null,
>                   replyToEmail?: string | null,
>                   senderEmail?: string | null,
>                   senderName?: string | null,
>                   subject?: string | null
>                 } | null,
>                 sendPush?: {
>                   body?: string | null,
>                   clickUrl?: string | null,
>                   iconID?: string | null,
>                   imageID?: string | null,
>                   isSkipAllowed?: boolean | null,
>                   title?: string | null
>                 } | null,
>                 sendSms?: {
>                   compliance?: {
>                     isStopKeywordIncluded?: boolean | null,
>                     isUnsubscribeLinkIncluded?: boolean | null,
>                     stopKeywordText?: string | null,
>                     unsubscribeLinkText?: string | null
>                   } | null,
>                   discountSettings?: {
>                     combinesWith?: {
>                       isOrderCompatible?: boolean | null,
>                       isProductCompatible?: boolean | null,
>                       isShippingCompatible?: boolean | null
>                     } | null,
>                     expiry?: {
>                       dateFormat?: string | null,
>                       expirationText?: string | null,
>                       expiresInDays?: number | null
>                     } | null,
>                     isItemsOnSaleExcluded?: boolean | null,
>                     scope?: {
>                       collectionID?: number | null,
>                       collectionType?: string | null,
>                       conditions?: string | null,
>                       minimumOrderAmount?: string | null
>                     } | null,
>                     type?: string | null,
>                     value?: string | null
>                   } | null,
>                   imageID?: string | null,
>                   isLinkShorteningEnabled?: boolean | null,
>                   isSkipAllowed?: boolean | null,
>                   message?: string | null
>                 } | null,
>                 sendWebhook?: {
>                   body?: string | null,
>                   callbackUrl?: string | null,
>                   headers?: {
>                     key?: string | null,
>                     value?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null,
>                 unsubscribe?: {
>                   channels?: string[] | null
>                 } | null
>               } | null,
>               delay?: {
>                 allowedWeekdays?: string[] | null,
>                 duration?: {
>                   amount?: number | null,
>                   units?: string | null
>                 } | null,
>                 mode?: string | null,
>                 time?: string | null
>               } | null,
>               id?: string | null,
>               split?: {
>                 falseBlocks?: (recursive)[] | null,
>                 filterGroup?: {
>                   filters?: {
>                     field?: string | null,
>                     operator?: string | null,
>                     type?: string | null,
>                     urlMatch?: {
>                       operator?: string | null,
>                       value?: string | null
>                     } | null,
>                     value?: any | null
>                   }[] | null,
>                   logicalOperator?: string | null
>                 } | null,
>                 trueBlocks?: (recursive)[] | null
>               } | null,
>               type?: string | null
>             }[] | null
>           } | null,
>           action?: {
>             addTag?: {
>               value?: string | null
>             } | null,
>             removeTag?: {
>               value?: string | null
>             } | null,
>             sendEmail?: {
>               contentID?: string | null,
>               isSkipAllowed?: boolean | null,
>               language?: string | null,
>               preheader?: string | null,
>               replyToEmail?: string | null,
>               senderEmail?: string | null,
>               senderName?: string | null,
>               subject?: string | null
>             } | null,
>             sendPush?: {
>               body?: string | null,
>               clickUrl?: string | null,
>               iconID?: string | null,
>               imageID?: string | null,
>               isSkipAllowed?: boolean | null,
>               title?: string | null
>             } | null,
>             sendSms?: {
>               compliance?: {
>                 isStopKeywordIncluded?: boolean | null,
>                 isUnsubscribeLinkIncluded?: boolean | null,
>                 stopKeywordText?: string | null,
>                 unsubscribeLinkText?: string | null
>               } | null,
>               discountSettings?: {
>                 combinesWith?: {
>                   isOrderCompatible?: boolean | null,
>                   isProductCompatible?: boolean | null,
>                   isShippingCompatible?: boolean | null
>                 } | null,
>                 expiry?: {
>                   dateFormat?: string | null,
>                   expirationText?: string | null,
>                   expiresInDays?: number | null
>                 } | null,
>                 isItemsOnSaleExcluded?: boolean | null,
>                 scope?: {
>                   collectionID?: number | null,
>                   collectionType?: string | null,
>                   conditions?: string | null,
>                   minimumOrderAmount?: string | null
>                 } | null,
>                 type?: string | null,
>                 value?: string | null
>               } | null,
>               imageID?: string | null,
>               isLinkShorteningEnabled?: boolean | null,
>               isSkipAllowed?: boolean | null,
>               message?: string | null
>             } | null,
>             sendWebhook?: {
>               body?: string | null,
>               callbackUrl?: string | null,
>               headers?: {
>                 key?: string | null,
>                 value?: string | null
>               }[] | null
>             } | null,
>             type?: string | null,
>             unsubscribe?: {
>               channels?: string[] | null
>             } | null
>           } | null,
>           delay?: {
>             allowedWeekdays?: string[] | null,
>             duration?: {
>               amount?: number | null,
>               units?: string | null
>             } | null,
>             mode?: string | null,
>             time?: string | null
>           } | null,
>           id?: string | null,
>           split?: {
>             falseBlocks?: (recursive)[] | null,
>             filterGroup?: {
>               filters?: {
>                 field?: string | null,
>                 operator?: string | null,
>                 type?: string | null,
>                 urlMatch?: {
>                   operator?: string | null,
>                   value?: string | null
>                 } | null,
>                 value?: any | null
>               }[] | null,
>               logicalOperator?: string | null
>             } | null,
>             trueBlocks?: (recursive)[] | null
>           } | null,
>           type?: string | null
>         }[] | null,
>         filterGroup?: {
>           filters?: {
>             field?: string | null,
>             operator?: string | null,
>             type?: string | null,
>             urlMatch?: {
>               operator?: string | null,
>               value?: string | null
>             } | null,
>             value?: any | null
>           }[] | null,
>           logicalOperator?: string | null
>         } | null,
>         trueBlocks?: (recursive)[] | null
>       } | null,
>       type?: string | null
>     }[] | null
>   } | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] exitConditions full type
>
> ```ts theme={null}
> {
>   event?: string | null,
>   filterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   origin?: string | null
> }[] | null
> ```

> [accordion] settings full type
>
> ```ts theme={null}
> {
>   discount?: {
>     combinesWith?: {
>       isOrderCompatible?: boolean | null,
>       isProductCompatible?: boolean | null,
>       isShippingCompatible?: boolean | null
>     } | null,
>     expiry?: {
>       dateFormat?: string | null,
>       expirationText?: string | null,
>       expiresInDays?: number | null
>     } | null,
>     isItemsOnSaleExcluded?: boolean | null,
>     scope?: {
>       collectionID?: number | null,
>       collectionType?: string | null,
>       conditions?: string | null,
>       minimumOrderAmount?: string | null
>     } | null,
>     type?: string | null,
>     value?: string | null
>   } | null,
>   frequencyLimiter?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null
>   } | null,
>   overlapLimiter?: {
>     automationIDs?: string[] | null,
>     mode?: string | null,
>     withinDays?: number | null
>   } | null,
>   sendingThresholds?: {
>     email?: string | null,
>     sms?: string | null
>   } | null
> } | null
> ```

> [accordion] trigger full type
>
> ```ts theme={null}
> {
>   audienceFilterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   condition?: {
>     event?: string | null,
>     filterGroups?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     }[] | null,
>     origin?: string | null
>   } | null,
>   inactivitySettings?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null
>   } | null
> } | null
> ```

***

### getBlockUtm

`automations.getBlockUtm`

Get UTM tags for an automation block. Retrieve UTM tracking tags for a specific send-action block. Missing or cleared tags are returned with their default values.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.automations.getBlockUtm({ id: '6650a1b2c3d4e5f6a7b8c9d0', blockID: 'block-1' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |
| `blockID` | `string` | Yes | Block identifier |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `tags` | `object \| null` | No | UTM tag values |

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   campaign?: string | null,
>   medium?: string | null,
>   source?: string | null
> } | null
> ```

***

### getSchedule

`automations.getSchedule`

Get automation workflow schedule. Get the scheduled start and end of an automation workflow. Returns 204 No Content when the workflow has no schedule.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.automations.getSchedule({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   contactsInWorkflow?: string | null,
>   endAt?: string | null,
>   startAt?: string | null,
>   startFailedAt?: string | null
> } | {
>   success: true
> }
> ```

***

### getUtm

`automations.getUtm`

Get aggregated UTM tags for all blocks. Retrieve UTM tracking tags for all send-action blocks in an automation. Each block's tags include default-value synthesis for missing fields.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.automations.getUtm({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `blocks` | `object[] \| null` | No | UTM tags per send-action block |

> [accordion] blocks full type
>
> ```ts theme={null}
> {
>   blockID?: string | null,
>   tags?: {
>     campaign?: string | null,
>     medium?: string | null,
>     source?: string | null
>   } | null
> }[] | null
> ```

***

### list

`automations.list`

List automation workflows. List automation workflows with filtering, sorting, and cursor-based pagination.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.automations.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Number of items per page. Range: 1-250. Default: 100 |
| `after` | `string` | No | Opaque cursor for the next page |
| `before` | `string` | No | Opaque cursor for the previous page |
| `sort` | `createdAt \| updatedAt` | No | Sort field. Default: createdAt |
| `direction` | `asc \| desc` | No | Sort direction. Default: desc |
| `isEnabled` | `boolean` | No | If true, only enabled automations; if false, only disabled. Omit for no filter. |
| `nameContains` | `string` | No | Filter by name (partial match, max 200 characters) |
| `createdAtFrom` | `string` | No | Filter automations created after this timestamp (ISO 8601, e.g. 2026-01-01T00:00:00Z) |
| `createdAtTo` | `string` | No | Filter automations created before this timestamp (ISO 8601, e.g. 2026-01-01T00:00:00Z) |
| `updatedAtFrom` | `string` | No | Filter automations updated after this timestamp (ISO 8601, e.g. 2026-01-01T00:00:00Z) |
| `updatedAtTo` | `string` | No | Filter automations updated before this timestamp (ISO 8601, e.g. 2026-01-01T00:00:00Z) |
| `view` | `summary` | No | Response shape. `summary` omits the heavy `blocks` tree from every item. Omit for the full representation. |
| `include` | `blocks[]` | No | Heavy sections to keep in summary view (repeatable or comma-separated): `blocks` (full workflow blocks tree). Only meaningful together with `view=summary`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `automations` | `object[] \| null` | No | List of automations |
| `paging` | `object \| null` | No | Pagination information |

> [accordion] automations full type
>
> ```ts theme={null}
> {
>   blocks?: {
>     abTesting?: {
>       aBlocks?: {
>         abTesting?: {
>           aBlocks?: (recursive)[] | null,
>           aBlocksPercentage?: number | null,
>           bBlocks?: {
>             abTesting?: {
>               aBlocks?: (recursive)[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: (recursive)[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             type?: string | null
>           }[] | null
>         } | null,
>         action?: {
>           addTag?: {
>             value?: string | null
>           } | null,
>           removeTag?: {
>             value?: string | null
>           } | null,
>           sendEmail?: {
>             contentID?: string | null,
>             isSkipAllowed?: boolean | null,
>             language?: string | null,
>             preheader?: string | null,
>             replyToEmail?: string | null,
>             senderEmail?: string | null,
>             senderName?: string | null,
>             subject?: string | null
>           } | null,
>           sendPush?: {
>             body?: string | null,
>             clickUrl?: string | null,
>             iconID?: string | null,
>             imageID?: string | null,
>             isSkipAllowed?: boolean | null,
>             title?: string | null
>           } | null,
>           sendSms?: {
>             compliance?: {
>               isStopKeywordIncluded?: boolean | null,
>               isUnsubscribeLinkIncluded?: boolean | null,
>               stopKeywordText?: string | null,
>               unsubscribeLinkText?: string | null
>             } | null,
>             discountSettings?: {
>               combinesWith?: {
>                 isOrderCompatible?: boolean | null,
>                 isProductCompatible?: boolean | null,
>                 isShippingCompatible?: boolean | null
>               } | null,
>               expiry?: {
>                 dateFormat?: string | null,
>                 expirationText?: string | null,
>                 expiresInDays?: number | null
>               } | null,
>               isItemsOnSaleExcluded?: boolean | null,
>               scope?: {
>                 collectionID?: number | null,
>                 collectionType?: string | null,
>                 conditions?: string | null,
>                 minimumOrderAmount?: string | null
>               } | null,
>               type?: string | null,
>               value?: string | null
>             } | null,
>             imageID?: string | null,
>             isLinkShorteningEnabled?: boolean | null,
>             isSkipAllowed?: boolean | null,
>             message?: string | null
>           } | null,
>           sendWebhook?: {
>             body?: string | null,
>             callbackUrl?: string | null,
>             headers?: {
>               key?: string | null,
>               value?: string | null
>             }[] | null
>           } | null,
>           type?: string | null,
>           unsubscribe?: {
>             channels?: string[] | null
>           } | null
>         } | null,
>         delay?: {
>           allowedWeekdays?: string[] | null,
>           duration?: {
>             amount?: number | null,
>             units?: string | null
>           } | null,
>           mode?: string | null,
>           time?: string | null
>         } | null,
>         id?: string | null,
>         split?: {
>           falseBlocks?: {
>             abTesting?: {
>               aBlocks?: (recursive)[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: (recursive)[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             type?: string | null
>           }[] | null,
>           filterGroup?: {
>             filters?: {
>               field?: string | null,
>               operator?: string | null,
>               type?: string | null,
>               urlMatch?: {
>                 operator?: string | null,
>                 value?: string | null
>               } | null,
>               value?: any | null
>             }[] | null,
>             logicalOperator?: string | null
>           } | null,
>           trueBlocks?: {
>             abTesting?: {
>               aBlocks?: (recursive)[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: (recursive)[] | null
>             } | null,
>             type?: string | null
>           }[] | null
>         } | null,
>         type?: string | null
>       }[] | null,
>       aBlocksPercentage?: number | null,
>       bBlocks?: {
>         abTesting?: {
>           aBlocks?: {
>             abTesting?: {
>               aBlocks?: (recursive)[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: (recursive)[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             type?: string | null
>           }[] | null,
>           aBlocksPercentage?: number | null,
>           bBlocks?: (recursive)[] | null
>         } | null,
>         action?: {
>           addTag?: {
>             value?: string | null
>           } | null,
>           removeTag?: {
>             value?: string | null
>           } | null,
>           sendEmail?: {
>             contentID?: string | null,
>             isSkipAllowed?: boolean | null,
>             language?: string | null,
>             preheader?: string | null,
>             replyToEmail?: string | null,
>             senderEmail?: string | null,
>             senderName?: string | null,
>             subject?: string | null
>           } | null,
>           sendPush?: {
>             body?: string | null,
>             clickUrl?: string | null,
>             iconID?: string | null,
>             imageID?: string | null,
>             isSkipAllowed?: boolean | null,
>             title?: string | null
>           } | null,
>           sendSms?: {
>             compliance?: {
>               isStopKeywordIncluded?: boolean | null,
>               isUnsubscribeLinkIncluded?: boolean | null,
>               stopKeywordText?: string | null,
>               unsubscribeLinkText?: string | null
>             } | null,
>             discountSettings?: {
>               combinesWith?: {
>                 isOrderCompatible?: boolean | null,
>                 isProductCompatible?: boolean | null,
>                 isShippingCompatible?: boolean | null
>               } | null,
>               expiry?: {
>                 dateFormat?: string | null,
>                 expirationText?: string | null,
>                 expiresInDays?: number | null
>               } | null,
>               isItemsOnSaleExcluded?: boolean | null,
>               scope?: {
>                 collectionID?: number | null,
>                 collectionType?: string | null,
>                 conditions?: string | null,
>                 minimumOrderAmount?: string | null
>               } | null,
>               type?: string | null,
>               value?: string | null
>             } | null,
>             imageID?: string | null,
>             isLinkShorteningEnabled?: boolean | null,
>             isSkipAllowed?: boolean | null,
>             message?: string | null
>           } | null,
>           sendWebhook?: {
>             body?: string | null,
>             callbackUrl?: string | null,
>             headers?: {
>               key?: string | null,
>               value?: string | null
>             }[] | null
>           } | null,
>           type?: string | null,
>           unsubscribe?: {
>             channels?: string[] | null
>           } | null
>         } | null,
>         delay?: {
>           allowedWeekdays?: string[] | null,
>           duration?: {
>             amount?: number | null,
>             units?: string | null
>           } | null,
>           mode?: string | null,
>           time?: string | null
>         } | null,
>         id?: string | null,
>         split?: {
>           falseBlocks?: {
>             abTesting?: {
>               aBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: (recursive)[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: (recursive)[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: {
>                 abTesting?: {
>                   aBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             type?: string | null
>           }[] | null,
>           filterGroup?: {
>             filters?: {
>               field?: string | null,
>               operator?: string | null,
>               type?: string | null,
>               urlMatch?: {
>                 operator?: string | null,
>                 value?: string | null
>               } | null,
>               value?: any | null
>             }[] | null,
>             logicalOperator?: string | null
>           } | null,
>           trueBlocks?: {
>             abTesting?: {
>               aBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: (recursive)[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: {
>                 abTesting?: {
>                   aBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: (recursive)[] | null
>             } | null,
>             type?: string | null
>           }[] | null
>         } | null,
>         type?: string | null
>       }[] | null
>     } | null,
>     action?: {
>       addTag?: {
>         value?: string | null
>       } | null,
>       removeTag?: {
>         value?: string | null
>       } | null,
>       sendEmail?: {
>         contentID?: string | null,
>         isSkipAllowed?: boolean | null,
>         language?: string | null,
>         preheader?: string | null,
>         replyToEmail?: string | null,
>         senderEmail?: string | null,
>         senderName?: string | null,
>         subject?: string | null
>       } | null,
>       sendPush?: {
>         body?: string | null,
>         clickUrl?: string | null,
>         iconID?: string | null,
>         imageID?: string | null,
>         isSkipAllowed?: boolean | null,
>         title?: string | null
>       } | null,
>       sendSms?: {
>         compliance?: {
>           isStopKeywordIncluded?: boolean | null,
>           isUnsubscribeLinkIncluded?: boolean | null,
>           stopKeywordText?: string | null,
>           unsubscribeLinkText?: string | null
>         } | null,
>         discountSettings?: {
>           combinesWith?: {
>             isOrderCompatible?: boolean | null,
>             isProductCompatible?: boolean | null,
>             isShippingCompatible?: boolean | null
>           } | null,
>           expiry?: {
>             dateFormat?: string | null,
>             expirationText?: string | null,
>             expiresInDays?: number | null
>           } | null,
>           isItemsOnSaleExcluded?: boolean | null,
>           scope?: {
>             collectionID?: number | null,
>             collectionType?: string | null,
>             conditions?: string | null,
>             minimumOrderAmount?: string | null
>           } | null,
>           type?: string | null,
>           value?: string | null
>         } | null,
>         imageID?: string | null,
>         isLinkShorteningEnabled?: boolean | null,
>         isSkipAllowed?: boolean | null,
>         message?: string | null
>       } | null,
>       sendWebhook?: {
>         body?: string | null,
>         callbackUrl?: string | null,
>         headers?: {
>           key?: string | null,
>           value?: string | null
>         }[] | null
>       } | null,
>       type?: string | null,
>       unsubscribe?: {
>         channels?: string[] | null
>       } | null
>     } | null,
>     delay?: {
>       allowedWeekdays?: string[] | null,
>       duration?: {
>         amount?: number | null,
>         units?: string | null
>       } | null,
>       mode?: string | null,
>       time?: string | null
>     } | null,
>     id?: string | null,
>     split?: {
>       falseBlocks?: {
>         abTesting?: {
>           aBlocks?: {
>             abTesting?: {
>               aBlocks?: (recursive)[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: (recursive)[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             type?: string | null
>           }[] | null,
>           aBlocksPercentage?: number | null,
>           bBlocks?: {
>             abTesting?: {
>               aBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: (recursive)[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: (recursive)[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: {
>                 abTesting?: {
>                   aBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             type?: string | null
>           }[] | null
>         } | null,
>         action?: {
>           addTag?: {
>             value?: string | null
>           } | null,
>           removeTag?: {
>             value?: string | null
>           } | null,
>           sendEmail?: {
>             contentID?: string | null,
>             isSkipAllowed?: boolean | null,
>             language?: string | null,
>             preheader?: string | null,
>             replyToEmail?: string | null,
>             senderEmail?: string | null,
>             senderName?: string | null,
>             subject?: string | null
>           } | null,
>           sendPush?: {
>             body?: string | null,
>             clickUrl?: string | null,
>             iconID?: string | null,
>             imageID?: string | null,
>             isSkipAllowed?: boolean | null,
>             title?: string | null
>           } | null,
>           sendSms?: {
>             compliance?: {
>               isStopKeywordIncluded?: boolean | null,
>               isUnsubscribeLinkIncluded?: boolean | null,
>               stopKeywordText?: string | null,
>               unsubscribeLinkText?: string | null
>             } | null,
>             discountSettings?: {
>               combinesWith?: {
>                 isOrderCompatible?: boolean | null,
>                 isProductCompatible?: boolean | null,
>                 isShippingCompatible?: boolean | null
>               } | null,
>               expiry?: {
>                 dateFormat?: string | null,
>                 expirationText?: string | null,
>                 expiresInDays?: number | null
>               } | null,
>               isItemsOnSaleExcluded?: boolean | null,
>               scope?: {
>                 collectionID?: number | null,
>                 collectionType?: string | null,
>                 conditions?: string | null,
>                 minimumOrderAmount?: string | null
>               } | null,
>               type?: string | null,
>               value?: string | null
>             } | null,
>             imageID?: string | null,
>             isLinkShorteningEnabled?: boolean | null,
>             isSkipAllowed?: boolean | null,
>             message?: string | null
>           } | null,
>           sendWebhook?: {
>             body?: string | null,
>             callbackUrl?: string | null,
>             headers?: {
>               key?: string | null,
>               value?: string | null
>             }[] | null
>           } | null,
>           type?: string | null,
>           unsubscribe?: {
>             channels?: string[] | null
>           } | null
>         } | null,
>         delay?: {
>           allowedWeekdays?: string[] | null,
>           duration?: {
>             amount?: number | null,
>             units?: string | null
>           } | null,
>           mode?: string | null,
>           time?: string | null
>         } | null,
>         id?: string | null,
>         split?: {
>           falseBlocks?: (recursive)[] | null,
>           filterGroup?: {
>             filters?: {
>               field?: string | null,
>               operator?: string | null,
>               type?: string | null,
>               urlMatch?: {
>                 operator?: string | null,
>                 value?: string | null
>               } | null,
>               value?: any | null
>             }[] | null,
>             logicalOperator?: string | null
>           } | null,
>           trueBlocks?: {
>             abTesting?: {
>               aBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: {
>                 abTesting?: {
>                   aBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: (recursive)[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: (recursive)[] | null
>             } | null,
>             type?: string | null
>           }[] | null
>         } | null,
>         type?: string | null
>       }[] | null,
>       filterGroup?: {
>         filters?: {
>           field?: string | null,
>           operator?: string | null,
>           type?: string | null,
>           urlMatch?: {
>             operator?: string | null,
>             value?: string | null
>           } | null,
>           value?: any | null
>         }[] | null,
>         logicalOperator?: string | null
>       } | null,
>       trueBlocks?: {
>         abTesting?: {
>           aBlocks?: {
>             abTesting?: {
>               aBlocks?: (recursive)[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: (recursive)[] | null
>             } | null,
>             type?: string | null
>           }[] | null,
>           aBlocksPercentage?: number | null,
>           bBlocks?: {
>             abTesting?: {
>               aBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: (recursive)[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: {
>                 abTesting?: {
>                   aBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: (recursive)[] | null
>             } | null,
>             type?: string | null
>           }[] | null
>         } | null,
>         action?: {
>           addTag?: {
>             value?: string | null
>           } | null,
>           removeTag?: {
>             value?: string | null
>           } | null,
>           sendEmail?: {
>             contentID?: string | null,
>             isSkipAllowed?: boolean | null,
>             language?: string | null,
>             preheader?: string | null,
>             replyToEmail?: string | null,
>             senderEmail?: string | null,
>             senderName?: string | null,
>             subject?: string | null
>           } | null,
>           sendPush?: {
>             body?: string | null,
>             clickUrl?: string | null,
>             iconID?: string | null,
>             imageID?: string | null,
>             isSkipAllowed?: boolean | null,
>             title?: string | null
>           } | null,
>           sendSms?: {
>             compliance?: {
>               isStopKeywordIncluded?: boolean | null,
>               isUnsubscribeLinkIncluded?: boolean | null,
>               stopKeywordText?: string | null,
>               unsubscribeLinkText?: string | null
>             } | null,
>             discountSettings?: {
>               combinesWith?: {
>                 isOrderCompatible?: boolean | null,
>                 isProductCompatible?: boolean | null,
>                 isShippingCompatible?: boolean | null
>               } | null,
>               expiry?: {
>                 dateFormat?: string | null,
>                 expirationText?: string | null,
>                 expiresInDays?: number | null
>               } | null,
>               isItemsOnSaleExcluded?: boolean | null,
>               scope?: {
>                 collectionID?: number | null,
>                 collectionType?: string | null,
>                 conditions?: string | null,
>                 minimumOrderAmount?: string | null
>               } | null,
>               type?: string | null,
>               value?: string | null
>             } | null,
>             imageID?: string | null,
>             isLinkShorteningEnabled?: boolean | null,
>             isSkipAllowed?: boolean | null,
>             message?: string | null
>           } | null,
>           sendWebhook?: {
>             body?: string | null,
>             callbackUrl?: string | null,
>             headers?: {
>               key?: string | null,
>               value?: string | null
>             }[] | null
>           } | null,
>           type?: string | null,
>           unsubscribe?: {
>             channels?: string[] | null
>           } | null
>         } | null,
>         delay?: {
>           allowedWeekdays?: string[] | null,
>           duration?: {
>             amount?: number | null,
>             units?: string | null
>           } | null,
>           mode?: string | null,
>           time?: string | null
>         } | null,
>         id?: string | null,
>         split?: {
>           falseBlocks?: {
>             abTesting?: {
>               aBlocks?: {
>                 abTesting?: {
>                   aBlocks?: (recursive)[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null,
>               aBlocksPercentage?: number | null,
>               bBlocks?: {
>                 abTesting?: {
>                   aBlocks?: {
>                     abTesting?: {
>                       aBlocks?: (recursive)[] | null,
>                       aBlocksPercentage?: number | null,
>                       bBlocks?: (recursive)[] | null
>                     } | null,
>                     action?: {
>                       addTag?: {
>                         value?: string | null
>                       } | null,
>                       removeTag?: {
>                         value?: string | null
>                       } | null,
>                       sendEmail?: {
>                         contentID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         language?: string | null,
>                         preheader?: string | null,
>                         replyToEmail?: string | null,
>                         senderEmail?: string | null,
>                         senderName?: string | null,
>                         subject?: string | null
>                       } | null,
>                       sendPush?: {
>                         body?: string | null,
>                         clickUrl?: string | null,
>                         iconID?: string | null,
>                         imageID?: string | null,
>                         isSkipAllowed?: boolean | null,
>                         title?: string | null
>                       } | null,
>                       sendSms?: {
>                         compliance?: {
>                           isStopKeywordIncluded?: boolean | null,
>                           isUnsubscribeLinkIncluded?: boolean | null,
>                           stopKeywordText?: string | null,
>                           unsubscribeLinkText?: string | null
>                         } | null,
>                         discountSettings?: {
>                           combinesWith?: {
>                             isOrderCompatible?: boolean | null,
>                             isProductCompatible?: boolean | null,
>                             isShippingCompatible?: boolean | null
>                           } | null,
>                           expiry?: {
>                             dateFormat?: string | null,
>                             expirationText?: string | null,
>                             expiresInDays?: number | null
>                           } | null,
>                           isItemsOnSaleExcluded?: boolean | null,
>                           scope?: {
>                             collectionID?: number | null,
>                             collectionType?: string | null,
>                             conditions?: string | null,
>                             minimumOrderAmount?: string | null
>                           } | null,
>                           type?: string | null,
>                           value?: string | null
>                         } | null,
>                         imageID?: string | null,
>                         isLinkShorteningEnabled?: boolean | null,
>                         isSkipAllowed?: boolean | null,
>                         message?: string | null
>                       } | null,
>                       sendWebhook?: {
>                         body?: string | null,
>                         callbackUrl?: string | null,
>                         headers?: {
>                           key?: string | null,
>                           value?: string | null
>                         }[] | null
>                       } | null,
>                       type?: string | null,
>                       unsubscribe?: {
>                         channels?: string[] | null
>                       } | null
>                     } | null,
>                     delay?: {
>                       allowedWeekdays?: string[] | null,
>                       duration?: {
>                         amount?: number | null,
>                         units?: string | null
>                       } | null,
>                       mode?: string | null,
>                       time?: string | null
>                     } | null,
>                     id?: string | null,
>                     split?: {
>                       falseBlocks?: (recursive)[] | null,
>                       filterGroup?: {
>                         filters?: {
>                           field?: string | null,
>                           operator?: string | null,
>                           type?: string | null,
>                           urlMatch?: {
>                             operator?: string | null,
>                             value?: string | null
>                           } | null,
>                           value?: any | null
>                         }[] | null,
>                         logicalOperator?: string | null
>                       } | null,
>                       trueBlocks?: (recursive)[] | null
>                     } | null,
>                     type?: string | null
>                   }[] | null,
>                   aBlocksPercentage?: number | null,
>                   bBlocks?: (recursive)[] | null
>                 } | null,
>                 action?: {
>                   addTag?: {
>                     value?: string | null
>                   } | null,
>                   removeTag?: {
>                     value?: string | null
>                   } | null,
>                   sendEmail?: {
>                     contentID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     language?: string | null,
>                     preheader?: string | null,
>                     replyToEmail?: string | null,
>                     senderEmail?: string | null,
>                     senderName?: string | null,
>                     subject?: string | null
>                   } | null,
>                   sendPush?: {
>                     body?: string | null,
>                     clickUrl?: string | null,
>                     iconID?: string | null,
>                     imageID?: string | null,
>                     isSkipAllowed?: boolean | null,
>                     title?: string | null
>                   } | null,
>                   sendSms?: {
>                     compliance?: {
>                       isStopKeywordIncluded?: boolean | null,
>                       isUnsubscribeLinkIncluded?: boolean | null,
>                       stopKeywordText?: string | null,
>                       unsubscribeLinkText?: string | null
>                     } | null,
>                     discountSettings?: {
>                       combinesWith?: {
>                         isOrderCompatible?: boolean | null,
>                         isProductCompatible?: boolean | null,
>                         isShippingCompatible?: boolean | null
>                       } | null,
>                       expiry?: {
>                         dateFormat?: string | null,
>                         expirationText?: string | null,
>                         expiresInDays?: number | null
>                       } | null,
>                       isItemsOnSaleExcluded?: boolean | null,
>                       scope?: {
>                         collectionID?: number | null,
>                         collectionType?: string | null,
>                         conditions?: string | null,
>                         minimumOrderAmount?: string | null
>                       } | null,
>                       type?: string | null,
>                       value?: string | null
>                     } | null,
>                     imageID?: string | null,
>                     isLinkShorteningEnabled?: boolean | null,
>                     isSkipAllowed?: boolean | null,
>                     message?: string | null
>                   } | null,
>                   sendWebhook?: {
>                     body?: string | null,
>                     callbackUrl?: string | null,
>                     headers?: {
>                       key?: string | null,
>                       value?: string | null
>                     }[] | null
>                   } | null,
>                   type?: string | null,
>                   unsubscribe?: {
>                     channels?: string[] | null
>                   } | null
>                 } | null,
>                 delay?: {
>                   allowedWeekdays?: string[] | null,
>                   duration?: {
>                     amount?: number | null,
>                     units?: string | null
>                   } | null,
>                   mode?: string | null,
>                   time?: string | null
>                 } | null,
>                 id?: string | null,
>                 split?: {
>                   falseBlocks?: (recursive)[] | null,
>                   filterGroup?: {
>                     filters?: {
>                       field?: string | null,
>                       operator?: string | null,
>                       type?: string | null,
>                       urlMatch?: {
>                         operator?: string | null,
>                         value?: string | null
>                       } | null,
>                       value?: any | null
>                     }[] | null,
>                     logicalOperator?: string | null
>                   } | null,
>                   trueBlocks?: (recursive)[] | null
>                 } | null,
>                 type?: string | null
>               }[] | null
>             } | null,
>             action?: {
>               addTag?: {
>                 value?: string | null
>               } | null,
>               removeTag?: {
>                 value?: string | null
>               } | null,
>               sendEmail?: {
>                 contentID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 language?: string | null,
>                 preheader?: string | null,
>                 replyToEmail?: string | null,
>                 senderEmail?: string | null,
>                 senderName?: string | null,
>                 subject?: string | null
>               } | null,
>               sendPush?: {
>                 body?: string | null,
>                 clickUrl?: string | null,
>                 iconID?: string | null,
>                 imageID?: string | null,
>                 isSkipAllowed?: boolean | null,
>                 title?: string | null
>               } | null,
>               sendSms?: {
>                 compliance?: {
>                   isStopKeywordIncluded?: boolean | null,
>                   isUnsubscribeLinkIncluded?: boolean | null,
>                   stopKeywordText?: string | null,
>                   unsubscribeLinkText?: string | null
>                 } | null,
>                 discountSettings?: {
>                   combinesWith?: {
>                     isOrderCompatible?: boolean | null,
>                     isProductCompatible?: boolean | null,
>                     isShippingCompatible?: boolean | null
>                   } | null,
>                   expiry?: {
>                     dateFormat?: string | null,
>                     expirationText?: string | null,
>                     expiresInDays?: number | null
>                   } | null,
>                   isItemsOnSaleExcluded?: boolean | null,
>                   scope?: {
>                     collectionID?: number | null,
>                     collectionType?: string | null,
>                     conditions?: string | null,
>                     minimumOrderAmount?: string | null
>                   } | null,
>                   type?: string | null,
>                   value?: string | null
>                 } | null,
>                 imageID?: string | null,
>                 isLinkShorteningEnabled?: boolean | null,
>                 isSkipAllowed?: boolean | null,
>                 message?: string | null
>               } | null,
>               sendWebhook?: {
>                 body?: string | null,
>                 callbackUrl?: string | null,
>                 headers?: {
>                   key?: string | null,
>                   value?: string | null
>                 }[] | null
>               } | null,
>               type?: string | null,
>               unsubscribe?: {
>                 channels?: string[] | null
>               } | null
>             } | null,
>             delay?: {
>               allowedWeekdays?: string[] | null,
>               duration?: {
>                 amount?: number | null,
>                 units?: string | null
>               } | null,
>               mode?: string | null,
>               time?: string | null
>             } | null,
>             id?: string | null,
>             split?: {
>               falseBlocks?: (recursive)[] | null,
>               filterGroup?: {
>                 filters?: {
>                   field?: string | null,
>                   operator?: string | null,
>                   type?: string | null,
>                   urlMatch?: {
>                     operator?: string | null,
>                     value?: string | null
>                   } | null,
>                   value?: any | null
>                 }[] | null,
>                 logicalOperator?: string | null
>               } | null,
>               trueBlocks?: (recursive)[] | null
>             } | null,
>             type?: string | null
>           }[] | null,
>           filterGroup?: {
>             filters?: {
>               field?: string | null,
>               operator?: string | null,
>               type?: string | null,
>               urlMatch?: {
>                 operator?: string | null,
>                 value?: string | null
>               } | null,
>               value?: any | null
>             }[] | null,
>             logicalOperator?: string | null
>           } | null,
>           trueBlocks?: (recursive)[] | null
>         } | null,
>         type?: string | null
>       }[] | null
>     } | null,
>     type?: string | null
>   }[] | null,
>   brandID?: string | null,
>   createdAt?: string | null,
>   disabledAt?: string | null,
>   enabledAt?: string | null,
>   exitConditions?: {
>     event?: string | null,
>     filterGroup?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     } | null,
>     origin?: string | null
>   }[] | null,
>   id?: string | null,
>   isEnabled?: boolean | null,
>   name?: string | null,
>   settings?: {
>     discount?: {
>       combinesWith?: {
>         isOrderCompatible?: boolean | null,
>         isProductCompatible?: boolean | null,
>         isShippingCompatible?: boolean | null
>       } | null,
>       expiry?: {
>         dateFormat?: string | null,
>         expirationText?: string | null,
>         expiresInDays?: number | null
>       } | null,
>       isItemsOnSaleExcluded?: boolean | null,
>       scope?: {
>         collectionID?: number | null,
>         collectionType?: string | null,
>         conditions?: string | null,
>         minimumOrderAmount?: string | null
>       } | null,
>       type?: string | null,
>       value?: string | null
>     } | null,
>     frequencyLimiter?: {
>       duration?: {
>         amount?: number | null,
>         units?: string | null
>       } | null,
>       mode?: string | null
>     } | null,
>     overlapLimiter?: {
>       automationIDs?: string[] | null,
>       mode?: string | null,
>       withinDays?: number | null
>     } | null,
>     sendingThresholds?: {
>       email?: string | null,
>       sms?: string | null
>     } | null
>   } | null,
>   trigger?: {
>     audienceFilterGroup?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     } | null,
>     condition?: {
>       event?: string | null,
>       filterGroups?: {
>         filters?: {
>           field?: string | null,
>           operator?: string | null,
>           value?: any | null
>         }[] | null,
>         logicalOperator?: string | null
>       }[] | null,
>       origin?: string | null
>     } | null,
>     inactivitySettings?: {
>       duration?: {
>         amount?: number | null,
>         units?: string | null
>       } | null
>     } | null
>   } | null,
>   updatedAt?: string | null,
>   url?: string | null
> }[] | null
> ```

> [accordion] paging full type
>
> ```ts theme={null}
> {
>   cursors?: {
>     after?: string | null | null,
>     before?: string | null | null
>   } | null,
>   hasMore?: boolean | null,
>   limit?: number | null
> } | null
> ```

***

### replaceBlocks

`automations.replaceBlocks`

Replace automation workflow blocks. Replace the full block tree for an automation workflow. Blocks identified by id are updated in place. Blocks identified by temporaryID are created as new blocks. Existing blocks not included in this array are removed. Enabled automations cannot be restructured.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.automations.replaceBlocks({
	id: '6650a1b2c3d4e5f6a7b8c9d0',
	blocks: [{ type: 'delay' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |
| `blocks` | `object[]` | Yes | Full block list. Replaces the entire block tree. At least one block is required. Blocks with id update existing blocks; blocks with temporaryID create new ones. Existing blocks not included in this array are removed. |

```ts theme={null}
{
  abTesting?: {
    aBlocks?: {
      abTesting?: {
        aBlocks?: (recursive)[],
        aBlocksPercentage: number,
        bBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[],
            aBlocksPercentage: number,
            bBlocks?: (recursive)[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[]
      },
      action?: {
        addTag?: {
          value: string
        },
        removeTag?: {
          value: string
        },
        sendEmail?: {
          isSkipAllowed?: boolean,
          language: string,
          preheader: string,
          replyToEmail?: string,
          senderEmail?: string,
          senderName: string,
          subject: string,
          templateID?: string
        },
        sendPush?: {
          body: string,
          clickUrl: string,
          iconID?: string,
          imageID?: string,
          isSkipAllowed?: boolean,
          title: string
        },
        sendSms?: {
          compliance: {
            isStopKeywordIncluded?: boolean,
            isUnsubscribeLinkIncluded?: boolean,
            stopKeywordText?: string,
            unsubscribeLinkText?: string
          },
          imageID?: string,
          isLinkShorteningEnabled?: boolean,
          isSkipAllowed?: boolean,
          message: string
        },
        sendWebhook?: {
          body: string,
          callbackUrl: string,
          headers?: {
            key?: string,
            value?: string
          }[]
        },
        type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
        unsubscribe?: {
          channels: (email | sms | push)[]
        }
      },
      delay?: {
        allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
        duration?: {
          amount: number,
          units: m | h | d | w | M
        },
        mode: duration | immediate | specificTime,
        time?: string
      },
      id?: string,
      split?: {
        falseBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[],
            aBlocksPercentage: number,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: (recursive)[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[],
        filterGroup: {
          filters: {
            field: string,
            operator: string,
            type: event | contact | message,
            urlMatch?: {
              operator: any | is | contains | startsWith | endsWith,
              value?: string
            },
            value?: any
          }[],
          logicalOperator: and | or
        },
        trueBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[],
            aBlocksPercentage: number,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: (recursive)[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[]
      },
      temporaryID?: string,
      type: delay | action | split | abTesting
    }[],
    aBlocksPercentage: number,
    bBlocks?: {
      abTesting?: {
        aBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[],
            aBlocksPercentage: number,
            bBlocks?: (recursive)[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[],
        aBlocksPercentage: number,
        bBlocks?: (recursive)[]
      },
      action?: {
        addTag?: {
          value: string
        },
        removeTag?: {
          value: string
        },
        sendEmail?: {
          isSkipAllowed?: boolean,
          language: string,
          preheader: string,
          replyToEmail?: string,
          senderEmail?: string,
          senderName: string,
          subject: string,
          templateID?: string
        },
        sendPush?: {
          body: string,
          clickUrl: string,
          iconID?: string,
          imageID?: string,
          isSkipAllowed?: boolean,
          title: string
        },
        sendSms?: {
          compliance: {
            isStopKeywordIncluded?: boolean,
            isUnsubscribeLinkIncluded?: boolean,
            stopKeywordText?: string,
            unsubscribeLinkText?: string
          },
          imageID?: string,
          isLinkShorteningEnabled?: boolean,
          isSkipAllowed?: boolean,
          message: string
        },
        sendWebhook?: {
          body: string,
          callbackUrl: string,
          headers?: {
            key?: string,
            value?: string
          }[]
        },
        type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
        unsubscribe?: {
          channels: (email | sms | push)[]
        }
      },
      delay?: {
        allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
        duration?: {
          amount: number,
          units: m | h | d | w | M
        },
        mode: duration | immediate | specificTime,
        time?: string
      },
      id?: string,
      split?: {
        falseBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            aBlocksPercentage: number,
            bBlocks?: (recursive)[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: (recursive)[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[],
        filterGroup: {
          filters: {
            field: string,
            operator: string,
            type: event | contact | message,
            urlMatch?: {
              operator: any | is | contains | startsWith | endsWith,
              value?: string
            },
            value?: any
          }[],
          logicalOperator: and | or
        },
        trueBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            aBlocksPercentage: number,
            bBlocks?: (recursive)[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: (recursive)[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[]
      },
      temporaryID?: string,
      type: delay | action | split | abTesting
    }[]
  },
  action?: {
    addTag?: {
      value: string
    },
    removeTag?: {
      value: string
    },
    sendEmail?: {
      isSkipAllowed?: boolean,
      language: string,
      preheader: string,
      replyToEmail?: string,
      senderEmail?: string,
      senderName: string,
      subject: string,
      templateID?: string
    },
    sendPush?: {
      body: string,
      clickUrl: string,
      iconID?: string,
      imageID?: string,
      isSkipAllowed?: boolean,
      title: string
    },
    sendSms?: {
      compliance: {
        isStopKeywordIncluded?: boolean,
        isUnsubscribeLinkIncluded?: boolean,
        stopKeywordText?: string,
        unsubscribeLinkText?: string
      },
      imageID?: string,
      isLinkShorteningEnabled?: boolean,
      isSkipAllowed?: boolean,
      message: string
    },
    sendWebhook?: {
      body: string,
      callbackUrl: string,
      headers?: {
        key?: string,
        value?: string
      }[]
    },
    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
    unsubscribe?: {
      channels: (email | sms | push)[]
    }
  },
  delay?: {
    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
    duration?: {
      amount: number,
      units: m | h | d | w | M
    },
    mode: duration | immediate | specificTime,
    time?: string
  },
  id?: string,
  split?: {
    falseBlocks?: {
      abTesting?: {
        aBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[],
            aBlocksPercentage: number,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: (recursive)[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[],
        aBlocksPercentage: number,
        bBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            aBlocksPercentage: number,
            bBlocks?: (recursive)[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: (recursive)[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[]
      },
      action?: {
        addTag?: {
          value: string
        },
        removeTag?: {
          value: string
        },
        sendEmail?: {
          isSkipAllowed?: boolean,
          language: string,
          preheader: string,
          replyToEmail?: string,
          senderEmail?: string,
          senderName: string,
          subject: string,
          templateID?: string
        },
        sendPush?: {
          body: string,
          clickUrl: string,
          iconID?: string,
          imageID?: string,
          isSkipAllowed?: boolean,
          title: string
        },
        sendSms?: {
          compliance: {
            isStopKeywordIncluded?: boolean,
            isUnsubscribeLinkIncluded?: boolean,
            stopKeywordText?: string,
            unsubscribeLinkText?: string
          },
          imageID?: string,
          isLinkShorteningEnabled?: boolean,
          isSkipAllowed?: boolean,
          message: string
        },
        sendWebhook?: {
          body: string,
          callbackUrl: string,
          headers?: {
            key?: string,
            value?: string
          }[]
        },
        type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
        unsubscribe?: {
          channels: (email | sms | push)[]
        }
      },
      delay?: {
        allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
        duration?: {
          amount: number,
          units: m | h | d | w | M
        },
        mode: duration | immediate | specificTime,
        time?: string
      },
      id?: string,
      split?: {
        falseBlocks?: (recursive)[],
        filterGroup: {
          filters: {
            field: string,
            operator: string,
            type: event | contact | message,
            urlMatch?: {
              operator: any | is | contains | startsWith | endsWith,
              value?: string
            },
            value?: any
          }[],
          logicalOperator: and | or
        },
        trueBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            aBlocksPercentage: number,
            bBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: (recursive)[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: (recursive)[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[]
      },
      temporaryID?: string,
      type: delay | action | split | abTesting
    }[],
    filterGroup: {
      filters: {
        field: string,
        operator: string,
        type: event | contact | message,
        urlMatch?: {
          operator: any | is | contains | startsWith | endsWith,
          value?: string
        },
        value?: any
      }[],
      logicalOperator: and | or
    },
    trueBlocks?: {
      abTesting?: {
        aBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[],
            aBlocksPercentage: number,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: (recursive)[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[],
        aBlocksPercentage: number,
        bBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            aBlocksPercentage: number,
            bBlocks?: (recursive)[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: (recursive)[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[]
      },
      action?: {
        addTag?: {
          value: string
        },
        removeTag?: {
          value: string
        },
        sendEmail?: {
          isSkipAllowed?: boolean,
          language: string,
          preheader: string,
          replyToEmail?: string,
          senderEmail?: string,
          senderName: string,
          subject: string,
          templateID?: string
        },
        sendPush?: {
          body: string,
          clickUrl: string,
          iconID?: string,
          imageID?: string,
          isSkipAllowed?: boolean,
          title: string
        },
        sendSms?: {
          compliance: {
            isStopKeywordIncluded?: boolean,
            isUnsubscribeLinkIncluded?: boolean,
            stopKeywordText?: string,
            unsubscribeLinkText?: string
          },
          imageID?: string,
          isLinkShorteningEnabled?: boolean,
          isSkipAllowed?: boolean,
          message: string
        },
        sendWebhook?: {
          body: string,
          callbackUrl: string,
          headers?: {
            key?: string,
            value?: string
          }[]
        },
        type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
        unsubscribe?: {
          channels: (email | sms | push)[]
        }
      },
      delay?: {
        allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
        duration?: {
          amount: number,
          units: m | h | d | w | M
        },
        mode: duration | immediate | specificTime,
        time?: string
      },
      id?: string,
      split?: {
        falseBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[],
                aBlocksPercentage: number,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[],
            aBlocksPercentage: number,
            bBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[],
                    aBlocksPercentage: number,
                    bBlocks?: (recursive)[]
                  },
                  action?: {
                    addTag?: {
                      value: string
                    },
                    removeTag?: {
                      value: string
                    },
                    sendEmail?: {
                      isSkipAllowed?: boolean,
                      language: string,
                      preheader: string,
                      replyToEmail?: string,
                      senderEmail?: string,
                      senderName: string,
                      subject: string,
                      templateID?: string
                    },
                    sendPush?: {
                      body: string,
                      clickUrl: string,
                      iconID?: string,
                      imageID?: string,
                      isSkipAllowed?: boolean,
                      title: string
                    },
                    sendSms?: {
                      compliance: {
                        isStopKeywordIncluded?: boolean,
                        isUnsubscribeLinkIncluded?: boolean,
                        stopKeywordText?: string,
                        unsubscribeLinkText?: string
                      },
                      imageID?: string,
                      isLinkShorteningEnabled?: boolean,
                      isSkipAllowed?: boolean,
                      message: string
                    },
                    sendWebhook?: {
                      body: string,
                      callbackUrl: string,
                      headers?: {
                        key?: string,
                        value?: string
                      }[]
                    },
                    type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                    unsubscribe?: {
                      channels: (email | sms | push)[]
                    }
                  },
                  delay?: {
                    allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                    duration?: {
                      amount: number,
                      units: m | h | d | w | M
                    },
                    mode: duration | immediate | specificTime,
                    time?: string
                  },
                  id?: string,
                  split?: {
                    falseBlocks?: (recursive)[],
                    filterGroup: {
                      filters: {
                        field: string,
                        operator: string,
                        type: event | contact | message,
                        urlMatch?: {
                          operator: any | is | contains | startsWith | endsWith,
                          value?: string
                        },
                        value?: any
                      }[],
                      logicalOperator: and | or
                    },
                    trueBlocks?: (recursive)[]
                  },
                  temporaryID?: string,
                  type: delay | action | split | abTesting
                }[],
                aBlocksPercentage: number,
                bBlocks?: (recursive)[]
              },
              action?: {
                addTag?: {
                  value: string
                },
                removeTag?: {
                  value: string
                },
                sendEmail?: {
                  isSkipAllowed?: boolean,
                  language: string,
                  preheader: string,
                  replyToEmail?: string,
                  senderEmail?: string,
                  senderName: string,
                  subject: string,
                  templateID?: string
                },
                sendPush?: {
                  body: string,
                  clickUrl: string,
                  iconID?: string,
                  imageID?: string,
                  isSkipAllowed?: boolean,
                  title: string
                },
                sendSms?: {
                  compliance: {
                    isStopKeywordIncluded?: boolean,
                    isUnsubscribeLinkIncluded?: boolean,
                    stopKeywordText?: string,
                    unsubscribeLinkText?: string
                  },
                  imageID?: string,
                  isLinkShorteningEnabled?: boolean,
                  isSkipAllowed?: boolean,
                  message: string
                },
                sendWebhook?: {
                  body: string,
                  callbackUrl: string,
                  headers?: {
                    key?: string,
                    value?: string
                  }[]
                },
                type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
                unsubscribe?: {
                  channels: (email | sms | push)[]
                }
              },
              delay?: {
                allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
                duration?: {
                  amount: number,
                  units: m | h | d | w | M
                },
                mode: duration | immediate | specificTime,
                time?: string
              },
              id?: string,
              split?: {
                falseBlocks?: (recursive)[],
                filterGroup: {
                  filters: {
                    field: string,
                    operator: string,
                    type: event | contact | message,
                    urlMatch?: {
                      operator: any | is | contains | startsWith | endsWith,
                      value?: string
                    },
                    value?: any
                  }[],
                  logicalOperator: and | or
                },
                trueBlocks?: (recursive)[]
              },
              temporaryID?: string,
              type: delay | action | split | abTesting
            }[]
          },
          action?: {
            addTag?: {
              value: string
            },
            removeTag?: {
              value: string
            },
            sendEmail?: {
              isSkipAllowed?: boolean,
              language: string,
              preheader: string,
              replyToEmail?: string,
              senderEmail?: string,
              senderName: string,
              subject: string,
              templateID?: string
            },
            sendPush?: {
              body: string,
              clickUrl: string,
              iconID?: string,
              imageID?: string,
              isSkipAllowed?: boolean,
              title: string
            },
            sendSms?: {
              compliance: {
                isStopKeywordIncluded?: boolean,
                isUnsubscribeLinkIncluded?: boolean,
                stopKeywordText?: string,
                unsubscribeLinkText?: string
              },
              imageID?: string,
              isLinkShorteningEnabled?: boolean,
              isSkipAllowed?: boolean,
              message: string
            },
            sendWebhook?: {
              body: string,
              callbackUrl: string,
              headers?: {
                key?: string,
                value?: string
              }[]
            },
            type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
            unsubscribe?: {
              channels: (email | sms | push)[]
            }
          },
          delay?: {
            allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
            duration?: {
              amount: number,
              units: m | h | d | w | M
            },
            mode: duration | immediate | specificTime,
            time?: string
          },
          id?: string,
          split?: {
            falseBlocks?: (recursive)[],
            filterGroup: {
              filters: {
                field: string,
                operator: string,
                type: event | contact | message,
                urlMatch?: {
                  operator: any | is | contains | startsWith | endsWith,
                  value?: string
                },
                value?: any
              }[],
              logicalOperator: and | or
            },
            trueBlocks?: (recursive)[]
          },
          temporaryID?: string,
          type: delay | action | split | abTesting
        }[],
        filterGroup: {
          filters: {
            field: string,
            operator: string,
            type: event | contact | message,
            urlMatch?: {
              operator: any | is | contains | startsWith | endsWith,
              value?: string
            },
            value?: any
          }[],
          logicalOperator: and | or
        },
        trueBlocks?: (recursive)[]
      },
      temporaryID?: string,
      type: delay | action | split | abTesting
    }[]
  },
  temporaryID?: string,
  type: delay | action | split | abTesting
}[]
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `blocks` | `object[] \| null` | No | Automation workflow blocks (actions, delays, splits, A/B tests). Omitted from list responses with `view=summary` unless `include=blocks` is passed. |
| `brandID` | `string \| null` | No | Brand identifier (read-only) |
| `createdAt` | `string \| null` | No | Automation creation timestamp (read-only) |
| `disabledAt` | `string \| null` | No | Timestamp when automation was disabled (read-only) |
| `enabledAt` | `string \| null` | No | Timestamp when automation was enabled (read-only) |
| `exitConditions` | `object[] \| null` | No | Exit conditions that remove contacts from the automation workflow (evaluated with OR logic) |
| `id` | `string \| null` | No | Automation workflow unique identifier (read-only) |
| `isEnabled` | `boolean \| null` | No | Whether the automation workflow is enabled (read-only). Controlled via enable/disable actions. |
| `name` | `string \| null` | No | Automation workflow name |
| `settings` | `object \| null` | No | Automation settings |
| `trigger` | `object \| null` | No | Automation trigger configuration |
| `updatedAt` | `string \| null` | No | Automation last update timestamp (read-only) |
| `url` | `string \| null` | No | Link to the automation workflow editor in the Omnisend app (read-only) |

```ts theme={null}
{
  abTesting?: {
    aBlocks?: {
      abTesting?: {
        aBlocks?: (recursive)[] | null,
        aBlocksPercentage?: number | null,
        bBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      action?: {
        addTag?: {
          value?: string | null
        } | null,
        removeTag?: {
          value?: string | null
        } | null,
        sendEmail?: {
          contentID?: string | null,
          isSkipAllowed?: boolean | null,
          language?: string | null,
          preheader?: string | null,
          replyToEmail?: string | null,
          senderEmail?: string | null,
          senderName?: string | null,
          subject?: string | null
        } | null,
        sendPush?: {
          body?: string | null,
          clickUrl?: string | null,
          iconID?: string | null,
          imageID?: string | null,
          isSkipAllowed?: boolean | null,
          title?: string | null
        } | null,
        sendSms?: {
          compliance?: {
            isStopKeywordIncluded?: boolean | null,
            isUnsubscribeLinkIncluded?: boolean | null,
            stopKeywordText?: string | null,
            unsubscribeLinkText?: string | null
          } | null,
          discountSettings?: {
            combinesWith?: {
              isOrderCompatible?: boolean | null,
              isProductCompatible?: boolean | null,
              isShippingCompatible?: boolean | null
            } | null,
            expiry?: {
              dateFormat?: string | null,
              expirationText?: string | null,
              expiresInDays?: number | null
            } | null,
            isItemsOnSaleExcluded?: boolean | null,
            scope?: {
              collectionID?: number | null,
              collectionType?: string | null,
              conditions?: string | null,
              minimumOrderAmount?: string | null
            } | null,
            type?: string | null,
            value?: string | null
          } | null,
          imageID?: string | null,
          isLinkShorteningEnabled?: boolean | null,
          isSkipAllowed?: boolean | null,
          message?: string | null
        } | null,
        sendWebhook?: {
          body?: string | null,
          callbackUrl?: string | null,
          headers?: {
            key?: string | null,
            value?: string | null
          }[] | null
        } | null,
        type?: string | null,
        unsubscribe?: {
          channels?: string[] | null
        } | null
      } | null,
      delay?: {
        allowedWeekdays?: string[] | null,
        duration?: {
          amount?: number | null,
          units?: string | null
        } | null,
        mode?: string | null,
        time?: string | null
      } | null,
      id?: string | null,
      split?: {
        falseBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null,
        filterGroup?: {
          filters?: {
            field?: string | null,
            operator?: string | null,
            type?: string | null,
            urlMatch?: {
              operator?: string | null,
              value?: string | null
            } | null,
            value?: any | null
          }[] | null,
          logicalOperator?: string | null
        } | null,
        trueBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      type?: string | null
    }[] | null,
    aBlocksPercentage?: number | null,
    bBlocks?: {
      abTesting?: {
        aBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null,
        aBlocksPercentage?: number | null,
        bBlocks?: (recursive)[] | null
      } | null,
      action?: {
        addTag?: {
          value?: string | null
        } | null,
        removeTag?: {
          value?: string | null
        } | null,
        sendEmail?: {
          contentID?: string | null,
          isSkipAllowed?: boolean | null,
          language?: string | null,
          preheader?: string | null,
          replyToEmail?: string | null,
          senderEmail?: string | null,
          senderName?: string | null,
          subject?: string | null
        } | null,
        sendPush?: {
          body?: string | null,
          clickUrl?: string | null,
          iconID?: string | null,
          imageID?: string | null,
          isSkipAllowed?: boolean | null,
          title?: string | null
        } | null,
        sendSms?: {
          compliance?: {
            isStopKeywordIncluded?: boolean | null,
            isUnsubscribeLinkIncluded?: boolean | null,
            stopKeywordText?: string | null,
            unsubscribeLinkText?: string | null
          } | null,
          discountSettings?: {
            combinesWith?: {
              isOrderCompatible?: boolean | null,
              isProductCompatible?: boolean | null,
              isShippingCompatible?: boolean | null
            } | null,
            expiry?: {
              dateFormat?: string | null,
              expirationText?: string | null,
              expiresInDays?: number | null
            } | null,
            isItemsOnSaleExcluded?: boolean | null,
            scope?: {
              collectionID?: number | null,
              collectionType?: string | null,
              conditions?: string | null,
              minimumOrderAmount?: string | null
            } | null,
            type?: string | null,
            value?: string | null
          } | null,
          imageID?: string | null,
          isLinkShorteningEnabled?: boolean | null,
          isSkipAllowed?: boolean | null,
          message?: string | null
        } | null,
        sendWebhook?: {
          body?: string | null,
          callbackUrl?: string | null,
          headers?: {
            key?: string | null,
            value?: string | null
          }[] | null
        } | null,
        type?: string | null,
        unsubscribe?: {
          channels?: string[] | null
        } | null
      } | null,
      delay?: {
        allowedWeekdays?: string[] | null,
        duration?: {
          amount?: number | null,
          units?: string | null
        } | null,
        mode?: string | null,
        time?: string | null
      } | null,
      id?: string | null,
      split?: {
        falseBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null,
        filterGroup?: {
          filters?: {
            field?: string | null,
            operator?: string | null,
            type?: string | null,
            urlMatch?: {
              operator?: string | null,
              value?: string | null
            } | null,
            value?: any | null
          }[] | null,
          logicalOperator?: string | null
        } | null,
        trueBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      type?: string | null
    }[] | null
  } | null,
  action?: {
    addTag?: {
      value?: string | null
    } | null,
    removeTag?: {
      value?: string | null
    } | null,
    sendEmail?: {
      contentID?: string | null,
      isSkipAllowed?: boolean | null,
      language?: string | null,
      preheader?: string | null,
      replyToEmail?: string | null,
      senderEmail?: string | null,
      senderName?: string | null,
      subject?: string | null
    } | null,
    sendPush?: {
      body?: string | null,
      clickUrl?: string | null,
      iconID?: string | null,
      imageID?: string | null,
      isSkipAllowed?: boolean | null,
      title?: string | null
    } | null,
    sendSms?: {
      compliance?: {
        isStopKeywordIncluded?: boolean | null,
        isUnsubscribeLinkIncluded?: boolean | null,
        stopKeywordText?: string | null,
        unsubscribeLinkText?: string | null
      } | null,
      discountSettings?: {
        combinesWith?: {
          isOrderCompatible?: boolean | null,
          isProductCompatible?: boolean | null,
          isShippingCompatible?: boolean | null
        } | null,
        expiry?: {
          dateFormat?: string | null,
          expirationText?: string | null,
          expiresInDays?: number | null
        } | null,
        isItemsOnSaleExcluded?: boolean | null,
        scope?: {
          collectionID?: number | null,
          collectionType?: string | null,
          conditions?: string | null,
          minimumOrderAmount?: string | null
        } | null,
        type?: string | null,
        value?: string | null
      } | null,
      imageID?: string | null,
      isLinkShorteningEnabled?: boolean | null,
      isSkipAllowed?: boolean | null,
      message?: string | null
    } | null,
    sendWebhook?: {
      body?: string | null,
      callbackUrl?: string | null,
      headers?: {
        key?: string | null,
        value?: string | null
      }[] | null
    } | null,
    type?: string | null,
    unsubscribe?: {
      channels?: string[] | null
    } | null
  } | null,
  delay?: {
    allowedWeekdays?: string[] | null,
    duration?: {
      amount?: number | null,
      units?: string | null
    } | null,
    mode?: string | null,
    time?: string | null
  } | null,
  id?: string | null,
  split?: {
    falseBlocks?: {
      abTesting?: {
        aBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null,
        aBlocksPercentage?: number | null,
        bBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      action?: {
        addTag?: {
          value?: string | null
        } | null,
        removeTag?: {
          value?: string | null
        } | null,
        sendEmail?: {
          contentID?: string | null,
          isSkipAllowed?: boolean | null,
          language?: string | null,
          preheader?: string | null,
          replyToEmail?: string | null,
          senderEmail?: string | null,
          senderName?: string | null,
          subject?: string | null
        } | null,
        sendPush?: {
          body?: string | null,
          clickUrl?: string | null,
          iconID?: string | null,
          imageID?: string | null,
          isSkipAllowed?: boolean | null,
          title?: string | null
        } | null,
        sendSms?: {
          compliance?: {
            isStopKeywordIncluded?: boolean | null,
            isUnsubscribeLinkIncluded?: boolean | null,
            stopKeywordText?: string | null,
            unsubscribeLinkText?: string | null
          } | null,
          discountSettings?: {
            combinesWith?: {
              isOrderCompatible?: boolean | null,
              isProductCompatible?: boolean | null,
              isShippingCompatible?: boolean | null
            } | null,
            expiry?: {
              dateFormat?: string | null,
              expirationText?: string | null,
              expiresInDays?: number | null
            } | null,
            isItemsOnSaleExcluded?: boolean | null,
            scope?: {
              collectionID?: number | null,
              collectionType?: string | null,
              conditions?: string | null,
              minimumOrderAmount?: string | null
            } | null,
            type?: string | null,
            value?: string | null
          } | null,
          imageID?: string | null,
          isLinkShorteningEnabled?: boolean | null,
          isSkipAllowed?: boolean | null,
          message?: string | null
        } | null,
        sendWebhook?: {
          body?: string | null,
          callbackUrl?: string | null,
          headers?: {
            key?: string | null,
            value?: string | null
          }[] | null
        } | null,
        type?: string | null,
        unsubscribe?: {
          channels?: string[] | null
        } | null
      } | null,
      delay?: {
        allowedWeekdays?: string[] | null,
        duration?: {
          amount?: number | null,
          units?: string | null
        } | null,
        mode?: string | null,
        time?: string | null
      } | null,
      id?: string | null,
      split?: {
        falseBlocks?: (recursive)[] | null,
        filterGroup?: {
          filters?: {
            field?: string | null,
            operator?: string | null,
            type?: string | null,
            urlMatch?: {
              operator?: string | null,
              value?: string | null
            } | null,
            value?: any | null
          }[] | null,
          logicalOperator?: string | null
        } | null,
        trueBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      type?: string | null
    }[] | null,
    filterGroup?: {
      filters?: {
        field?: string | null,
        operator?: string | null,
        type?: string | null,
        urlMatch?: {
          operator?: string | null,
          value?: string | null
        } | null,
        value?: any | null
      }[] | null,
      logicalOperator?: string | null
    } | null,
    trueBlocks?: {
      abTesting?: {
        aBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null,
        aBlocksPercentage?: number | null,
        bBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      action?: {
        addTag?: {
          value?: string | null
        } | null,
        removeTag?: {
          value?: string | null
        } | null,
        sendEmail?: {
          contentID?: string | null,
          isSkipAllowed?: boolean | null,
          language?: string | null,
          preheader?: string | null,
          replyToEmail?: string | null,
          senderEmail?: string | null,
          senderName?: string | null,
          subject?: string | null
        } | null,
        sendPush?: {
          body?: string | null,
          clickUrl?: string | null,
          iconID?: string | null,
          imageID?: string | null,
          isSkipAllowed?: boolean | null,
          title?: string | null
        } | null,
        sendSms?: {
          compliance?: {
            isStopKeywordIncluded?: boolean | null,
            isUnsubscribeLinkIncluded?: boolean | null,
            stopKeywordText?: string | null,
            unsubscribeLinkText?: string | null
          } | null,
          discountSettings?: {
            combinesWith?: {
              isOrderCompatible?: boolean | null,
              isProductCompatible?: boolean | null,
              isShippingCompatible?: boolean | null
            } | null,
            expiry?: {
              dateFormat?: string | null,
              expirationText?: string | null,
              expiresInDays?: number | null
            } | null,
            isItemsOnSaleExcluded?: boolean | null,
            scope?: {
              collectionID?: number | null,
              collectionType?: string | null,
              conditions?: string | null,
              minimumOrderAmount?: string | null
            } | null,
            type?: string | null,
            value?: string | null
          } | null,
          imageID?: string | null,
          isLinkShorteningEnabled?: boolean | null,
          isSkipAllowed?: boolean | null,
          message?: string | null
        } | null,
        sendWebhook?: {
          body?: string | null,
          callbackUrl?: string | null,
          headers?: {
            key?: string | null,
            value?: string | null
          }[] | null
        } | null,
        type?: string | null,
        unsubscribe?: {
          channels?: string[] | null
        } | null
      } | null,
      delay?: {
        allowedWeekdays?: string[] | null,
        duration?: {
          amount?: number | null,
          units?: string | null
        } | null,
        mode?: string | null,
        time?: string | null
      } | null,
      id?: string | null,
      split?: {
        falseBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null,
        filterGroup?: {
          filters?: {
            field?: string | null,
            operator?: string | null,
            type?: string | null,
            urlMatch?: {
              operator?: string | null,
              value?: string | null
            } | null,
            value?: any | null
          }[] | null,
          logicalOperator?: string | null
        } | null,
        trueBlocks?: (recursive)[] | null
      } | null,
      type?: string | null
    }[] | null
  } | null,
  type?: string | null
}[] | null
```

> [accordion] exitConditions full type
>
> ```ts theme={null}
> {
>   event?: string | null,
>   filterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   origin?: string | null
> }[] | null
> ```

> [accordion] settings full type
>
> ```ts theme={null}
> {
>   discount?: {
>     combinesWith?: {
>       isOrderCompatible?: boolean | null,
>       isProductCompatible?: boolean | null,
>       isShippingCompatible?: boolean | null
>     } | null,
>     expiry?: {
>       dateFormat?: string | null,
>       expirationText?: string | null,
>       expiresInDays?: number | null
>     } | null,
>     isItemsOnSaleExcluded?: boolean | null,
>     scope?: {
>       collectionID?: number | null,
>       collectionType?: string | null,
>       conditions?: string | null,
>       minimumOrderAmount?: string | null
>     } | null,
>     type?: string | null,
>     value?: string | null
>   } | null,
>   frequencyLimiter?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null
>   } | null,
>   overlapLimiter?: {
>     automationIDs?: string[] | null,
>     mode?: string | null,
>     withinDays?: number | null
>   } | null,
>   sendingThresholds?: {
>     email?: string | null,
>     sms?: string | null
>   } | null
> } | null
> ```

> [accordion] trigger full type
>
> ```ts theme={null}
> {
>   audienceFilterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   condition?: {
>     event?: string | null,
>     filterGroups?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     }[] | null,
>     origin?: string | null
>   } | null,
>   inactivitySettings?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null
>   } | null
> } | null
> ```

***

### sendBlockTestEmail

`automations.sendBlockTestEmail`

Send test email. Send the saved email content of a specific email block as a test email to up to 5 recipients. The email is rendered and delivered asynchronously. Sends a real email to the given addresses.

**Risk:** `destructive`

```ts theme={null}
await corsair.omnisend.api.automations.sendBlockTestEmail({
	id: '6650a1b2c3d4e5f6a7b8c9d0',
	blockID: 'block-1',
	recipients: ['qa-inbox@example.com'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |
| `blockID` | `string` | Yes | Block identifier |
| `recipients` | `string[]` | Yes | Email addresses to deliver the test email to (1 to 5 recipients). |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### setBlockUtm

`automations.setBlockUtm`

Update UTM tags for an automation block. Set UTM tracking tags for a specific send-action block. All three tag fields are replaced atomically. Send an empty string to clear a field — the next read will return its default value.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.automations.setBlockUtm({
	id: '6650a1b2c3d4e5f6a7b8c9d0',
	blockID: 'block-1',
	tags: { campaign: 'spring-sale', medium: 'email', source: 'newsletter' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |
| `blockID` | `string` | Yes | Block identifier |
| `tags` | `object` | Yes | UTM tag values |

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   campaign: string,
>   medium: string,
>   source: string
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `tags` | `object \| null` | No | UTM tag values |

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   campaign?: string | null,
>   medium?: string | null,
>   source?: string | null
> } | null
> ```

***

### setSchedule

`automations.setSchedule`

Save automation workflow schedule. Schedule when an automation workflow is enabled (startAt), disabled (endAt), or both. The request replaces the whole schedule. Saving a schedule does not change isEnabled. - startAt can be set only for a disabled workflow. At startAt the workflow is enabled the same way as with the enable action.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.automations.setSchedule({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |
| `contactsInWorkflow` | `keep \| exit` | No | What to do at `endAt` with contacts currently in the workflow. Required when `endAt` is set. |
| `endAt` | `string` | No | Time to disable the workflow (RFC 3339). Seconds are truncated. Must be after `startAt`. |
| `startAt` | `string` | No | Time to enable the workflow (RFC 3339). Seconds are truncated. Not allowed for an enabled workflow. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `schedule` | `object \| null` | No | Saved schedule |
| `warnings` | `object[] \| null` | No | Problems that would stop the workflow from being enabled at `startAt`. The schedule is saved regardless. A workflow problem points at its `field`. An account problem, such as blocked email sending or an unverified sender domain, has an empty `field`. Empty when the workflow can be enabled |
| `warningsDetail` | `string \| null` | No | What happens when `warnings` are not resolved before `startAt`. Present only when `warnings` is not empty |

> [accordion] schedule full type
>
> ```ts theme={null}
> {
>   contactsInWorkflow?: string | null,
>   endAt?: string | null,
>   startAt?: string | null,
>   startFailedAt?: string | null
> } | null
> ```

> [accordion] warnings full type
>
> ```ts theme={null}
> {
>   code?: string | null,
>   field?: string | null,
>   message?: string | null
> }[] | null
> ```

***

### update

`automations.update`

Patch automation workflow. Partially update an automation workflow. Only the fields provided in the request body are updated. Enabled automations cannot be patched. Disable the automation via POST /automations/\{id}/disable, make changes, then re-enable via POST /automations/\{id}/enable when ready.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.automations.update({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Automation workflow ID (24 character hexadecimal) |
| `blocks` | `object[]` | No | Automation workflow blocks. Each entry updates an existing block matched by `id`; fields within each block are applied as a partial update. The array does **not** reshape the block list — adding or removing blocks is not supported through this endpoint (use the dedicated block endpoints for that). An empty array (`[]`) is rejected with `400`; omit the field to leave blocks unchanged. |
| `exitConditions` | `object[] \| null` | No | Exit condition list. Replaces all existing exit conditions when provided. Send `null` or an empty array (`[]`) to clear all exit conditions; omit to leave unchanged. |
| `name` | `string` | No | Automation workflow name |
| `settings` | `object` | No | Automation settings patch. Only provided sub-fields are updated. |
| `trigger` | `object` | No | Trigger configuration. Only provided sub-fields are updated. |

> [accordion] blocks full type
>
> ```ts theme={null}
> {
>   abTesting?: {
>     aBlocksPercentage: number
>   },
>   action?: {
>     addTag?: {
>       value: string
>     },
>     removeTag?: {
>       value: string
>     },
>     sendEmail?: {
>       isSkipAllowed?: boolean,
>       language?: string,
>       preheader?: string,
>       replyToEmail?: string | null,
>       senderEmail?: string,
>       senderName?: string,
>       subject?: string
>     },
>     sendPush?: {
>       body?: string,
>       clickUrl?: string,
>       iconID?: string | null,
>       imageID?: string | null,
>       isSkipAllowed?: boolean,
>       title?: string
>     },
>     sendSms?: {
>       compliance?: {
>         isStopKeywordIncluded: boolean,
>         isUnsubscribeLinkIncluded: boolean,
>         stopKeywordText?: string,
>         unsubscribeLinkText?: string
>       },
>       imageID?: string | null,
>       isLinkShorteningEnabled?: boolean,
>       isSkipAllowed?: boolean,
>       message?: string
>     },
>     sendWebhook?: {
>       body?: string,
>       callbackUrl?: string,
>       headers?: {
>         key?: string,
>         value?: string
>       }[]
>     },
>     type: sendEmail | sendPush | sendSms | sendWebhook | addTag | removeTag | unsubscribe,
>     unsubscribe?: {
>       channels: (email | sms | push)[]
>     }
>   },
>   delay?: {
>     allowedWeekdays?: (sunday | monday | tuesday | wednesday | thursday | friday | saturday)[],
>     duration?: {
>       amount: number,
>       units: m | h | d | w | M
>     },
>     mode: duration | immediate | specificTime,
>     time?: string
>   },
>   id: string,
>   split?: {
>     filterGroup: {
>       filters: {
>         field: string,
>         operator: string,
>         type: event | contact | message,
>         urlMatch?: {
>           operator: any | is | contains | startsWith | endsWith,
>           value?: string
>         },
>         value?: any
>       }[],
>       logicalOperator: and | or
>     }
>   },
>   type: delay | action | split | abTesting
> }[]
> ```

> [accordion] exitConditions full type
>
> ```ts theme={null}
> {
>   event: string,
>   filterGroup?: {
>     filters: {
>       field: string,
>       operator: eq | neq | gt | gte | lt | lte | contains | notContains | startsWith | endsWith | exists | notExists | in | notIn,
>       value?: any
>     }[],
>     logicalOperator: and | or
>   },
>   origin?: string
> }[] | null
> ```

> [accordion] settings full type
>
> ```ts theme={null}
> {
>   frequencyLimiter?: {
>     duration?: {
>       amount: number,
>       units: h | d | w
>     },
>     mode: once | interval
>   } | null,
>   overlapLimiter?: {
>     automationIDs: string[],
>     mode: currentlyIn | recentlyIn,
>     withinDays?: number
>   } | null,
>   sendingThresholds?: {
>     email: subscribed | nonSubscribed | all,
>     sms: subscribed | nonSubscribed | all
>   }
> }
> ```

> [accordion] trigger full type
>
> ```ts theme={null}
> {
>   audienceFilterGroup?: {
>     filters: {
>       field: segmentID | tag | dateAdded | firstName | lastName | gender | country | state | city | postalCode,
>       operator: eq | neq | gt | lt | contains | notContains,
>       value: string
>     }[],
>     logicalOperator: and | or
>   } | null,
>   condition?: {
>     event: string,
>     filterGroups?: {
>       filters: {
>         field: string,
>         operator: eq | neq | gt | gte | lt | lte | contains | notContains | startsWith | endsWith | exists | notExists | in | notIn,
>         value?: any
>       }[],
>       logicalOperator: and | or
>     }[],
>     origin?: string
>   },
>   inactivitySettings?: {
>     duration: {
>       amount: number,
>       units: m | h | d | w
>     }
>   } | null
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `blocks` | `object[] \| null` | No | Automation workflow blocks (actions, delays, splits, A/B tests). Omitted from list responses with `view=summary` unless `include=blocks` is passed. |
| `brandID` | `string \| null` | No | Brand identifier (read-only) |
| `createdAt` | `string \| null` | No | Automation creation timestamp (read-only) |
| `disabledAt` | `string \| null` | No | Timestamp when automation was disabled (read-only) |
| `enabledAt` | `string \| null` | No | Timestamp when automation was enabled (read-only) |
| `exitConditions` | `object[] \| null` | No | Exit conditions that remove contacts from the automation workflow (evaluated with OR logic) |
| `id` | `string \| null` | No | Automation workflow unique identifier (read-only) |
| `isEnabled` | `boolean \| null` | No | Whether the automation workflow is enabled (read-only). Controlled via enable/disable actions. |
| `name` | `string \| null` | No | Automation workflow name |
| `settings` | `object \| null` | No | Automation settings |
| `trigger` | `object \| null` | No | Automation trigger configuration |
| `updatedAt` | `string \| null` | No | Automation last update timestamp (read-only) |
| `url` | `string \| null` | No | Link to the automation workflow editor in the Omnisend app (read-only) |

```ts theme={null}
{
  abTesting?: {
    aBlocks?: {
      abTesting?: {
        aBlocks?: (recursive)[] | null,
        aBlocksPercentage?: number | null,
        bBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      action?: {
        addTag?: {
          value?: string | null
        } | null,
        removeTag?: {
          value?: string | null
        } | null,
        sendEmail?: {
          contentID?: string | null,
          isSkipAllowed?: boolean | null,
          language?: string | null,
          preheader?: string | null,
          replyToEmail?: string | null,
          senderEmail?: string | null,
          senderName?: string | null,
          subject?: string | null
        } | null,
        sendPush?: {
          body?: string | null,
          clickUrl?: string | null,
          iconID?: string | null,
          imageID?: string | null,
          isSkipAllowed?: boolean | null,
          title?: string | null
        } | null,
        sendSms?: {
          compliance?: {
            isStopKeywordIncluded?: boolean | null,
            isUnsubscribeLinkIncluded?: boolean | null,
            stopKeywordText?: string | null,
            unsubscribeLinkText?: string | null
          } | null,
          discountSettings?: {
            combinesWith?: {
              isOrderCompatible?: boolean | null,
              isProductCompatible?: boolean | null,
              isShippingCompatible?: boolean | null
            } | null,
            expiry?: {
              dateFormat?: string | null,
              expirationText?: string | null,
              expiresInDays?: number | null
            } | null,
            isItemsOnSaleExcluded?: boolean | null,
            scope?: {
              collectionID?: number | null,
              collectionType?: string | null,
              conditions?: string | null,
              minimumOrderAmount?: string | null
            } | null,
            type?: string | null,
            value?: string | null
          } | null,
          imageID?: string | null,
          isLinkShorteningEnabled?: boolean | null,
          isSkipAllowed?: boolean | null,
          message?: string | null
        } | null,
        sendWebhook?: {
          body?: string | null,
          callbackUrl?: string | null,
          headers?: {
            key?: string | null,
            value?: string | null
          }[] | null
        } | null,
        type?: string | null,
        unsubscribe?: {
          channels?: string[] | null
        } | null
      } | null,
      delay?: {
        allowedWeekdays?: string[] | null,
        duration?: {
          amount?: number | null,
          units?: string | null
        } | null,
        mode?: string | null,
        time?: string | null
      } | null,
      id?: string | null,
      split?: {
        falseBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null,
        filterGroup?: {
          filters?: {
            field?: string | null,
            operator?: string | null,
            type?: string | null,
            urlMatch?: {
              operator?: string | null,
              value?: string | null
            } | null,
            value?: any | null
          }[] | null,
          logicalOperator?: string | null
        } | null,
        trueBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      type?: string | null
    }[] | null,
    aBlocksPercentage?: number | null,
    bBlocks?: {
      abTesting?: {
        aBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null,
        aBlocksPercentage?: number | null,
        bBlocks?: (recursive)[] | null
      } | null,
      action?: {
        addTag?: {
          value?: string | null
        } | null,
        removeTag?: {
          value?: string | null
        } | null,
        sendEmail?: {
          contentID?: string | null,
          isSkipAllowed?: boolean | null,
          language?: string | null,
          preheader?: string | null,
          replyToEmail?: string | null,
          senderEmail?: string | null,
          senderName?: string | null,
          subject?: string | null
        } | null,
        sendPush?: {
          body?: string | null,
          clickUrl?: string | null,
          iconID?: string | null,
          imageID?: string | null,
          isSkipAllowed?: boolean | null,
          title?: string | null
        } | null,
        sendSms?: {
          compliance?: {
            isStopKeywordIncluded?: boolean | null,
            isUnsubscribeLinkIncluded?: boolean | null,
            stopKeywordText?: string | null,
            unsubscribeLinkText?: string | null
          } | null,
          discountSettings?: {
            combinesWith?: {
              isOrderCompatible?: boolean | null,
              isProductCompatible?: boolean | null,
              isShippingCompatible?: boolean | null
            } | null,
            expiry?: {
              dateFormat?: string | null,
              expirationText?: string | null,
              expiresInDays?: number | null
            } | null,
            isItemsOnSaleExcluded?: boolean | null,
            scope?: {
              collectionID?: number | null,
              collectionType?: string | null,
              conditions?: string | null,
              minimumOrderAmount?: string | null
            } | null,
            type?: string | null,
            value?: string | null
          } | null,
          imageID?: string | null,
          isLinkShorteningEnabled?: boolean | null,
          isSkipAllowed?: boolean | null,
          message?: string | null
        } | null,
        sendWebhook?: {
          body?: string | null,
          callbackUrl?: string | null,
          headers?: {
            key?: string | null,
            value?: string | null
          }[] | null
        } | null,
        type?: string | null,
        unsubscribe?: {
          channels?: string[] | null
        } | null
      } | null,
      delay?: {
        allowedWeekdays?: string[] | null,
        duration?: {
          amount?: number | null,
          units?: string | null
        } | null,
        mode?: string | null,
        time?: string | null
      } | null,
      id?: string | null,
      split?: {
        falseBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null,
        filterGroup?: {
          filters?: {
            field?: string | null,
            operator?: string | null,
            type?: string | null,
            urlMatch?: {
              operator?: string | null,
              value?: string | null
            } | null,
            value?: any | null
          }[] | null,
          logicalOperator?: string | null
        } | null,
        trueBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      type?: string | null
    }[] | null
  } | null,
  action?: {
    addTag?: {
      value?: string | null
    } | null,
    removeTag?: {
      value?: string | null
    } | null,
    sendEmail?: {
      contentID?: string | null,
      isSkipAllowed?: boolean | null,
      language?: string | null,
      preheader?: string | null,
      replyToEmail?: string | null,
      senderEmail?: string | null,
      senderName?: string | null,
      subject?: string | null
    } | null,
    sendPush?: {
      body?: string | null,
      clickUrl?: string | null,
      iconID?: string | null,
      imageID?: string | null,
      isSkipAllowed?: boolean | null,
      title?: string | null
    } | null,
    sendSms?: {
      compliance?: {
        isStopKeywordIncluded?: boolean | null,
        isUnsubscribeLinkIncluded?: boolean | null,
        stopKeywordText?: string | null,
        unsubscribeLinkText?: string | null
      } | null,
      discountSettings?: {
        combinesWith?: {
          isOrderCompatible?: boolean | null,
          isProductCompatible?: boolean | null,
          isShippingCompatible?: boolean | null
        } | null,
        expiry?: {
          dateFormat?: string | null,
          expirationText?: string | null,
          expiresInDays?: number | null
        } | null,
        isItemsOnSaleExcluded?: boolean | null,
        scope?: {
          collectionID?: number | null,
          collectionType?: string | null,
          conditions?: string | null,
          minimumOrderAmount?: string | null
        } | null,
        type?: string | null,
        value?: string | null
      } | null,
      imageID?: string | null,
      isLinkShorteningEnabled?: boolean | null,
      isSkipAllowed?: boolean | null,
      message?: string | null
    } | null,
    sendWebhook?: {
      body?: string | null,
      callbackUrl?: string | null,
      headers?: {
        key?: string | null,
        value?: string | null
      }[] | null
    } | null,
    type?: string | null,
    unsubscribe?: {
      channels?: string[] | null
    } | null
  } | null,
  delay?: {
    allowedWeekdays?: string[] | null,
    duration?: {
      amount?: number | null,
      units?: string | null
    } | null,
    mode?: string | null,
    time?: string | null
  } | null,
  id?: string | null,
  split?: {
    falseBlocks?: {
      abTesting?: {
        aBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null,
        aBlocksPercentage?: number | null,
        bBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      action?: {
        addTag?: {
          value?: string | null
        } | null,
        removeTag?: {
          value?: string | null
        } | null,
        sendEmail?: {
          contentID?: string | null,
          isSkipAllowed?: boolean | null,
          language?: string | null,
          preheader?: string | null,
          replyToEmail?: string | null,
          senderEmail?: string | null,
          senderName?: string | null,
          subject?: string | null
        } | null,
        sendPush?: {
          body?: string | null,
          clickUrl?: string | null,
          iconID?: string | null,
          imageID?: string | null,
          isSkipAllowed?: boolean | null,
          title?: string | null
        } | null,
        sendSms?: {
          compliance?: {
            isStopKeywordIncluded?: boolean | null,
            isUnsubscribeLinkIncluded?: boolean | null,
            stopKeywordText?: string | null,
            unsubscribeLinkText?: string | null
          } | null,
          discountSettings?: {
            combinesWith?: {
              isOrderCompatible?: boolean | null,
              isProductCompatible?: boolean | null,
              isShippingCompatible?: boolean | null
            } | null,
            expiry?: {
              dateFormat?: string | null,
              expirationText?: string | null,
              expiresInDays?: number | null
            } | null,
            isItemsOnSaleExcluded?: boolean | null,
            scope?: {
              collectionID?: number | null,
              collectionType?: string | null,
              conditions?: string | null,
              minimumOrderAmount?: string | null
            } | null,
            type?: string | null,
            value?: string | null
          } | null,
          imageID?: string | null,
          isLinkShorteningEnabled?: boolean | null,
          isSkipAllowed?: boolean | null,
          message?: string | null
        } | null,
        sendWebhook?: {
          body?: string | null,
          callbackUrl?: string | null,
          headers?: {
            key?: string | null,
            value?: string | null
          }[] | null
        } | null,
        type?: string | null,
        unsubscribe?: {
          channels?: string[] | null
        } | null
      } | null,
      delay?: {
        allowedWeekdays?: string[] | null,
        duration?: {
          amount?: number | null,
          units?: string | null
        } | null,
        mode?: string | null,
        time?: string | null
      } | null,
      id?: string | null,
      split?: {
        falseBlocks?: (recursive)[] | null,
        filterGroup?: {
          filters?: {
            field?: string | null,
            operator?: string | null,
            type?: string | null,
            urlMatch?: {
              operator?: string | null,
              value?: string | null
            } | null,
            value?: any | null
          }[] | null,
          logicalOperator?: string | null
        } | null,
        trueBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      type?: string | null
    }[] | null,
    filterGroup?: {
      filters?: {
        field?: string | null,
        operator?: string | null,
        type?: string | null,
        urlMatch?: {
          operator?: string | null,
          value?: string | null
        } | null,
        value?: any | null
      }[] | null,
      logicalOperator?: string | null
    } | null,
    trueBlocks?: {
      abTesting?: {
        aBlocks?: {
          abTesting?: {
            aBlocks?: (recursive)[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null,
        aBlocksPercentage?: number | null,
        bBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: (recursive)[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null
      } | null,
      action?: {
        addTag?: {
          value?: string | null
        } | null,
        removeTag?: {
          value?: string | null
        } | null,
        sendEmail?: {
          contentID?: string | null,
          isSkipAllowed?: boolean | null,
          language?: string | null,
          preheader?: string | null,
          replyToEmail?: string | null,
          senderEmail?: string | null,
          senderName?: string | null,
          subject?: string | null
        } | null,
        sendPush?: {
          body?: string | null,
          clickUrl?: string | null,
          iconID?: string | null,
          imageID?: string | null,
          isSkipAllowed?: boolean | null,
          title?: string | null
        } | null,
        sendSms?: {
          compliance?: {
            isStopKeywordIncluded?: boolean | null,
            isUnsubscribeLinkIncluded?: boolean | null,
            stopKeywordText?: string | null,
            unsubscribeLinkText?: string | null
          } | null,
          discountSettings?: {
            combinesWith?: {
              isOrderCompatible?: boolean | null,
              isProductCompatible?: boolean | null,
              isShippingCompatible?: boolean | null
            } | null,
            expiry?: {
              dateFormat?: string | null,
              expirationText?: string | null,
              expiresInDays?: number | null
            } | null,
            isItemsOnSaleExcluded?: boolean | null,
            scope?: {
              collectionID?: number | null,
              collectionType?: string | null,
              conditions?: string | null,
              minimumOrderAmount?: string | null
            } | null,
            type?: string | null,
            value?: string | null
          } | null,
          imageID?: string | null,
          isLinkShorteningEnabled?: boolean | null,
          isSkipAllowed?: boolean | null,
          message?: string | null
        } | null,
        sendWebhook?: {
          body?: string | null,
          callbackUrl?: string | null,
          headers?: {
            key?: string | null,
            value?: string | null
          }[] | null
        } | null,
        type?: string | null,
        unsubscribe?: {
          channels?: string[] | null
        } | null
      } | null,
      delay?: {
        allowedWeekdays?: string[] | null,
        duration?: {
          amount?: number | null,
          units?: string | null
        } | null,
        mode?: string | null,
        time?: string | null
      } | null,
      id?: string | null,
      split?: {
        falseBlocks?: {
          abTesting?: {
            aBlocks?: {
              abTesting?: {
                aBlocks?: (recursive)[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null,
            aBlocksPercentage?: number | null,
            bBlocks?: {
              abTesting?: {
                aBlocks?: {
                  abTesting?: {
                    aBlocks?: (recursive)[] | null,
                    aBlocksPercentage?: number | null,
                    bBlocks?: (recursive)[] | null
                  } | null,
                  action?: {
                    addTag?: {
                      value?: string | null
                    } | null,
                    removeTag?: {
                      value?: string | null
                    } | null,
                    sendEmail?: {
                      contentID?: string | null,
                      isSkipAllowed?: boolean | null,
                      language?: string | null,
                      preheader?: string | null,
                      replyToEmail?: string | null,
                      senderEmail?: string | null,
                      senderName?: string | null,
                      subject?: string | null
                    } | null,
                    sendPush?: {
                      body?: string | null,
                      clickUrl?: string | null,
                      iconID?: string | null,
                      imageID?: string | null,
                      isSkipAllowed?: boolean | null,
                      title?: string | null
                    } | null,
                    sendSms?: {
                      compliance?: {
                        isStopKeywordIncluded?: boolean | null,
                        isUnsubscribeLinkIncluded?: boolean | null,
                        stopKeywordText?: string | null,
                        unsubscribeLinkText?: string | null
                      } | null,
                      discountSettings?: {
                        combinesWith?: {
                          isOrderCompatible?: boolean | null,
                          isProductCompatible?: boolean | null,
                          isShippingCompatible?: boolean | null
                        } | null,
                        expiry?: {
                          dateFormat?: string | null,
                          expirationText?: string | null,
                          expiresInDays?: number | null
                        } | null,
                        isItemsOnSaleExcluded?: boolean | null,
                        scope?: {
                          collectionID?: number | null,
                          collectionType?: string | null,
                          conditions?: string | null,
                          minimumOrderAmount?: string | null
                        } | null,
                        type?: string | null,
                        value?: string | null
                      } | null,
                      imageID?: string | null,
                      isLinkShorteningEnabled?: boolean | null,
                      isSkipAllowed?: boolean | null,
                      message?: string | null
                    } | null,
                    sendWebhook?: {
                      body?: string | null,
                      callbackUrl?: string | null,
                      headers?: {
                        key?: string | null,
                        value?: string | null
                      }[] | null
                    } | null,
                    type?: string | null,
                    unsubscribe?: {
                      channels?: string[] | null
                    } | null
                  } | null,
                  delay?: {
                    allowedWeekdays?: string[] | null,
                    duration?: {
                      amount?: number | null,
                      units?: string | null
                    } | null,
                    mode?: string | null,
                    time?: string | null
                  } | null,
                  id?: string | null,
                  split?: {
                    falseBlocks?: (recursive)[] | null,
                    filterGroup?: {
                      filters?: {
                        field?: string | null,
                        operator?: string | null,
                        type?: string | null,
                        urlMatch?: {
                          operator?: string | null,
                          value?: string | null
                        } | null,
                        value?: any | null
                      }[] | null,
                      logicalOperator?: string | null
                    } | null,
                    trueBlocks?: (recursive)[] | null
                  } | null,
                  type?: string | null
                }[] | null,
                aBlocksPercentage?: number | null,
                bBlocks?: (recursive)[] | null
              } | null,
              action?: {
                addTag?: {
                  value?: string | null
                } | null,
                removeTag?: {
                  value?: string | null
                } | null,
                sendEmail?: {
                  contentID?: string | null,
                  isSkipAllowed?: boolean | null,
                  language?: string | null,
                  preheader?: string | null,
                  replyToEmail?: string | null,
                  senderEmail?: string | null,
                  senderName?: string | null,
                  subject?: string | null
                } | null,
                sendPush?: {
                  body?: string | null,
                  clickUrl?: string | null,
                  iconID?: string | null,
                  imageID?: string | null,
                  isSkipAllowed?: boolean | null,
                  title?: string | null
                } | null,
                sendSms?: {
                  compliance?: {
                    isStopKeywordIncluded?: boolean | null,
                    isUnsubscribeLinkIncluded?: boolean | null,
                    stopKeywordText?: string | null,
                    unsubscribeLinkText?: string | null
                  } | null,
                  discountSettings?: {
                    combinesWith?: {
                      isOrderCompatible?: boolean | null,
                      isProductCompatible?: boolean | null,
                      isShippingCompatible?: boolean | null
                    } | null,
                    expiry?: {
                      dateFormat?: string | null,
                      expirationText?: string | null,
                      expiresInDays?: number | null
                    } | null,
                    isItemsOnSaleExcluded?: boolean | null,
                    scope?: {
                      collectionID?: number | null,
                      collectionType?: string | null,
                      conditions?: string | null,
                      minimumOrderAmount?: string | null
                    } | null,
                    type?: string | null,
                    value?: string | null
                  } | null,
                  imageID?: string | null,
                  isLinkShorteningEnabled?: boolean | null,
                  isSkipAllowed?: boolean | null,
                  message?: string | null
                } | null,
                sendWebhook?: {
                  body?: string | null,
                  callbackUrl?: string | null,
                  headers?: {
                    key?: string | null,
                    value?: string | null
                  }[] | null
                } | null,
                type?: string | null,
                unsubscribe?: {
                  channels?: string[] | null
                } | null
              } | null,
              delay?: {
                allowedWeekdays?: string[] | null,
                duration?: {
                  amount?: number | null,
                  units?: string | null
                } | null,
                mode?: string | null,
                time?: string | null
              } | null,
              id?: string | null,
              split?: {
                falseBlocks?: (recursive)[] | null,
                filterGroup?: {
                  filters?: {
                    field?: string | null,
                    operator?: string | null,
                    type?: string | null,
                    urlMatch?: {
                      operator?: string | null,
                      value?: string | null
                    } | null,
                    value?: any | null
                  }[] | null,
                  logicalOperator?: string | null
                } | null,
                trueBlocks?: (recursive)[] | null
              } | null,
              type?: string | null
            }[] | null
          } | null,
          action?: {
            addTag?: {
              value?: string | null
            } | null,
            removeTag?: {
              value?: string | null
            } | null,
            sendEmail?: {
              contentID?: string | null,
              isSkipAllowed?: boolean | null,
              language?: string | null,
              preheader?: string | null,
              replyToEmail?: string | null,
              senderEmail?: string | null,
              senderName?: string | null,
              subject?: string | null
            } | null,
            sendPush?: {
              body?: string | null,
              clickUrl?: string | null,
              iconID?: string | null,
              imageID?: string | null,
              isSkipAllowed?: boolean | null,
              title?: string | null
            } | null,
            sendSms?: {
              compliance?: {
                isStopKeywordIncluded?: boolean | null,
                isUnsubscribeLinkIncluded?: boolean | null,
                stopKeywordText?: string | null,
                unsubscribeLinkText?: string | null
              } | null,
              discountSettings?: {
                combinesWith?: {
                  isOrderCompatible?: boolean | null,
                  isProductCompatible?: boolean | null,
                  isShippingCompatible?: boolean | null
                } | null,
                expiry?: {
                  dateFormat?: string | null,
                  expirationText?: string | null,
                  expiresInDays?: number | null
                } | null,
                isItemsOnSaleExcluded?: boolean | null,
                scope?: {
                  collectionID?: number | null,
                  collectionType?: string | null,
                  conditions?: string | null,
                  minimumOrderAmount?: string | null
                } | null,
                type?: string | null,
                value?: string | null
              } | null,
              imageID?: string | null,
              isLinkShorteningEnabled?: boolean | null,
              isSkipAllowed?: boolean | null,
              message?: string | null
            } | null,
            sendWebhook?: {
              body?: string | null,
              callbackUrl?: string | null,
              headers?: {
                key?: string | null,
                value?: string | null
              }[] | null
            } | null,
            type?: string | null,
            unsubscribe?: {
              channels?: string[] | null
            } | null
          } | null,
          delay?: {
            allowedWeekdays?: string[] | null,
            duration?: {
              amount?: number | null,
              units?: string | null
            } | null,
            mode?: string | null,
            time?: string | null
          } | null,
          id?: string | null,
          split?: {
            falseBlocks?: (recursive)[] | null,
            filterGroup?: {
              filters?: {
                field?: string | null,
                operator?: string | null,
                type?: string | null,
                urlMatch?: {
                  operator?: string | null,
                  value?: string | null
                } | null,
                value?: any | null
              }[] | null,
              logicalOperator?: string | null
            } | null,
            trueBlocks?: (recursive)[] | null
          } | null,
          type?: string | null
        }[] | null,
        filterGroup?: {
          filters?: {
            field?: string | null,
            operator?: string | null,
            type?: string | null,
            urlMatch?: {
              operator?: string | null,
              value?: string | null
            } | null,
            value?: any | null
          }[] | null,
          logicalOperator?: string | null
        } | null,
        trueBlocks?: (recursive)[] | null
      } | null,
      type?: string | null
    }[] | null
  } | null,
  type?: string | null
}[] | null
```

> [accordion] exitConditions full type
>
> ```ts theme={null}
> {
>   event?: string | null,
>   filterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   origin?: string | null
> }[] | null
> ```

> [accordion] settings full type
>
> ```ts theme={null}
> {
>   discount?: {
>     combinesWith?: {
>       isOrderCompatible?: boolean | null,
>       isProductCompatible?: boolean | null,
>       isShippingCompatible?: boolean | null
>     } | null,
>     expiry?: {
>       dateFormat?: string | null,
>       expirationText?: string | null,
>       expiresInDays?: number | null
>     } | null,
>     isItemsOnSaleExcluded?: boolean | null,
>     scope?: {
>       collectionID?: number | null,
>       collectionType?: string | null,
>       conditions?: string | null,
>       minimumOrderAmount?: string | null
>     } | null,
>     type?: string | null,
>     value?: string | null
>   } | null,
>   frequencyLimiter?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null,
>     mode?: string | null
>   } | null,
>   overlapLimiter?: {
>     automationIDs?: string[] | null,
>     mode?: string | null,
>     withinDays?: number | null
>   } | null,
>   sendingThresholds?: {
>     email?: string | null,
>     sms?: string | null
>   } | null
> } | null
> ```

> [accordion] trigger full type
>
> ```ts theme={null}
> {
>   audienceFilterGroup?: {
>     filters?: {
>       field?: string | null,
>       operator?: string | null,
>       value?: any | null
>     }[] | null,
>     logicalOperator?: string | null
>   } | null,
>   condition?: {
>     event?: string | null,
>     filterGroups?: {
>       filters?: {
>         field?: string | null,
>         operator?: string | null,
>         value?: any | null
>       }[] | null,
>       logicalOperator?: string | null
>     }[] | null,
>     origin?: string | null
>   } | null,
>   inactivitySettings?: {
>     duration?: {
>       amount?: number | null,
>       units?: string | null
>     } | null
>   } | null
> } | null
> ```

***

## Batches

### create

`batches.create`

Queue up to 100 contact, product, category or event writes that Omnisend applies one by one, and read the batch back with batches.get until it is finished or stopped. An events batch can start automations that message customers, like events.send.

**Risk:** `destructive`

```ts theme={null}
await corsair.omnisend.api.batches.create({
	endpoint: 'products',
	items: ['example'],
	method: 'POST',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `endpoint` | `products \| contacts \| events \| categories` | Yes | — |
| `items` | `any[]` | Yes | — |
| `method` | `POST \| PUT` | Yes | — |
| `origin` | `string` | No | — |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `batchID` | `string \| null` | No | — |
| `totalCount` | `number \| null` | No | — |

***

### get

`batches.get`

Read a batch status and counts; pending and inProgress mean it still runs, finished and stopped mean it ended.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.batches.get({ batchID: '6650a1b2c3d4e5f6a7b8c9d3' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `batchID` | `string` | Yes | Batch ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `batchID` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `endedAt` | `string \| null` | No | — |
| `endpoint` | `string \| null` | No | — |
| `errors` | `object[] \| null` | No | — |
| `errorsCount` | `number \| null` | No | — |
| `eventID` | `string \| null` | No | — |
| `finishedCount` | `number \| null` | No | — |
| `method` | `string \| null` | No | — |
| `origin` | `string \| null` | No | — |
| `responses` | `object[] \| null` | No | — |
| `startedAt` | `string \| null` | No | — |
| `status` | `string \| null` | No | — |
| `totalCount` | `number \| null` | No | — |

> [accordion] errors full type
>
> ```ts theme={null}
> {
>   itemID?: string | null,
>   request?: any | null,
>   response?: any | null,
>   responseCode?: number | null,
>   status?: string | null
> }[] | null
> ```

> [accordion] responses full type
>
> ```ts theme={null}
> {
>   itemID?: string | null,
>   request?: any | null,
>   response?: any | null,
>   responseCode?: number | null,
>   status?: string | null
> }[] | null
> ```

***

### list

`batches.list`

Page the batches for one endpoint; categories batches cannot be listed.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.batches.list({ endpoint: 'products' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `offset` | `number` | No | Offset (minimum 0) |
| `limit` | `number` | No | Limit (1-250) |
| `status` | `pending \| inProgress \| finished \| stopped` | No | Status |
| `dateFrom` | `string` | No | Date from (format: yyyy-mm-dd) |
| `dateTo` | `string` | No | Date to (format: yyyy-mm-dd) |
| `endpoint` | `products \| contacts \| events` | Yes | Endpoint |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `batches` | `object[] \| null` | No | — |
| `paging` | `object \| null` | No | — |

> [accordion] batches full type
>
> ```ts theme={null}
> {
>   batchID?: string | null,
>   createdAt?: string | null,
>   endedAt?: string | null,
>   endpoint?: string | null,
>   errors?: {
>     itemID?: string | null,
>     request?: any | null,
>     response?: any | null,
>     responseCode?: number | null,
>     status?: string | null
>   }[] | null,
>   errorsCount?: number | null,
>   eventID?: string | null,
>   finishedCount?: number | null,
>   method?: string | null,
>   origin?: string | null,
>   responses?: {
>     itemID?: string | null,
>     request?: any | null,
>     response?: any | null,
>     responseCode?: number | null,
>     status?: string | null
>   }[] | null,
>   startedAt?: string | null,
>   status?: string | null,
>   totalCount?: number | null
> }[] | null
> ```

> [accordion] paging full type
>
> ```ts theme={null}
> {
>   limit?: number | null,
>   next?: string | null,
>   offset?: number | null,
>   previous?: string | null
> } | null
> ```

***

### listItems

`batches.listItems`

Read the per-item requests, responses and errors of a batch.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.batches.listItems({ batchID: '6650a1b2c3d4e5f6a7b8c9d3' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `batchID` | `string` | Yes | Batch ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `batchID` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `endedAt` | `string \| null` | No | — |
| `endpoint` | `string \| null` | No | — |
| `errors` | `object[] \| null` | No | — |
| `errorsCount` | `number \| null` | No | — |
| `eventID` | `string \| null` | No | — |
| `finishedCount` | `number \| null` | No | — |
| `method` | `string \| null` | No | — |
| `origin` | `string \| null` | No | — |
| `responses` | `object[] \| null` | No | — |
| `startedAt` | `string \| null` | No | — |
| `status` | `string \| null` | No | — |
| `totalCount` | `number \| null` | No | — |

> [accordion] errors full type
>
> ```ts theme={null}
> {
>   itemID?: string | null,
>   request?: any | null,
>   response?: any | null,
>   responseCode?: number | null,
>   status?: string | null
> }[] | null
> ```

> [accordion] responses full type
>
> ```ts theme={null}
> {
>   itemID?: string | null,
>   request?: any | null,
>   response?: any | null,
>   responseCode?: number | null,
>   status?: string | null
> }[] | null
> ```

***

## Brands

### getCurrent

`brands.getCurrent`

Get information about brand. With this endpoint you can get brand's information.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.brands.getCurrent({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `contentBase64` | `string` | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
| `text` | `string` | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
| `contentType` | `string` | Yes | Media type of the file, for example application/pdf. |
| `byteLength` | `number` | Yes | Size of the file in bytes. |
| `filename` | `string` | No | The file name, when known. |
| `contentOmitted` | `not_requested \| over_limit` | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
| `fileId` | `string` | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil\_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read\_text. |

***

## Campaigns

### cancel

`campaigns.cancel`

Cancel a scheduled, paused or started-email campaign; sent campaigns cannot be canceled.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.campaigns.cancel({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### copy

`campaigns.copy`

Duplicate a campaign as a new draft.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.campaigns.copy({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID to copy (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `abTest` | `object \| null` | No | A/B test configuration. Populated only when `type` is `abTest`; variants carry their own content (see `ABTest.variants`), so the top-level `content` field is omitted in that case. |
| `audience` | `object \| null` | No | Campaign audience |
| `boosterSettings` | `object \| null` | No | Booster-specific settings. Populated only when `type` is `booster` and identifies the parent campaign and the conditions under which this booster targets recipients of that parent. |
| `brandID` | `string \| null` | No | Brand unique identifier (read-only) |
| `channel` | `string \| null` | No | Campaign message channel |
| `content` | `object \| null` | No | Campaign content. Populated based on channel |
| `createdAt` | `string \| null` | No | Campaign creation timestamp (read-only) |
| `endedAt` | `string \| null` | No | Campaign end timestamp (read-only) |
| `id` | `string \| null` | No | Campaign unique identifier (read-only) |
| `language` | `string \| null` | No | Campaign language locale in xx\_XX format |
| `name` | `string \| null` | No | Campaign name |
| `sendingSettings` | `object \| null` | No | Campaign sending settings |
| `startedAt` | `string \| null` | No | Campaign start timestamp (read-only) |
| `status` | `string \| null` | No | Campaign status |
| `type` | `string \| null` | No | Campaign type. `booster` identifies a follow-up campaign sent to the audience of a parent campaign. |
| `updatedAt` | `string \| null` | No | Campaign last update timestamp (read-only) |
| `url` | `string \| null` | No | Link to the campaign in the Omnisend app (read-only): the settings page of a draft campaign (for a booster, the parent campaign's booster page) or the report of a started, sent, canceled, stopped or expired campaign. Omitted for scheduled, paused, on-hold and error campaigns. |

> [accordion] abTest full type
>
> ```ts theme={null}
> {
>   result?: {
>     isManuallySelected?: boolean | null,
>     selectedAt?: string | null,
>     winnerVariantID?: string | null
>   } | null,
>   settings?: {
>     decisionTime?: {
>       amount?: number | null,
>       unit?: string | null
>     } | null,
>     testSizePercent?: number | null,
>     winningMetric?: string | null
>   } | null,
>   variants?: {
>     a?: {
>       content?: {
>         email?: {
>           contentID?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null
>       } | null,
>       id?: string | null
>     } | null,
>     b?: {
>       content?: {
>         email?: {
>           contentID?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null
>       } | null,
>       id?: string | null
>     } | null
>   } | null
> } | null
> ```

> [accordion] audience full type
>
> ```ts theme={null}
> {
>   excludedCountries?: string[] | null,
>   excludedSegmentIDs?: string[] | null,
>   includedSegmentIDs?: string[] | null
> } | null
> ```

> [accordion] boosterSettings full type
>
> ```ts theme={null}
> {
>   campaignID?: string | null,
>   delay?: {
>     amount?: number | null,
>     unit?: string | null
>   } | null,
>   sendTo?: string | null
> } | null
> ```

> [accordion] content full type
>
> ```ts theme={null}
> {
>   email?: {
>     contentID?: string | null,
>     preheader?: string | null,
>     replyToEmail?: string | null,
>     senderEmail?: string | null,
>     senderName?: string | null,
>     subject?: string | null
>   } | null,
>   sms?: {
>     compliance?: {
>       stopKeywordText?: string | null,
>       unsubscribeLinkText?: string | null
>     } | null,
>     imageID?: string | null,
>     isLinkShorteningEnabled?: boolean | null,
>     message?: string | null,
>     senderName?: string | null
>   } | null
> } | null
> ```

> [accordion] sendingSettings full type
>
> ```ts theme={null}
> {
>   isTZOptimizationEnabled?: boolean | null,
>   optimizeFor?: string | null,
>   respectQuietHours?: boolean | null,
>   scheduledAt?: string | null,
>   strategy?: string | null
> } | null
> ```

***

### create

`campaigns.create`

Create a draft campaign. A regular email campaign needs content.email.templateID and senderName (Omnisend answers 400 without them), and creating with no verified sender answers 422.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.campaigns.create({
	name: 'Spring sale',
	type: 'regular',
	channel: 'email',
	content: {
		email: { subject: 'Spring sale starts today', senderName: 'Corsair Shop', templateID: '6650a1b2c3d4e5f6a7b8c9d5' },
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `abTest` | `object` | No | A/B test configuration. Required when type is "abTest". Variants carry per-variant content; omit the top-level content field. |
| `audience` | `object` | No | Campaign audience. Included and excluded segments must not overlap |
| `boosterSettings` | `object` | No | Booster settings. Required when type is "booster" |
| `channel` | `email \| push \| sms` | Yes | Campaign message channel |
| `content` | `object` | No | Campaign content. Required for regular campaigns (not required for booster or abTest). Populated based on channel |
| `language` | `string` | No | Campaign language locale in xx\_XX format. Optional; defaults to en\_US when not provided. Must be a supported language when specified |
| `name` | `string` | No | Campaign name. Required for regular and abTest campaigns (not required for booster) |
| `sendingSettings` | `object` | No | Campaign sending settings |
| `type` | `regular \| booster \| abTest` | Yes | Campaign type. When `type` is `booster`, there are two supported flows: Flow 1 — draft parent + draft booster: Create a draft parent campaign, then create a draft booster for it (set `boosterSettings.delay` to control when it fires). Send the parent; the booster is scheduled automatically based on the configured delay. Flow 2 — already-sent parent: Create and send a parent campaign first. Once it reaches `sent` status, create the booster campaign (omit `boosterSettings.delay`) and use `sendingSettings.scheduledAt` to set the exact send time. Then call the send endpoint on the booster. |

> [accordion] abTest full type
>
> ```ts theme={null}
> {
>   settings: {
>     decisionTime?: {
>       amount: number,
>       unit: h | d
>     },
>     testSizePercent: number,
>     winningMetric?: openRate | clickRate
>   },
>   variants: {
>     a: {
>       content: {
>         email: {
>           preheader?: string,
>           replyToEmail?: string,
>           senderEmail?: string,
>           senderName?: string,
>           subject: string,
>           templateID: string
>         }
>       }
>     },
>     b: {
>       content: {
>         email: {
>           preheader?: string,
>           replyToEmail?: string,
>           senderEmail?: string,
>           senderName?: string,
>           subject: string,
>           templateID: string
>         }
>       }
>     }
>   }
> }
> ```

> [accordion] audience full type
>
> ```ts theme={null}
> {
>   excludedCountries?: string[],
>   excludedSegmentIDs?: string[],
>   includedSegmentIDs?: string[]
> }
> ```

> [accordion] boosterSettings full type
>
> ```ts theme={null}
> {
>   campaignID: string,
>   delay?: {
>     amount: number,
>     unit: h | d
>   },
>   sendTo: nonOpeners | nonClickers
> }
> ```

> [accordion] content full type
>
> ```ts theme={null}
> {
>   email?: {
>     preheader?: string,
>     replyToEmail?: string,
>     senderEmail?: string,
>     senderName?: string,
>     subject?: string,
>     templateID?: string
>   },
>   sms?: {
>     compliance: {
>       stopKeywordText: string,
>       unsubscribeLinkText: string
>     },
>     imageID?: string,
>     isLinkShorteningEnabled?: boolean,
>     message: string
>   }
> }
> ```

> [accordion] sendingSettings full type
>
> ```ts theme={null}
> {
>   isTZOptimizationEnabled?: boolean,
>   optimizeFor?: opens | clicks | orders,
>   respectQuietHours?: boolean,
>   scheduledAt?: string,
>   strategy?: immediate | scheduled | personalized
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `abTest` | `object \| null` | No | A/B test configuration. Populated only when `type` is `abTest`; variants carry their own content (see `ABTest.variants`), so the top-level `content` field is omitted in that case. |
| `audience` | `object \| null` | No | Campaign audience |
| `boosterSettings` | `object \| null` | No | Booster-specific settings. Populated only when `type` is `booster` and identifies the parent campaign and the conditions under which this booster targets recipients of that parent. |
| `brandID` | `string \| null` | No | Brand unique identifier (read-only) |
| `channel` | `string \| null` | No | Campaign message channel |
| `content` | `object \| null` | No | Campaign content. Populated based on channel |
| `createdAt` | `string \| null` | No | Campaign creation timestamp (read-only) |
| `endedAt` | `string \| null` | No | Campaign end timestamp (read-only) |
| `id` | `string \| null` | No | Campaign unique identifier (read-only) |
| `language` | `string \| null` | No | Campaign language locale in xx\_XX format |
| `name` | `string \| null` | No | Campaign name |
| `sendingSettings` | `object \| null` | No | Campaign sending settings |
| `startedAt` | `string \| null` | No | Campaign start timestamp (read-only) |
| `status` | `string \| null` | No | Campaign status |
| `type` | `string \| null` | No | Campaign type. `booster` identifies a follow-up campaign sent to the audience of a parent campaign. |
| `updatedAt` | `string \| null` | No | Campaign last update timestamp (read-only) |
| `url` | `string \| null` | No | Link to the campaign in the Omnisend app (read-only): the settings page of a draft campaign (for a booster, the parent campaign's booster page) or the report of a started, sent, canceled, stopped or expired campaign. Omitted for scheduled, paused, on-hold and error campaigns. |

> [accordion] abTest full type
>
> ```ts theme={null}
> {
>   result?: {
>     isManuallySelected?: boolean | null,
>     selectedAt?: string | null,
>     winnerVariantID?: string | null
>   } | null,
>   settings?: {
>     decisionTime?: {
>       amount?: number | null,
>       unit?: string | null
>     } | null,
>     testSizePercent?: number | null,
>     winningMetric?: string | null
>   } | null,
>   variants?: {
>     a?: {
>       content?: {
>         email?: {
>           contentID?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null
>       } | null,
>       id?: string | null
>     } | null,
>     b?: {
>       content?: {
>         email?: {
>           contentID?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null
>       } | null,
>       id?: string | null
>     } | null
>   } | null
> } | null
> ```

> [accordion] audience full type
>
> ```ts theme={null}
> {
>   excludedCountries?: string[] | null,
>   excludedSegmentIDs?: string[] | null,
>   includedSegmentIDs?: string[] | null
> } | null
> ```

> [accordion] boosterSettings full type
>
> ```ts theme={null}
> {
>   campaignID?: string | null,
>   delay?: {
>     amount?: number | null,
>     unit?: string | null
>   } | null,
>   sendTo?: string | null
> } | null
> ```

> [accordion] content full type
>
> ```ts theme={null}
> {
>   email?: {
>     contentID?: string | null,
>     preheader?: string | null,
>     replyToEmail?: string | null,
>     senderEmail?: string | null,
>     senderName?: string | null,
>     subject?: string | null
>   } | null,
>   sms?: {
>     compliance?: {
>       stopKeywordText?: string | null,
>       unsubscribeLinkText?: string | null
>     } | null,
>     imageID?: string | null,
>     isLinkShorteningEnabled?: boolean | null,
>     message?: string | null,
>     senderName?: string | null
>   } | null
> } | null
> ```

> [accordion] sendingSettings full type
>
> ```ts theme={null}
> {
>   isTZOptimizationEnabled?: boolean | null,
>   optimizeFor?: string | null,
>   respectQuietHours?: boolean | null,
>   scheduledAt?: string | null,
>   strategy?: string | null
> } | null
> ```

***

### delete

`campaigns.delete`

Delete a campaign; it cannot be restored.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.campaigns.delete({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### get

`campaigns.get`

Read one campaign by id, with its content and sending settings.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.campaigns.get({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `abTest` | `object \| null` | No | A/B test configuration. Populated only when `type` is `abTest`; variants carry their own content (see `ABTest.variants`), so the top-level `content` field is omitted in that case. |
| `audience` | `object \| null` | No | Campaign audience |
| `boosterSettings` | `object \| null` | No | Booster-specific settings. Populated only when `type` is `booster` and identifies the parent campaign and the conditions under which this booster targets recipients of that parent. |
| `brandID` | `string \| null` | No | Brand unique identifier (read-only) |
| `channel` | `string \| null` | No | Campaign message channel |
| `content` | `object \| null` | No | Campaign content. Populated based on channel |
| `createdAt` | `string \| null` | No | Campaign creation timestamp (read-only) |
| `endedAt` | `string \| null` | No | Campaign end timestamp (read-only) |
| `id` | `string \| null` | No | Campaign unique identifier (read-only) |
| `language` | `string \| null` | No | Campaign language locale in xx\_XX format |
| `name` | `string \| null` | No | Campaign name |
| `sendingSettings` | `object \| null` | No | Campaign sending settings |
| `startedAt` | `string \| null` | No | Campaign start timestamp (read-only) |
| `status` | `string \| null` | No | Campaign status |
| `type` | `string \| null` | No | Campaign type. `booster` identifies a follow-up campaign sent to the audience of a parent campaign. |
| `updatedAt` | `string \| null` | No | Campaign last update timestamp (read-only) |
| `url` | `string \| null` | No | Link to the campaign in the Omnisend app (read-only): the settings page of a draft campaign (for a booster, the parent campaign's booster page) or the report of a started, sent, canceled, stopped or expired campaign. Omitted for scheduled, paused, on-hold and error campaigns. |

> [accordion] abTest full type
>
> ```ts theme={null}
> {
>   result?: {
>     isManuallySelected?: boolean | null,
>     selectedAt?: string | null,
>     winnerVariantID?: string | null
>   } | null,
>   settings?: {
>     decisionTime?: {
>       amount?: number | null,
>       unit?: string | null
>     } | null,
>     testSizePercent?: number | null,
>     winningMetric?: string | null
>   } | null,
>   variants?: {
>     a?: {
>       content?: {
>         email?: {
>           contentID?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null
>       } | null,
>       id?: string | null
>     } | null,
>     b?: {
>       content?: {
>         email?: {
>           contentID?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null
>       } | null,
>       id?: string | null
>     } | null
>   } | null
> } | null
> ```

> [accordion] audience full type
>
> ```ts theme={null}
> {
>   excludedCountries?: string[] | null,
>   excludedSegmentIDs?: string[] | null,
>   includedSegmentIDs?: string[] | null
> } | null
> ```

> [accordion] boosterSettings full type
>
> ```ts theme={null}
> {
>   campaignID?: string | null,
>   delay?: {
>     amount?: number | null,
>     unit?: string | null
>   } | null,
>   sendTo?: string | null
> } | null
> ```

> [accordion] content full type
>
> ```ts theme={null}
> {
>   email?: {
>     contentID?: string | null,
>     preheader?: string | null,
>     replyToEmail?: string | null,
>     senderEmail?: string | null,
>     senderName?: string | null,
>     subject?: string | null
>   } | null,
>   sms?: {
>     compliance?: {
>       stopKeywordText?: string | null,
>       unsubscribeLinkText?: string | null
>     } | null,
>     imageID?: string | null,
>     isLinkShorteningEnabled?: boolean | null,
>     message?: string | null,
>     senderName?: string | null
>   } | null
> } | null
> ```

> [accordion] sendingSettings full type
>
> ```ts theme={null}
> {
>   isTZOptimizationEnabled?: boolean | null,
>   optimizeFor?: string | null,
>   respectQuietHours?: boolean | null,
>   scheduledAt?: string | null,
>   strategy?: string | null
> } | null
> ```

***

### getUtm

`campaigns.getUtm`

Read the UTM tags stamped on a campaign links.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.campaigns.getUtm({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `tags` | `object \| null` | No | UTM tags — present for regular campaigns |
| `variants` | `object \| null` | No | UTM variants — present for A/B campaigns |

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   campaign?: string | null,
>   medium?: string | null,
>   source?: string | null
> } | null
> ```

> [accordion] variants full type
>
> ```ts theme={null}
> {
>   a?: {
>     id?: string | null,
>     tags?: {
>       campaign?: string | null,
>       medium?: string | null,
>       source?: string | null
>     } | null
>   } | null,
>   b?: {
>     id?: string | null,
>     tags?: {
>       campaign?: string | null,
>       medium?: string | null,
>       source?: string | null
>     } | null
>   } | null
> } | null
> ```

***

### list

`campaigns.list`

Page the campaigns, filtered by status, channel, type, name or dates.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.campaigns.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Number of items per page. Range: 1-250. Default: 100 |
| `after` | `string` | No | Opaque cursor for the next page |
| `before` | `string` | No | Opaque cursor for the previous page |
| `sort` | `createdAt \| updatedAt \| name` | No | Sort field. Default: createdAt |
| `direction` | `asc \| desc` | No | Sort direction. Default: desc |
| `status` | `(error \| onHold \| sent \| paused \| started \| stopped \| expired \| draft \| scheduled \| canceled)[]` | No | Filter by status (repeatable for OR logic) |
| `nameContains` | `string` | No | Filter by name (partial match, max 200 characters) |
| `channel` | `(email \| sms \| push)[]` | No | Filter by message channel (repeatable for OR logic) |
| `type` | `regular \| booster \| abTest` | No | Filter by campaign type. Use `booster` to list only boosters, `abTest` to list only A/B test parents. |
| `parentCampaignID` | `string` | No | Filter to boosters of the given parent campaign ID. Implies type=booster. |
| `createdAtFrom` | `string` | No | Filter campaigns created after this timestamp (ISO 8601, e.g. 2026-01-01T00:00:00Z) |
| `createdAtTo` | `string` | No | Filter campaigns created before this timestamp (ISO 8601, e.g. 2026-01-01T00:00:00Z) |
| `updatedAtFrom` | `string` | No | Filter campaigns updated after this timestamp (ISO 8601, e.g. 2026-01-01T00:00:00Z) |
| `updatedAtTo` | `string` | No | Filter campaigns updated before this timestamp (ISO 8601, e.g. 2026-01-01T00:00:00Z) |
| `view` | `summary` | No | Response shape. `summary` omits the heavy `content` and `abTest` sections from every item. Omit for the full representation. |
| `include` | `(content \| abTest)[]` | No | Heavy sections to keep in summary view (repeatable or comma-separated): `content` (full email/SMS/push content), `abTest` (A/B variants, settings and result). Only meaningful together with `view=summary`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `campaigns` | `object[] \| null` | No | List of campaigns |
| `paging` | `object \| null` | No | Pagination information |

> [accordion] campaigns full type
>
> ```ts theme={null}
> {
>   abTest?: {
>     result?: {
>       isManuallySelected?: boolean | null,
>       selectedAt?: string | null,
>       winnerVariantID?: string | null
>     } | null,
>     settings?: {
>       decisionTime?: {
>         amount?: number | null,
>         unit?: string | null
>       } | null,
>       testSizePercent?: number | null,
>       winningMetric?: string | null
>     } | null,
>     variants?: {
>       a?: {
>         content?: {
>           email?: {
>             contentID?: string | null,
>             preheader?: string | null,
>             replyToEmail?: string | null,
>             senderEmail?: string | null,
>             senderName?: string | null,
>             subject?: string | null
>           } | null
>         } | null,
>         id?: string | null
>       } | null,
>       b?: {
>         content?: {
>           email?: {
>             contentID?: string | null,
>             preheader?: string | null,
>             replyToEmail?: string | null,
>             senderEmail?: string | null,
>             senderName?: string | null,
>             subject?: string | null
>           } | null
>         } | null,
>         id?: string | null
>       } | null
>     } | null
>   } | null,
>   audience?: {
>     excludedCountries?: string[] | null,
>     excludedSegmentIDs?: string[] | null,
>     includedSegmentIDs?: string[] | null
>   } | null,
>   boosterSettings?: {
>     campaignID?: string | null,
>     delay?: {
>       amount?: number | null,
>       unit?: string | null
>     } | null,
>     sendTo?: string | null
>   } | null,
>   brandID?: string | null,
>   channel?: string | null,
>   content?: {
>     email?: {
>       contentID?: string | null,
>       preheader?: string | null,
>       replyToEmail?: string | null,
>       senderEmail?: string | null,
>       senderName?: string | null,
>       subject?: string | null
>     } | null,
>     sms?: {
>       compliance?: {
>         stopKeywordText?: string | null,
>         unsubscribeLinkText?: string | null
>       } | null,
>       imageID?: string | null,
>       isLinkShorteningEnabled?: boolean | null,
>       message?: string | null,
>       senderName?: string | null
>     } | null
>   } | null,
>   createdAt?: string | null,
>   endedAt?: string | null,
>   id?: string | null,
>   language?: string | null,
>   name?: string | null,
>   sendingSettings?: {
>     isTZOptimizationEnabled?: boolean | null,
>     optimizeFor?: string | null,
>     respectQuietHours?: boolean | null,
>     scheduledAt?: string | null,
>     strategy?: string | null
>   } | null,
>   startedAt?: string | null,
>   status?: string | null,
>   type?: string | null,
>   updatedAt?: string | null,
>   url?: string | null
> }[] | null
> ```

> [accordion] paging full type
>
> ```ts theme={null}
> {
>   cursors?: {
>     after?: string | null | null,
>     before?: string | null | null
>   } | null,
>   hasMore?: boolean | null,
>   limit?: number | null
> } | null
> ```

***

### restoreToDraft

`campaigns.restoreToDraft`

Move a scheduled campaign back to draft.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.campaigns.restoreToDraft({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### resumeAbTest

`campaigns.resumeAbTest`

Resume A/B test. Resume a stopped A/B test. Automatic winner selection becomes eligible to pick this campaign again. Available only while the campaign is in stopped status. Sending to the test audience starts again.

**Risk:** `destructive`

```ts theme={null}
await corsair.omnisend.api.campaigns.resumeAbTest({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### selectAbTestWinner

`campaigns.selectAbTestWinner`

Select A/B test winner. Manually pick a variant as the winner. The chosen variant is routed into the send pipeline immediately. Sends the chosen variant to the rest of the audience.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.campaigns.selectAbTestWinner({ id: '6650a1b2c3d4e5f6a7b8c9d0', variantID: 'prod-1001-42' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID (24 character hexadecimal) |
| `variantID` | `string` | Yes | ID of the variant to promote as the winner |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### send

`campaigns.send`

Send a draft campaign to its audience. This cannot be undone, and it answers 402 when the audience exceeds the billing tier. Sends the campaign to its whole audience; it cannot be undone.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.campaigns.send({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### sendTestEmail

`campaigns.sendTestEmail`

Render a campaign and email it to 1-5 addresses. Omnisend sends to exactly the addresses given, so use internal test inboxes, not customers.

**Risk:** `destructive`

```ts theme={null}
await corsair.omnisend.api.campaigns.sendTestEmail({
	id: '6650a1b2c3d4e5f6a7b8c9d0',
	recipients: ['qa-inbox@example.com'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID (24 character hexadecimal) |
| `recipients` | `string[]` | Yes | Email addresses that receive the test send. Between 1 and 5 addresses. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### setUtm

`campaigns.setUtm`

Set the UTM tags stamped on a campaign links. Send tags for a regular campaign or variants for an A/B test campaign, not both.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.campaigns.setUtm({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID (24 character hexadecimal) |
| `tags` | `object` | No | Tags for a regular campaign — omit for A/B campaigns |
| `variants` | `object` | No | Variants for an A/B test campaign — omit for regular campaigns |

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   campaign?: string,
>   medium?: string,
>   source?: string
> }
> ```

> [accordion] variants full type
>
> ```ts theme={null}
> {
>   a?: {
>     campaign?: string,
>     medium?: string,
>     source?: string
>   },
>   b?: {
>     campaign?: string,
>     medium?: string,
>     source?: string
>   }
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `tags` | `object \| null` | No | UTM tags — present for regular campaigns |
| `variants` | `object \| null` | No | UTM variants — present for A/B campaigns |

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   campaign?: string | null,
>   medium?: string | null,
>   source?: string | null
> } | null
> ```

> [accordion] variants full type
>
> ```ts theme={null}
> {
>   a?: {
>     id?: string | null,
>     tags?: {
>       campaign?: string | null,
>       medium?: string | null,
>       source?: string | null
>     } | null
>   } | null,
>   b?: {
>     id?: string | null,
>     tags?: {
>       campaign?: string | null,
>       medium?: string | null,
>       source?: string | null
>     } | null
>   } | null
> } | null
> ```

***

### stopAbTest

`campaigns.stopAbTest`

Stop A/B test. Halt the A/B test winner-selection phase. While stopped, automatic winner selection no longer considers this campaign until it is resumed. Available only while the campaign is in started status.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.campaigns.stopAbTest({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### update

`campaigns.update`

Change a draft campaign; started or scheduled campaigns answer 409.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.campaigns.update({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Campaign ID (24 character hexadecimal) |
| `abTest` | `object` | No | A/B test settings. Only applicable to A/B campaigns (campaigns with type "abTest"). Full replacement — all provided variant and setting fields replace existing values. templateID / contentID are excluded: templates are set at create time and cannot be changed via PATCH. |
| `audience` | `object` | No | Campaign audience. Included and excluded segments must not overlap |
| `boosterSettings` | `object` | No | Booster-specific settings. Only applicable to booster campaigns (campaigns with type "booster"). |
| `content` | `object` | No | Campaign content. Only specified fields will be updated |
| `language` | `string` | No | Campaign language locale in xx\_XX format. Must be a supported language |
| `name` | `string` | No | Campaign name |
| `sendingSettings` | `object` | No | Campaign sending settings. Full object replacement - all fields must be provided when updating |

> [accordion] abTest full type
>
> ```ts theme={null}
> {
>   settings?: {
>     decisionTime?: {
>       amount: number,
>       unit: h | d
>     },
>     testSizePercent?: number,
>     winningMetric?: openRate | clickRate
>   },
>   variants?: {
>     a?: {
>       content?: {
>         email?: {
>           preheader?: string,
>           replyToEmail?: string,
>           senderEmail?: string,
>           senderName?: string,
>           subject?: string
>         }
>       }
>     },
>     b?: {
>       content?: {
>         email?: {
>           preheader?: string,
>           replyToEmail?: string,
>           senderEmail?: string,
>           senderName?: string,
>           subject?: string
>         }
>       }
>     }
>   }
> }
> ```

> [accordion] audience full type
>
> ```ts theme={null}
> {
>   excludedCountries?: string[],
>   excludedSegmentIDs?: string[],
>   includedSegmentIDs?: string[]
> }
> ```

> [accordion] boosterSettings full type
>
> ```ts theme={null}
> {
>   delay?: {
>     amount: number,
>     unit: h | d
>   },
>   sendTo?: nonOpeners | nonClickers
> }
> ```

> [accordion] content full type
>
> ```ts theme={null}
> {
>   email?: {
>     preheader?: string,
>     replyToEmail?: string,
>     senderEmail?: string,
>     senderName?: string,
>     subject?: string
>   },
>   sms?: {
>     compliance?: {
>       stopKeywordText?: string,
>       unsubscribeLinkText?: string
>     },
>     imageID?: string,
>     isLinkShorteningEnabled?: boolean,
>     message?: string
>   }
> }
> ```

> [accordion] sendingSettings full type
>
> ```ts theme={null}
> {
>   isTZOptimizationEnabled?: boolean,
>   optimizeFor?: opens | clicks | orders,
>   respectQuietHours?: boolean,
>   scheduledAt?: string,
>   strategy?: immediate | scheduled | personalized
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `abTest` | `object \| null` | No | A/B test configuration. Populated only when `type` is `abTest`; variants carry their own content (see `ABTest.variants`), so the top-level `content` field is omitted in that case. |
| `audience` | `object \| null` | No | Campaign audience |
| `boosterSettings` | `object \| null` | No | Booster-specific settings. Populated only when `type` is `booster` and identifies the parent campaign and the conditions under which this booster targets recipients of that parent. |
| `brandID` | `string \| null` | No | Brand unique identifier (read-only) |
| `channel` | `string \| null` | No | Campaign message channel |
| `content` | `object \| null` | No | Campaign content. Populated based on channel |
| `createdAt` | `string \| null` | No | Campaign creation timestamp (read-only) |
| `endedAt` | `string \| null` | No | Campaign end timestamp (read-only) |
| `id` | `string \| null` | No | Campaign unique identifier (read-only) |
| `language` | `string \| null` | No | Campaign language locale in xx\_XX format |
| `name` | `string \| null` | No | Campaign name |
| `sendingSettings` | `object \| null` | No | Campaign sending settings |
| `startedAt` | `string \| null` | No | Campaign start timestamp (read-only) |
| `status` | `string \| null` | No | Campaign status |
| `type` | `string \| null` | No | Campaign type. `booster` identifies a follow-up campaign sent to the audience of a parent campaign. |
| `updatedAt` | `string \| null` | No | Campaign last update timestamp (read-only) |
| `url` | `string \| null` | No | Link to the campaign in the Omnisend app (read-only): the settings page of a draft campaign (for a booster, the parent campaign's booster page) or the report of a started, sent, canceled, stopped or expired campaign. Omitted for scheduled, paused, on-hold and error campaigns. |

> [accordion] abTest full type
>
> ```ts theme={null}
> {
>   result?: {
>     isManuallySelected?: boolean | null,
>     selectedAt?: string | null,
>     winnerVariantID?: string | null
>   } | null,
>   settings?: {
>     decisionTime?: {
>       amount?: number | null,
>       unit?: string | null
>     } | null,
>     testSizePercent?: number | null,
>     winningMetric?: string | null
>   } | null,
>   variants?: {
>     a?: {
>       content?: {
>         email?: {
>           contentID?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null
>       } | null,
>       id?: string | null
>     } | null,
>     b?: {
>       content?: {
>         email?: {
>           contentID?: string | null,
>           preheader?: string | null,
>           replyToEmail?: string | null,
>           senderEmail?: string | null,
>           senderName?: string | null,
>           subject?: string | null
>         } | null
>       } | null,
>       id?: string | null
>     } | null
>   } | null
> } | null
> ```

> [accordion] audience full type
>
> ```ts theme={null}
> {
>   excludedCountries?: string[] | null,
>   excludedSegmentIDs?: string[] | null,
>   includedSegmentIDs?: string[] | null
> } | null
> ```

> [accordion] boosterSettings full type
>
> ```ts theme={null}
> {
>   campaignID?: string | null,
>   delay?: {
>     amount?: number | null,
>     unit?: string | null
>   } | null,
>   sendTo?: string | null
> } | null
> ```

> [accordion] content full type
>
> ```ts theme={null}
> {
>   email?: {
>     contentID?: string | null,
>     preheader?: string | null,
>     replyToEmail?: string | null,
>     senderEmail?: string | null,
>     senderName?: string | null,
>     subject?: string | null
>   } | null,
>   sms?: {
>     compliance?: {
>       stopKeywordText?: string | null,
>       unsubscribeLinkText?: string | null
>     } | null,
>     imageID?: string | null,
>     isLinkShorteningEnabled?: boolean | null,
>     message?: string | null,
>     senderName?: string | null
>   } | null
> } | null
> ```

> [accordion] sendingSettings full type
>
> ```ts theme={null}
> {
>   isTZOptimizationEnabled?: boolean | null,
>   optimizeFor?: string | null,
>   respectQuietHours?: boolean | null,
>   scheduledAt?: string | null,
>   strategy?: string | null
> } | null
> ```

***

## Categories

### create

`categories.create`

Create a product category under your own category ID.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.categories.create({ categoryID: 'cat-shoes', title: 'Canvas sneaker' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `categoryID` | `string` | Yes | Product category unique identifier. Range: 1-100 characters |
| `title` | `string` | Yes | Product category name. Max 255 characters |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `categoryID` | `string \| null` | No | Product category unique identifier |

***

### delete

`categories.delete`

Delete a product category.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.categories.delete({ categoryID: 'cat-shoes' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `categoryID` | `string` | Yes | Product category ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### get

`categories.get`

Read one product category by your own category ID.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.categories.get({ categoryID: 'cat-shoes' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `categoryID` | `string` | Yes | Product category ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `categoryID` | `string \| null` | No | Product category unique identifier (read-only) |
| `createdAt` | `string \| null` | No | Product category creation timestamp (read-only) |
| `title` | `string \| null` | No | Product category name |
| `updatedAt` | `string \| null` | No | Product category last update timestamp (read-only) |

***

### list

`categories.list`

Page the product categories.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.categories.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `offset` | `number` | No | Offset |
| `limit` | `number` | No | Limit |
| `sort` | `title \| updatedAt \| createdAt` | No | Sort by |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `categories` | `object[] \| null` | No | List of product categories |
| `paging` | `object \| null` | No | Pagination information |

> [accordion] categories full type
>
> ```ts theme={null}
> {
>   categoryID?: string | null,
>   createdAt?: string | null,
>   title?: string | null,
>   updatedAt?: string | null
> }[] | null
> ```

> [accordion] paging full type
>
> ```ts theme={null}
> {
>   limit?: number | null,
>   next?: string | null,
>   offset?: number | null,
>   previous?: string | null
> } | null
> ```

***

### update

`categories.update`

Rename a product category.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.categories.update({ categoryID: 'cat-shoes', title: 'Canvas sneaker' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `categoryID` | `string` | Yes | Product category ID |
| `title` | `string` | Yes | Product category name. Max 255 characters |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `categoryID` | `string \| null` | No | Product category unique identifier (read-only) |

***

## Contacts

### addTags

`contacts.addTags`

Queue tags onto up to 250 contacts by id, email or phone, or every contact in a segment; the route answers 202 and the tags appear shortly after.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.contacts.addTags({
	emails: ['ada@example.com'],
	tags: ['vip'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `contactIDs` | `string[]` | No | Contact IDs to add tags to |
| `emails` | `string[]` | No | Emails of contacts to add tags to |
| `phones` | `string[]` | No | Phone numbers of contacts to add tags to, in E.164 format |
| `segmentID` | `string` | No | Segment ID whose contacts get the tags |
| `tags` | `string[]` | Yes | Tags to add |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### get

`contacts.get`

Read one contact by id, with its identifiers and consents.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.contacts.get({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Contact ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string \| null` | No | Contact Street, house number, apartment number |
| `birthdate` | `string \| null` | No | Contact birthdate in YYYY-MM-DD format |
| `city` | `string \| null` | No | Contact city |
| `consents` | `object[] \| null` | No | Consent records per channel, sorted by collection date (read-only) |
| `country` | `string \| null` | No | Contact country name |
| `countryCode` | `string \| null` | No | ISO 3166-1 alpha-2 country code |
| `createdAt` | `string \| null` | No | Contact creation timestamp (read-only) |
| `customProperties` | `object \| null` | No | Custom contact properties defined for the brand |
| `email` | `string \| null` | No | Primary email address derived from the email identifier (read-only) |
| `firstName` | `string \| null` | No | Contact first name |
| `gender` | `string \| null` | No | Contact gender |
| `id` | `string \| null` | No | Contact unique identifier (read-only) |
| `identifiers` | `object[] \| null` | No | Contact identifiers with channel subscription details |
| `lastName` | `string \| null` | No | Contact last name |
| `optIns` | `object[] \| null` | No | Opt-in history per channel, sorted by date (read-only) |
| `phone` | `string[] \| null` | No | Phone numbers derived from phone identifiers (read-only) |
| `postalCode` | `string \| null` | No | Contact postal or ZIP code |
| `segments` | `string[] \| null` | No | IDs of segments the contact belongs to (read-only) |
| `state` | `string \| null` | No | State or province name |
| `status` | `string \| null` | No | Email channel subscription status derived from the primary email identifier (read-only) |
| `statuses` | `object[] \| null` | No | Most recent subscription status per channel, sorted by date (read-only) |
| `tags` | `string[] \| null` | No | Labels assigned to the contact |
| `trackingConsents` | `object \| null` | No | Contact-level tracking consents (read-only) |
| `updatedAt` | `string \| null` | No | Contact last updated timestamp (read-only) |

> [accordion] consents full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   createdAt?: string | null,
>   ip?: string | null,
>   source?: string | null,
>   userAgent?: string | null
> }[] | null
> ```

> [accordion] customProperties full type
>
> ```ts theme={null}
> {
> } | null
> ```

> [accordion] identifiers full type
>
> ```ts theme={null}
> {
>   channels?: Record<string, {
>     status?: string | null,
>     statusChangedAt?: string | null
>   }> | null,
>   id?: string | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] optIns full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   optInAt?: string | null
> }[] | null
> ```

> [accordion] statuses full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   status?: string | null,
>   statusChangedAt?: string | null
> }[] | null
> ```

> [accordion] trackingConsents full type
>
> ```ts theme={null}
> {
>   emailOpen?: {
>     status?: string | null,
>     statusDate?: string | null
>   } | null
> } | null
> ```

***

### list

`contacts.list`

Page the brand contacts, filtered by email, phone, status, segment or tag.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.contacts.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Number of items per page. Range: 1-250. Default: 100 |
| `after` | `string` | No | Opaque cursor for fetching the next page (from paging.cursors.after) |
| `before` | `string` | No | Opaque cursor for fetching the previous page (from paging.cursors.before) |
| `sort` | `createdAt \| updatedAt` | No | Sort field. Default: createdAt |
| `direction` | `asc \| desc` | No | Sort direction. Default: desc |
| `email` | `string` | No | Filter by email address |
| `phone` | `string` | No | Filter by phone number |
| `status` | `subscribed \| unsubscribed \| nonSubscribed` | No | Contact subscription status filter. Cannot be combined with tag |
| `segmentID` | `string` | No | Filter by segment ID |
| `tag` | `string` | No | Filter by tag. Cannot be combined with status |
| `updatedAtFrom` | `string` | No | Filter contacts updated at or after this RFC3339 timestamp. Cannot be combined with email, phone, status, segmentID, or tag |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `contacts` | `object[] \| null` | No | List of contact resources |
| `paging` | `object \| null` | No | Pagination metadata |

> [accordion] contacts full type
>
> ```ts theme={null}
> {
>   address?: string | null,
>   birthdate?: string | null,
>   city?: string | null,
>   consents?: {
>     channel?: string | null,
>     createdAt?: string | null,
>     ip?: string | null,
>     source?: string | null,
>     userAgent?: string | null
>   }[] | null,
>   country?: string | null,
>   countryCode?: string | null,
>   createdAt?: string | null,
>   customProperties?: {
>   } | null,
>   email?: string | null,
>   firstName?: string | null,
>   gender?: string | null,
>   id?: string | null,
>   identifiers?: {
>     channels?: Record<string, {
>       status?: string | null,
>       statusChangedAt?: string | null
>     }> | null,
>     id?: string | null,
>     type?: string | null
>   }[] | null,
>   lastName?: string | null,
>   optIns?: {
>     channel?: string | null,
>     optInAt?: string | null
>   }[] | null,
>   phone?: string[] | null,
>   postalCode?: string | null,
>   segments?: string[] | null,
>   state?: string | null,
>   status?: string | null,
>   statuses?: {
>     channel?: string | null,
>     status?: string | null,
>     statusChangedAt?: string | null
>   }[] | null,
>   tags?: string[] | null,
>   trackingConsents?: {
>     emailOpen?: {
>       status?: string | null,
>       statusDate?: string | null
>     } | null
>   } | null,
>   updatedAt?: string | null
> }[] | null
> ```

> [accordion] paging full type
>
> ```ts theme={null}
> {
>   cursors?: {
>     after?: string | null | null,
>     before?: string | null | null
>   } | null,
>   hasMore?: boolean | null,
>   limit?: number | null
> } | null
> ```

***

### removeTags

`contacts.removeTags`

Queue tag removal for up to 250 contacts by id, email or phone, or every contact in a segment; the route answers 202 and the tags disappear shortly after.

**Risk:** `destructive`

```ts theme={null}
await corsair.omnisend.api.contacts.removeTags({
	emails: ['ada@example.com'],
	tags: ['vip'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `contactIDs` | `string[]` | No | Contact IDs to remove tags from |
| `emails` | `string[]` | No | Emails of contacts to remove tags from |
| `phones` | `string[]` | No | Phone numbers of contacts to remove tags from, in E.164 format |
| `segmentID` | `string` | No | Segment ID whose contacts lose the tags |
| `tags` | `string[]` | Yes | Tags to remove |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### update

`contacts.update`

Change a contact by id; sent tags replace the existing ones, so removing one tag means sending the rest.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.contacts.update({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Contact ID |
| `address` | `string` | No | Street, house number, apartment number. |
| `birthdate` | `string` | No | Contact birthdate in YYYY-MM-DD format |
| `city` | `string` | No | City |
| `country` | `string` | No | Country name. Used to derive ISO country code when countryCode is not provided |
| `countryCode` | `string` | No | ISO 3166-1 alpha-2 country code. Takes priority over country when both are provided |
| `createdAt` | `string` | No | Contact creation timestamp. If provided, stored as "externalCreated" custom property |
| `customProperties` | `object` | No | You can add your own custom properties. Read more in [https://api-docs.omnisend.com/reference/contacts#custom-properties](https://api-docs.omnisend.com/reference/contacts#custom-properties) |
| `firstName` | `string` | No | Contact first name |
| `gender` | `m \| f` | No | Contact gender. m - male, f - female |
| `identifiers` | `object[]` | No | Contact identifiers (email and/or phone) |
| `lastName` | `string` | No | Contact last name |
| `postalCode` | `string` | No | Postal or zip code |
| `state` | `string` | No | State or region |
| `tags` | `string[]` | No | Labels assigned to the contact. When creating a contact, it is strongly advised to include a source tag, e.g. "source: shopify". |
| `trackingConsents` | `object` | No | Contact-level tracking consents |

> [accordion] customProperties full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] identifiers full type
>
> ```ts theme={null}
> {
>   channels?: Record<string, {
>     status: subscribed | nonSubscribed | unsubscribed,
>     statusChangedAt?: string
>   }>,
>   consent?: {
>     createdAt?: string,
>     ip?: string,
>     source?: string,
>     userAgent?: string
>   },
>   id: string,
>   sendWelcomeMessage?: boolean,
>   source?: string,
>   type: email | phone
> }[]
> ```

> [accordion] trackingConsents full type
>
> ```ts theme={null}
> {
>   emailOpen?: {
>     status: given | declined,
>     statusDate?: string
>   }
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string \| null` | No | Contact Street, house number, apartment number |
| `birthdate` | `string \| null` | No | Contact birthdate in YYYY-MM-DD format |
| `city` | `string \| null` | No | Contact city |
| `consents` | `object[] \| null` | No | Consent records per channel, sorted by collection date (read-only) |
| `country` | `string \| null` | No | Contact country name |
| `countryCode` | `string \| null` | No | ISO 3166-1 alpha-2 country code |
| `createdAt` | `string \| null` | No | Contact creation timestamp (read-only) |
| `customProperties` | `object \| null` | No | Custom contact properties defined for the brand |
| `email` | `string \| null` | No | Primary email address derived from the email identifier (read-only) |
| `firstName` | `string \| null` | No | Contact first name |
| `gender` | `string \| null` | No | Contact gender |
| `id` | `string \| null` | No | Contact unique identifier (read-only) |
| `identifiers` | `object[] \| null` | No | Contact identifiers with channel subscription details |
| `lastName` | `string \| null` | No | Contact last name |
| `optIns` | `object[] \| null` | No | Opt-in history per channel, sorted by date (read-only) |
| `phone` | `string[] \| null` | No | Phone numbers derived from phone identifiers (read-only) |
| `postalCode` | `string \| null` | No | Contact postal or ZIP code |
| `segments` | `string[] \| null` | No | IDs of segments the contact belongs to (read-only) |
| `state` | `string \| null` | No | State or province name |
| `status` | `string \| null` | No | Email channel subscription status derived from the primary email identifier (read-only) |
| `statuses` | `object[] \| null` | No | Most recent subscription status per channel, sorted by date (read-only) |
| `tags` | `string[] \| null` | No | Labels assigned to the contact |
| `trackingConsents` | `object \| null` | No | Contact-level tracking consents (read-only) |
| `updatedAt` | `string \| null` | No | Contact last updated timestamp (read-only) |

> [accordion] consents full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   createdAt?: string | null,
>   ip?: string | null,
>   source?: string | null,
>   userAgent?: string | null
> }[] | null
> ```

> [accordion] customProperties full type
>
> ```ts theme={null}
> {
> } | null
> ```

> [accordion] identifiers full type
>
> ```ts theme={null}
> {
>   channels?: Record<string, {
>     status?: string | null,
>     statusChangedAt?: string | null
>   }> | null,
>   id?: string | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] optIns full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   optInAt?: string | null
> }[] | null
> ```

> [accordion] statuses full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   status?: string | null,
>   statusChangedAt?: string | null
> }[] | null
> ```

> [accordion] trackingConsents full type
>
> ```ts theme={null}
> {
>   emailOpen?: {
>     status?: string | null,
>     statusDate?: string | null
>   } | null
> } | null
> ```

***

### updateByEmail

`contacts.updateByEmail`

Change the contact an email address matches; sent tags replace the existing ones.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.contacts.updateByEmail({ email: 'ada@example.com' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `email` | `string` | Yes | Contact email address |
| `address` | `string` | No | Street, house number, apartment number. |
| `birthdate` | `string` | No | Contact birthdate in YYYY-MM-DD format |
| `city` | `string` | No | City |
| `country` | `string` | No | Country name. Used to derive ISO country code when countryCode is not provided |
| `countryCode` | `string` | No | ISO 3166-1 alpha-2 country code. Takes priority over country when both are provided |
| `createdAt` | `string` | No | Contact creation timestamp. If provided, stored as "externalCreated" custom property |
| `customProperties` | `object` | No | You can add your own custom properties. Read more in [https://api-docs.omnisend.com/reference/contacts#custom-properties](https://api-docs.omnisend.com/reference/contacts#custom-properties) |
| `firstName` | `string` | No | Contact first name |
| `gender` | `m \| f` | No | Contact gender. m - male, f - female |
| `identifiers` | `object[]` | No | Contact identifiers (email and/or phone) |
| `lastName` | `string` | No | Contact last name |
| `postalCode` | `string` | No | Postal or zip code |
| `state` | `string` | No | State or region |
| `tags` | `string[]` | No | Labels assigned to the contact. When creating a contact, it is strongly advised to include a source tag, e.g. "source: shopify". |
| `trackingConsents` | `object` | No | Contact-level tracking consents |

> [accordion] customProperties full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] identifiers full type
>
> ```ts theme={null}
> {
>   channels?: Record<string, {
>     status: subscribed | nonSubscribed | unsubscribed,
>     statusChangedAt?: string
>   }>,
>   consent?: {
>     createdAt?: string,
>     ip?: string,
>     source?: string,
>     userAgent?: string
>   },
>   id: string,
>   sendWelcomeMessage?: boolean,
>   source?: string,
>   type: email | phone
> }[]
> ```

> [accordion] trackingConsents full type
>
> ```ts theme={null}
> {
>   emailOpen?: {
>     status: given | declined,
>     statusDate?: string
>   }
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string \| null` | No | Contact Street, house number, apartment number |
| `birthdate` | `string \| null` | No | Contact birthdate in YYYY-MM-DD format |
| `city` | `string \| null` | No | Contact city |
| `consents` | `object[] \| null` | No | Consent records per channel, sorted by collection date (read-only) |
| `country` | `string \| null` | No | Contact country name |
| `countryCode` | `string \| null` | No | ISO 3166-1 alpha-2 country code |
| `createdAt` | `string \| null` | No | Contact creation timestamp (read-only) |
| `customProperties` | `object \| null` | No | Custom contact properties defined for the brand |
| `email` | `string \| null` | No | Primary email address derived from the email identifier (read-only) |
| `firstName` | `string \| null` | No | Contact first name |
| `gender` | `string \| null` | No | Contact gender |
| `id` | `string \| null` | No | Contact unique identifier (read-only) |
| `identifiers` | `object[] \| null` | No | Contact identifiers with channel subscription details |
| `lastName` | `string \| null` | No | Contact last name |
| `optIns` | `object[] \| null` | No | Opt-in history per channel, sorted by date (read-only) |
| `phone` | `string[] \| null` | No | Phone numbers derived from phone identifiers (read-only) |
| `postalCode` | `string \| null` | No | Contact postal or ZIP code |
| `segments` | `string[] \| null` | No | IDs of segments the contact belongs to (read-only) |
| `state` | `string \| null` | No | State or province name |
| `status` | `string \| null` | No | Email channel subscription status derived from the primary email identifier (read-only) |
| `statuses` | `object[] \| null` | No | Most recent subscription status per channel, sorted by date (read-only) |
| `tags` | `string[] \| null` | No | Labels assigned to the contact |
| `trackingConsents` | `object \| null` | No | Contact-level tracking consents (read-only) |
| `updatedAt` | `string \| null` | No | Contact last updated timestamp (read-only) |

> [accordion] consents full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   createdAt?: string | null,
>   ip?: string | null,
>   source?: string | null,
>   userAgent?: string | null
> }[] | null
> ```

> [accordion] customProperties full type
>
> ```ts theme={null}
> {
> } | null
> ```

> [accordion] identifiers full type
>
> ```ts theme={null}
> {
>   channels?: Record<string, {
>     status?: string | null,
>     statusChangedAt?: string | null
>   }> | null,
>   id?: string | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] optIns full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   optInAt?: string | null
> }[] | null
> ```

> [accordion] statuses full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   status?: string | null,
>   statusChangedAt?: string | null
> }[] | null
> ```

> [accordion] trackingConsents full type
>
> ```ts theme={null}
> {
>   emailOpen?: {
>     status?: string | null,
>     statusDate?: string | null
>   } | null
> } | null
> ```

***

### upsert

`contacts.upsert`

Create a contact, or update the one an identifier already matches; sent tags replace the existing ones.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.contacts.upsert({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | No | Street, house number, apartment number. |
| `birthdate` | `string` | No | Contact birthdate in YYYY-MM-DD format |
| `city` | `string` | No | City |
| `country` | `string` | No | Country name. Used to derive ISO country code when countryCode is not provided |
| `countryCode` | `string` | No | ISO 3166-1 alpha-2 country code. Takes priority over country when both are provided |
| `createdAt` | `string` | No | Contact creation timestamp. If provided, stored as "externalCreated" custom property |
| `customProperties` | `object` | No | You can add your own custom properties. Read more in [https://api-docs.omnisend.com/reference/contacts#custom-properties](https://api-docs.omnisend.com/reference/contacts#custom-properties) |
| `firstName` | `string` | No | Contact first name |
| `gender` | `m \| f` | No | Contact gender. m - male, f - female |
| `identifiers` | `object[]` | No | Contact identifiers (email and/or phone) |
| `lastName` | `string` | No | Contact last name |
| `postalCode` | `string` | No | Postal or zip code |
| `state` | `string` | No | State or region |
| `tags` | `string[]` | No | Labels assigned to the contact. When creating a contact, it is strongly advised to include a source tag, e.g. "source: shopify". |
| `trackingConsents` | `object` | No | Contact-level tracking consents |

> [accordion] customProperties full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] identifiers full type
>
> ```ts theme={null}
> {
>   channels?: Record<string, {
>     status: subscribed | nonSubscribed | unsubscribed,
>     statusChangedAt?: string
>   }>,
>   consent?: {
>     createdAt?: string,
>     ip?: string,
>     source?: string,
>     userAgent?: string
>   },
>   id: string,
>   sendWelcomeMessage?: boolean,
>   source?: string,
>   type: email | phone
> }[]
> ```

> [accordion] trackingConsents full type
>
> ```ts theme={null}
> {
>   emailOpen?: {
>     status: given | declined,
>     statusDate?: string
>   }
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string \| null` | No | Contact Street, house number, apartment number |
| `birthdate` | `string \| null` | No | Contact birthdate in YYYY-MM-DD format |
| `city` | `string \| null` | No | Contact city |
| `consents` | `object[] \| null` | No | Consent records per channel, sorted by collection date (read-only) |
| `country` | `string \| null` | No | Contact country name |
| `countryCode` | `string \| null` | No | ISO 3166-1 alpha-2 country code |
| `createdAt` | `string \| null` | No | Contact creation timestamp (read-only) |
| `customProperties` | `object \| null` | No | Custom contact properties defined for the brand |
| `email` | `string \| null` | No | Primary email address derived from the email identifier (read-only) |
| `firstName` | `string \| null` | No | Contact first name |
| `gender` | `string \| null` | No | Contact gender |
| `id` | `string \| null` | No | Contact unique identifier (read-only) |
| `identifiers` | `object[] \| null` | No | Contact identifiers with channel subscription details |
| `lastName` | `string \| null` | No | Contact last name |
| `optIns` | `object[] \| null` | No | Opt-in history per channel, sorted by date (read-only) |
| `phone` | `string[] \| null` | No | Phone numbers derived from phone identifiers (read-only) |
| `postalCode` | `string \| null` | No | Contact postal or ZIP code |
| `segments` | `string[] \| null` | No | IDs of segments the contact belongs to (read-only) |
| `state` | `string \| null` | No | State or province name |
| `status` | `string \| null` | No | Email channel subscription status derived from the primary email identifier (read-only) |
| `statuses` | `object[] \| null` | No | Most recent subscription status per channel, sorted by date (read-only) |
| `tags` | `string[] \| null` | No | Labels assigned to the contact |
| `trackingConsents` | `object \| null` | No | Contact-level tracking consents (read-only) |
| `updatedAt` | `string \| null` | No | Contact last updated timestamp (read-only) |

> [accordion] consents full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   createdAt?: string | null,
>   ip?: string | null,
>   source?: string | null,
>   userAgent?: string | null
> }[] | null
> ```

> [accordion] customProperties full type
>
> ```ts theme={null}
> {
> } | null
> ```

> [accordion] identifiers full type
>
> ```ts theme={null}
> {
>   channels?: Record<string, {
>     status?: string | null,
>     statusChangedAt?: string | null
>   }> | null,
>   id?: string | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] optIns full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   optInAt?: string | null
> }[] | null
> ```

> [accordion] statuses full type
>
> ```ts theme={null}
> {
>   channel?: string | null,
>   status?: string | null,
>   statusChangedAt?: string | null
> }[] | null
> ```

> [accordion] trackingConsents full type
>
> ```ts theme={null}
> {
>   emailOpen?: {
>     status?: string | null,
>     statusDate?: string | null
>   } | null
> } | null
> ```

***

## Content Translations

### listLanguages

`contentTranslations.listLanguages`

Get store languages. Returns the languages available for the store's content together with the store's default language.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.contentTranslations.listLanguages({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `defaultLanguage` | `string \| null` | No | Default language code used for the store's content |
| `languages` | `object[] \| null` | No | Languages available for the store's content |

> [accordion] languages full type
>
> ```ts theme={null}
> {
>   code?: string | null,
>   name?: string | null
> }[] | null
> ```

***

## Email Content

### get

`emailContent.get`

Read the content of a campaign email by id.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.emailContent.get({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Content ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | Content created at (read-only) |
| `generalSettings` | `object \| null` | No | Content general settings - global and template level styles |
| `id` | `string \| null` | No | Content unique identifier (read-only) |
| `sections` | `object[] \| null` | No | Content sections |
| `updatedAt` | `string \| null` | No | Content updated at (read-only) |

> [accordion] generalSettings full type
>
> ```ts theme={null}
> {
>   body?: {
>     backgroundColor?: string | null,
>     backgroundImageID?: string | null,
>     backgroundRepeat?: string | null,
>     backgroundSize?: string | null
>   } | null,
>   buttonPresets?: {
>     id?: string | null,
>     name?: string | null,
>     styles?: {
>       backgroundColor?: string | null,
>       border?: string | null,
>       borderRadius?: string | null,
>       color?: string | null,
>       fontFamily?: string | null,
>       fontSize?: string | null,
>       fontStyle?: string | null,
>       fontWeight?: string | null,
>       letterSpacing?: string | null,
>       paddingBottom?: string | null,
>       paddingLeft?: string | null,
>       paddingRight?: string | null,
>       paddingTop?: string | null,
>       textDecoration?: string | null
>     } | null
>   }[] | null,
>   content?: {
>     backgroundColor?: string | null,
>     color?: string | null,
>     fontFamily?: string | null,
>     fontSize?: string | null,
>     width?: string | null
>   } | null,
>   gmail?: {
>     annotation?: {
>       discountDescription?: string | null,
>       isEnabled?: boolean | null
>     } | null
>   } | null,
>   logo?: {
>     altText?: string | null,
>     height?: number | null,
>     id?: string | null,
>     isCustom?: boolean | null,
>     name?: string | null,
>     size?: number | null,
>     source?: string | null,
>     type?: string | null,
>     width?: number | null
>   } | null,
>   textPresets?: {
>     id?: string | null,
>     name?: string | null,
>     styles?: {
>       color?: string | null,
>       fontFamily?: string | null,
>       fontSize?: string | null,
>       letterSpacing?: string | null,
>       lineHeight?: string | null
>     } | null
>   }[] | null
> } | null
> ```

> [accordion] sections full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   productRecommender?: {
>     excludeCategories?: string[] | null,
>     excludeProducts?: string[] | null,
>     fallbackType?: string | null,
>     includeCategories?: string[] | null,
>     isOutOfStockIncluded?: boolean | null,
>     priceFrom?: number | null,
>     purchaseExclusionDays?: number | null,
>     recencyMonths?: number | null,
>     type?: string | null
>   } | null,
>   rows?: {
>     columns?: {
>       blocks?: {
>         button?: {
>           isFullWidth?: boolean | null,
>           link?: string | null,
>           text?: string | null,
>           translationKey?: string | null
>         } | null,
>         components?: {
>           button?: {
>             isFullWidth?: boolean | null,
>             link?: string | null,
>             text?: string | null,
>             translationKey?: string | null
>           } | null,
>           components?: {
>             button?: {
>               isFullWidth?: boolean | null,
>               link?: string | null,
>               text?: string | null,
>               translationKey?: string | null
>             } | null,
>             components?: (recursive)[] | null,
>             html?: string | null,
>             id?: string | null,
>             image?: {
>               altSource?: string | null,
>               altText?: string | null,
>               height?: number | null,
>               id?: string | null,
>               isDynamic?: boolean | null,
>               isExternalSource?: boolean | null,
>               link?: string | null,
>               maxHeight?: number | null,
>               maxHeightPercentage?: number | null,
>               name?: string | null,
>               resizeHeight?: number | null,
>               resizeWidth?: number | null,
>               size?: number | null,
>               source?: string | null,
>               state?: string | null,
>               type?: string | null,
>               width?: number | null
>             } | null,
>             role?: string | null,
>             stylePresetID?: string | null,
>             styleProperties?: {
>               alignment?: string | null,
>               backgroundColor?: string | null,
>               backgroundImageID?: string | null,
>               backgroundPosition?: string | null,
>               backgroundRepeat?: string | null,
>               backgroundSize?: string | null,
>               border?: string | null,
>               borderRadius?: string | null,
>               color?: string | null,
>               dividerColor?: string | null,
>               fontFamily?: string | null,
>               fontSize?: string | null,
>               fontStyle?: string | null,
>               fontWeight?: string | null,
>               innerPadding?: string | null,
>               innerPaddingBottom?: string | null,
>               innerPaddingLeft?: string | null,
>               innerPaddingRight?: string | null,
>               innerPaddingTop?: string | null,
>               isBackgroundPaddingsExcluded?: boolean | null,
>               letterSpacing?: string | null,
>               lineHeight?: string | null,
>               linkColor?: string | null,
>               padding?: string | null,
>               paddingBottom?: string | null,
>               paddingLeft?: string | null,
>               paddingRight?: string | null,
>               paddingTop?: string | null,
>               priceColor?: string | null,
>               secondaryColor?: string | null,
>               textBackgroundColor?: string | null,
>               textDecoration?: string | null,
>               verticalAlign?: string | null
>             } | null,
>             text?: string | null,
>             type?: string | null
>           }[] | null,
>           html?: string | null,
>           id?: string | null,
>           image?: {
>             altSource?: string | null,
>             altText?: string | null,
>             height?: number | null,
>             id?: string | null,
>             isDynamic?: boolean | null,
>             isExternalSource?: boolean | null,
>             link?: string | null,
>             maxHeight?: number | null,
>             maxHeightPercentage?: number | null,
>             name?: string | null,
>             resizeHeight?: number | null,
>             resizeWidth?: number | null,
>             size?: number | null,
>             source?: string | null,
>             state?: string | null,
>             type?: string | null,
>             width?: number | null
>           } | null,
>           role?: string | null,
>           stylePresetID?: string | null,
>           styleProperties?: {
>             alignment?: string | null,
>             backgroundColor?: string | null,
>             backgroundImageID?: string | null,
>             backgroundPosition?: string | null,
>             backgroundRepeat?: string | null,
>             backgroundSize?: string | null,
>             border?: string | null,
>             borderRadius?: string | null,
>             color?: string | null,
>             dividerColor?: string | null,
>             fontFamily?: string | null,
>             fontSize?: string | null,
>             fontStyle?: string | null,
>             fontWeight?: string | null,
>             innerPadding?: string | null,
>             innerPaddingBottom?: string | null,
>             innerPaddingLeft?: string | null,
>             innerPaddingRight?: string | null,
>             innerPaddingTop?: string | null,
>             isBackgroundPaddingsExcluded?: boolean | null,
>             letterSpacing?: string | null,
>             lineHeight?: string | null,
>             linkColor?: string | null,
>             padding?: string | null,
>             paddingBottom?: string | null,
>             paddingLeft?: string | null,
>             paddingRight?: string | null,
>             paddingTop?: string | null,
>             priceColor?: string | null,
>             secondaryColor?: string | null,
>             textBackgroundColor?: string | null,
>             textDecoration?: string | null,
>             verticalAlign?: string | null
>           } | null,
>           text?: string | null,
>           type?: string | null
>         }[] | null,
>         countdown?: {
>           alt?: string | null,
>           link?: string | null,
>           src?: string | null,
>           timerID?: string | null
>         } | null,
>         discount?: {
>           appliesToCustomCollectionID?: number | null,
>           appliesToID?: number | null,
>           appliesToResource?: string | null,
>           appliesToSmartCollectionID?: number | null,
>           code?: string | null,
>           combinesWith?: {
>             isOrderDiscountsCombined?: boolean | null,
>             isProductDiscountsCombined?: boolean | null,
>             isShippingDiscountsCombined?: boolean | null
>           } | null,
>           discountConditions?: string | null,
>           discountType?: string | null,
>           endsIn?: string | null,
>           isAppliedOncePerCustomer?: boolean | null,
>           isButtonHidden?: boolean | null,
>           isDiscountApplied?: boolean | null,
>           isItemsOnSaleExcluded?: boolean | null,
>           link?: string | null,
>           minimumOrderAmount?: string | null,
>           offerText?: string | null,
>           title?: string | null,
>           usageLimit?: string | null,
>           validUntil?: string | null,
>           validUntilFormat?: string | null,
>           validUntilFormatted?: string | null,
>           valueFixed?: string | null,
>           valuePercentage?: string | null
>         } | null,
>         dynamicDiscount?: {
>           appliesToCustomCollectionID?: number | null,
>           appliesToID?: number | null,
>           appliesToResource?: string | null,
>           appliesToSmartCollectionID?: number | null,
>           code?: string | null,
>           combinesWith?: {
>             isOrderDiscountsCombined?: boolean | null,
>             isProductDiscountsCombined?: boolean | null,
>             isShippingDiscountsCombined?: boolean | null
>           } | null,
>           discountConditions?: string | null,
>           discountType?: string | null,
>           endsIn?: string | null,
>           isAppliedOncePerCustomer?: boolean | null,
>           isButtonHidden?: boolean | null,
>           isDiscountApplied?: boolean | null,
>           isItemsOnSaleExcluded?: boolean | null,
>           link?: string | null,
>           minimumOrderAmount?: string | null,
>           offerText?: string | null,
>           title?: string | null,
>           usageLimit?: string | null,
>           validUntil?: string | null,
>           validUntilFormat?: string | null,
>           validUntilFormatted?: string | null,
>           valueFixed?: string | null,
>           valuePercentage?: string | null
>         } | null,
>         html?: string | null,
>         htmlCode?: {
>           body?: string | null,
>           style?: string | null
>         } | null,
>         id?: string | null,
>         image?: {
>           altSource?: string | null,
>           altText?: string | null,
>           height?: number | null,
>           id?: string | null,
>           isDynamic?: boolean | null,
>           isExternalSource?: boolean | null,
>           link?: string | null,
>           maxHeight?: number | null,
>           maxHeightPercentage?: number | null,
>           name?: string | null,
>           resizeHeight?: number | null,
>           resizeWidth?: number | null,
>           size?: number | null,
>           source?: string | null,
>           state?: string | null,
>           type?: string | null,
>           width?: number | null
>         } | null,
>         lineSpace?: {
>           height?: number | null,
>           type?: string | null,
>           width?: number | null
>         } | null,
>         logo?: {
>           link?: string | null,
>           resizeWidth?: number | null
>         } | null,
>         orderAddresses?: {
>           billing?: {
>             address1?: string | null,
>             address2?: string | null,
>             city?: string | null,
>             company?: string | null,
>             country?: string | null,
>             countryCode?: string | null,
>             firstName?: string | null,
>             lastName?: string | null,
>             phone?: string | null,
>             state?: string | null,
>             stateCode?: string | null,
>             zip?: string | null
>           } | null,
>           hiddenFields?: {
>             billing?: {
>               isAddress1Hidden?: boolean | null,
>               isAddress2Hidden?: boolean | null,
>               isCityHidden?: boolean | null,
>               isCompanyHidden?: boolean | null,
>               isCountryHidden?: boolean | null,
>               isNameSurnameHidden?: boolean | null,
>               isPhoneHidden?: boolean | null,
>               isStateHidden?: boolean | null,
>               isZipCodeHidden?: boolean | null
>             } | null,
>             isTitleHidden?: boolean | null,
>             shipping?: {
>               isAddress1Hidden?: boolean | null,
>               isAddress2Hidden?: boolean | null,
>               isCityHidden?: boolean | null,
>               isCompanyHidden?: boolean | null,
>               isCountryHidden?: boolean | null,
>               isNameSurnameHidden?: boolean | null,
>               isPhoneHidden?: boolean | null,
>               isStateHidden?: boolean | null,
>               isZipCodeHidden?: boolean | null
>             } | null
>           } | null,
>           shipping?: {
>             address1?: string | null,
>             address2?: string | null,
>             city?: string | null,
>             company?: string | null,
>             country?: string | null,
>             countryCode?: string | null,
>             firstName?: string | null,
>             lastName?: string | null,
>             phone?: string | null,
>             state?: string | null,
>             stateCode?: string | null,
>             zip?: string | null
>           } | null,
>           shippingMethods?: {
>             price?: string | null,
>             title?: string | null
>           }[] | null,
>           title?: string | null,
>           transactions?: {
>             payment?: string | null
>           }[] | null
>         } | null,
>         orderProducts?: {
>           hiddenFields?: {
>             isDiscountAmountHidden?: boolean | null,
>             isImageHidden?: boolean | null,
>             isPriceHidden?: boolean | null,
>             isPriceWithDiscountHidden?: boolean | null,
>             isProductIDHidden?: boolean | null,
>             isQuantityHidden?: boolean | null,
>             isSkuHidden?: boolean | null,
>             isTitleHidden?: boolean | null,
>             isVariantHidden?: boolean | null,
>             isVendorHidden?: boolean | null,
>             isWeightHidden?: boolean | null
>           } | null,
>           products?: {
>             currency?: string | null,
>             discountAmount?: string | null,
>             image?: {
>               altSource?: string | null,
>               altText?: string | null,
>               height?: number | null,
>               id?: string | null,
>               isDynamic?: boolean | null,
>               isExternalSource?: boolean | null,
>               link?: string | null,
>               maxHeight?: number | null,
>               maxHeightPercentage?: number | null,
>               name?: string | null,
>               resizeHeight?: number | null,
>               resizeWidth?: number | null,
>               size?: number | null,
>               source?: string | null,
>               state?: string | null,
>               type?: string | null,
>               width?: number | null
>             } | null,
>             price?: string | null,
>             priceWithDiscount?: string | null,
>             productID?: string | null,
>             productUrl?: string | null,
>             quantity?: number | null,
>             sku?: string | null,
>             title?: string | null,
>             variant?: string | null,
>             vendor?: string | null,
>             weight?: number | null
>           }[] | null
>         } | null,
>         orderSummary?: {
>           date?: string | null,
>           dateFormat?: string | null,
>           hiddenFields?: {
>             isDateHidden?: boolean | null,
>             isOrderIDHidden?: boolean | null,
>             isTitleHidden?: boolean | null
>           } | null,
>           orderID?: string | null,
>           title?: string | null
>         } | null,
>         orderTotal?: {
>           currency?: string | null,
>           discountTotal?: string | null,
>           discounts?: {
>             amount?: string | null,
>             code?: string | null,
>             type?: string | null
>           }[] | null,
>           hiddenFields?: {
>             isDiscountTotalHidden?: boolean | null,
>             isOrderTotalHidden?: boolean | null,
>             isShippingPriceHidden?: boolean | null,
>             isSubTotalHidden?: boolean | null,
>             isTaxTotalHidden?: boolean | null
>           } | null,
>           isSubTotalTaxIncluded?: boolean | null,
>           orderTotal?: string | null,
>           shippingPrice?: string | null,
>           subTotal?: string | null,
>           taxTotal?: string | null,
>           taxes?: {
>             price?: string | null,
>             rate?: string | null,
>             title?: string | null
>           }[] | null
>         } | null,
>         preheader?: {
>           linkText?: string | null,
>           text?: string | null
>         } | null,
>         product?: {
>           buttonText?: string | null,
>           description?: string | null,
>           id?: string | null,
>           imageID?: string | null,
>           imageUrl?: string | null,
>           link?: string | null,
>           oldPrice?: string | null,
>           originalTitle?: string | null,
>           price?: string | null,
>           productID?: string | null,
>           title?: string | null
>         } | null,
>         role?: string | null,
>         secondaryStylePresetID?: string | null,
>         social?: {
>           icons?: {
>             link?: string | null,
>             source?: string | null,
>             type?: string | null
>           }[] | null,
>           shape?: string | null,
>           size?: string | null
>         } | null,
>         staticDiscount?: {
>           appliesToCustomCollectionID?: number | null,
>           appliesToID?: number | null,
>           appliesToResource?: string | null,
>           appliesToSmartCollectionID?: number | null,
>           code?: string | null,
>           combinesWith?: {
>             isOrderDiscountsCombined?: boolean | null,
>             isProductDiscountsCombined?: boolean | null,
>             isShippingDiscountsCombined?: boolean | null
>           } | null,
>           discountConditions?: string | null,
>           discountType?: string | null,
>           endsIn?: string | null,
>           isAppliedOncePerCustomer?: boolean | null,
>           isButtonHidden?: boolean | null,
>           isDiscountApplied?: boolean | null,
>           isItemsOnSaleExcluded?: boolean | null,
>           link?: string | null,
>           minimumOrderAmount?: string | null,
>           offerText?: string | null,
>           title?: string | null,
>           usageLimit?: string | null,
>           validUntil?: string | null,
>           validUntilFormat?: string | null,
>           validUntilFormatted?: string | null,
>           valueFixed?: string | null,
>           valuePercentage?: string | null
>         } | null,
>         stylePresetID?: string | null,
>         styleProperties?: {
>           alignment?: string | null,
>           backgroundColor?: string | null,
>           backgroundImageID?: string | null,
>           backgroundPosition?: string | null,
>           backgroundRepeat?: string | null,
>           backgroundSize?: string | null,
>           border?: string | null,
>           borderRadius?: string | null,
>           color?: string | null,
>           dividerColor?: string | null,
>           fontFamily?: string | null,
>           fontSize?: string | null,
>           fontStyle?: string | null,
>           fontWeight?: string | null,
>           innerPadding?: string | null,
>           innerPaddingBottom?: string | null,
>           innerPaddingLeft?: string | null,
>           innerPaddingRight?: string | null,
>           innerPaddingTop?: string | null,
>           isBackgroundPaddingsExcluded?: boolean | null,
>           letterSpacing?: string | null,
>           lineHeight?: string | null,
>           linkColor?: string | null,
>           padding?: string | null,
>           paddingBottom?: string | null,
>           paddingLeft?: string | null,
>           paddingRight?: string | null,
>           paddingTop?: string | null,
>           priceColor?: string | null,
>           secondaryColor?: string | null,
>           textBackgroundColor?: string | null,
>           textDecoration?: string | null,
>           verticalAlign?: string | null
>         } | null,
>         text?: string | null,
>         type?: string | null,
>         video?: {
>           altText?: string | null,
>           id?: string | null,
>           image?: {
>             altSource?: string | null,
>             altText?: string | null,
>             height?: number | null,
>             id?: string | null,
>             isDynamic?: boolean | null,
>             isExternalSource?: boolean | null,
>             link?: string | null,
>             maxHeight?: number | null,
>             maxHeightPercentage?: number | null,
>             name?: string | null,
>             resizeHeight?: number | null,
>             resizeWidth?: number | null,
>             size?: number | null,
>             source?: string | null,
>             state?: string | null,
>             type?: string | null,
>             width?: number | null
>           } | null,
>           link?: string | null
>         } | null
>       }[] | null,
>       id?: string | null,
>       styleProperties?: {
>         alignment?: string | null,
>         backgroundColor?: string | null,
>         backgroundImageID?: string | null,
>         backgroundPosition?: string | null,
>         backgroundRepeat?: string | null,
>         backgroundSize?: string | null,
>         border?: string | null,
>         borderRadius?: string | null,
>         color?: string | null,
>         dividerColor?: string | null,
>         fontFamily?: string | null,
>         fontSize?: string | null,
>         fontStyle?: string | null,
>         fontWeight?: string | null,
>         innerPadding?: string | null,
>         innerPaddingBottom?: string | null,
>         innerPaddingLeft?: string | null,
>         innerPaddingRight?: string | null,
>         innerPaddingTop?: string | null,
>         isBackgroundPaddingsExcluded?: boolean | null,
>         letterSpacing?: string | null,
>         lineHeight?: string | null,
>         linkColor?: string | null,
>         padding?: string | null,
>         paddingBottom?: string | null,
>         paddingLeft?: string | null,
>         paddingRight?: string | null,
>         paddingTop?: string | null,
>         priceColor?: string | null,
>         secondaryColor?: string | null,
>         textBackgroundColor?: string | null,
>         textDecoration?: string | null,
>         verticalAlign?: string | null
>       } | null,
>       width?: string | null
>     }[] | null,
>     id?: string | null,
>     styleProperties?: {
>       alignment?: string | null,
>       backgroundColor?: string | null,
>       backgroundImageID?: string | null,
>       backgroundPosition?: string | null,
>       backgroundRepeat?: string | null,
>       backgroundSize?: string | null,
>       border?: string | null,
>       borderRadius?: string | null,
>       color?: string | null,
>       dividerColor?: string | null,
>       fontFamily?: string | null,
>       fontSize?: string | null,
>       fontStyle?: string | null,
>       fontWeight?: string | null,
>       innerPadding?: string | null,
>       innerPaddingBottom?: string | null,
>       innerPaddingLeft?: string | null,
>       innerPaddingRight?: string | null,
>       innerPaddingTop?: string | null,
>       isBackgroundPaddingsExcluded?: boolean | null,
>       letterSpacing?: string | null,
>       lineHeight?: string | null,
>       linkColor?: string | null,
>       padding?: string | null,
>       paddingBottom?: string | null,
>       paddingLeft?: string | null,
>       paddingRight?: string | null,
>       paddingTop?: string | null,
>       priceColor?: string | null,
>       secondaryColor?: string | null,
>       textBackgroundColor?: string | null,
>       textDecoration?: string | null,
>       verticalAlign?: string | null
>     } | null
>   }[] | null | null,
>   settings?: {
>     backgroundType?: string | null,
>     customFonts?: {
>       id?: string | null
>     }[] | null,
>     dynamicList?: {
>       columnCount?: number | null,
>       layout?: string | null,
>       listPath?: string | null,
>       repetitionCount?: number | null
>     } | null,
>     excludeProducts?: string[] | null,
>     filter?: {
>       operator?: string | null,
>       rules?: {
>         operator?: string | null,
>         property?: {
>           id?: string | null,
>           isSystem?: boolean | null,
>           name?: string | null,
>           type?: string | null
>         } | null,
>         value?: string | null
>       }[] | null
>     } | null,
>     isColumnStackDisabled?: boolean | null,
>     isOutOfStockHidden?: boolean | null,
>     isProductImagesFitted?: boolean | null,
>     sideBySideProductLayout?: string | null,
>     universalLayoutID?: string | null
>   } | null,
>   styleProperties?: {
>     alignment?: string | null,
>     backgroundColor?: string | null,
>     backgroundImageID?: string | null,
>     backgroundPosition?: string | null,
>     backgroundRepeat?: string | null,
>     backgroundSize?: string | null,
>     border?: string | null,
>     borderRadius?: string | null,
>     color?: string | null,
>     dividerColor?: string | null,
>     fontFamily?: string | null,
>     fontSize?: string | null,
>     fontStyle?: string | null,
>     fontWeight?: string | null,
>     innerPadding?: string | null,
>     innerPaddingBottom?: string | null,
>     innerPaddingLeft?: string | null,
>     innerPaddingRight?: string | null,
>     innerPaddingTop?: string | null,
>     isBackgroundPaddingsExcluded?: boolean | null,
>     letterSpacing?: string | null,
>     lineHeight?: string | null,
>     linkColor?: string | null,
>     padding?: string | null,
>     paddingBottom?: string | null,
>     paddingLeft?: string | null,
>     paddingRight?: string | null,
>     paddingTop?: string | null,
>     priceColor?: string | null,
>     secondaryColor?: string | null,
>     textBackgroundColor?: string | null,
>     textDecoration?: string | null,
>     verticalAlign?: string | null
>   } | null,
>   type?: string | null,
>   visibility?: {
>     isDesktopVisible?: boolean | null,
>     isMobileVisible?: boolean | null
>   } | null
> }[] | null
> ```

***

### render

`emailContent.render`

Render a campaign email to its HTML for preview; nothing is sent and no state changes.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.emailContent.render({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Content ID (24 character hexadecimal) |

**Output:** `Record<string, string>`

***

### replace

`emailContent.replace`

Replace a campaign email content in full; omitted fields drop to their defaults.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.emailContent.replace({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Content ID (24 character hexadecimal) |
| `generalSettings` | `object` | No | Content general settings - global and template level styles |
| `sections` | `object[]` | No | Content sections |

> [accordion] generalSettings full type
>
> ```ts theme={null}
> {
>   body: {
>     backgroundColor: string,
>     backgroundImageID?: string,
>     backgroundRepeat?: repeat | no-repeat,
>     backgroundSize?: contain | cover | auto
>   },
>   buttonPresets: {
>     id: string,
>     name?: string,
>     styles: {
>       backgroundColor?: string,
>       border?: string,
>       borderRadius: string,
>       color: string,
>       fontFamily: string,
>       fontSize: string,
>       fontStyle?: normal | italic,
>       fontWeight?: string,
>       letterSpacing?: string,
>       paddingBottom?: string,
>       paddingLeft?: string,
>       paddingRight?: string,
>       paddingTop?: string,
>       textDecoration?: underline | line-through
>     }
>   }[],
>   content: {
>     backgroundColor: string,
>     color: string,
>     fontFamily: string,
>     fontSize: string,
>     width: string
>   },
>   gmail?: {
>     annotation?: {
>       discountDescription?: string,
>       isEnabled?: boolean
>     }
>   },
>   logo?: {
>     altText?: string,
>     height?: number,
>     id?: string,
>     isCustom?: boolean,
>     name?: string,
>     size?: number,
>     source?: string,
>     type?: image/jpg | image/jpeg | image/png | image/gif,
>     width?: number
>   },
>   textPresets: {
>     id: string,
>     name?: string,
>     styles: {
>       color: string,
>       fontFamily: string,
>       fontSize: string,
>       letterSpacing?: string,
>       lineHeight: string
>     }
>   }[]
> }
> ```

```ts theme={null}
{
  id?: string,
  productRecommender?: {
    excludeCategories?: string[],
    excludeProducts?: string[],
    fallbackType?: string,
    includeCategories?: string[],
    isOutOfStockIncluded?: boolean,
    priceFrom?: number,
    purchaseExclusionDays?: number,
    recencyMonths?: number,
    type?: string
  },
  rows: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean,
          link?: string,
          text?: string,
          translationKey?: string
        },
        components?: {
          button?: {
            isFullWidth?: boolean,
            link?: string,
            text?: string,
            translationKey?: string
          },
          components?: {
            button?: {
              isFullWidth?: boolean,
              link?: string,
              text?: string,
              translationKey?: string
            },
            components?: (recursive)[],
            id?: string,
            image?: {
              altSource?: string,
              altText?: string,
              height?: number,
              id?: string,
              isDynamic?: boolean,
              isExternalSource?: boolean,
              link?: string,
              maxHeight?: number,
              maxHeightPercentage?: number,
              name?: string,
              resizeHeight?: number,
              resizeWidth?: number,
              size?: number,
              source?: string,
              state?: string,
              type?: string,
              width?: number
            },
            role?: discount_code | discount_button | discount_expiration_date | menu_text | product_image | product_title | product_description | product_prices | product_button | product_current_price | product_old_price,
            stylePresetID?: string,
            styleProperties?: {
              alignment?: string,
              backgroundColor?: string,
              backgroundImageID?: string,
              backgroundPosition?: string,
              backgroundRepeat?: string,
              backgroundSize?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              fontStyle?: string,
              fontWeight?: string,
              innerPadding?: string,
              innerPaddingBottom?: string,
              innerPaddingLeft?: string,
              innerPaddingRight?: string,
              innerPaddingTop?: string,
              isBackgroundPaddingsExcluded?: boolean,
              letterSpacing?: string,
              lineHeight?: string,
              linkColor?: string,
              padding?: string,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              priceColor?: string,
              secondaryColor?: string,
              textBackgroundColor?: string,
              textDecoration?: string,
              verticalAlign?: string
            },
            text?: string,
            type?: text | button | image | price
          }[],
          id?: string,
          image?: {
            altSource?: string,
            altText?: string,
            height?: number,
            id?: string,
            isDynamic?: boolean,
            isExternalSource?: boolean,
            link?: string,
            maxHeight?: number,
            maxHeightPercentage?: number,
            name?: string,
            resizeHeight?: number,
            resizeWidth?: number,
            size?: number,
            source?: string,
            state?: string,
            type?: string,
            width?: number
          },
          role?: discount_code | discount_button | discount_expiration_date | menu_text | product_image | product_title | product_description | product_prices | product_button | product_current_price | product_old_price,
          stylePresetID?: string,
          styleProperties?: {
            alignment?: string,
            backgroundColor?: string,
            backgroundImageID?: string,
            backgroundPosition?: string,
            backgroundRepeat?: string,
            backgroundSize?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            fontStyle?: string,
            fontWeight?: string,
            innerPadding?: string,
            innerPaddingBottom?: string,
            innerPaddingLeft?: string,
            innerPaddingRight?: string,
            innerPaddingTop?: string,
            isBackgroundPaddingsExcluded?: boolean,
            letterSpacing?: string,
            lineHeight?: string,
            linkColor?: string,
            padding?: string,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            priceColor?: string,
            secondaryColor?: string,
            textBackgroundColor?: string,
            textDecoration?: string,
            verticalAlign?: string
          },
          text?: string,
          type?: text | button | image | price
        }[],
        countdown?: {
          alt?: string,
          link?: string,
          timerID: string
        },
        discount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        htmlCode?: {
          body?: string,
          style?: string
        },
        id?: string,
        image?: {
          altSource?: string,
          altText?: string,
          height?: number,
          id?: string,
          isDynamic?: boolean,
          isExternalSource?: boolean,
          link?: string,
          maxHeight?: number,
          maxHeightPercentage?: number,
          name?: string,
          resizeHeight?: number,
          resizeWidth?: number,
          size?: number,
          source?: string,
          state?: string,
          type?: string,
          width?: number
        },
        lineSpace?: {
          height?: number,
          type?: string,
          width?: number
        },
        logo?: {
          link?: string,
          resizeWidth?: number
        },
        orderAddresses?: {
          billing?: {
            address1?: string,
            address2?: string,
            city?: string,
            company?: string,
            country?: string,
            countryCode?: string,
            firstName?: string,
            lastName?: string,
            phone?: string,
            state?: string,
            stateCode?: string,
            zip?: string
          },
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean,
              isAddress2Hidden?: boolean,
              isCityHidden?: boolean,
              isCompanyHidden?: boolean,
              isCountryHidden?: boolean,
              isNameSurnameHidden?: boolean,
              isPhoneHidden?: boolean,
              isStateHidden?: boolean,
              isZipCodeHidden?: boolean
            },
            isTitleHidden?: boolean,
            shipping?: {
              isAddress1Hidden?: boolean,
              isAddress2Hidden?: boolean,
              isCityHidden?: boolean,
              isCompanyHidden?: boolean,
              isCountryHidden?: boolean,
              isNameSurnameHidden?: boolean,
              isPhoneHidden?: boolean,
              isStateHidden?: boolean,
              isZipCodeHidden?: boolean
            }
          },
          shipping?: {
            address1?: string,
            address2?: string,
            city?: string,
            company?: string,
            country?: string,
            countryCode?: string,
            firstName?: string,
            lastName?: string,
            phone?: string,
            state?: string,
            stateCode?: string,
            zip?: string
          },
          shippingMethods?: {
            price?: string,
            title?: string
          }[],
          title?: string,
          transactions?: {
            payment?: string
          }[]
        },
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean,
            isImageHidden?: boolean,
            isPriceHidden?: boolean,
            isPriceWithDiscountHidden?: boolean,
            isProductIDHidden?: boolean,
            isQuantityHidden?: boolean,
            isSkuHidden?: boolean,
            isTitleHidden?: boolean,
            isVariantHidden?: boolean,
            isVendorHidden?: boolean,
            isWeightHidden?: boolean
          },
          products?: {
            currency?: string,
            discountAmount?: string,
            image?: {
              altSource?: string,
              altText?: string,
              height?: number,
              id?: string,
              isDynamic?: boolean,
              isExternalSource?: boolean,
              link?: string,
              maxHeight?: number,
              maxHeightPercentage?: number,
              name?: string,
              resizeHeight?: number,
              resizeWidth?: number,
              size?: number,
              source?: string,
              state?: string,
              type?: string,
              width?: number
            },
            price?: string,
            priceWithDiscount?: string,
            productID?: string,
            productUrl?: string,
            quantity?: number,
            sku?: string,
            title?: string,
            variant?: string,
            vendor?: string,
            weight?: number
          }[]
        },
        orderSummary?: {
          date?: string,
          dateFormat?: string,
          hiddenFields?: {
            isDateHidden?: boolean,
            isOrderIDHidden?: boolean,
            isTitleHidden?: boolean
          },
          orderID?: string,
          title?: string
        },
        orderTotal?: {
          currency?: string,
          discountTotal?: string,
          discounts?: {
            amount?: string,
            code?: string,
            type?: string
          }[],
          hiddenFields?: {
            isDiscountTotalHidden?: boolean,
            isOrderTotalHidden?: boolean,
            isShippingPriceHidden?: boolean,
            isSubTotalHidden?: boolean,
            isTaxTotalHidden?: boolean
          },
          isSubTotalTaxIncluded?: boolean,
          orderTotal?: string,
          shippingPrice?: string,
          subTotal?: string,
          taxTotal?: string,
          taxes?: {
            price?: string,
            rate?: string,
            title?: string
          }[]
        },
        preheader?: {
          linkText?: string,
          text?: string
        },
        product?: {
          buttonText?: string,
          description?: string,
          id?: string,
          imageID?: string,
          imageUrl?: string,
          link?: string,
          oldPrice?: string,
          originalTitle?: string,
          price?: string,
          productID?: string,
          title?: string
        },
        role?: product_image | product_title | product_description | product_prices | product_button | discount_code | discount_button | discount_expiration_date | product_current_price | product_old_price | menu_text,
        secondaryStylePresetID?: string,
        social?: {
          icons?: {
            link?: string,
            source?: string,
            type?: string
          }[],
          shape?: string,
          size?: string
        },
        staticDiscount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        stylePresetID?: string,
        styleProperties?: {
          alignment?: string,
          backgroundColor?: string,
          backgroundImageID?: string,
          backgroundPosition?: string,
          backgroundRepeat?: string,
          backgroundSize?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          fontStyle?: string,
          fontWeight?: string,
          innerPadding?: string,
          innerPaddingBottom?: string,
          innerPaddingLeft?: string,
          innerPaddingRight?: string,
          innerPaddingTop?: string,
          isBackgroundPaddingsExcluded?: boolean,
          letterSpacing?: string,
          lineHeight?: string,
          linkColor?: string,
          padding?: string,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          priceColor?: string,
          secondaryColor?: string,
          textBackgroundColor?: string,
          textDecoration?: string,
          verticalAlign?: string
        },
        text?: string,
        type?: html | htmlCode | text | image | video | logo | menu | social | button | product | discount | staticDiscount | dynamicDiscount | orderSummary | orderProducts | orderTotal | orderAddresses | lineSpace | preheader | price | countdown,
        video?: {
          altText?: string,
          id?: string,
          image?: {
            altSource?: string,
            altText?: string,
            height?: number,
            id?: string,
            isDynamic?: boolean,
            isExternalSource?: boolean,
            link?: string,
            maxHeight?: number,
            maxHeightPercentage?: number,
            name?: string,
            resizeHeight?: number,
            resizeWidth?: number,
            size?: number,
            source?: string,
            state?: string,
            type?: string,
            width?: number
          },
          link?: string
        }
      }[],
      id?: string,
      styleProperties?: {
        alignment?: string,
        backgroundColor?: string,
        backgroundImageID?: string,
        backgroundPosition?: string,
        backgroundRepeat?: string,
        backgroundSize?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        fontStyle?: string,
        fontWeight?: string,
        innerPadding?: string,
        innerPaddingBottom?: string,
        innerPaddingLeft?: string,
        innerPaddingRight?: string,
        innerPaddingTop?: string,
        isBackgroundPaddingsExcluded?: boolean,
        letterSpacing?: string,
        lineHeight?: string,
        linkColor?: string,
        padding?: string,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        priceColor?: string,
        secondaryColor?: string,
        textBackgroundColor?: string,
        textDecoration?: string,
        verticalAlign?: string
      },
      width?: string
    }[],
    id?: string,
    styleProperties?: {
      alignment?: string,
      backgroundColor?: string,
      backgroundImageID?: string,
      backgroundPosition?: string,
      backgroundRepeat?: string,
      backgroundSize?: string,
      border?: string,
      borderRadius?: string,
      color?: string,
      dividerColor?: string,
      fontFamily?: string,
      fontSize?: string,
      fontStyle?: string,
      fontWeight?: string,
      innerPadding?: string,
      innerPaddingBottom?: string,
      innerPaddingLeft?: string,
      innerPaddingRight?: string,
      innerPaddingTop?: string,
      isBackgroundPaddingsExcluded?: boolean,
      letterSpacing?: string,
      lineHeight?: string,
      linkColor?: string,
      padding?: string,
      paddingBottom?: string,
      paddingLeft?: string,
      paddingRight?: string,
      paddingTop?: string,
      priceColor?: string,
      secondaryColor?: string,
      textBackgroundColor?: string,
      textDecoration?: string,
      verticalAlign?: string
    }
  }[] | null,
  settings?: {
    backgroundType?: string,
    customFonts?: {
      id?: string
    }[],
    dynamicList?: {
      columnCount?: number,
      layout?: string,
      listPath?: string,
      repetitionCount?: number
    },
    excludeProducts?: string[],
    filter?: {
      operator?: string,
      rules?: {
        operator?: string,
        property?: {
          id?: string,
          isSystem?: boolean,
          name?: string,
          type?: string
        },
        value?: string
      }[]
    },
    isColumnStackDisabled?: boolean,
    isOutOfStockHidden?: boolean,
    isProductImagesFitted?: boolean,
    sideBySideProductLayout?: string,
    universalLayoutID?: string
  },
  styleProperties: {
    alignment?: string,
    backgroundColor?: string,
    backgroundImageID?: string,
    backgroundPosition?: string,
    backgroundRepeat?: string,
    backgroundSize?: string,
    border?: string,
    borderRadius?: string,
    color?: string,
    dividerColor?: string,
    fontFamily?: string,
    fontSize?: string,
    fontStyle?: string,
    fontWeight?: string,
    innerPadding?: string,
    innerPaddingBottom?: string,
    innerPaddingLeft?: string,
    innerPaddingRight?: string,
    innerPaddingTop?: string,
    isBackgroundPaddingsExcluded?: boolean,
    letterSpacing?: string,
    lineHeight?: string,
    linkColor?: string,
    padding?: string,
    paddingBottom?: string,
    paddingLeft?: string,
    paddingRight?: string,
    paddingTop?: string,
    priceColor?: string,
    secondaryColor?: string,
    textBackgroundColor?: string,
    textDecoration?: string,
    verticalAlign?: string
  },
  type?: products_listing | product_recommender | product_cart_recovery | product_back_in_stock | badge | preheader | dynamic_list | universal_layout | "",
  visibility?: {
    isDesktopVisible?: boolean,
    isMobileVisible?: boolean
  }
}[]
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | Content created at (read-only) |
| `generalSettings` | `object \| null` | No | Content general settings - global and template level styles |
| `id` | `string \| null` | No | Content unique identifier (read-only) |
| `sections` | `object[] \| null` | No | Content sections |
| `updatedAt` | `string \| null` | No | Content updated at (read-only) |

> [accordion] generalSettings full type
>
> ```ts theme={null}
> {
>   body?: {
>     backgroundColor?: string | null,
>     backgroundImageID?: string | null,
>     backgroundRepeat?: string | null,
>     backgroundSize?: string | null
>   } | null,
>   buttonPresets?: {
>     id?: string | null,
>     name?: string | null,
>     styles?: {
>       backgroundColor?: string | null,
>       border?: string | null,
>       borderRadius?: string | null,
>       color?: string | null,
>       fontFamily?: string | null,
>       fontSize?: string | null,
>       fontStyle?: string | null,
>       fontWeight?: string | null,
>       letterSpacing?: string | null,
>       paddingBottom?: string | null,
>       paddingLeft?: string | null,
>       paddingRight?: string | null,
>       paddingTop?: string | null,
>       textDecoration?: string | null
>     } | null
>   }[] | null,
>   content?: {
>     backgroundColor?: string | null,
>     color?: string | null,
>     fontFamily?: string | null,
>     fontSize?: string | null,
>     width?: string | null
>   } | null,
>   gmail?: {
>     annotation?: {
>       discountDescription?: string | null,
>       isEnabled?: boolean | null
>     } | null
>   } | null,
>   logo?: {
>     altText?: string | null,
>     height?: number | null,
>     id?: string | null,
>     isCustom?: boolean | null,
>     name?: string | null,
>     size?: number | null,
>     source?: string | null,
>     type?: string | null,
>     width?: number | null
>   } | null,
>   textPresets?: {
>     id?: string | null,
>     name?: string | null,
>     styles?: {
>       color?: string | null,
>       fontFamily?: string | null,
>       fontSize?: string | null,
>       letterSpacing?: string | null,
>       lineHeight?: string | null
>     } | null
>   }[] | null
> } | null
> ```

```ts theme={null}
{
  id?: string | null,
  productRecommender?: {
    excludeCategories?: string[] | null,
    excludeProducts?: string[] | null,
    fallbackType?: string | null,
    includeCategories?: string[] | null,
    isOutOfStockIncluded?: boolean | null,
    priceFrom?: number | null,
    purchaseExclusionDays?: number | null,
    recencyMonths?: number | null,
    type?: string | null
  } | null,
  rows?: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean | null,
          link?: string | null,
          text?: string | null,
          translationKey?: string | null
        } | null,
        components?: {
          button?: {
            isFullWidth?: boolean | null,
            link?: string | null,
            text?: string | null,
            translationKey?: string | null
          } | null,
          components?: {
            button?: {
              isFullWidth?: boolean | null,
              link?: string | null,
              text?: string | null,
              translationKey?: string | null
            } | null,
            components?: (recursive)[] | null,
            html?: string | null,
            id?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            role?: string | null,
            stylePresetID?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              backgroundImageID?: string | null,
              backgroundPosition?: string | null,
              backgroundRepeat?: string | null,
              backgroundSize?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              fontStyle?: string | null,
              fontWeight?: string | null,
              innerPadding?: string | null,
              innerPaddingBottom?: string | null,
              innerPaddingLeft?: string | null,
              innerPaddingRight?: string | null,
              innerPaddingTop?: string | null,
              isBackgroundPaddingsExcluded?: boolean | null,
              letterSpacing?: string | null,
              lineHeight?: string | null,
              linkColor?: string | null,
              padding?: string | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              priceColor?: string | null,
              secondaryColor?: string | null,
              textBackgroundColor?: string | null,
              textDecoration?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null
          }[] | null,
          html?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          role?: string | null,
          stylePresetID?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            backgroundImageID?: string | null,
            backgroundPosition?: string | null,
            backgroundRepeat?: string | null,
            backgroundSize?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            fontStyle?: string | null,
            fontWeight?: string | null,
            innerPadding?: string | null,
            innerPaddingBottom?: string | null,
            innerPaddingLeft?: string | null,
            innerPaddingRight?: string | null,
            innerPaddingTop?: string | null,
            isBackgroundPaddingsExcluded?: boolean | null,
            letterSpacing?: string | null,
            lineHeight?: string | null,
            linkColor?: string | null,
            padding?: string | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            priceColor?: string | null,
            secondaryColor?: string | null,
            textBackgroundColor?: string | null,
            textDecoration?: string | null,
            verticalAlign?: string | null
          } | null,
          text?: string | null,
          type?: string | null
        }[] | null,
        countdown?: {
          alt?: string | null,
          link?: string | null,
          src?: string | null,
          timerID?: string | null
        } | null,
        discount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        html?: string | null,
        htmlCode?: {
          body?: string | null,
          style?: string | null
        } | null,
        id?: string | null,
        image?: {
          altSource?: string | null,
          altText?: string | null,
          height?: number | null,
          id?: string | null,
          isDynamic?: boolean | null,
          isExternalSource?: boolean | null,
          link?: string | null,
          maxHeight?: number | null,
          maxHeightPercentage?: number | null,
          name?: string | null,
          resizeHeight?: number | null,
          resizeWidth?: number | null,
          size?: number | null,
          source?: string | null,
          state?: string | null,
          type?: string | null,
          width?: number | null
        } | null,
        lineSpace?: {
          height?: number | null,
          type?: string | null,
          width?: number | null
        } | null,
        logo?: {
          link?: string | null,
          resizeWidth?: number | null
        } | null,
        orderAddresses?: {
          billing?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null,
            isTitleHidden?: boolean | null,
            shipping?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null
          } | null,
          shipping?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          shippingMethods?: {
            price?: string | null,
            title?: string | null
          }[] | null,
          title?: string | null,
          transactions?: {
            payment?: string | null
          }[] | null
        } | null,
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean | null,
            isImageHidden?: boolean | null,
            isPriceHidden?: boolean | null,
            isPriceWithDiscountHidden?: boolean | null,
            isProductIDHidden?: boolean | null,
            isQuantityHidden?: boolean | null,
            isSkuHidden?: boolean | null,
            isTitleHidden?: boolean | null,
            isVariantHidden?: boolean | null,
            isVendorHidden?: boolean | null,
            isWeightHidden?: boolean | null
          } | null,
          products?: {
            currency?: string | null,
            discountAmount?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            price?: string | null,
            priceWithDiscount?: string | null,
            productID?: string | null,
            productUrl?: string | null,
            quantity?: number | null,
            sku?: string | null,
            title?: string | null,
            variant?: string | null,
            vendor?: string | null,
            weight?: number | null
          }[] | null
        } | null,
        orderSummary?: {
          date?: string | null,
          dateFormat?: string | null,
          hiddenFields?: {
            isDateHidden?: boolean | null,
            isOrderIDHidden?: boolean | null,
            isTitleHidden?: boolean | null
          } | null,
          orderID?: string | null,
          title?: string | null
        } | null,
        orderTotal?: {
          currency?: string | null,
          discountTotal?: string | null,
          discounts?: {
            amount?: string | null,
            code?: string | null,
            type?: string | null
          }[] | null,
          hiddenFields?: {
            isDiscountTotalHidden?: boolean | null,
            isOrderTotalHidden?: boolean | null,
            isShippingPriceHidden?: boolean | null,
            isSubTotalHidden?: boolean | null,
            isTaxTotalHidden?: boolean | null
          } | null,
          isSubTotalTaxIncluded?: boolean | null,
          orderTotal?: string | null,
          shippingPrice?: string | null,
          subTotal?: string | null,
          taxTotal?: string | null,
          taxes?: {
            price?: string | null,
            rate?: string | null,
            title?: string | null
          }[] | null
        } | null,
        preheader?: {
          linkText?: string | null,
          text?: string | null
        } | null,
        product?: {
          buttonText?: string | null,
          description?: string | null,
          id?: string | null,
          imageID?: string | null,
          imageUrl?: string | null,
          link?: string | null,
          oldPrice?: string | null,
          originalTitle?: string | null,
          price?: string | null,
          productID?: string | null,
          title?: string | null
        } | null,
        role?: string | null,
        secondaryStylePresetID?: string | null,
        social?: {
          icons?: {
            link?: string | null,
            source?: string | null,
            type?: string | null
          }[] | null,
          shape?: string | null,
          size?: string | null
        } | null,
        staticDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        stylePresetID?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          backgroundImageID?: string | null,
          backgroundPosition?: string | null,
          backgroundRepeat?: string | null,
          backgroundSize?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          fontStyle?: string | null,
          fontWeight?: string | null,
          innerPadding?: string | null,
          innerPaddingBottom?: string | null,
          innerPaddingLeft?: string | null,
          innerPaddingRight?: string | null,
          innerPaddingTop?: string | null,
          isBackgroundPaddingsExcluded?: boolean | null,
          letterSpacing?: string | null,
          lineHeight?: string | null,
          linkColor?: string | null,
          padding?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          priceColor?: string | null,
          secondaryColor?: string | null,
          textBackgroundColor?: string | null,
          textDecoration?: string | null,
          verticalAlign?: string | null
        } | null,
        text?: string | null,
        type?: string | null,
        video?: {
          altText?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          link?: string | null
        } | null
      }[] | null,
      id?: string | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        backgroundImageID?: string | null,
        backgroundPosition?: string | null,
        backgroundRepeat?: string | null,
        backgroundSize?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        innerPadding?: string | null,
        innerPaddingBottom?: string | null,
        innerPaddingLeft?: string | null,
        innerPaddingRight?: string | null,
        innerPaddingTop?: string | null,
        isBackgroundPaddingsExcluded?: boolean | null,
        letterSpacing?: string | null,
        lineHeight?: string | null,
        linkColor?: string | null,
        padding?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        priceColor?: string | null,
        secondaryColor?: string | null,
        textBackgroundColor?: string | null,
        textDecoration?: string | null,
        verticalAlign?: string | null
      } | null,
      width?: string | null
    }[] | null,
    id?: string | null,
    styleProperties?: {
      alignment?: string | null,
      backgroundColor?: string | null,
      backgroundImageID?: string | null,
      backgroundPosition?: string | null,
      backgroundRepeat?: string | null,
      backgroundSize?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      dividerColor?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      innerPadding?: string | null,
      innerPaddingBottom?: string | null,
      innerPaddingLeft?: string | null,
      innerPaddingRight?: string | null,
      innerPaddingTop?: string | null,
      isBackgroundPaddingsExcluded?: boolean | null,
      letterSpacing?: string | null,
      lineHeight?: string | null,
      linkColor?: string | null,
      padding?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      priceColor?: string | null,
      secondaryColor?: string | null,
      textBackgroundColor?: string | null,
      textDecoration?: string | null,
      verticalAlign?: string | null
    } | null
  }[] | null | null,
  settings?: {
    backgroundType?: string | null,
    customFonts?: {
      id?: string | null
    }[] | null,
    dynamicList?: {
      columnCount?: number | null,
      layout?: string | null,
      listPath?: string | null,
      repetitionCount?: number | null
    } | null,
    excludeProducts?: string[] | null,
    filter?: {
      operator?: string | null,
      rules?: {
        operator?: string | null,
        property?: {
          id?: string | null,
          isSystem?: boolean | null,
          name?: string | null,
          type?: string | null
        } | null,
        value?: string | null
      }[] | null
    } | null,
    isColumnStackDisabled?: boolean | null,
    isOutOfStockHidden?: boolean | null,
    isProductImagesFitted?: boolean | null,
    sideBySideProductLayout?: string | null,
    universalLayoutID?: string | null
  } | null,
  styleProperties?: {
    alignment?: string | null,
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundPosition?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null,
    border?: string | null,
    borderRadius?: string | null,
    color?: string | null,
    dividerColor?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    fontStyle?: string | null,
    fontWeight?: string | null,
    innerPadding?: string | null,
    innerPaddingBottom?: string | null,
    innerPaddingLeft?: string | null,
    innerPaddingRight?: string | null,
    innerPaddingTop?: string | null,
    isBackgroundPaddingsExcluded?: boolean | null,
    letterSpacing?: string | null,
    lineHeight?: string | null,
    linkColor?: string | null,
    padding?: string | null,
    paddingBottom?: string | null,
    paddingLeft?: string | null,
    paddingRight?: string | null,
    paddingTop?: string | null,
    priceColor?: string | null,
    secondaryColor?: string | null,
    textBackgroundColor?: string | null,
    textDecoration?: string | null,
    verticalAlign?: string | null
  } | null,
  type?: string | null,
  visibility?: {
    isDesktopVisible?: boolean | null,
    isMobileVisible?: boolean | null
  } | null
}[] | null
```

***

## Events

### defineSchema

`events.defineSchema`

Declare a custom event schema and its property types; a type, once declared, cannot change.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.events.defineSchema({ name: 'Spring sale', origin: 'api' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `displayName` | `string` | No | Human-readable label. Required on POST; omit on PUT to keep the stored value. |
| `name` | `string` | Yes | Machine-readable event name |
| `origin` | `string` | Yes | Single origin the schema belongs to |
| `properties` | `object` | No | Property tree keyed by property name. Required with at least one key on POST; on PUT only the keys present are merged. |

> [accordion] properties full type
>
> ```ts theme={null}
> Record<string, {
>   description?: string,
>   displayName?: string,
>   group?: string,
>   properties?: Record<string, {
>     description?: string,
>     displayName?: string,
>     group?: string,
>     properties?: Record<string, (recursive)>,
>     type: string | stringList | integer | integerList | float | floatList | boolean | booleanList | date | dateList | struct | structList
>   }>,
>   type: string | stringList | integer | integerList | float | floatList | boolean | booleanList | date | dateList | struct | structList
> }>
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `event` | `object \| null` | No | The stored event after the write was applied |

> [accordion] event full type
>
> ```ts theme={null}
> {
>   displayName?: string | null,
>   explicitlyDefined?: boolean | null,
>   name?: string | null,
>   origins?: string[] | null,
>   properties?: Record<string, {
>     description?: string | null,
>     displayName?: string | null,
>     explicitlyDefined?: boolean | null,
>     group?: string | null,
>     properties?: Record<string, {
>       description?: string | null,
>       displayName?: string | null,
>       explicitlyDefined?: boolean | null,
>       group?: string | null,
>       properties?: Record<string, (recursive)> | null,
>       type?: string | null
>     }> | null,
>     type?: string | null
>   }> | null
> } | null
> ```

***

### queryMetadata

`events.queryMetadata`

List the event schemas the brand knows, per category, with their declared property types.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.events.queryMetadata({ category: 'automations' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `category` | `automations \| events \| segments` | Yes | Event category, resolved against the requested Omnisend-Version |
| `events` | `string[]` | No | Optional list of event names to filter by |
| `excludeCustomEvents` | `boolean` | No | When true, brand-custom events are omitted. When false or omitted, custom events are included. Set this to `true` when only well-known events are needed, for a more predictable response size. |
| `includeProperties` | `boolean` | No | When true, response items include the nested property tree. When false or omitted, only event-level metadata is returned. |
| `origins` | `string[]` | No | Optional list of origins to filter by (OR-combined) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `events` | `object[] \| null` | No | List of event metadata entries |

> [accordion] events full type
>
> ```ts theme={null}
> {
>   displayName?: string | null,
>   explicitlyDefined?: boolean | null,
>   name?: string | null,
>   origins?: string[] | null,
>   properties?: Record<string, {
>     description?: string | null,
>     displayName?: string | null,
>     explicitlyDefined?: boolean | null,
>     group?: string | null,
>     properties?: Record<string, {
>       description?: string | null,
>       displayName?: string | null,
>       explicitlyDefined?: boolean | null,
>       group?: string | null,
>       properties?: Record<string, (recursive)> | null,
>       type?: string | null
>     }> | null,
>     type?: string | null
>   }> | null
> }[] | null
> ```

***

### send

`events.send`

Record an event for a contact, which creates or updates that contact and can trigger automations that email real customers. The event is queued (202) and append-only: it cannot be edited, read back or deleted. Omnisend's events guide asks for an origin on every event: use "api" unless your integration has its own origin.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.events.send({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `contact` | `object` | No | Contact information, contact will be created or updated based on the data provided here. |
| `eventID` | `string` | No | UUID of the event (v4, v5, v6, v7). Along with 'eventTime' used for historical event deduplication (not working on real-time events used for automations). If not provided, it will be generated automatically. |
| `eventName` | `string` | No | Check event documentation to find what event names you need to specify for each event. |
| `eventTime` | `string` | No | ISO 8601 timestamp. Accepts RFC 3339 (e.g. "2021-07-01T00:00:00Z") and the space-separated form "YYYY-MM-DD HH:MM:SS±HH:MM" (e.g. "2021-07-01 00:00:00+02:00"). Timestamps earlier than UTC midnight 10 years before the current date are rejected. Optional; defaults to current time. |
| `eventVersion` | `string` | No | Required ONLY for recommended events. Check event documentation to find what version you need to specify for each event. For custom events you should leave it empty. |
| `origin` | `string` | No | It should be based on the source of event API. If you are building platform or app integration it should have dedicated origin. Otherwise it should be "api". |
| `properties` | `object` | No | Event properties, you can check events guides section to see what recommended properties you should provide for each event. Not providing recommending properties can result some of the features not working properly. |

> [accordion] contact full type
>
> ```ts theme={null}
> {
>   address?: string,
>   birthdate?: string,
>   city?: string,
>   consents?: {
>     channel?: email | sms,
>     createdAt?: string,
>     ip?: string,
>     source?: string,
>     userAgent?: string
>   }[],
>   country?: string,
>   countryCode?: string,
>   customProperties?: {
>   },
>   email?: string,
>   firstName?: string,
>   gender?: m | f,
>   id?: string,
>   lastName?: string,
>   optIns?: {
>     channel?: email | sms,
>     createdAt?: string,
>     source?: string
>   }[],
>   optOuts?: {
>     channel?: email | sms,
>     createdAt?: string,
>     reason?: string,
>     source?: string
>   }[],
>   phone?: string,
>   postalCode?: string,
>   state?: string,
>   tags?: string[]
> }
> ```

> [accordion] properties full type
>
> ```ts theme={null}
> {
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### updateSchema

`events.updateSchema`

Merge changes into an event schema; the properties present change and none are deleted, and a declared type cannot change.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.events.updateSchema({ name: 'Spring sale', origin: 'api' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `displayName` | `string` | No | Human-readable label. Required on POST; omit on PUT to keep the stored value. |
| `name` | `string` | Yes | Machine-readable event name |
| `origin` | `string` | Yes | Single origin the schema belongs to |
| `properties` | `object` | No | Property tree keyed by property name. Required with at least one key on POST; on PUT only the keys present are merged. |

> [accordion] properties full type
>
> ```ts theme={null}
> Record<string, {
>   description?: string,
>   displayName?: string,
>   group?: string,
>   properties?: Record<string, {
>     description?: string,
>     displayName?: string,
>     group?: string,
>     properties?: Record<string, (recursive)>,
>     type: string | stringList | integer | integerList | float | floatList | boolean | booleanList | date | dateList | struct | structList
>   }>,
>   type: string | stringList | integer | integerList | float | floatList | boolean | booleanList | date | dateList | struct | structList
> }>
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `event` | `object \| null` | No | The stored event after the write was applied |

> [accordion] event full type
>
> ```ts theme={null}
> {
>   displayName?: string | null,
>   explicitlyDefined?: boolean | null,
>   name?: string | null,
>   origins?: string[] | null,
>   properties?: Record<string, {
>     description?: string | null,
>     displayName?: string | null,
>     explicitlyDefined?: boolean | null,
>     group?: string | null,
>     properties?: Record<string, {
>       description?: string | null,
>       displayName?: string | null,
>       explicitlyDefined?: boolean | null,
>       group?: string | null,
>       properties?: Record<string, (recursive)> | null,
>       type?: string | null
>     }> | null,
>     type?: string | null
>   }> | null
> } | null
> ```

***

## Form Ab Setups

### create

`formAbSetups.create`

Create a form A/B setup. Create a draft form A/B setup from an existing popup, flyout or fullscreen form. Only those display types are eligible; the source form becomes the setup's main form and its two variants start as identical copies that can be edited independently afterward.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.formAbSetups.create({ formID: '6650a1b2c3d4e5f6a7b8c9d2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string` | Yes | Main form unique identifier |
| `versions` | `object[]` | No | Two competing form variants. When omitted, both variants use a weight of 50 |

> [accordion] versions full type
>
> ```ts theme={null}
> {
>   name?: string,
>   weight?: number
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `autoClose` | `object \| null` | No | Auto-close policy configured when the test was started (read-only). Absent when the test does not close automatically. |
| `createdAt` | `string \| null` | No | A/B setup creation timestamp (read-only) |
| `enabledAt` | `string \| null` | No | A/B setup enable timestamp (read-only) |
| `id` | `string \| null` | No | A/B setup unique identifier (read-only) |
| `launchedAt` | `string \| null` | No | A/B setup launch timestamp (read-only) |
| `mainForm` | `object \| null` | No | Main form of the A/B setup |
| `status` | `string \| null` | No | A/B setup status (read-only) |
| `updatedAt` | `string \| null` | No | A/B setup last update timestamp (read-only) |
| `versions` | `object[] \| null` | No | Variant forms of the A/B setup |

> [accordion] autoClose full type
>
> ```ts theme={null}
> {
>   endsAt?: string | null,
>   stopOnSignificance?: boolean | null
> } | null
> ```

> [accordion] mainForm full type
>
> ```ts theme={null}
> {
>   formID?: string | null,
>   name?: string | null,
>   status?: string | null
> } | null
> ```

> [accordion] versions full type
>
> ```ts theme={null}
> {
>   formID?: string | null,
>   name?: string | null,
>   weight?: number | null
> }[] | null
> ```

***

### delete

`formAbSetups.delete`

Delete a form A/B setup. Delete a single form A/B setup by ID. Only draft form A/B setups can be deleted; enabled or completed setups cannot. Deleting a non-existent form A/B setup succeeds (idempotent).

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.formAbSetups.delete({ abSetupID: '6650a1b2c3d4e5f6a7b8c9d4' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `abSetupID` | `string` | Yes | Form A/B setup ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### get

`formAbSetups.get`

Get a form A/B setup. Get a single form A/B setup by ID, including its main form, variant forms with their weights, status, lifecycle timestamps, and the auto-close policy configured when the test was started (if any).

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.formAbSetups.get({ abSetupID: '6650a1b2c3d4e5f6a7b8c9d4' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `abSetupID` | `string` | Yes | Form A/B setup ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `autoClose` | `object \| null` | No | Auto-close policy configured when the test was started (read-only). Absent when the test does not close automatically. |
| `createdAt` | `string \| null` | No | A/B setup creation timestamp (read-only) |
| `enabledAt` | `string \| null` | No | A/B setup enable timestamp (read-only) |
| `id` | `string \| null` | No | A/B setup unique identifier (read-only) |
| `launchedAt` | `string \| null` | No | A/B setup launch timestamp (read-only) |
| `mainForm` | `object \| null` | No | Main form of the A/B setup |
| `status` | `string \| null` | No | A/B setup status (read-only) |
| `updatedAt` | `string \| null` | No | A/B setup last update timestamp (read-only) |
| `versions` | `object[] \| null` | No | Variant forms of the A/B setup |

> [accordion] autoClose full type
>
> ```ts theme={null}
> {
>   endsAt?: string | null,
>   stopOnSignificance?: boolean | null
> } | null
> ```

> [accordion] mainForm full type
>
> ```ts theme={null}
> {
>   formID?: string | null,
>   name?: string | null,
>   status?: string | null
> } | null
> ```

> [accordion] versions full type
>
> ```ts theme={null}
> {
>   formID?: string | null,
>   name?: string | null,
>   weight?: number | null
> }[] | null
> ```

***

### list

`formAbSetups.list`

List form A/B setups. List form A/B setups with sorting and cursor-based pagination support. Each setup includes the auto-close policy configured when the test was started (if any).

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.formAbSetups.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Page size (1-250) |
| `after` | `string` | No | Cursor for next page (base64-encoded, obtained from previous response) |
| `before` | `string` | No | Cursor for previous page (base64-encoded, obtained from previous response) |
| `sort` | `createdAt \| launchedAt \| enabledAt \| updatedAt` | No | Sort field (only needed on first request) |
| `direction` | `asc \| desc` | No | Sort direction (only needed on first request) |
| `status` | `draft \| enabled \| disabled` | No | Filter by status |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `abSetups` | `object[] \| null` | No | — |
| `paging` | `object \| null` | No | Cursor-based pagination metadata |

> [accordion] abSetups full type
>
> ```ts theme={null}
> {
>   autoClose?: {
>     endsAt?: string | null,
>     stopOnSignificance?: boolean | null
>   } | null,
>   createdAt?: string | null,
>   enabledAt?: string | null,
>   id?: string | null,
>   launchedAt?: string | null,
>   mainForm?: {
>     formID?: string | null,
>     name?: string | null,
>     status?: string | null
>   } | null,
>   status?: string | null,
>   updatedAt?: string | null,
>   versions?: {
>     formID?: string | null,
>     name?: string | null,
>     weight?: number | null
>   }[] | null
> }[] | null
> ```

> [accordion] paging full type
>
> ```ts theme={null}
> {
>   cursors?: {
>     after?: string | null | null,
>     before?: string | null | null
>   } | null,
>   hasMore?: boolean | null,
>   limit?: number | null
> } | null
> ```

***

### selectWinner

`formAbSetups.selectWinner`

Select a form A/B setup winner. Select a winning variant for a form A/B setup by its version form ID. A winner can only be selected for an enabled (started) setup; selecting one concludes the test in favor of the chosen variant.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.formAbSetups.selectWinner({ abSetupID: '6650a1b2c3d4e5f6a7b8c9d4', versionFormID: '6650a1b2c3d4e5f6a7b8c9d2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `abSetupID` | `string` | Yes | Form A/B setup ID |
| `versionFormID` | `string` | Yes | Winner version form ID. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### start

`formAbSetups.start`

Start a form A/B setup. Start a form A/B test by ID. Launches the A/B setup so its variants begin serving to visitors according to their weights, moving the setup to enabled status. Starting a form A/B setup that has already been started returns a conflict.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.formAbSetups.start({ abSetupID: '6650a1b2c3d4e5f6a7b8c9d4' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `abSetupID` | `string` | Yes | Form A/B setup ID |
| `autoClose` | `object` | No | Optional auto-close policy applied when the test starts. Omit for a test that never closes automatically. |

> [accordion] autoClose full type
>
> ```ts theme={null}
> {
>   endsAt?: string,
>   stopOnSignificance?: boolean
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

## Forms

### create

`forms.create`

Create form. Create a form with its full content and styling. New forms start in draft status and are not shown to visitors until enabled via POST /forms/\{formID}/enable. Choosing a display type: - popup — modal centered over the page that dims the background.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.forms.create({
	name: 'Newsletter popup',
	displayType: 'popup',
	content: {
		generalSettings: {
			body: { borderRadius: '0px', borderStyle: 'solid', borderWidth: '0px' },
			buttonPresets: [{
				id: 'primary_button',
				styles: {
					color: '#222222',
					fontFamily: 'Arial',
					fontSize: '14px',
					borderRadius: '4px',
					borderStyle: 'solid',
					borderWidth: '0px',
					fontStyle: 'normal',
					fontWeight: 'bold',
					textDecoration: 'none',
				},
			}],
			content: { color: '#222222', width: '400px' },
			fieldStyles: {
				errorColor: '#d00000',
				field: {
					borderColor: '#cccccc',
					borderRadius: '4px',
					borderStyle: 'solid',
					borderWidth: '1px',
					color: '#222222',
				},
				fontFamily: 'Arial',
				fontSize: '14px',
				label: { color: '#222222' },
				placeholder: { color: '#999999' },
			},
			link: { color: '#0066cc' },
			textPresets: [{
				id: 'paragraph',
				styles: {
					color: '#222222',
					fontFamily: 'Arial',
					fontSize: '14px',
					lineHeight: '125%',
				},
			}],
		},
		steps: [{
			sections: [{
				rows: [{
					columns: [{
						width: '100%',
						blocks: [{
							type: 'emailField',
							emailField: { errorMessage: 'Enter a valid email' },
						}, {
							type: 'button',
							button: { type: 'submit', text: 'Subscribe' },
						}],
					}],
				}],
			}],
		}],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `autoRedirect` | `object` | No | Auto-redirect configuration applied after submission |
| `clickOutside` | `object` | No | Click-outside-to-close behavior |
| `contactTags` | `string[]` | No | Tags applied to contacts who submit the form |
| `content` | `object` | Yes | Form content |
| `displayType` | `popup \| landingPage \| embedded \| flyout \| fullscreen` | Yes | Form display type |
| `doubleOptIn` | `object` | No | Double opt-in configuration |
| `name` | `string` | Yes | Form name |
| `recaptcha` | `object` | No | reCAPTCHA protection settings |
| `socialMediaSharing` | `object` | No | Social media sharing metadata |
| `targeting` | `object` | No | Form targeting rules |

```ts theme={null}
{
  countdownText?: string,
  delayMs?: number,
  isEnabled?: boolean,
  shouldOpenInNewTab?: boolean,
  url?: string
}
```

```ts theme={null}
{
  isEnabled?: boolean
}
```

```ts theme={null}
{
  generalSettings: {
    backgroundImage?: {
      fit?: cover | contain,
      id: string,
      padding?: string,
      position?: left | right | top | back,
      size?: string
    },
    body: {
      backgroundColor?: string,
      borderColor?: string,
      borderRadius: string,
      borderStyle: dotted | solid | dashed,
      borderWidth: string
    },
    buttonPresets: {
      id: primary_button | secondary_button | tertiary_button,
      name?: string,
      styles: {
        backgroundColor?: string,
        borderColor?: string,
        borderRadius: string,
        borderStyle: dotted | solid | dashed,
        borderWidth: string,
        color: string,
        fontFamily: string,
        fontSize: string,
        fontStyle: italic | normal,
        fontWeight: bold | normal,
        hoverBackgroundColor?: string,
        hoverBorderColor?: string,
        hoverColor?: string,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        textAlign?: left | center | right,
        textDecoration: underline | none
      }
    }[],
    closeButton?: {
      backgroundColor?: string,
      color: string,
      isVisible?: boolean,
      margins?: {
        desktop: {
          left?: number,
          right?: number,
          top?: number
        },
        mobile?: {
          left?: number,
          right?: number,
          top?: number
        }
      },
      position?: left | right
    },
    content: {
      color: string,
      width: string
    },
    fieldStyles: {
      errorColor: string,
      field: {
        backgroundColor?: string,
        borderColor: string,
        borderRadius: string,
        borderStyle: dotted | solid | dashed,
        borderWidth: string,
        color: string,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string
      },
      fontFamily: string,
      fontSize: string,
      fontStyle?: italic | normal,
      fontWeight?: bold | normal,
      label: {
        color: string,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string
      },
      placeholder: {
        color: string
      },
      textAlign?: left | center | right,
      textDecoration?: underline | none
    },
    link: {
      color: string
    },
    position?: topLeft | topCenter | topRight | middleLeft | middleCenter | middleRight | bottomLeft | bottomCenter | bottomRight,
    textPresets: {
      id: heading_large | heading_medium | heading_small | paragraph | footnote,
      name?: string,
      styles: {
        color: string,
        fontFamily: string,
        fontSize: string,
        lineHeight: 100% | 115% | 125% | 150% | 200%
      }
    }[]
  },
  steps: {
    sections: {
      backgroundImage?: {
        fit: cover | contain | repeat,
        id: string
      },
      id?: string,
      rows: {
        columns: {
          blocks: {
            button?: {
              customProfileField?: string,
              isFullWidth?: boolean,
              isMappedToCustomProperty?: boolean,
              link?: string,
              text?: string,
              type?: link | submit | close | nextStep,
              value?: string
            },
            checkboxField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: custom,
              requiredMessage?: string
            },
            countdownTimer?: {
              duration?: number,
              endsAt?: string,
              format?: DD:HH:MM:SS | HH:MM:SS | MM:SS,
              type: fixed | personalized
            },
            dateField?: {
              customProfileField?: string,
              errorMessage: string,
              format: YYYY/MM/DD | MM/DD/YYYY | DD/MM/YYYY,
              isRequired?: boolean,
              label?: string,
              profileField: birthdate | custom,
              requiredMessage?: string
            },
            discount?: {
              code?: string,
              copiedMessage?: string,
              copiedMessageEnabled?: boolean,
              type?: wheelOfFortune | static | game | unique
            },
            dropdownField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              placeholder?: string,
              profileField: country | gender | custom,
              requiredMessage?: string
            },
            emailField?: {
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            id?: string,
            image?: {
              altText?: string,
              height?: number,
              id: string,
              link?: string,
              resizeWidth?: number,
              width?: number
            },
            inputField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              profileField: firstName | lastName | address | city | state | zipCode | custom,
              requiredMessage?: string
            },
            legal?: {
              description?: string,
              label?: string,
              link?: string,
              requiredMessage?: string,
              type?: gdpr | tcpa | emailOpenTracking
            },
            lineSpace?: {
              height?: number,
              type?: line | space,
              width?: number
            },
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderStyle?: dotted | solid | dashed,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              boxes: {
                altText?: string,
                backgroundColor: string,
                id?: string,
                imageUrl?: string,
                text?: string,
                textColor?: string,
                type: text | image
              }[],
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[],
                includes?: string[]
              },
              defaultCountryCode?: string,
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            radioField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: gender | custom,
              requiredMessage?: string
            },
            role?: string,
            scratchCard?: {
              brushSize?: number,
              cardStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              cover: {
                altText?: string,
                backgroundColor?: string,
                id?: string,
                imageUrl: string
              },
              prizeBackgroundColor: string,
              prizeTextColor: string,
              revealThreshold?: number,
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            stylePresetID?: string,
            styleProperties?: {
              alignment?: left | center | right,
              backgroundColor?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              lineHeight?: string,
              opacity?: number,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              secondaryColor?: string,
              verticalAlign?: top | middle | bottom
            },
            text?: string,
            type: text | image | button | lineSpace | emailField | legal | phoneNumberField | inputField | dateField | dropdownField | radioField | checkboxField | wheelOfFortune | discount | countdownTimer | mysteryBox | scratchCard,
            wheelOfFortune?: {
              fontFamily?: string,
              fontSize?: string,
              pointerColor: string,
              slices: {
                altText?: string,
                backgroundColor: string,
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                imageUrl?: string,
                isLosing?: boolean,
                probability?: number,
                text?: string,
                textColor?: string,
                type?: text | image
              }[],
              speed?: number,
              width?: number
            }
          }[],
          id?: string,
          styleProperties?: {
            alignment?: left | center | right,
            backgroundColor?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            lineHeight?: string,
            opacity?: number,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            secondaryColor?: string,
            verticalAlign?: top | middle | bottom
          },
          width: string
        }[],
        id?: string,
        styleProperties?: {
          alignment?: left | center | right,
          backgroundColor?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          lineHeight?: string,
          opacity?: number,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          secondaryColor?: string,
          verticalAlign?: top | middle | bottom
        }
      }[],
      styleProperties?: {
        alignment?: left | center | right,
        backgroundColor?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        lineHeight?: string,
        opacity?: number,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        secondaryColor?: string,
        verticalAlign?: top | middle | bottom
      }
    }[]
  }[],
  subscribedStep?: {
    sections: {
      backgroundImage?: {
        fit: cover | contain | repeat,
        id: string
      },
      id?: string,
      rows: {
        columns: {
          blocks: {
            button?: {
              customProfileField?: string,
              isFullWidth?: boolean,
              isMappedToCustomProperty?: boolean,
              link?: string,
              text?: string,
              type?: link | submit | close | nextStep,
              value?: string
            },
            checkboxField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: custom,
              requiredMessage?: string
            },
            countdownTimer?: {
              duration?: number,
              endsAt?: string,
              format?: DD:HH:MM:SS | HH:MM:SS | MM:SS,
              type: fixed | personalized
            },
            dateField?: {
              customProfileField?: string,
              errorMessage: string,
              format: YYYY/MM/DD | MM/DD/YYYY | DD/MM/YYYY,
              isRequired?: boolean,
              label?: string,
              profileField: birthdate | custom,
              requiredMessage?: string
            },
            discount?: {
              code?: string,
              copiedMessage?: string,
              copiedMessageEnabled?: boolean,
              type?: wheelOfFortune | static | game | unique
            },
            dropdownField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              placeholder?: string,
              profileField: country | gender | custom,
              requiredMessage?: string
            },
            emailField?: {
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            id?: string,
            image?: {
              altText?: string,
              height?: number,
              id: string,
              link?: string,
              resizeWidth?: number,
              width?: number
            },
            inputField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              profileField: firstName | lastName | address | city | state | zipCode | custom,
              requiredMessage?: string
            },
            legal?: {
              description?: string,
              label?: string,
              link?: string,
              requiredMessage?: string,
              type?: gdpr | tcpa | emailOpenTracking
            },
            lineSpace?: {
              height?: number,
              type?: line | space,
              width?: number
            },
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderStyle?: dotted | solid | dashed,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              boxes: {
                altText?: string,
                backgroundColor: string,
                id?: string,
                imageUrl?: string,
                text?: string,
                textColor?: string,
                type: text | image
              }[],
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[],
                includes?: string[]
              },
              defaultCountryCode?: string,
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            radioField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: gender | custom,
              requiredMessage?: string
            },
            role?: string,
            scratchCard?: {
              brushSize?: number,
              cardStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              cover: {
                altText?: string,
                backgroundColor?: string,
                id?: string,
                imageUrl: string
              },
              prizeBackgroundColor: string,
              prizeTextColor: string,
              revealThreshold?: number,
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            stylePresetID?: string,
            styleProperties?: {
              alignment?: left | center | right,
              backgroundColor?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              lineHeight?: string,
              opacity?: number,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              secondaryColor?: string,
              verticalAlign?: top | middle | bottom
            },
            text?: string,
            type: text | image | button | lineSpace | emailField | legal | phoneNumberField | inputField | dateField | dropdownField | radioField | checkboxField | wheelOfFortune | discount | countdownTimer | mysteryBox | scratchCard,
            wheelOfFortune?: {
              fontFamily?: string,
              fontSize?: string,
              pointerColor: string,
              slices: {
                altText?: string,
                backgroundColor: string,
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                imageUrl?: string,
                isLosing?: boolean,
                probability?: number,
                text?: string,
                textColor?: string,
                type?: text | image
              }[],
              speed?: number,
              width?: number
            }
          }[],
          id?: string,
          styleProperties?: {
            alignment?: left | center | right,
            backgroundColor?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            lineHeight?: string,
            opacity?: number,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            secondaryColor?: string,
            verticalAlign?: top | middle | bottom
          },
          width: string
        }[],
        id?: string,
        styleProperties?: {
          alignment?: left | center | right,
          backgroundColor?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          lineHeight?: string,
          opacity?: number,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          secondaryColor?: string,
          verticalAlign?: top | middle | bottom
        }
      }[],
      styleProperties?: {
        alignment?: left | center | right,
        backgroundColor?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        lineHeight?: string,
        opacity?: number,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        secondaryColor?: string,
        verticalAlign?: top | middle | bottom
      }
    }[]
  },
  successStep?: {
    sections: {
      backgroundImage?: {
        fit: cover | contain | repeat,
        id: string
      },
      id?: string,
      rows: {
        columns: {
          blocks: {
            button?: {
              customProfileField?: string,
              isFullWidth?: boolean,
              isMappedToCustomProperty?: boolean,
              link?: string,
              text?: string,
              type?: link | submit | close | nextStep,
              value?: string
            },
            checkboxField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: custom,
              requiredMessage?: string
            },
            countdownTimer?: {
              duration?: number,
              endsAt?: string,
              format?: DD:HH:MM:SS | HH:MM:SS | MM:SS,
              type: fixed | personalized
            },
            dateField?: {
              customProfileField?: string,
              errorMessage: string,
              format: YYYY/MM/DD | MM/DD/YYYY | DD/MM/YYYY,
              isRequired?: boolean,
              label?: string,
              profileField: birthdate | custom,
              requiredMessage?: string
            },
            discount?: {
              code?: string,
              copiedMessage?: string,
              copiedMessageEnabled?: boolean,
              type?: wheelOfFortune | static | game | unique
            },
            dropdownField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              placeholder?: string,
              profileField: country | gender | custom,
              requiredMessage?: string
            },
            emailField?: {
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            id?: string,
            image?: {
              altText?: string,
              height?: number,
              id: string,
              link?: string,
              resizeWidth?: number,
              width?: number
            },
            inputField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              profileField: firstName | lastName | address | city | state | zipCode | custom,
              requiredMessage?: string
            },
            legal?: {
              description?: string,
              label?: string,
              link?: string,
              requiredMessage?: string,
              type?: gdpr | tcpa | emailOpenTracking
            },
            lineSpace?: {
              height?: number,
              type?: line | space,
              width?: number
            },
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderStyle?: dotted | solid | dashed,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              boxes: {
                altText?: string,
                backgroundColor: string,
                id?: string,
                imageUrl?: string,
                text?: string,
                textColor?: string,
                type: text | image
              }[],
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[],
                includes?: string[]
              },
              defaultCountryCode?: string,
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            radioField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: gender | custom,
              requiredMessage?: string
            },
            role?: string,
            scratchCard?: {
              brushSize?: number,
              cardStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              cover: {
                altText?: string,
                backgroundColor?: string,
                id?: string,
                imageUrl: string
              },
              prizeBackgroundColor: string,
              prizeTextColor: string,
              revealThreshold?: number,
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            stylePresetID?: string,
            styleProperties?: {
              alignment?: left | center | right,
              backgroundColor?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              lineHeight?: string,
              opacity?: number,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              secondaryColor?: string,
              verticalAlign?: top | middle | bottom
            },
            text?: string,
            type: text | image | button | lineSpace | emailField | legal | phoneNumberField | inputField | dateField | dropdownField | radioField | checkboxField | wheelOfFortune | discount | countdownTimer | mysteryBox | scratchCard,
            wheelOfFortune?: {
              fontFamily?: string,
              fontSize?: string,
              pointerColor: string,
              slices: {
                altText?: string,
                backgroundColor: string,
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                imageUrl?: string,
                isLosing?: boolean,
                probability?: number,
                text?: string,
                textColor?: string,
                type?: text | image
              }[],
              speed?: number,
              width?: number
            }
          }[],
          id?: string,
          styleProperties?: {
            alignment?: left | center | right,
            backgroundColor?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            lineHeight?: string,
            opacity?: number,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            secondaryColor?: string,
            verticalAlign?: top | middle | bottom
          },
          width: string
        }[],
        id?: string,
        styleProperties?: {
          alignment?: left | center | right,
          backgroundColor?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          lineHeight?: string,
          opacity?: number,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          secondaryColor?: string,
          verticalAlign?: top | middle | bottom
        }
      }[],
      styleProperties?: {
        alignment?: left | center | right,
        backgroundColor?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        lineHeight?: string,
        opacity?: number,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        secondaryColor?: string,
        verticalAlign?: top | middle | bottom
      }
    }[]
  },
  teaser?: {
    closeButton?: {
      isEnabled?: boolean
    },
    isEnabled?: boolean,
    position: topLeft | topCenter | topRight | middleLeft | middleRight | bottomLeft | bottomCenter | bottomRight,
    styleProperties?: {
      backgroundColor?: string,
      border?: string,
      borderRadius?: string,
      color?: string,
      desktopStyle: {
        marginBottom?: string,
        marginLeft?: string,
        marginRight?: string,
        marginTop?: string
      },
      fontFamily?: string,
      fontSize?: string,
      fontStyle?: italic | normal,
      fontWeight?: bold | normal,
      mobileStyle: {
        marginBottom?: string,
        marginLeft?: string,
        marginRight?: string,
        marginTop?: string
      },
      paddingBottom?: string,
      paddingLeft?: string,
      paddingRight?: string,
      paddingTop?: string,
      shape: rectangle | circle | triangle,
      textDecoration?: underline | none
    },
    text: string,
    visibility: before | after | always
  },
  unavailablePageStep?: {
    sections: {
      backgroundImage?: {
        fit: cover | contain | repeat,
        id: string
      },
      id?: string,
      rows: {
        columns: {
          blocks: {
            button?: {
              customProfileField?: string,
              isFullWidth?: boolean,
              isMappedToCustomProperty?: boolean,
              link?: string,
              text?: string,
              type?: link | submit | close | nextStep,
              value?: string
            },
            checkboxField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: custom,
              requiredMessage?: string
            },
            countdownTimer?: {
              duration?: number,
              endsAt?: string,
              format?: DD:HH:MM:SS | HH:MM:SS | MM:SS,
              type: fixed | personalized
            },
            dateField?: {
              customProfileField?: string,
              errorMessage: string,
              format: YYYY/MM/DD | MM/DD/YYYY | DD/MM/YYYY,
              isRequired?: boolean,
              label?: string,
              profileField: birthdate | custom,
              requiredMessage?: string
            },
            discount?: {
              code?: string,
              copiedMessage?: string,
              copiedMessageEnabled?: boolean,
              type?: wheelOfFortune | static | game | unique
            },
            dropdownField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              placeholder?: string,
              profileField: country | gender | custom,
              requiredMessage?: string
            },
            emailField?: {
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            id?: string,
            image?: {
              altText?: string,
              height?: number,
              id: string,
              link?: string,
              resizeWidth?: number,
              width?: number
            },
            inputField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              profileField: firstName | lastName | address | city | state | zipCode | custom,
              requiredMessage?: string
            },
            legal?: {
              description?: string,
              label?: string,
              link?: string,
              requiredMessage?: string,
              type?: gdpr | tcpa | emailOpenTracking
            },
            lineSpace?: {
              height?: number,
              type?: line | space,
              width?: number
            },
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderStyle?: dotted | solid | dashed,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              boxes: {
                altText?: string,
                backgroundColor: string,
                id?: string,
                imageUrl?: string,
                text?: string,
                textColor?: string,
                type: text | image
              }[],
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[],
                includes?: string[]
              },
              defaultCountryCode?: string,
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            radioField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: gender | custom,
              requiredMessage?: string
            },
            role?: string,
            scratchCard?: {
              brushSize?: number,
              cardStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              cover: {
                altText?: string,
                backgroundColor?: string,
                id?: string,
                imageUrl: string
              },
              prizeBackgroundColor: string,
              prizeTextColor: string,
              revealThreshold?: number,
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            stylePresetID?: string,
            styleProperties?: {
              alignment?: left | center | right,
              backgroundColor?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              lineHeight?: string,
              opacity?: number,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              secondaryColor?: string,
              verticalAlign?: top | middle | bottom
            },
            text?: string,
            type: text | image | button | lineSpace | emailField | legal | phoneNumberField | inputField | dateField | dropdownField | radioField | checkboxField | wheelOfFortune | discount | countdownTimer | mysteryBox | scratchCard,
            wheelOfFortune?: {
              fontFamily?: string,
              fontSize?: string,
              pointerColor: string,
              slices: {
                altText?: string,
                backgroundColor: string,
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                imageUrl?: string,
                isLosing?: boolean,
                probability?: number,
                text?: string,
                textColor?: string,
                type?: text | image
              }[],
              speed?: number,
              width?: number
            }
          }[],
          id?: string,
          styleProperties?: {
            alignment?: left | center | right,
            backgroundColor?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            lineHeight?: string,
            opacity?: number,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            secondaryColor?: string,
            verticalAlign?: top | middle | bottom
          },
          width: string
        }[],
        id?: string,
        styleProperties?: {
          alignment?: left | center | right,
          backgroundColor?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          lineHeight?: string,
          opacity?: number,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          secondaryColor?: string,
          verticalAlign?: top | middle | bottom
        }
      }[],
      styleProperties?: {
        alignment?: left | center | right,
        backgroundColor?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        lineHeight?: string,
        opacity?: number,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        secondaryColor?: string,
        verticalAlign?: top | middle | bottom
      }
    }[]
  }
}
```

```ts theme={null}
{
  confirmationPage?: {
    autoRedirectText?: string,
    buttonText?: string,
    content: string,
    isAutoRedirectEnabled?: boolean,
    isButtonVisible?: boolean,
    title: string,
    url?: string
  },
  confirmationRedirect?: {
    isEnabled?: boolean,
    url?: string
  },
  email?: {
    confirmationButton: string,
    content: string,
    headline: string,
    sendersEmail?: string,
    sendersName: string,
    subject: string
  },
  isEnabled?: boolean
}
```

```ts theme={null}
{
  isEnabled?: boolean
}
```

```ts theme={null}
{
  description: string,
  imageID?: string,
  title: string
}
```

```ts theme={null}
{
  audience?: {
    type?: subscribers | notSubscribers
  },
  cart?: {
    itemCount?: number,
    value?: number
  },
  device?: desktop | mobile,
  display?: {
    afterScrollDown?: number,
    afterSeconds?: number,
    afterViewedPageCount?: number,
    customTrigger?: only,
    isExitIntentEnabled?: boolean
  },
  frequency?: {
    type?: second | minute | hour | day,
    value?: number
  },
  isBackInStock?: boolean,
  isPersonalisedTargeting?: boolean,
  location?: {
    excludes?: {
      code: string,
      name: string,
      states?: {
        code: string,
        name: string
      }[]
    }[],
    includes?: {
      code: string,
      name: string,
      states?: {
        code: string,
        name: string
      }[]
    }[]
  },
  scheduling?: {
    endsAt?: string,
    startsAt?: string
  },
  segments?: {
    excludes?: string[],
    includes?: string[]
  },
  source?: {
    excludes?: (googleAds | organic | direct | facebook | instagram | omnisendCommunication)[],
    includes?: (googleAds | organic | direct | facebook | instagram | omnisendCommunication)[]
  },
  url?: {
    excludes?: {
      type: exact | contains,
      value: string
    }[],
    includes?: {
      type: exact | contains,
      value: string
    }[]
  },
  utm?: {
    includes?: {
      type: id | source | medium | campaign | term | content,
      value: string
    }[]
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `abSetupID` | `string \| null` | No | A/B setup unique identifier the form belongs to (read-only) |
| `abStatus` | `string \| null` | No | A/B test status of the form (read-only) |
| `autoRedirect` | `object \| null` | No | Auto-redirect configuration applied after submission |
| `clickOutside` | `object \| null` | No | Click-outside-to-close behavior |
| `contactTags` | `string[] \| null` | No | Tags applied to contacts who submit the form |
| `content` | `object \| null` | No | Form content |
| `createdAt` | `string \| null` | No | Form creation timestamp (read-only) |
| `disabledAt` | `string \| null` | No | Form disable timestamp (read-only) |
| `displayType` | `string \| null` | No | Form display type |
| `doubleOptIn` | `object \| null` | No | Double opt-in configuration |
| `enabledAt` | `string \| null` | No | Form enable timestamp (read-only) |
| `id` | `string \| null` | No | Form unique identifier (read-only) |
| `launchedAt` | `string \| null` | No | Form launch timestamp (read-only) |
| `name` | `string \| null` | No | Form name |
| `recaptcha` | `object \| null` | No | reCAPTCHA protection settings |
| `socialMediaSharing` | `object \| null` | No | Social media sharing metadata |
| `status` | `string \| null` | No | Form status (read-only) |
| `targeting` | `object \| null` | No | Form targeting rules |
| `updatedAt` | `string \| null` | No | Form last update timestamp (read-only) |

```ts theme={null}
{
  countdownText?: string | null,
  delayMs?: number | null,
  isEnabled?: boolean | null,
  shouldOpenInNewTab?: boolean | null,
  url?: string | null
} | null
```

```ts theme={null}
{
  isEnabled?: boolean | null
} | null
```

```ts theme={null}
{
  generalSettings?: {
    backgroundImage?: {
      fit?: string | null,
      padding?: string | null,
      position?: string | null,
      size?: string | null,
      url?: string | null
    } | null,
    body?: {
      backgroundColor?: string | null,
      borderColor?: string | null,
      borderRadius?: string | null,
      borderStyle?: string | null,
      borderWidth?: string | null
    } | null,
    buttonPresets?: {
      id?: string | null,
      name?: string | null,
      styles?: {
        backgroundColor?: string | null,
        borderColor?: string | null,
        borderRadius?: string | null,
        borderStyle?: string | null,
        borderWidth?: string | null,
        color?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        hoverBackgroundColor?: string | null,
        hoverBorderColor?: string | null,
        hoverColor?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        textAlign?: string | null,
        textDecoration?: string | null
      } | null
    }[] | null,
    closeButton?: {
      backgroundColor?: string | null,
      color?: string | null,
      isVisible?: boolean | null,
      margins?: {
        desktop?: {
          left?: number | null,
          right?: number | null,
          top?: number | null
        } | null,
        mobile?: {
          left?: number | null,
          right?: number | null,
          top?: number | null
        } | null
      } | null,
      position?: string | null
    } | null,
    content?: {
      color?: string | null,
      width?: string | null
    } | null,
    fieldStyles?: {
      errorColor?: string | null,
      field?: {
        backgroundColor?: string | null,
        borderColor?: string | null,
        borderRadius?: string | null,
        borderStyle?: string | null,
        borderWidth?: string | null,
        color?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null
      } | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      label?: {
        color?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null
      } | null,
      placeholder?: {
        color?: string | null
      } | null,
      textAlign?: string | null,
      textDecoration?: string | null
    } | null,
    link?: {
      color?: string | null
    } | null,
    position?: string | null,
    textPresets?: {
      id?: string | null,
      name?: string | null,
      styles?: {
        color?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null
      } | null
    }[] | null
  } | null,
  steps?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  }[] | null,
  subscribedStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null,
  successStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null,
  teaser?: {
    closeButton?: {
      isEnabled?: boolean | null
    } | null,
    isEnabled?: boolean | null,
    position?: string | null,
    styleProperties?: {
      backgroundColor?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      desktopStyle?: {
        marginBottom?: string | null,
        marginLeft?: string | null,
        marginRight?: string | null,
        marginTop?: string | null
      } | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      mobileStyle?: {
        marginBottom?: string | null,
        marginLeft?: string | null,
        marginRight?: string | null,
        marginTop?: string | null
      } | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      shape?: string | null,
      textDecoration?: string | null
    } | null,
    text?: string | null,
    visibility?: string | null
  } | null,
  unavailablePageStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null
} | null
```

```ts theme={null}
{
  confirmationPage?: {
    autoRedirectText?: string | null,
    buttonText?: string | null,
    content?: string | null,
    isAutoRedirectEnabled?: boolean | null,
    isButtonVisible?: boolean | null,
    title?: string | null,
    url?: string | null
  } | null,
  confirmationRedirect?: {
    isEnabled?: boolean | null,
    url?: string | null
  } | null,
  email?: {
    confirmationButton?: string | null,
    content?: string | null,
    headline?: string | null,
    sendersEmail?: string | null,
    sendersName?: string | null,
    subject?: string | null
  } | null,
  isEnabled?: boolean | null
} | null
```

```ts theme={null}
{
  isEnabled?: boolean | null
} | null
```

```ts theme={null}
{
  description?: string | null,
  imageUrl?: string | null,
  title?: string | null
} | null
```

```ts theme={null}
{
  audience?: {
    type?: string | null
  } | null,
  cart?: {
    itemCount?: number | null,
    value?: number | null
  } | null,
  device?: string | null,
  display?: {
    afterScrollDown?: number | null,
    afterSeconds?: number | null,
    afterViewedPageCount?: number | null,
    customTrigger?: string | null,
    isExitIntentEnabled?: boolean | null
  } | null,
  frequency?: {
    type?: string | null,
    value?: number | null
  } | null,
  isBackInStock?: boolean | null,
  isPersonalisedTargeting?: boolean | null,
  location?: {
    excludes?: {
      code?: string | null,
      name?: string | null,
      states?: {
        code?: string | null,
        name?: string | null
      }[] | null
    }[] | null,
    includes?: {
      code?: string | null,
      name?: string | null,
      states?: {
        code?: string | null,
        name?: string | null
      }[] | null
    }[] | null
  } | null,
  scheduling?: {
    endsAt?: string | null,
    startsAt?: string | null
  } | null,
  segments?: {
    excludes?: string[] | null,
    includes?: string[] | null
  } | null,
  source?: {
    excludes?: string[] | null,
    includes?: string[] | null
  } | null,
  url?: {
    excludes?: {
      type?: string | null,
      value?: string | null
    }[] | null,
    includes?: {
      type?: string | null,
      value?: string | null
    }[] | null
  } | null,
  utm?: {
    includes?: {
      type?: string | null,
      value?: string | null
    }[] | null
  } | null
} | null
```

***

### delete

`forms.delete`

Delete form. Delete a single form by ID. Forms can be deleted in any state (draft, enabled, disabled). Deleting a non-existent form succeeds (idempotent). When the form owns an A/B test setup, the setup and its version forms are deleted as well. Cannot be undone.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.forms.delete({ formID: '6650a1b2c3d4e5f6a7b8c9d2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string` | Yes | Form ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### disable

`forms.disable`

Disable form. Disable a single form by ID. Disabling stops serving the form to visitors and moves it to disabled status; the form and its content are preserved and can be enabled again later. Disabling an already disabled form succeeds (idempotent).

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.forms.disable({ formID: '6650a1b2c3d4e5f6a7b8c9d2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string` | Yes | Form ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### enable

`forms.enable`

Enable form. Enable a single form by ID. Enabling publishes the form and starts serving it to visitors according to its targeting rules; the form moves to enabled status. Enabling an already enabled form succeeds (idempotent).

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.forms.enable({ formID: '6650a1b2c3d4e5f6a7b8c9d2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string` | Yes | Form ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### get

`forms.get`

Get form. Get a single form by ID, including its content, styling, targeting rules, and status. When the form is part of an A/B test, abSetupID and abStatus identify the setup it belongs to.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.forms.get({ formID: '6650a1b2c3d4e5f6a7b8c9d2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string` | Yes | Form ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `abSetupID` | `string \| null` | No | A/B setup unique identifier the form belongs to (read-only) |
| `abStatus` | `string \| null` | No | A/B test status of the form (read-only) |
| `autoRedirect` | `object \| null` | No | Auto-redirect configuration applied after submission |
| `clickOutside` | `object \| null` | No | Click-outside-to-close behavior |
| `contactTags` | `string[] \| null` | No | Tags applied to contacts who submit the form |
| `content` | `object \| null` | No | Form content |
| `createdAt` | `string \| null` | No | Form creation timestamp (read-only) |
| `disabledAt` | `string \| null` | No | Form disable timestamp (read-only) |
| `displayType` | `string \| null` | No | Form display type |
| `doubleOptIn` | `object \| null` | No | Double opt-in configuration |
| `enabledAt` | `string \| null` | No | Form enable timestamp (read-only) |
| `id` | `string \| null` | No | Form unique identifier (read-only) |
| `launchedAt` | `string \| null` | No | Form launch timestamp (read-only) |
| `name` | `string \| null` | No | Form name |
| `recaptcha` | `object \| null` | No | reCAPTCHA protection settings |
| `socialMediaSharing` | `object \| null` | No | Social media sharing metadata |
| `status` | `string \| null` | No | Form status (read-only) |
| `targeting` | `object \| null` | No | Form targeting rules |
| `updatedAt` | `string \| null` | No | Form last update timestamp (read-only) |

```ts theme={null}
{
  countdownText?: string | null,
  delayMs?: number | null,
  isEnabled?: boolean | null,
  shouldOpenInNewTab?: boolean | null,
  url?: string | null
} | null
```

```ts theme={null}
{
  isEnabled?: boolean | null
} | null
```

```ts theme={null}
{
  generalSettings?: {
    backgroundImage?: {
      fit?: string | null,
      padding?: string | null,
      position?: string | null,
      size?: string | null,
      url?: string | null
    } | null,
    body?: {
      backgroundColor?: string | null,
      borderColor?: string | null,
      borderRadius?: string | null,
      borderStyle?: string | null,
      borderWidth?: string | null
    } | null,
    buttonPresets?: {
      id?: string | null,
      name?: string | null,
      styles?: {
        backgroundColor?: string | null,
        borderColor?: string | null,
        borderRadius?: string | null,
        borderStyle?: string | null,
        borderWidth?: string | null,
        color?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        hoverBackgroundColor?: string | null,
        hoverBorderColor?: string | null,
        hoverColor?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        textAlign?: string | null,
        textDecoration?: string | null
      } | null
    }[] | null,
    closeButton?: {
      backgroundColor?: string | null,
      color?: string | null,
      isVisible?: boolean | null,
      margins?: {
        desktop?: {
          left?: number | null,
          right?: number | null,
          top?: number | null
        } | null,
        mobile?: {
          left?: number | null,
          right?: number | null,
          top?: number | null
        } | null
      } | null,
      position?: string | null
    } | null,
    content?: {
      color?: string | null,
      width?: string | null
    } | null,
    fieldStyles?: {
      errorColor?: string | null,
      field?: {
        backgroundColor?: string | null,
        borderColor?: string | null,
        borderRadius?: string | null,
        borderStyle?: string | null,
        borderWidth?: string | null,
        color?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null
      } | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      label?: {
        color?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null
      } | null,
      placeholder?: {
        color?: string | null
      } | null,
      textAlign?: string | null,
      textDecoration?: string | null
    } | null,
    link?: {
      color?: string | null
    } | null,
    position?: string | null,
    textPresets?: {
      id?: string | null,
      name?: string | null,
      styles?: {
        color?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null
      } | null
    }[] | null
  } | null,
  steps?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  }[] | null,
  subscribedStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null,
  successStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null,
  teaser?: {
    closeButton?: {
      isEnabled?: boolean | null
    } | null,
    isEnabled?: boolean | null,
    position?: string | null,
    styleProperties?: {
      backgroundColor?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      desktopStyle?: {
        marginBottom?: string | null,
        marginLeft?: string | null,
        marginRight?: string | null,
        marginTop?: string | null
      } | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      mobileStyle?: {
        marginBottom?: string | null,
        marginLeft?: string | null,
        marginRight?: string | null,
        marginTop?: string | null
      } | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      shape?: string | null,
      textDecoration?: string | null
    } | null,
    text?: string | null,
    visibility?: string | null
  } | null,
  unavailablePageStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null
} | null
```

```ts theme={null}
{
  confirmationPage?: {
    autoRedirectText?: string | null,
    buttonText?: string | null,
    content?: string | null,
    isAutoRedirectEnabled?: boolean | null,
    isButtonVisible?: boolean | null,
    title?: string | null,
    url?: string | null
  } | null,
  confirmationRedirect?: {
    isEnabled?: boolean | null,
    url?: string | null
  } | null,
  email?: {
    confirmationButton?: string | null,
    content?: string | null,
    headline?: string | null,
    sendersEmail?: string | null,
    sendersName?: string | null,
    subject?: string | null
  } | null,
  isEnabled?: boolean | null
} | null
```

```ts theme={null}
{
  isEnabled?: boolean | null
} | null
```

```ts theme={null}
{
  description?: string | null,
  imageUrl?: string | null,
  title?: string | null
} | null
```

```ts theme={null}
{
  audience?: {
    type?: string | null
  } | null,
  cart?: {
    itemCount?: number | null,
    value?: number | null
  } | null,
  device?: string | null,
  display?: {
    afterScrollDown?: number | null,
    afterSeconds?: number | null,
    afterViewedPageCount?: number | null,
    customTrigger?: string | null,
    isExitIntentEnabled?: boolean | null
  } | null,
  frequency?: {
    type?: string | null,
    value?: number | null
  } | null,
  isBackInStock?: boolean | null,
  isPersonalisedTargeting?: boolean | null,
  location?: {
    excludes?: {
      code?: string | null,
      name?: string | null,
      states?: {
        code?: string | null,
        name?: string | null
      }[] | null
    }[] | null,
    includes?: {
      code?: string | null,
      name?: string | null,
      states?: {
        code?: string | null,
        name?: string | null
      }[] | null
    }[] | null
  } | null,
  scheduling?: {
    endsAt?: string | null,
    startsAt?: string | null
  } | null,
  segments?: {
    excludes?: string[] | null,
    includes?: string[] | null
  } | null,
  source?: {
    excludes?: string[] | null,
    includes?: string[] | null
  } | null,
  url?: {
    excludes?: {
      type?: string | null,
      value?: string | null
    }[] | null,
    includes?: {
      type?: string | null,
      value?: string | null
    }[] | null
  } | null,
  utm?: {
    includes?: {
      type?: string | null,
      value?: string | null
    }[] | null
  } | null
} | null
```

***

### getPeriodicReport

`forms.getPeriodicReport`

Get form periodic report. Get a time series of form performance statistics within a date range.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.forms.getPeriodicReport({ formID: '6650a1b2c3d4e5f6a7b8c9d2', createdAtFrom: '2026-11-01T00:00:00Z', createdAtTo: '2026-11-28T00:00:00Z' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string` | Yes | Form ID (24 character hexadecimal) |
| `createdAtFrom` | `string` | Yes | Start of the date range, inclusive (RFC3339, e.g. 2024-01-01T00:00:00Z) |
| `createdAtTo` | `string` | Yes | End of the date range, inclusive (RFC3339, e.g. 2024-01-31T23:59:59Z) |
| `granularity` | `hour \| day \| week \| month \| year` | No | Time bucket granularity |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string \| null` | No | Form unique identifier (read-only) |
| `granularity` | `string \| null` | No | Time bucket size used for the rows (read-only) |
| `rows` | `object[] \| null` | No | Statistics rows, one per time bucket (read-only) |

```ts theme={null}
{
  period?: string | null,
  statistics?: {
    interactions?: number | null,
    signups?: number | null,
    submits?: number | null,
    views?: number | null
  } | null
}[] | null
```

***

### getReport

`forms.getReport`

Get form report. Get aggregated performance statistics for a single form within a date range. The response contains statistics (totals across all devices) and statisticsByDevice, the same counters split into the desktop, mobile, and tablet buckets. Device buckets with no activity in the range are omitted.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.forms.getReport({ formID: '6650a1b2c3d4e5f6a7b8c9d2', createdAtFrom: '2026-11-01T00:00:00Z', createdAtTo: '2026-11-28T00:00:00Z' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string` | Yes | Form ID (24 character hexadecimal) |
| `createdAtFrom` | `string` | Yes | Start of the date range, inclusive (RFC3339, e.g. 2024-01-01T00:00:00Z) |
| `createdAtTo` | `string` | Yes | End of the date range, inclusive (RFC3339, e.g. 2024-01-31T23:59:59Z) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string \| null` | No | Form unique identifier (read-only) |
| `statistics` | `object \| null` | No | Total statistics across all devices (read-only) |
| `statisticsByDevice` | `object \| null` | No | Statistics grouped by device type: desktop, mobile, tablet (read-only) |

```ts theme={null}
{
  interactions?: number | null,
  signups?: number | null,
  submits?: number | null,
  views?: number | null
} | null
```

```ts theme={null}
{
} | null
```

***

### list

`forms.list`

List forms. List forms with sorting and cursor-based pagination support.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.forms.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Page size (1-250) |
| `after` | `string` | No | Cursor for next page (base64-encoded, obtained from previous response) |
| `before` | `string` | No | Cursor for previous page (base64-encoded, obtained from previous response) |
| `sort` | `createdAt \| updatedAt \| name` | No | Sort field (only needed on first request) |
| `direction` | `asc \| desc` | No | Sort direction (only needed on first request) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `forms` | `object[] \| null` | No | List of forms |
| `paging` | `object \| null` | No | Pagination information |

```ts theme={null}
{
  abSetupID?: string | null,
  abStatus?: string | null,
  autoRedirect?: {
    countdownText?: string | null,
    delayMs?: number | null,
    isEnabled?: boolean | null,
    shouldOpenInNewTab?: boolean | null,
    url?: string | null
  } | null,
  clickOutside?: {
    isEnabled?: boolean | null
  } | null,
  contactTags?: string[] | null,
  content?: {
    generalSettings?: {
      backgroundImage?: {
        fit?: string | null,
        padding?: string | null,
        position?: string | null,
        size?: string | null,
        url?: string | null
      } | null,
      body?: {
        backgroundColor?: string | null,
        borderColor?: string | null,
        borderRadius?: string | null,
        borderStyle?: string | null,
        borderWidth?: string | null
      } | null,
      buttonPresets?: {
        id?: string | null,
        name?: string | null,
        styles?: {
          backgroundColor?: string | null,
          borderColor?: string | null,
          borderRadius?: string | null,
          borderStyle?: string | null,
          borderWidth?: string | null,
          color?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          fontStyle?: string | null,
          fontWeight?: string | null,
          hoverBackgroundColor?: string | null,
          hoverBorderColor?: string | null,
          hoverColor?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          textAlign?: string | null,
          textDecoration?: string | null
        } | null
      }[] | null,
      closeButton?: {
        backgroundColor?: string | null,
        color?: string | null,
        isVisible?: boolean | null,
        margins?: {
          desktop?: {
            left?: number | null,
            right?: number | null,
            top?: number | null
          } | null,
          mobile?: {
            left?: number | null,
            right?: number | null,
            top?: number | null
          } | null
        } | null,
        position?: string | null
      } | null,
      content?: {
        color?: string | null,
        width?: string | null
      } | null,
      fieldStyles?: {
        errorColor?: string | null,
        field?: {
          backgroundColor?: string | null,
          borderColor?: string | null,
          borderRadius?: string | null,
          borderStyle?: string | null,
          borderWidth?: string | null,
          color?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null
        } | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        label?: {
          color?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null
        } | null,
        placeholder?: {
          color?: string | null
        } | null,
        textAlign?: string | null,
        textDecoration?: string | null
      } | null,
      link?: {
        color?: string | null
      } | null,
      position?: string | null,
      textPresets?: {
        id?: string | null,
        name?: string | null,
        styles?: {
          color?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null
        } | null
      }[] | null
    } | null,
    steps?: {
      sections?: {
        backgroundImage?: {
          fit?: string | null,
          url?: string | null
        } | null,
        id?: string | null,
        rows?: {
          columns?: {
            blocks?: {
              button?: {
                customProfileField?: string | null,
                isFullWidth?: boolean | null,
                isMappedToCustomProperty?: boolean | null,
                link?: string | null,
                text?: string | null,
                type?: string | null,
                value?: string | null
              } | null,
              checkboxField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              countdownTimer?: {
                duration?: number | null,
                endsAt?: string | null,
                format?: string | null,
                type?: string | null
              } | null,
              dateField?: {
                customProfileField?: string | null,
                errorMessage?: string | null,
                format?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              discount?: {
                code?: string | null,
                copiedMessage?: string | null,
                copiedMessageEnabled?: boolean | null,
                discountID?: string | null,
                type?: string | null
              } | null,
              dropdownField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              emailField?: {
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              id?: string | null,
              image?: {
                altText?: string | null,
                height?: number | null,
                link?: string | null,
                resizeWidth?: number | null,
                url?: string | null,
                width?: number | null
              } | null,
              inputField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              legal?: {
                description?: string | null,
                label?: string | null,
                link?: string | null,
                requiredMessage?: string | null,
                type?: string | null
              } | null,
              lineSpace?: {
                height?: number | null,
                type?: string | null,
                width?: number | null
              } | null,
              mysteryBox?: {
                boxStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderStyle?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                boxes?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              phoneNumberField?: {
                countryCodes?: {
                  excludes?: string[] | null,
                  includes?: string[] | null
                } | null,
                defaultCountryCode?: string | null,
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              radioField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              role?: string | null,
              scratchCard?: {
                brushSize?: number | null,
                cardStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                cover?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null
                } | null,
                prizeBackgroundColor?: string | null,
                prizeTextColor?: string | null,
                revealThreshold?: number | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              stylePresetId?: string | null,
              styleProperties?: {
                alignment?: string | null,
                backgroundColor?: string | null,
                border?: string | null,
                borderRadius?: string | null,
                color?: string | null,
                dividerColor?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                lineHeight?: string | null,
                opacity?: number | null,
                paddingBottom?: string | null,
                paddingLeft?: string | null,
                paddingRight?: string | null,
                paddingTop?: string | null,
                secondaryColor?: string | null,
                verticalAlign?: string | null
              } | null,
              text?: string | null,
              type?: string | null,
              wheelOfFortune?: {
                fontFamily?: string | null,
                fontSize?: string | null,
                pointerColor?: string | null,
                slices?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  isLosing?: boolean | null,
                  probability?: number | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                speed?: number | null,
                width?: number | null
              } | null
            }[] | null,
            id?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            width?: string | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null
        }[] | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null
    }[] | null,
    subscribedStep?: {
      sections?: {
        backgroundImage?: {
          fit?: string | null,
          url?: string | null
        } | null,
        id?: string | null,
        rows?: {
          columns?: {
            blocks?: {
              button?: {
                customProfileField?: string | null,
                isFullWidth?: boolean | null,
                isMappedToCustomProperty?: boolean | null,
                link?: string | null,
                text?: string | null,
                type?: string | null,
                value?: string | null
              } | null,
              checkboxField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              countdownTimer?: {
                duration?: number | null,
                endsAt?: string | null,
                format?: string | null,
                type?: string | null
              } | null,
              dateField?: {
                customProfileField?: string | null,
                errorMessage?: string | null,
                format?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              discount?: {
                code?: string | null,
                copiedMessage?: string | null,
                copiedMessageEnabled?: boolean | null,
                discountID?: string | null,
                type?: string | null
              } | null,
              dropdownField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              emailField?: {
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              id?: string | null,
              image?: {
                altText?: string | null,
                height?: number | null,
                link?: string | null,
                resizeWidth?: number | null,
                url?: string | null,
                width?: number | null
              } | null,
              inputField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              legal?: {
                description?: string | null,
                label?: string | null,
                link?: string | null,
                requiredMessage?: string | null,
                type?: string | null
              } | null,
              lineSpace?: {
                height?: number | null,
                type?: string | null,
                width?: number | null
              } | null,
              mysteryBox?: {
                boxStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderStyle?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                boxes?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              phoneNumberField?: {
                countryCodes?: {
                  excludes?: string[] | null,
                  includes?: string[] | null
                } | null,
                defaultCountryCode?: string | null,
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              radioField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              role?: string | null,
              scratchCard?: {
                brushSize?: number | null,
                cardStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                cover?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null
                } | null,
                prizeBackgroundColor?: string | null,
                prizeTextColor?: string | null,
                revealThreshold?: number | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              stylePresetId?: string | null,
              styleProperties?: {
                alignment?: string | null,
                backgroundColor?: string | null,
                border?: string | null,
                borderRadius?: string | null,
                color?: string | null,
                dividerColor?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                lineHeight?: string | null,
                opacity?: number | null,
                paddingBottom?: string | null,
                paddingLeft?: string | null,
                paddingRight?: string | null,
                paddingTop?: string | null,
                secondaryColor?: string | null,
                verticalAlign?: string | null
              } | null,
              text?: string | null,
              type?: string | null,
              wheelOfFortune?: {
                fontFamily?: string | null,
                fontSize?: string | null,
                pointerColor?: string | null,
                slices?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  isLosing?: boolean | null,
                  probability?: number | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                speed?: number | null,
                width?: number | null
              } | null
            }[] | null,
            id?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            width?: string | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null
        }[] | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null
    } | null,
    successStep?: {
      sections?: {
        backgroundImage?: {
          fit?: string | null,
          url?: string | null
        } | null,
        id?: string | null,
        rows?: {
          columns?: {
            blocks?: {
              button?: {
                customProfileField?: string | null,
                isFullWidth?: boolean | null,
                isMappedToCustomProperty?: boolean | null,
                link?: string | null,
                text?: string | null,
                type?: string | null,
                value?: string | null
              } | null,
              checkboxField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              countdownTimer?: {
                duration?: number | null,
                endsAt?: string | null,
                format?: string | null,
                type?: string | null
              } | null,
              dateField?: {
                customProfileField?: string | null,
                errorMessage?: string | null,
                format?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              discount?: {
                code?: string | null,
                copiedMessage?: string | null,
                copiedMessageEnabled?: boolean | null,
                discountID?: string | null,
                type?: string | null
              } | null,
              dropdownField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              emailField?: {
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              id?: string | null,
              image?: {
                altText?: string | null,
                height?: number | null,
                link?: string | null,
                resizeWidth?: number | null,
                url?: string | null,
                width?: number | null
              } | null,
              inputField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              legal?: {
                description?: string | null,
                label?: string | null,
                link?: string | null,
                requiredMessage?: string | null,
                type?: string | null
              } | null,
              lineSpace?: {
                height?: number | null,
                type?: string | null,
                width?: number | null
              } | null,
              mysteryBox?: {
                boxStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderStyle?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                boxes?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              phoneNumberField?: {
                countryCodes?: {
                  excludes?: string[] | null,
                  includes?: string[] | null
                } | null,
                defaultCountryCode?: string | null,
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              radioField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              role?: string | null,
              scratchCard?: {
                brushSize?: number | null,
                cardStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                cover?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null
                } | null,
                prizeBackgroundColor?: string | null,
                prizeTextColor?: string | null,
                revealThreshold?: number | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              stylePresetId?: string | null,
              styleProperties?: {
                alignment?: string | null,
                backgroundColor?: string | null,
                border?: string | null,
                borderRadius?: string | null,
                color?: string | null,
                dividerColor?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                lineHeight?: string | null,
                opacity?: number | null,
                paddingBottom?: string | null,
                paddingLeft?: string | null,
                paddingRight?: string | null,
                paddingTop?: string | null,
                secondaryColor?: string | null,
                verticalAlign?: string | null
              } | null,
              text?: string | null,
              type?: string | null,
              wheelOfFortune?: {
                fontFamily?: string | null,
                fontSize?: string | null,
                pointerColor?: string | null,
                slices?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  isLosing?: boolean | null,
                  probability?: number | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                speed?: number | null,
                width?: number | null
              } | null
            }[] | null,
            id?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            width?: string | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null
        }[] | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null
    } | null,
    teaser?: {
      closeButton?: {
        isEnabled?: boolean | null
      } | null,
      isEnabled?: boolean | null,
      position?: string | null,
      styleProperties?: {
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        desktopStyle?: {
          marginBottom?: string | null,
          marginLeft?: string | null,
          marginRight?: string | null,
          marginTop?: string | null
        } | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        mobileStyle?: {
          marginBottom?: string | null,
          marginLeft?: string | null,
          marginRight?: string | null,
          marginTop?: string | null
        } | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        shape?: string | null,
        textDecoration?: string | null
      } | null,
      text?: string | null,
      visibility?: string | null
    } | null,
    unavailablePageStep?: {
      sections?: {
        backgroundImage?: {
          fit?: string | null,
          url?: string | null
        } | null,
        id?: string | null,
        rows?: {
          columns?: {
            blocks?: {
              button?: {
                customProfileField?: string | null,
                isFullWidth?: boolean | null,
                isMappedToCustomProperty?: boolean | null,
                link?: string | null,
                text?: string | null,
                type?: string | null,
                value?: string | null
              } | null,
              checkboxField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              countdownTimer?: {
                duration?: number | null,
                endsAt?: string | null,
                format?: string | null,
                type?: string | null
              } | null,
              dateField?: {
                customProfileField?: string | null,
                errorMessage?: string | null,
                format?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              discount?: {
                code?: string | null,
                copiedMessage?: string | null,
                copiedMessageEnabled?: boolean | null,
                discountID?: string | null,
                type?: string | null
              } | null,
              dropdownField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              emailField?: {
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              id?: string | null,
              image?: {
                altText?: string | null,
                height?: number | null,
                link?: string | null,
                resizeWidth?: number | null,
                url?: string | null,
                width?: number | null
              } | null,
              inputField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              legal?: {
                description?: string | null,
                label?: string | null,
                link?: string | null,
                requiredMessage?: string | null,
                type?: string | null
              } | null,
              lineSpace?: {
                height?: number | null,
                type?: string | null,
                width?: number | null
              } | null,
              mysteryBox?: {
                boxStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderStyle?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                boxes?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              phoneNumberField?: {
                countryCodes?: {
                  excludes?: string[] | null,
                  includes?: string[] | null
                } | null,
                defaultCountryCode?: string | null,
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              radioField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              role?: string | null,
              scratchCard?: {
                brushSize?: number | null,
                cardStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                cover?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null
                } | null,
                prizeBackgroundColor?: string | null,
                prizeTextColor?: string | null,
                revealThreshold?: number | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              stylePresetId?: string | null,
              styleProperties?: {
                alignment?: string | null,
                backgroundColor?: string | null,
                border?: string | null,
                borderRadius?: string | null,
                color?: string | null,
                dividerColor?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                lineHeight?: string | null,
                opacity?: number | null,
                paddingBottom?: string | null,
                paddingLeft?: string | null,
                paddingRight?: string | null,
                paddingTop?: string | null,
                secondaryColor?: string | null,
                verticalAlign?: string | null
              } | null,
              text?: string | null,
              type?: string | null,
              wheelOfFortune?: {
                fontFamily?: string | null,
                fontSize?: string | null,
                pointerColor?: string | null,
                slices?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  isLosing?: boolean | null,
                  probability?: number | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                speed?: number | null,
                width?: number | null
              } | null
            }[] | null,
            id?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            width?: string | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null
        }[] | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null
    } | null
  } | null,
  createdAt?: string | null,
  disabledAt?: string | null,
  displayType?: string | null,
  doubleOptIn?: {
    confirmationPage?: {
      autoRedirectText?: string | null,
      buttonText?: string | null,
      content?: string | null,
      isAutoRedirectEnabled?: boolean | null,
      isButtonVisible?: boolean | null,
      title?: string | null,
      url?: string | null
    } | null,
    confirmationRedirect?: {
      isEnabled?: boolean | null,
      url?: string | null
    } | null,
    email?: {
      confirmationButton?: string | null,
      content?: string | null,
      headline?: string | null,
      sendersEmail?: string | null,
      sendersName?: string | null,
      subject?: string | null
    } | null,
    isEnabled?: boolean | null
  } | null,
  enabledAt?: string | null,
  id?: string | null,
  launchedAt?: string | null,
  name?: string | null,
  recaptcha?: {
    isEnabled?: boolean | null
  } | null,
  socialMediaSharing?: {
    description?: string | null,
    imageUrl?: string | null,
    title?: string | null
  } | null,
  status?: string | null,
  targeting?: {
    audience?: {
      type?: string | null
    } | null,
    cart?: {
      itemCount?: number | null,
      value?: number | null
    } | null,
    device?: string | null,
    display?: {
      afterScrollDown?: number | null,
      afterSeconds?: number | null,
      afterViewedPageCount?: number | null,
      customTrigger?: string | null,
      isExitIntentEnabled?: boolean | null
    } | null,
    frequency?: {
      type?: string | null,
      value?: number | null
    } | null,
    isBackInStock?: boolean | null,
    isPersonalisedTargeting?: boolean | null,
    location?: {
      excludes?: {
        code?: string | null,
        name?: string | null,
        states?: {
          code?: string | null,
          name?: string | null
        }[] | null
      }[] | null,
      includes?: {
        code?: string | null,
        name?: string | null,
        states?: {
          code?: string | null,
          name?: string | null
        }[] | null
      }[] | null
    } | null,
    scheduling?: {
      endsAt?: string | null,
      startsAt?: string | null
    } | null,
    segments?: {
      excludes?: string[] | null,
      includes?: string[] | null
    } | null,
    source?: {
      excludes?: string[] | null,
      includes?: string[] | null
    } | null,
    url?: {
      excludes?: {
        type?: string | null,
        value?: string | null
      }[] | null,
      includes?: {
        type?: string | null,
        value?: string | null
      }[] | null
    } | null,
    utm?: {
      includes?: {
        type?: string | null,
        value?: string | null
      }[] | null
    } | null
  } | null,
  updatedAt?: string | null
}[] | null
```

```ts theme={null}
{
  cursors?: {
    after?: string | null | null,
    before?: string | null | null
  } | null,
  hasMore?: boolean | null,
  limit?: number | null
} | null
```

***

### listAbSetupReports

`forms.listAbSetupReports`

List A/B setup reports for a form. Returns the results of the A/B tests of the given form. Each report covers one A/B setup and contains the period it ran for (startedAt, and completedAt once it finished), the winning version, and per-version statistics.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.forms.listAbSetupReports({ formID: '6650a1b2c3d4e5f6a7b8c9d2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string` | Yes | Form ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `reports` | `object[] \| null` | No | A/B setup reports; empty when the form has none (read-only) |

```ts theme={null}
{
  abSetupID?: string | null,
  completedAt?: string | null,
  startedAt?: string | null,
  status?: string | null,
  versionStatistics?: {
    splitValue?: number | null,
    statistics?: {
      interactions?: number | null,
      signups?: number | null,
      submits?: number | null,
      views?: number | null
    } | null,
    versionName?: string | null
  }[] | null,
  winner?: string | null
}[] | null
```

***

### listContacts

`forms.listContacts`

Get form submitted contacts. Get the contacts that signed up through the given form, most recent first by default, together with the values they submitted (email, phone, name, address fields, discount code, and custom properties). Pagination: results are cursor-based.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.forms.listContacts({ formID: '6650a1b2c3d4e5f6a7b8c9d2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string` | Yes | Form ID (24 character hexadecimal) |
| `limit` | `number` | No | Number of items to return (max 250) |
| `sort` | `createdAt` | No | Sort field. Contacts are ordered by contact creation time embedded in the contact ID. Note: the response 'date' field reflects when the contact submitted this form (signup time) and may differ from the sort key for existing subscribers. |
| `direction` | `asc \| desc` | No | Sort direction |
| `after` | `string` | No | Cursor for forward pagination |
| `before` | `string` | No | Cursor for backward pagination |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `contacts` | `object[] \| null` | No | Contacts who submitted the form (read-only) |
| `paging` | `object \| null` | No | Pagination information (read-only) |

```ts theme={null}
{
  address?: string | null,
  birthday?: string | null,
  city?: string | null,
  country?: string | null,
  customProperties?: {
    name?: string | null,
    type?: string | null,
    value?: any | null
  }[] | null,
  discount?: string | null,
  email?: string | null,
  firstName?: string | null,
  gender?: string | null,
  id?: string | null,
  lastName?: string | null,
  phoneNumber?: string | null,
  state?: string | null,
  submittedAt?: string | null,
  zipCode?: string | null
}[] | null
```

```ts theme={null}
{
  cursors?: {
    after?: string | null | null,
    before?: string | null | null
  } | null,
  hasMore?: boolean | null,
  limit?: number | null
} | null
```

***

### render

`forms.render`

Render a form. Render a single form by ID and return its display steps as HTML. The form is rendered from its current stored content without enabling it or serving it to visitors, so the response can be used to preview how the form will look.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.forms.render({ formID: '6650a1b2c3d4e5f6a7b8c9d2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string` | Yes | Form ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `steps` | `object[] \| null` | No | Rendered form steps |

```ts theme={null}
{
  html?: string | null,
  name?: string | null
}[] | null
```

***

### update

`forms.update`

Update form. Partially update a form. Only the fields present in the request body are changed; omitted fields are left unchanged. Nested objects must be sent complete, as they fully replace the stored value. Sending null for an optional field clears it, while sending null for a mandatory field is rejected.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.forms.update({ formID: '6650a1b2c3d4e5f6a7b8c9d2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `formID` | `string` | Yes | Form ID |
| `autoRedirect` | `object \| null` | No | Auto-redirect configuration applied after submission |
| `clickOutside` | `object \| null` | No | Click-outside-to-close behavior |
| `contactTags` | `string[] \| null` | No | Tags applied to contacts who submit the form |
| `content` | `object` | No | Form content |
| `displayType` | `popup \| landingPage \| embedded \| flyout \| fullscreen` | No | Form display type |
| `doubleOptIn` | `object \| null` | No | Double opt-in configuration |
| `name` | `string` | No | Form name |
| `recaptcha` | `object \| null` | No | reCAPTCHA protection settings |
| `socialMediaSharing` | `object \| null` | No | Social media sharing metadata |
| `targeting` | `object` | No | Form targeting rules |

```ts theme={null}
{
  countdownText?: string,
  delayMs?: number,
  isEnabled?: boolean,
  shouldOpenInNewTab?: boolean,
  url?: string
} | null
```

```ts theme={null}
{
  isEnabled?: boolean
} | null
```

```ts theme={null}
{
  generalSettings: {
    backgroundImage?: {
      fit?: cover | contain,
      id: string,
      padding?: string,
      position?: left | right | top | back,
      size?: string
    },
    body: {
      backgroundColor?: string,
      borderColor?: string,
      borderRadius: string,
      borderStyle: dotted | solid | dashed,
      borderWidth: string
    },
    buttonPresets: {
      id: primary_button | secondary_button | tertiary_button,
      name?: string,
      styles: {
        backgroundColor?: string,
        borderColor?: string,
        borderRadius: string,
        borderStyle: dotted | solid | dashed,
        borderWidth: string,
        color: string,
        fontFamily: string,
        fontSize: string,
        fontStyle: italic | normal,
        fontWeight: bold | normal,
        hoverBackgroundColor?: string,
        hoverBorderColor?: string,
        hoverColor?: string,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        textAlign?: left | center | right,
        textDecoration: underline | none
      }
    }[],
    closeButton?: {
      backgroundColor?: string,
      color: string,
      isVisible?: boolean,
      margins?: {
        desktop: {
          left?: number,
          right?: number,
          top?: number
        },
        mobile?: {
          left?: number,
          right?: number,
          top?: number
        }
      },
      position?: left | right
    },
    content: {
      color: string,
      width: string
    },
    fieldStyles: {
      errorColor: string,
      field: {
        backgroundColor?: string,
        borderColor: string,
        borderRadius: string,
        borderStyle: dotted | solid | dashed,
        borderWidth: string,
        color: string,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string
      },
      fontFamily: string,
      fontSize: string,
      fontStyle?: italic | normal,
      fontWeight?: bold | normal,
      label: {
        color: string,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string
      },
      placeholder: {
        color: string
      },
      textAlign?: left | center | right,
      textDecoration?: underline | none
    },
    link: {
      color: string
    },
    position?: topLeft | topCenter | topRight | middleLeft | middleCenter | middleRight | bottomLeft | bottomCenter | bottomRight,
    textPresets: {
      id: heading_large | heading_medium | heading_small | paragraph | footnote,
      name?: string,
      styles: {
        color: string,
        fontFamily: string,
        fontSize: string,
        lineHeight: 100% | 115% | 125% | 150% | 200%
      }
    }[]
  },
  steps: {
    sections: {
      backgroundImage?: {
        fit: cover | contain | repeat,
        id: string
      },
      id?: string,
      rows: {
        columns: {
          blocks: {
            button?: {
              customProfileField?: string,
              isFullWidth?: boolean,
              isMappedToCustomProperty?: boolean,
              link?: string,
              text?: string,
              type?: link | submit | close | nextStep,
              value?: string
            },
            checkboxField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: custom,
              requiredMessage?: string
            },
            countdownTimer?: {
              duration?: number,
              endsAt?: string,
              format?: DD:HH:MM:SS | HH:MM:SS | MM:SS,
              type: fixed | personalized
            },
            dateField?: {
              customProfileField?: string,
              errorMessage: string,
              format: YYYY/MM/DD | MM/DD/YYYY | DD/MM/YYYY,
              isRequired?: boolean,
              label?: string,
              profileField: birthdate | custom,
              requiredMessage?: string
            },
            discount?: {
              code?: string,
              copiedMessage?: string,
              copiedMessageEnabled?: boolean,
              type?: wheelOfFortune | static | game | unique
            },
            dropdownField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              placeholder?: string,
              profileField: country | gender | custom,
              requiredMessage?: string
            },
            emailField?: {
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            id?: string,
            image?: {
              altText?: string,
              height?: number,
              id: string,
              link?: string,
              resizeWidth?: number,
              width?: number
            },
            inputField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              profileField: firstName | lastName | address | city | state | zipCode | custom,
              requiredMessage?: string
            },
            legal?: {
              description?: string,
              label?: string,
              link?: string,
              requiredMessage?: string,
              type?: gdpr | tcpa | emailOpenTracking
            },
            lineSpace?: {
              height?: number,
              type?: line | space,
              width?: number
            },
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderStyle?: dotted | solid | dashed,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              boxes: {
                altText?: string,
                backgroundColor: string,
                id?: string,
                imageUrl?: string,
                text?: string,
                textColor?: string,
                type: text | image
              }[],
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[],
                includes?: string[]
              },
              defaultCountryCode?: string,
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            radioField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: gender | custom,
              requiredMessage?: string
            },
            role?: string,
            scratchCard?: {
              brushSize?: number,
              cardStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              cover: {
                altText?: string,
                backgroundColor?: string,
                id?: string,
                imageUrl: string
              },
              prizeBackgroundColor: string,
              prizeTextColor: string,
              revealThreshold?: number,
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            stylePresetID?: string,
            styleProperties?: {
              alignment?: left | center | right,
              backgroundColor?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              lineHeight?: string,
              opacity?: number,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              secondaryColor?: string,
              verticalAlign?: top | middle | bottom
            },
            text?: string,
            type: text | image | button | lineSpace | emailField | legal | phoneNumberField | inputField | dateField | dropdownField | radioField | checkboxField | wheelOfFortune | discount | countdownTimer | mysteryBox | scratchCard,
            wheelOfFortune?: {
              fontFamily?: string,
              fontSize?: string,
              pointerColor: string,
              slices: {
                altText?: string,
                backgroundColor: string,
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                imageUrl?: string,
                isLosing?: boolean,
                probability?: number,
                text?: string,
                textColor?: string,
                type?: text | image
              }[],
              speed?: number,
              width?: number
            }
          }[],
          id?: string,
          styleProperties?: {
            alignment?: left | center | right,
            backgroundColor?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            lineHeight?: string,
            opacity?: number,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            secondaryColor?: string,
            verticalAlign?: top | middle | bottom
          },
          width: string
        }[],
        id?: string,
        styleProperties?: {
          alignment?: left | center | right,
          backgroundColor?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          lineHeight?: string,
          opacity?: number,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          secondaryColor?: string,
          verticalAlign?: top | middle | bottom
        }
      }[],
      styleProperties?: {
        alignment?: left | center | right,
        backgroundColor?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        lineHeight?: string,
        opacity?: number,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        secondaryColor?: string,
        verticalAlign?: top | middle | bottom
      }
    }[]
  }[],
  subscribedStep?: {
    sections: {
      backgroundImage?: {
        fit: cover | contain | repeat,
        id: string
      },
      id?: string,
      rows: {
        columns: {
          blocks: {
            button?: {
              customProfileField?: string,
              isFullWidth?: boolean,
              isMappedToCustomProperty?: boolean,
              link?: string,
              text?: string,
              type?: link | submit | close | nextStep,
              value?: string
            },
            checkboxField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: custom,
              requiredMessage?: string
            },
            countdownTimer?: {
              duration?: number,
              endsAt?: string,
              format?: DD:HH:MM:SS | HH:MM:SS | MM:SS,
              type: fixed | personalized
            },
            dateField?: {
              customProfileField?: string,
              errorMessage: string,
              format: YYYY/MM/DD | MM/DD/YYYY | DD/MM/YYYY,
              isRequired?: boolean,
              label?: string,
              profileField: birthdate | custom,
              requiredMessage?: string
            },
            discount?: {
              code?: string,
              copiedMessage?: string,
              copiedMessageEnabled?: boolean,
              type?: wheelOfFortune | static | game | unique
            },
            dropdownField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              placeholder?: string,
              profileField: country | gender | custom,
              requiredMessage?: string
            },
            emailField?: {
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            id?: string,
            image?: {
              altText?: string,
              height?: number,
              id: string,
              link?: string,
              resizeWidth?: number,
              width?: number
            },
            inputField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              profileField: firstName | lastName | address | city | state | zipCode | custom,
              requiredMessage?: string
            },
            legal?: {
              description?: string,
              label?: string,
              link?: string,
              requiredMessage?: string,
              type?: gdpr | tcpa | emailOpenTracking
            },
            lineSpace?: {
              height?: number,
              type?: line | space,
              width?: number
            },
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderStyle?: dotted | solid | dashed,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              boxes: {
                altText?: string,
                backgroundColor: string,
                id?: string,
                imageUrl?: string,
                text?: string,
                textColor?: string,
                type: text | image
              }[],
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[],
                includes?: string[]
              },
              defaultCountryCode?: string,
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            radioField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: gender | custom,
              requiredMessage?: string
            },
            role?: string,
            scratchCard?: {
              brushSize?: number,
              cardStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              cover: {
                altText?: string,
                backgroundColor?: string,
                id?: string,
                imageUrl: string
              },
              prizeBackgroundColor: string,
              prizeTextColor: string,
              revealThreshold?: number,
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            stylePresetID?: string,
            styleProperties?: {
              alignment?: left | center | right,
              backgroundColor?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              lineHeight?: string,
              opacity?: number,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              secondaryColor?: string,
              verticalAlign?: top | middle | bottom
            },
            text?: string,
            type: text | image | button | lineSpace | emailField | legal | phoneNumberField | inputField | dateField | dropdownField | radioField | checkboxField | wheelOfFortune | discount | countdownTimer | mysteryBox | scratchCard,
            wheelOfFortune?: {
              fontFamily?: string,
              fontSize?: string,
              pointerColor: string,
              slices: {
                altText?: string,
                backgroundColor: string,
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                imageUrl?: string,
                isLosing?: boolean,
                probability?: number,
                text?: string,
                textColor?: string,
                type?: text | image
              }[],
              speed?: number,
              width?: number
            }
          }[],
          id?: string,
          styleProperties?: {
            alignment?: left | center | right,
            backgroundColor?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            lineHeight?: string,
            opacity?: number,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            secondaryColor?: string,
            verticalAlign?: top | middle | bottom
          },
          width: string
        }[],
        id?: string,
        styleProperties?: {
          alignment?: left | center | right,
          backgroundColor?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          lineHeight?: string,
          opacity?: number,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          secondaryColor?: string,
          verticalAlign?: top | middle | bottom
        }
      }[],
      styleProperties?: {
        alignment?: left | center | right,
        backgroundColor?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        lineHeight?: string,
        opacity?: number,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        secondaryColor?: string,
        verticalAlign?: top | middle | bottom
      }
    }[]
  },
  successStep?: {
    sections: {
      backgroundImage?: {
        fit: cover | contain | repeat,
        id: string
      },
      id?: string,
      rows: {
        columns: {
          blocks: {
            button?: {
              customProfileField?: string,
              isFullWidth?: boolean,
              isMappedToCustomProperty?: boolean,
              link?: string,
              text?: string,
              type?: link | submit | close | nextStep,
              value?: string
            },
            checkboxField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: custom,
              requiredMessage?: string
            },
            countdownTimer?: {
              duration?: number,
              endsAt?: string,
              format?: DD:HH:MM:SS | HH:MM:SS | MM:SS,
              type: fixed | personalized
            },
            dateField?: {
              customProfileField?: string,
              errorMessage: string,
              format: YYYY/MM/DD | MM/DD/YYYY | DD/MM/YYYY,
              isRequired?: boolean,
              label?: string,
              profileField: birthdate | custom,
              requiredMessage?: string
            },
            discount?: {
              code?: string,
              copiedMessage?: string,
              copiedMessageEnabled?: boolean,
              type?: wheelOfFortune | static | game | unique
            },
            dropdownField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              placeholder?: string,
              profileField: country | gender | custom,
              requiredMessage?: string
            },
            emailField?: {
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            id?: string,
            image?: {
              altText?: string,
              height?: number,
              id: string,
              link?: string,
              resizeWidth?: number,
              width?: number
            },
            inputField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              profileField: firstName | lastName | address | city | state | zipCode | custom,
              requiredMessage?: string
            },
            legal?: {
              description?: string,
              label?: string,
              link?: string,
              requiredMessage?: string,
              type?: gdpr | tcpa | emailOpenTracking
            },
            lineSpace?: {
              height?: number,
              type?: line | space,
              width?: number
            },
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderStyle?: dotted | solid | dashed,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              boxes: {
                altText?: string,
                backgroundColor: string,
                id?: string,
                imageUrl?: string,
                text?: string,
                textColor?: string,
                type: text | image
              }[],
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[],
                includes?: string[]
              },
              defaultCountryCode?: string,
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            radioField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: gender | custom,
              requiredMessage?: string
            },
            role?: string,
            scratchCard?: {
              brushSize?: number,
              cardStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              cover: {
                altText?: string,
                backgroundColor?: string,
                id?: string,
                imageUrl: string
              },
              prizeBackgroundColor: string,
              prizeTextColor: string,
              revealThreshold?: number,
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            stylePresetID?: string,
            styleProperties?: {
              alignment?: left | center | right,
              backgroundColor?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              lineHeight?: string,
              opacity?: number,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              secondaryColor?: string,
              verticalAlign?: top | middle | bottom
            },
            text?: string,
            type: text | image | button | lineSpace | emailField | legal | phoneNumberField | inputField | dateField | dropdownField | radioField | checkboxField | wheelOfFortune | discount | countdownTimer | mysteryBox | scratchCard,
            wheelOfFortune?: {
              fontFamily?: string,
              fontSize?: string,
              pointerColor: string,
              slices: {
                altText?: string,
                backgroundColor: string,
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                imageUrl?: string,
                isLosing?: boolean,
                probability?: number,
                text?: string,
                textColor?: string,
                type?: text | image
              }[],
              speed?: number,
              width?: number
            }
          }[],
          id?: string,
          styleProperties?: {
            alignment?: left | center | right,
            backgroundColor?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            lineHeight?: string,
            opacity?: number,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            secondaryColor?: string,
            verticalAlign?: top | middle | bottom
          },
          width: string
        }[],
        id?: string,
        styleProperties?: {
          alignment?: left | center | right,
          backgroundColor?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          lineHeight?: string,
          opacity?: number,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          secondaryColor?: string,
          verticalAlign?: top | middle | bottom
        }
      }[],
      styleProperties?: {
        alignment?: left | center | right,
        backgroundColor?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        lineHeight?: string,
        opacity?: number,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        secondaryColor?: string,
        verticalAlign?: top | middle | bottom
      }
    }[]
  },
  teaser?: {
    closeButton?: {
      isEnabled?: boolean
    },
    isEnabled?: boolean,
    position: topLeft | topCenter | topRight | middleLeft | middleRight | bottomLeft | bottomCenter | bottomRight,
    styleProperties?: {
      backgroundColor?: string,
      border?: string,
      borderRadius?: string,
      color?: string,
      desktopStyle: {
        marginBottom?: string,
        marginLeft?: string,
        marginRight?: string,
        marginTop?: string
      },
      fontFamily?: string,
      fontSize?: string,
      fontStyle?: italic | normal,
      fontWeight?: bold | normal,
      mobileStyle: {
        marginBottom?: string,
        marginLeft?: string,
        marginRight?: string,
        marginTop?: string
      },
      paddingBottom?: string,
      paddingLeft?: string,
      paddingRight?: string,
      paddingTop?: string,
      shape: rectangle | circle | triangle,
      textDecoration?: underline | none
    },
    text: string,
    visibility: before | after | always
  },
  unavailablePageStep?: {
    sections: {
      backgroundImage?: {
        fit: cover | contain | repeat,
        id: string
      },
      id?: string,
      rows: {
        columns: {
          blocks: {
            button?: {
              customProfileField?: string,
              isFullWidth?: boolean,
              isMappedToCustomProperty?: boolean,
              link?: string,
              text?: string,
              type?: link | submit | close | nextStep,
              value?: string
            },
            checkboxField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: custom,
              requiredMessage?: string
            },
            countdownTimer?: {
              duration?: number,
              endsAt?: string,
              format?: DD:HH:MM:SS | HH:MM:SS | MM:SS,
              type: fixed | personalized
            },
            dateField?: {
              customProfileField?: string,
              errorMessage: string,
              format: YYYY/MM/DD | MM/DD/YYYY | DD/MM/YYYY,
              isRequired?: boolean,
              label?: string,
              profileField: birthdate | custom,
              requiredMessage?: string
            },
            discount?: {
              code?: string,
              copiedMessage?: string,
              copiedMessageEnabled?: boolean,
              type?: wheelOfFortune | static | game | unique
            },
            dropdownField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              placeholder?: string,
              profileField: country | gender | custom,
              requiredMessage?: string
            },
            emailField?: {
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            id?: string,
            image?: {
              altText?: string,
              height?: number,
              id: string,
              link?: string,
              resizeWidth?: number,
              width?: number
            },
            inputField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              profileField: firstName | lastName | address | city | state | zipCode | custom,
              requiredMessage?: string
            },
            legal?: {
              description?: string,
              label?: string,
              link?: string,
              requiredMessage?: string,
              type?: gdpr | tcpa | emailOpenTracking
            },
            lineSpace?: {
              height?: number,
              type?: line | space,
              width?: number
            },
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderStyle?: dotted | solid | dashed,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              boxes: {
                altText?: string,
                backgroundColor: string,
                id?: string,
                imageUrl?: string,
                text?: string,
                textColor?: string,
                type: text | image
              }[],
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[],
                includes?: string[]
              },
              defaultCountryCode?: string,
              errorMessage: string,
              isRequired?: boolean,
              label?: string,
              placeholder?: string,
              requiredMessage?: string
            },
            radioField?: {
              customProfileField?: string,
              isRequired?: boolean,
              label?: string,
              options?: {
                label: string,
                value: string
              }[],
              profileField: gender | custom,
              requiredMessage?: string
            },
            role?: string,
            scratchCard?: {
              brushSize?: number,
              cardStyle?: {
                borderColor?: string,
                borderRadius?: string,
                borderWidth?: string,
                fontFamily?: string,
                fontSize?: string,
                width?: number
              },
              cover: {
                altText?: string,
                backgroundColor?: string,
                id?: string,
                imageUrl: string
              },
              prizeBackgroundColor: string,
              prizeTextColor: string,
              revealThreshold?: number,
              rewards: {
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                name?: string
              }[]
            },
            stylePresetID?: string,
            styleProperties?: {
              alignment?: left | center | right,
              backgroundColor?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              lineHeight?: string,
              opacity?: number,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              secondaryColor?: string,
              verticalAlign?: top | middle | bottom
            },
            text?: string,
            type: text | image | button | lineSpace | emailField | legal | phoneNumberField | inputField | dateField | dropdownField | radioField | checkboxField | wheelOfFortune | discount | countdownTimer | mysteryBox | scratchCard,
            wheelOfFortune?: {
              fontFamily?: string,
              fontSize?: string,
              pointerColor: string,
              slices: {
                altText?: string,
                backgroundColor: string,
                discountCode?: string,
                discountType?: static | unique,
                id?: string,
                imageUrl?: string,
                isLosing?: boolean,
                probability?: number,
                text?: string,
                textColor?: string,
                type?: text | image
              }[],
              speed?: number,
              width?: number
            }
          }[],
          id?: string,
          styleProperties?: {
            alignment?: left | center | right,
            backgroundColor?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            lineHeight?: string,
            opacity?: number,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            secondaryColor?: string,
            verticalAlign?: top | middle | bottom
          },
          width: string
        }[],
        id?: string,
        styleProperties?: {
          alignment?: left | center | right,
          backgroundColor?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          lineHeight?: string,
          opacity?: number,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          secondaryColor?: string,
          verticalAlign?: top | middle | bottom
        }
      }[],
      styleProperties?: {
        alignment?: left | center | right,
        backgroundColor?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        lineHeight?: string,
        opacity?: number,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        secondaryColor?: string,
        verticalAlign?: top | middle | bottom
      }
    }[]
  }
}
```

```ts theme={null}
{
  confirmationPage?: {
    autoRedirectText?: string,
    buttonText?: string,
    content: string,
    isAutoRedirectEnabled?: boolean,
    isButtonVisible?: boolean,
    title: string,
    url?: string
  },
  confirmationRedirect?: {
    isEnabled?: boolean,
    url?: string
  },
  email?: {
    confirmationButton: string,
    content: string,
    headline: string,
    sendersEmail?: string,
    sendersName: string,
    subject: string
  },
  isEnabled?: boolean
} | null
```

```ts theme={null}
{
  isEnabled?: boolean
} | null
```

```ts theme={null}
{
  description: string,
  imageID?: string,
  title: string
} | null
```

```ts theme={null}
{
  audience?: {
    type?: subscribers | notSubscribers
  },
  cart?: {
    itemCount?: number,
    value?: number
  },
  device?: desktop | mobile,
  display?: {
    afterScrollDown?: number,
    afterSeconds?: number,
    afterViewedPageCount?: number,
    customTrigger?: only,
    isExitIntentEnabled?: boolean
  },
  frequency?: {
    type?: second | minute | hour | day,
    value?: number
  },
  isBackInStock?: boolean,
  isPersonalisedTargeting?: boolean,
  location?: {
    excludes?: {
      code: string,
      name: string,
      states?: {
        code: string,
        name: string
      }[]
    }[],
    includes?: {
      code: string,
      name: string,
      states?: {
        code: string,
        name: string
      }[]
    }[]
  },
  scheduling?: {
    endsAt?: string,
    startsAt?: string
  },
  segments?: {
    excludes?: string[],
    includes?: string[]
  },
  source?: {
    excludes?: (googleAds | organic | direct | facebook | instagram | omnisendCommunication)[],
    includes?: (googleAds | organic | direct | facebook | instagram | omnisendCommunication)[]
  },
  url?: {
    excludes?: {
      type: exact | contains,
      value: string
    }[],
    includes?: {
      type: exact | contains,
      value: string
    }[]
  },
  utm?: {
    includes?: {
      type: id | source | medium | campaign | term | content,
      value: string
    }[]
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `abSetupID` | `string \| null` | No | A/B setup unique identifier the form belongs to (read-only) |
| `abStatus` | `string \| null` | No | A/B test status of the form (read-only) |
| `autoRedirect` | `object \| null` | No | Auto-redirect configuration applied after submission |
| `clickOutside` | `object \| null` | No | Click-outside-to-close behavior |
| `contactTags` | `string[] \| null` | No | Tags applied to contacts who submit the form |
| `content` | `object \| null` | No | Form content |
| `createdAt` | `string \| null` | No | Form creation timestamp (read-only) |
| `disabledAt` | `string \| null` | No | Form disable timestamp (read-only) |
| `displayType` | `string \| null` | No | Form display type |
| `doubleOptIn` | `object \| null` | No | Double opt-in configuration |
| `enabledAt` | `string \| null` | No | Form enable timestamp (read-only) |
| `id` | `string \| null` | No | Form unique identifier (read-only) |
| `launchedAt` | `string \| null` | No | Form launch timestamp (read-only) |
| `name` | `string \| null` | No | Form name |
| `recaptcha` | `object \| null` | No | reCAPTCHA protection settings |
| `socialMediaSharing` | `object \| null` | No | Social media sharing metadata |
| `status` | `string \| null` | No | Form status (read-only) |
| `targeting` | `object \| null` | No | Form targeting rules |
| `updatedAt` | `string \| null` | No | Form last update timestamp (read-only) |

```ts theme={null}
{
  countdownText?: string | null,
  delayMs?: number | null,
  isEnabled?: boolean | null,
  shouldOpenInNewTab?: boolean | null,
  url?: string | null
} | null
```

```ts theme={null}
{
  isEnabled?: boolean | null
} | null
```

```ts theme={null}
{
  generalSettings?: {
    backgroundImage?: {
      fit?: string | null,
      padding?: string | null,
      position?: string | null,
      size?: string | null,
      url?: string | null
    } | null,
    body?: {
      backgroundColor?: string | null,
      borderColor?: string | null,
      borderRadius?: string | null,
      borderStyle?: string | null,
      borderWidth?: string | null
    } | null,
    buttonPresets?: {
      id?: string | null,
      name?: string | null,
      styles?: {
        backgroundColor?: string | null,
        borderColor?: string | null,
        borderRadius?: string | null,
        borderStyle?: string | null,
        borderWidth?: string | null,
        color?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        hoverBackgroundColor?: string | null,
        hoverBorderColor?: string | null,
        hoverColor?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        textAlign?: string | null,
        textDecoration?: string | null
      } | null
    }[] | null,
    closeButton?: {
      backgroundColor?: string | null,
      color?: string | null,
      isVisible?: boolean | null,
      margins?: {
        desktop?: {
          left?: number | null,
          right?: number | null,
          top?: number | null
        } | null,
        mobile?: {
          left?: number | null,
          right?: number | null,
          top?: number | null
        } | null
      } | null,
      position?: string | null
    } | null,
    content?: {
      color?: string | null,
      width?: string | null
    } | null,
    fieldStyles?: {
      errorColor?: string | null,
      field?: {
        backgroundColor?: string | null,
        borderColor?: string | null,
        borderRadius?: string | null,
        borderStyle?: string | null,
        borderWidth?: string | null,
        color?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null
      } | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      label?: {
        color?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null
      } | null,
      placeholder?: {
        color?: string | null
      } | null,
      textAlign?: string | null,
      textDecoration?: string | null
    } | null,
    link?: {
      color?: string | null
    } | null,
    position?: string | null,
    textPresets?: {
      id?: string | null,
      name?: string | null,
      styles?: {
        color?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null
      } | null
    }[] | null
  } | null,
  steps?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  }[] | null,
  subscribedStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null,
  successStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null,
  teaser?: {
    closeButton?: {
      isEnabled?: boolean | null
    } | null,
    isEnabled?: boolean | null,
    position?: string | null,
    styleProperties?: {
      backgroundColor?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      desktopStyle?: {
        marginBottom?: string | null,
        marginLeft?: string | null,
        marginRight?: string | null,
        marginTop?: string | null
      } | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      mobileStyle?: {
        marginBottom?: string | null,
        marginLeft?: string | null,
        marginRight?: string | null,
        marginTop?: string | null
      } | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      shape?: string | null,
      textDecoration?: string | null
    } | null,
    text?: string | null,
    visibility?: string | null
  } | null,
  unavailablePageStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null
} | null
```

```ts theme={null}
{
  confirmationPage?: {
    autoRedirectText?: string | null,
    buttonText?: string | null,
    content?: string | null,
    isAutoRedirectEnabled?: boolean | null,
    isButtonVisible?: boolean | null,
    title?: string | null,
    url?: string | null
  } | null,
  confirmationRedirect?: {
    isEnabled?: boolean | null,
    url?: string | null
  } | null,
  email?: {
    confirmationButton?: string | null,
    content?: string | null,
    headline?: string | null,
    sendersEmail?: string | null,
    sendersName?: string | null,
    subject?: string | null
  } | null,
  isEnabled?: boolean | null
} | null
```

```ts theme={null}
{
  isEnabled?: boolean | null
} | null
```

```ts theme={null}
{
  description?: string | null,
  imageUrl?: string | null,
  title?: string | null
} | null
```

```ts theme={null}
{
  audience?: {
    type?: string | null
  } | null,
  cart?: {
    itemCount?: number | null,
    value?: number | null
  } | null,
  device?: string | null,
  display?: {
    afterScrollDown?: number | null,
    afterSeconds?: number | null,
    afterViewedPageCount?: number | null,
    customTrigger?: string | null,
    isExitIntentEnabled?: boolean | null
  } | null,
  frequency?: {
    type?: string | null,
    value?: number | null
  } | null,
  isBackInStock?: boolean | null,
  isPersonalisedTargeting?: boolean | null,
  location?: {
    excludes?: {
      code?: string | null,
      name?: string | null,
      states?: {
        code?: string | null,
        name?: string | null
      }[] | null
    }[] | null,
    includes?: {
      code?: string | null,
      name?: string | null,
      states?: {
        code?: string | null,
        name?: string | null
      }[] | null
    }[] | null
  } | null,
  scheduling?: {
    endsAt?: string | null,
    startsAt?: string | null
  } | null,
  segments?: {
    excludes?: string[] | null,
    includes?: string[] | null
  } | null,
  source?: {
    excludes?: string[] | null,
    includes?: string[] | null
  } | null,
  url?: {
    excludes?: {
      type?: string | null,
      value?: string | null
    }[] | null,
    includes?: {
      type?: string | null,
      value?: string | null
    }[] | null
  } | null,
  utm?: {
    includes?: {
      type?: string | null,
      value?: string | null
    }[] | null
  } | null
} | null
```

***

## Form Templates

### get

`formTemplates.get`

Get template. Get a single form template by ID.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.formTemplates.get({ templateID: '6650a1b2c3d4e5f6a7b8c9d5' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `templateID` | `string` | Yes | Template ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `contactTags` | `string[] \| null` | No | Tags applied to contacts who submit forms created from this template |
| `content` | `object \| null` | No | Template content |
| `displayType` | `string \| null` | No | Template display type |
| `id` | `string \| null` | No | Template unique identifier (read-only) |
| `name` | `string \| null` | No | Template name |
| `targeting` | `object \| null` | No | Template targeting rules |

```ts theme={null}
{
  generalSettings?: {
    backgroundImage?: {
      fit?: string | null,
      padding?: string | null,
      position?: string | null,
      size?: string | null,
      url?: string | null
    } | null,
    body?: {
      backgroundColor?: string | null,
      borderColor?: string | null,
      borderRadius?: string | null,
      borderStyle?: string | null,
      borderWidth?: string | null
    } | null,
    buttonPresets?: {
      id?: string | null,
      name?: string | null,
      styles?: {
        backgroundColor?: string | null,
        borderColor?: string | null,
        borderRadius?: string | null,
        borderStyle?: string | null,
        borderWidth?: string | null,
        color?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        hoverBackgroundColor?: string | null,
        hoverBorderColor?: string | null,
        hoverColor?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        textAlign?: string | null,
        textDecoration?: string | null
      } | null
    }[] | null,
    closeButton?: {
      backgroundColor?: string | null,
      color?: string | null,
      isVisible?: boolean | null,
      margins?: {
        desktop?: {
          left?: number | null,
          right?: number | null,
          top?: number | null
        } | null,
        mobile?: {
          left?: number | null,
          right?: number | null,
          top?: number | null
        } | null
      } | null,
      position?: string | null
    } | null,
    content?: {
      color?: string | null,
      width?: string | null
    } | null,
    fieldStyles?: {
      errorColor?: string | null,
      field?: {
        backgroundColor?: string | null,
        borderColor?: string | null,
        borderRadius?: string | null,
        borderStyle?: string | null,
        borderWidth?: string | null,
        color?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null
      } | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      label?: {
        color?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null
      } | null,
      placeholder?: {
        color?: string | null
      } | null,
      textAlign?: string | null,
      textDecoration?: string | null
    } | null,
    link?: {
      color?: string | null
    } | null,
    position?: string | null,
    textPresets?: {
      id?: string | null,
      name?: string | null,
      styles?: {
        color?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null
      } | null
    }[] | null
  } | null,
  steps?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  }[] | null,
  subscribedStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null,
  successStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null,
  teaser?: {
    closeButton?: {
      isEnabled?: boolean | null
    } | null,
    isEnabled?: boolean | null,
    position?: string | null,
    styleProperties?: {
      backgroundColor?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      desktopStyle?: {
        marginBottom?: string | null,
        marginLeft?: string | null,
        marginRight?: string | null,
        marginTop?: string | null
      } | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      mobileStyle?: {
        marginBottom?: string | null,
        marginLeft?: string | null,
        marginRight?: string | null,
        marginTop?: string | null
      } | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      shape?: string | null,
      textDecoration?: string | null
    } | null,
    text?: string | null,
    visibility?: string | null
  } | null,
  unavailablePageStep?: {
    sections?: {
      backgroundImage?: {
        fit?: string | null,
        url?: string | null
      } | null,
      id?: string | null,
      rows?: {
        columns?: {
          blocks?: {
            button?: {
              customProfileField?: string | null,
              isFullWidth?: boolean | null,
              isMappedToCustomProperty?: boolean | null,
              link?: string | null,
              text?: string | null,
              type?: string | null,
              value?: string | null
            } | null,
            checkboxField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            countdownTimer?: {
              duration?: number | null,
              endsAt?: string | null,
              format?: string | null,
              type?: string | null
            } | null,
            dateField?: {
              customProfileField?: string | null,
              errorMessage?: string | null,
              format?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            discount?: {
              code?: string | null,
              copiedMessage?: string | null,
              copiedMessageEnabled?: boolean | null,
              discountID?: string | null,
              type?: string | null
            } | null,
            dropdownField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            emailField?: {
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            id?: string | null,
            image?: {
              altText?: string | null,
              height?: number | null,
              link?: string | null,
              resizeWidth?: number | null,
              url?: string | null,
              width?: number | null
            } | null,
            inputField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            legal?: {
              description?: string | null,
              label?: string | null,
              link?: string | null,
              requiredMessage?: string | null,
              type?: string | null
            } | null,
            lineSpace?: {
              height?: number | null,
              type?: string | null,
              width?: number | null
            } | null,
            mysteryBox?: {
              boxStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderStyle?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              boxes?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            phoneNumberField?: {
              countryCodes?: {
                excludes?: string[] | null,
                includes?: string[] | null
              } | null,
              defaultCountryCode?: string | null,
              errorMessage?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              placeholder?: string | null,
              requiredMessage?: string | null
            } | null,
            radioField?: {
              customProfileField?: string | null,
              isRequired?: boolean | null,
              label?: string | null,
              options?: {
                label?: string | null,
                value?: string | null
              }[] | null,
              profileField?: string | null,
              requiredMessage?: string | null
            } | null,
            role?: string | null,
            scratchCard?: {
              brushSize?: number | null,
              cardStyle?: {
                borderColor?: string | null,
                borderRadius?: string | null,
                borderWidth?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                width?: number | null
              } | null,
              cover?: {
                altText?: string | null,
                backgroundColor?: string | null,
                id?: string | null,
                imageUrl?: string | null
              } | null,
              prizeBackgroundColor?: string | null,
              prizeTextColor?: string | null,
              revealThreshold?: number | null,
              rewards?: {
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                name?: string | null
              }[] | null
            } | null,
            stylePresetId?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null,
            wheelOfFortune?: {
              fontFamily?: string | null,
              fontSize?: string | null,
              pointerColor?: string | null,
              slices?: {
                altText?: string | null,
                backgroundColor?: string | null,
                discountCode?: string | null,
                discountID?: string | null,
                discountType?: string | null,
                id?: string | null,
                imageUrl?: string | null,
                isLosing?: boolean | null,
                probability?: number | null,
                text?: string | null,
                textColor?: string | null,
                type?: string | null
              }[] | null,
              speed?: number | null,
              width?: number | null
            } | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null,
          width?: string | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        lineHeight?: string | null,
        opacity?: number | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        secondaryColor?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null
  } | null
} | null
```

```ts theme={null}
{
  audience?: {
    type?: string | null
  } | null,
  cart?: {
    itemCount?: number | null,
    value?: number | null
  } | null,
  device?: string | null,
  display?: {
    afterScrollDown?: number | null,
    afterSeconds?: number | null,
    afterViewedPageCount?: number | null,
    customTrigger?: string | null,
    isExitIntentEnabled?: boolean | null
  } | null,
  frequency?: {
    type?: string | null,
    value?: number | null
  } | null,
  isBackInStock?: boolean | null,
  isPersonalisedTargeting?: boolean | null,
  location?: {
    excludes?: {
      code?: string | null,
      name?: string | null,
      states?: {
        code?: string | null,
        name?: string | null
      }[] | null
    }[] | null,
    includes?: {
      code?: string | null,
      name?: string | null,
      states?: {
        code?: string | null,
        name?: string | null
      }[] | null
    }[] | null
  } | null,
  scheduling?: {
    endsAt?: string | null,
    startsAt?: string | null
  } | null,
  segments?: {
    excludes?: string[] | null,
    includes?: string[] | null
  } | null,
  source?: {
    excludes?: string[] | null,
    includes?: string[] | null
  } | null,
  url?: {
    excludes?: {
      type?: string | null,
      value?: string | null
    }[] | null,
    includes?: {
      type?: string | null,
      value?: string | null
    }[] | null
  } | null,
  utm?: {
    includes?: {
      type?: string | null,
      value?: string | null
    }[] | null
  } | null
} | null
```

***

### list

`formTemplates.list`

List form templates. List form templates with sorting, filtering and cursor-based pagination support. Only templates available in the brand's library are returned, each with its full content and brand assets applied.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.formTemplates.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Page size (1-250) |
| `after` | `string` | No | Cursor for next page (base64-encoded, obtained from previous response) |
| `before` | `string` | No | Cursor for previous page (base64-encoded, obtained from previous response) |
| `sort` | `createdAt` | No | Sort field (only needed on first request) |
| `direction` | `asc \| desc` | No | Sort direction (only needed on first request) |
| `displayType` | `popup \| landingPage \| embedded \| flyout \| fullscreen` | No | Filter by display type |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `formTemplates` | `object[] \| null` | No | List of form templates |
| `paging` | `object \| null` | No | Pagination information |

```ts theme={null}
{
  contactTags?: string[] | null,
  content?: {
    generalSettings?: {
      backgroundImage?: {
        fit?: string | null,
        padding?: string | null,
        position?: string | null,
        size?: string | null,
        url?: string | null
      } | null,
      body?: {
        backgroundColor?: string | null,
        borderColor?: string | null,
        borderRadius?: string | null,
        borderStyle?: string | null,
        borderWidth?: string | null
      } | null,
      buttonPresets?: {
        id?: string | null,
        name?: string | null,
        styles?: {
          backgroundColor?: string | null,
          borderColor?: string | null,
          borderRadius?: string | null,
          borderStyle?: string | null,
          borderWidth?: string | null,
          color?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          fontStyle?: string | null,
          fontWeight?: string | null,
          hoverBackgroundColor?: string | null,
          hoverBorderColor?: string | null,
          hoverColor?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          textAlign?: string | null,
          textDecoration?: string | null
        } | null
      }[] | null,
      closeButton?: {
        backgroundColor?: string | null,
        color?: string | null,
        isVisible?: boolean | null,
        margins?: {
          desktop?: {
            left?: number | null,
            right?: number | null,
            top?: number | null
          } | null,
          mobile?: {
            left?: number | null,
            right?: number | null,
            top?: number | null
          } | null
        } | null,
        position?: string | null
      } | null,
      content?: {
        color?: string | null,
        width?: string | null
      } | null,
      fieldStyles?: {
        errorColor?: string | null,
        field?: {
          backgroundColor?: string | null,
          borderColor?: string | null,
          borderRadius?: string | null,
          borderStyle?: string | null,
          borderWidth?: string | null,
          color?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null
        } | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        label?: {
          color?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null
        } | null,
        placeholder?: {
          color?: string | null
        } | null,
        textAlign?: string | null,
        textDecoration?: string | null
      } | null,
      link?: {
        color?: string | null
      } | null,
      position?: string | null,
      textPresets?: {
        id?: string | null,
        name?: string | null,
        styles?: {
          color?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null
        } | null
      }[] | null
    } | null,
    steps?: {
      sections?: {
        backgroundImage?: {
          fit?: string | null,
          url?: string | null
        } | null,
        id?: string | null,
        rows?: {
          columns?: {
            blocks?: {
              button?: {
                customProfileField?: string | null,
                isFullWidth?: boolean | null,
                isMappedToCustomProperty?: boolean | null,
                link?: string | null,
                text?: string | null,
                type?: string | null,
                value?: string | null
              } | null,
              checkboxField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              countdownTimer?: {
                duration?: number | null,
                endsAt?: string | null,
                format?: string | null,
                type?: string | null
              } | null,
              dateField?: {
                customProfileField?: string | null,
                errorMessage?: string | null,
                format?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              discount?: {
                code?: string | null,
                copiedMessage?: string | null,
                copiedMessageEnabled?: boolean | null,
                discountID?: string | null,
                type?: string | null
              } | null,
              dropdownField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              emailField?: {
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              id?: string | null,
              image?: {
                altText?: string | null,
                height?: number | null,
                link?: string | null,
                resizeWidth?: number | null,
                url?: string | null,
                width?: number | null
              } | null,
              inputField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              legal?: {
                description?: string | null,
                label?: string | null,
                link?: string | null,
                requiredMessage?: string | null,
                type?: string | null
              } | null,
              lineSpace?: {
                height?: number | null,
                type?: string | null,
                width?: number | null
              } | null,
              mysteryBox?: {
                boxStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderStyle?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                boxes?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              phoneNumberField?: {
                countryCodes?: {
                  excludes?: string[] | null,
                  includes?: string[] | null
                } | null,
                defaultCountryCode?: string | null,
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              radioField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              role?: string | null,
              scratchCard?: {
                brushSize?: number | null,
                cardStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                cover?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null
                } | null,
                prizeBackgroundColor?: string | null,
                prizeTextColor?: string | null,
                revealThreshold?: number | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              stylePresetId?: string | null,
              styleProperties?: {
                alignment?: string | null,
                backgroundColor?: string | null,
                border?: string | null,
                borderRadius?: string | null,
                color?: string | null,
                dividerColor?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                lineHeight?: string | null,
                opacity?: number | null,
                paddingBottom?: string | null,
                paddingLeft?: string | null,
                paddingRight?: string | null,
                paddingTop?: string | null,
                secondaryColor?: string | null,
                verticalAlign?: string | null
              } | null,
              text?: string | null,
              type?: string | null,
              wheelOfFortune?: {
                fontFamily?: string | null,
                fontSize?: string | null,
                pointerColor?: string | null,
                slices?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  isLosing?: boolean | null,
                  probability?: number | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                speed?: number | null,
                width?: number | null
              } | null
            }[] | null,
            id?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            width?: string | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null
        }[] | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null
    }[] | null,
    subscribedStep?: {
      sections?: {
        backgroundImage?: {
          fit?: string | null,
          url?: string | null
        } | null,
        id?: string | null,
        rows?: {
          columns?: {
            blocks?: {
              button?: {
                customProfileField?: string | null,
                isFullWidth?: boolean | null,
                isMappedToCustomProperty?: boolean | null,
                link?: string | null,
                text?: string | null,
                type?: string | null,
                value?: string | null
              } | null,
              checkboxField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              countdownTimer?: {
                duration?: number | null,
                endsAt?: string | null,
                format?: string | null,
                type?: string | null
              } | null,
              dateField?: {
                customProfileField?: string | null,
                errorMessage?: string | null,
                format?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              discount?: {
                code?: string | null,
                copiedMessage?: string | null,
                copiedMessageEnabled?: boolean | null,
                discountID?: string | null,
                type?: string | null
              } | null,
              dropdownField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              emailField?: {
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              id?: string | null,
              image?: {
                altText?: string | null,
                height?: number | null,
                link?: string | null,
                resizeWidth?: number | null,
                url?: string | null,
                width?: number | null
              } | null,
              inputField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              legal?: {
                description?: string | null,
                label?: string | null,
                link?: string | null,
                requiredMessage?: string | null,
                type?: string | null
              } | null,
              lineSpace?: {
                height?: number | null,
                type?: string | null,
                width?: number | null
              } | null,
              mysteryBox?: {
                boxStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderStyle?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                boxes?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              phoneNumberField?: {
                countryCodes?: {
                  excludes?: string[] | null,
                  includes?: string[] | null
                } | null,
                defaultCountryCode?: string | null,
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              radioField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              role?: string | null,
              scratchCard?: {
                brushSize?: number | null,
                cardStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                cover?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null
                } | null,
                prizeBackgroundColor?: string | null,
                prizeTextColor?: string | null,
                revealThreshold?: number | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              stylePresetId?: string | null,
              styleProperties?: {
                alignment?: string | null,
                backgroundColor?: string | null,
                border?: string | null,
                borderRadius?: string | null,
                color?: string | null,
                dividerColor?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                lineHeight?: string | null,
                opacity?: number | null,
                paddingBottom?: string | null,
                paddingLeft?: string | null,
                paddingRight?: string | null,
                paddingTop?: string | null,
                secondaryColor?: string | null,
                verticalAlign?: string | null
              } | null,
              text?: string | null,
              type?: string | null,
              wheelOfFortune?: {
                fontFamily?: string | null,
                fontSize?: string | null,
                pointerColor?: string | null,
                slices?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  isLosing?: boolean | null,
                  probability?: number | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                speed?: number | null,
                width?: number | null
              } | null
            }[] | null,
            id?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            width?: string | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null
        }[] | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null
    } | null,
    successStep?: {
      sections?: {
        backgroundImage?: {
          fit?: string | null,
          url?: string | null
        } | null,
        id?: string | null,
        rows?: {
          columns?: {
            blocks?: {
              button?: {
                customProfileField?: string | null,
                isFullWidth?: boolean | null,
                isMappedToCustomProperty?: boolean | null,
                link?: string | null,
                text?: string | null,
                type?: string | null,
                value?: string | null
              } | null,
              checkboxField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              countdownTimer?: {
                duration?: number | null,
                endsAt?: string | null,
                format?: string | null,
                type?: string | null
              } | null,
              dateField?: {
                customProfileField?: string | null,
                errorMessage?: string | null,
                format?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              discount?: {
                code?: string | null,
                copiedMessage?: string | null,
                copiedMessageEnabled?: boolean | null,
                discountID?: string | null,
                type?: string | null
              } | null,
              dropdownField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              emailField?: {
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              id?: string | null,
              image?: {
                altText?: string | null,
                height?: number | null,
                link?: string | null,
                resizeWidth?: number | null,
                url?: string | null,
                width?: number | null
              } | null,
              inputField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              legal?: {
                description?: string | null,
                label?: string | null,
                link?: string | null,
                requiredMessage?: string | null,
                type?: string | null
              } | null,
              lineSpace?: {
                height?: number | null,
                type?: string | null,
                width?: number | null
              } | null,
              mysteryBox?: {
                boxStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderStyle?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                boxes?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              phoneNumberField?: {
                countryCodes?: {
                  excludes?: string[] | null,
                  includes?: string[] | null
                } | null,
                defaultCountryCode?: string | null,
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              radioField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              role?: string | null,
              scratchCard?: {
                brushSize?: number | null,
                cardStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                cover?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null
                } | null,
                prizeBackgroundColor?: string | null,
                prizeTextColor?: string | null,
                revealThreshold?: number | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              stylePresetId?: string | null,
              styleProperties?: {
                alignment?: string | null,
                backgroundColor?: string | null,
                border?: string | null,
                borderRadius?: string | null,
                color?: string | null,
                dividerColor?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                lineHeight?: string | null,
                opacity?: number | null,
                paddingBottom?: string | null,
                paddingLeft?: string | null,
                paddingRight?: string | null,
                paddingTop?: string | null,
                secondaryColor?: string | null,
                verticalAlign?: string | null
              } | null,
              text?: string | null,
              type?: string | null,
              wheelOfFortune?: {
                fontFamily?: string | null,
                fontSize?: string | null,
                pointerColor?: string | null,
                slices?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  isLosing?: boolean | null,
                  probability?: number | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                speed?: number | null,
                width?: number | null
              } | null
            }[] | null,
            id?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            width?: string | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null
        }[] | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null
    } | null,
    teaser?: {
      closeButton?: {
        isEnabled?: boolean | null
      } | null,
      isEnabled?: boolean | null,
      position?: string | null,
      styleProperties?: {
        backgroundColor?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        desktopStyle?: {
          marginBottom?: string | null,
          marginLeft?: string | null,
          marginRight?: string | null,
          marginTop?: string | null
        } | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        mobileStyle?: {
          marginBottom?: string | null,
          marginLeft?: string | null,
          marginRight?: string | null,
          marginTop?: string | null
        } | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        shape?: string | null,
        textDecoration?: string | null
      } | null,
      text?: string | null,
      visibility?: string | null
    } | null,
    unavailablePageStep?: {
      sections?: {
        backgroundImage?: {
          fit?: string | null,
          url?: string | null
        } | null,
        id?: string | null,
        rows?: {
          columns?: {
            blocks?: {
              button?: {
                customProfileField?: string | null,
                isFullWidth?: boolean | null,
                isMappedToCustomProperty?: boolean | null,
                link?: string | null,
                text?: string | null,
                type?: string | null,
                value?: string | null
              } | null,
              checkboxField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              countdownTimer?: {
                duration?: number | null,
                endsAt?: string | null,
                format?: string | null,
                type?: string | null
              } | null,
              dateField?: {
                customProfileField?: string | null,
                errorMessage?: string | null,
                format?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              discount?: {
                code?: string | null,
                copiedMessage?: string | null,
                copiedMessageEnabled?: boolean | null,
                discountID?: string | null,
                type?: string | null
              } | null,
              dropdownField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              emailField?: {
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              id?: string | null,
              image?: {
                altText?: string | null,
                height?: number | null,
                link?: string | null,
                resizeWidth?: number | null,
                url?: string | null,
                width?: number | null
              } | null,
              inputField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              legal?: {
                description?: string | null,
                label?: string | null,
                link?: string | null,
                requiredMessage?: string | null,
                type?: string | null
              } | null,
              lineSpace?: {
                height?: number | null,
                type?: string | null,
                width?: number | null
              } | null,
              mysteryBox?: {
                boxStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderStyle?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                boxes?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              phoneNumberField?: {
                countryCodes?: {
                  excludes?: string[] | null,
                  includes?: string[] | null
                } | null,
                defaultCountryCode?: string | null,
                errorMessage?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                placeholder?: string | null,
                requiredMessage?: string | null
              } | null,
              radioField?: {
                customProfileField?: string | null,
                isRequired?: boolean | null,
                label?: string | null,
                options?: {
                  label?: string | null,
                  value?: string | null
                }[] | null,
                profileField?: string | null,
                requiredMessage?: string | null
              } | null,
              role?: string | null,
              scratchCard?: {
                brushSize?: number | null,
                cardStyle?: {
                  borderColor?: string | null,
                  borderRadius?: string | null,
                  borderWidth?: string | null,
                  fontFamily?: string | null,
                  fontSize?: string | null,
                  width?: number | null
                } | null,
                cover?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  id?: string | null,
                  imageUrl?: string | null
                } | null,
                prizeBackgroundColor?: string | null,
                prizeTextColor?: string | null,
                revealThreshold?: number | null,
                rewards?: {
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  name?: string | null
                }[] | null
              } | null,
              stylePresetId?: string | null,
              styleProperties?: {
                alignment?: string | null,
                backgroundColor?: string | null,
                border?: string | null,
                borderRadius?: string | null,
                color?: string | null,
                dividerColor?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                lineHeight?: string | null,
                opacity?: number | null,
                paddingBottom?: string | null,
                paddingLeft?: string | null,
                paddingRight?: string | null,
                paddingTop?: string | null,
                secondaryColor?: string | null,
                verticalAlign?: string | null
              } | null,
              text?: string | null,
              type?: string | null,
              wheelOfFortune?: {
                fontFamily?: string | null,
                fontSize?: string | null,
                pointerColor?: string | null,
                slices?: {
                  altText?: string | null,
                  backgroundColor?: string | null,
                  discountCode?: string | null,
                  discountID?: string | null,
                  discountType?: string | null,
                  id?: string | null,
                  imageUrl?: string | null,
                  isLosing?: boolean | null,
                  probability?: number | null,
                  text?: string | null,
                  textColor?: string | null,
                  type?: string | null
                }[] | null,
                speed?: number | null,
                width?: number | null
              } | null
            }[] | null,
            id?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              lineHeight?: string | null,
              opacity?: number | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              secondaryColor?: string | null,
              verticalAlign?: string | null
            } | null,
            width?: string | null
          }[] | null,
          id?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            lineHeight?: string | null,
            opacity?: number | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            secondaryColor?: string | null,
            verticalAlign?: string | null
          } | null
        }[] | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          lineHeight?: string | null,
          opacity?: number | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          secondaryColor?: string | null,
          verticalAlign?: string | null
        } | null
      }[] | null
    } | null
  } | null,
  displayType?: string | null,
  id?: string | null,
  name?: string | null,
  targeting?: {
    audience?: {
      type?: string | null
    } | null,
    cart?: {
      itemCount?: number | null,
      value?: number | null
    } | null,
    device?: string | null,
    display?: {
      afterScrollDown?: number | null,
      afterSeconds?: number | null,
      afterViewedPageCount?: number | null,
      customTrigger?: string | null,
      isExitIntentEnabled?: boolean | null
    } | null,
    frequency?: {
      type?: string | null,
      value?: number | null
    } | null,
    isBackInStock?: boolean | null,
    isPersonalisedTargeting?: boolean | null,
    location?: {
      excludes?: {
        code?: string | null,
        name?: string | null,
        states?: {
          code?: string | null,
          name?: string | null
        }[] | null
      }[] | null,
      includes?: {
        code?: string | null,
        name?: string | null,
        states?: {
          code?: string | null,
          name?: string | null
        }[] | null
      }[] | null
    } | null,
    scheduling?: {
      endsAt?: string | null,
      startsAt?: string | null
    } | null,
    segments?: {
      excludes?: string[] | null,
      includes?: string[] | null
    } | null,
    source?: {
      excludes?: string[] | null,
      includes?: string[] | null
    } | null,
    url?: {
      excludes?: {
        type?: string | null,
        value?: string | null
      }[] | null,
      includes?: {
        type?: string | null,
        value?: string | null
      }[] | null
    } | null,
    utm?: {
      includes?: {
        type?: string | null,
        value?: string | null
      }[] | null
    } | null
  } | null
}[] | null
```

```ts theme={null}
{
  cursors?: {
    after?: string | null | null,
    before?: string | null | null
  } | null,
  hasMore?: boolean | null,
  limit?: number | null
} | null
```

***

### render

`formTemplates.render`

Render a form template. Render a single form template by ID and return its display steps as HTML.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.formTemplates.render({ templateID: '6650a1b2c3d4e5f6a7b8c9d5' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `templateID` | `string` | Yes | Template ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `steps` | `object[] \| null` | No | Rendered form steps |

```ts theme={null}
{
  html?: string | null,
  name?: string | null
}[] | null
```

***

## Images

### delete

`images.delete`

Delete image. With this endpoint you can delete an image by ID. Cannot be undone.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.images.delete({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Image ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### get

`images.get`

Get image. With this endpoint you can get a single image by ID.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.images.get({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Image ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | Image creation timestamp. |
| `height` | `number \| null` | No | Image height in pixels. |
| `id` | `string \| null` | No | Unique image identifier. |
| `name` | `string \| null` | No | Image name. |
| `size` | `number \| null` | No | Image size in bytes. |
| `type` | `string \| null` | No | MIME type of the image. |
| `url` | `string \| null` | No | Public CDN URL of the image. |
| `width` | `number \| null` | No | Image width in pixels. |

***

### list

`images.list`

List images. With this endpoint you can get a paginated list of images for a brand.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.images.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Number of images per page (1-250) |
| `after` | `string` | No | Cursor for next page (base64-encoded, from previous response) |
| `before` | `string` | No | Cursor for previous page (base64-encoded, from previous response) |
| `sort` | `createdAt \| name` | No | Field to sort by |
| `direction` | `asc \| desc` | No | Sort order |
| `nameContains` | `string` | No | Filter images by name (partial match, case-insensitive, max 200 characters) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `images` | `object[] \| null` | No | Returned images. |
| `paging` | `object \| null` | No | Cursor pagination metadata. |

```ts theme={null}
{
  createdAt?: string | null,
  height?: number | null,
  id?: string | null,
  name?: string | null,
  size?: number | null,
  type?: string | null,
  url?: string | null,
  width?: number | null
}[] | null
```

```ts theme={null}
{
  cursors?: {
    after?: string | null | null,
    before?: string | null | null
  } | null,
  hasMore?: boolean | null,
  limit?: number | null
} | null
```

***

### upload

`images.upload`

Upload image file. With this endpoint you can upload an image file directly from your computer. File Requirements: - Supported formats: JPEG, PNG, GIF, WebP - Maximum file size: 5MB. Sends the file as multipart form data.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.images.upload({
	file: { base64: 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=', filename: 'pixel.png', contentType: 'image/png' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `file` | `string \| object \| custom` | Yes | Image file to upload (JPEG, PNG, GIF, or WebP, max 5MB) |
| `name` | `string` | No | Custom name for the image. Defaults to the filename if not provided |

```ts theme={null}
string | {
  url: string,
  filename?: string,
  contentType?: string
} | {
  base64: string,
  filename?: string,
  contentType?: string
} | custom
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | Image creation timestamp. |
| `height` | `number \| null` | No | Image height in pixels. |
| `id` | `string \| null` | No | Unique image identifier. |
| `name` | `string \| null` | No | Image name. |
| `size` | `number \| null` | No | Image size in bytes. |
| `type` | `string \| null` | No | MIME type of the image. |
| `url` | `string \| null` | No | Public CDN URL of the image. |
| `width` | `number \| null` | No | Image width in pixels. |

***

### uploadFromUrl

`images.uploadFromUrl`

Upload image by URL. With this endpoint you can upload an image from a publicly accessible URL. If the name is not provided, the filename will be extracted from the URL.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.images.uploadFromUrl({ url: 'https://example.com/article' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `name` | `string` | No | Custom name for the image. If not provided, the filename will be extracted from the URL |
| `url` | `string` | Yes | URL of the image to upload. Must be publicly accessible (HTTPS, PNG, JPEG, GIF, or WebP, max 5MB) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | Image creation timestamp. |
| `height` | `number \| null` | No | Image height in pixels. |
| `id` | `string \| null` | No | Unique image identifier. |
| `name` | `string \| null` | No | Image name. |
| `size` | `number \| null` | No | Image size in bytes. |
| `type` | `string \| null` | No | MIME type of the image. |
| `url` | `string \| null` | No | Public CDN URL of the image. |
| `width` | `number \| null` | No | Image width in pixels. |

***

## Products

### create

`products.create`

Create a catalog product with at least one variant; prices are floats in the store currency.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.products.create({
	currency: 'USD',
	id: '6650a1b2c3d4e5f6a7b8c9d0',
	status: 'inStock',
	title: 'Canvas sneaker',
	url: 'https://example.com/article',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `categoryIDs` | `string[]` | No | — |
| `createdAt` | `string` | No | — |
| `currency` | `string` | Yes | — |
| `defaultImageUrl` | `string` | No | DefaultImageUrl is recommended if more than one image is needed. Other product images should be added to the Images array. |
| `description` | `string` | No | Description is a short description of the product. It can be used in the email body. |
| `id` | `string` | Yes | — |
| `images` | `string[]` | No | — |
| `status` | `inStock \| outOfStock \| notAvailable` | Yes | Status can be inStock, outOfStock, or notAvailable. We recommended to keep it in sync with your shop product to ensure that Omnisend can avoid sending out-of-stock products to your customers. |
| `tags` | `string[]` | No | Tags can be used to categorize products. |
| `title` | `string` | Yes | — |
| `type` | `string` | No | Product type can be used to categorize products. |
| `updatedAt` | `string` | No | — |
| `url` | `string` | Yes | Url should point to the product page on the website. |
| `variants` | `object[]` | No | Product variants are different versions of the same product. For example, a T-shirt can have different sizes and colors. |
| `vendor` | `string` | No | Vendor is the manufacturer or the brand of the product. |

```ts theme={null}
{
  defaultImageUrl?: string,
  description?: string,
  id: string,
  images?: string[],
  price: number,
  sku?: string,
  status?: inStock | outOfStock | notAvailable,
  strikeThroughPrice?: number,
  title: string,
  url: string
}[]
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | — |

***

### delete

`products.delete`

Delete a product from the catalog.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.products.delete({ productID: 'prod-1001' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `productID` | `string` | Yes | Product ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### get

`products.get`

Read one product by your own product ID, with its variants and prices.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.products.get({ productID: 'prod-1001' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `productID` | `string` | Yes | Product ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `categoryIDs` | `string[] \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `currency` | `string \| null` | No | — |
| `defaultImageUrl` | `string \| null` | No | DefaultImageUrl is recommended if more than one image is needed. Other product images should be added to the Images array. |
| `description` | `string \| null` | No | Description is a short description of the product. It can be used in the email body. |
| `id` | `string \| null` | No | — |
| `images` | `string[] \| null` | No | — |
| `status` | `string \| null` | No | Status can be inStock, outOfStock, or notAvailable. We recommended to keep it in sync with your shop product to ensure that Omnisend can avoid sending out-of-stock products to your customers. |
| `tags` | `string[] \| null` | No | Tags can be used to categorize products. |
| `title` | `string \| null` | No | — |
| `type` | `string \| null` | No | Product type can be used to categorize products. |
| `updatedAt` | `string \| null` | No | — |
| `url` | `string \| null` | No | Url should point to the product page on the website. |
| `variants` | `object[] \| null` | No | Product variants are different versions of the same product. For example, a T-shirt can have different sizes and colors. |
| `vendor` | `string \| null` | No | Vendor is the manufacturer or the brand of the product. |

```ts theme={null}
{
  defaultImageUrl?: string | null,
  description?: string | null,
  id?: string | null,
  images?: string[] | null,
  price?: number | null,
  sku?: string | null,
  status?: string | null,
  strikeThroughPrice?: number | null,
  title?: string | null,
  url?: string | null
}[] | null
```

***

### list

`products.list`

Page the catalog products, filtered by title or dates.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.products.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `offset` | `number` | No | Offset |
| `limit` | `number` | No | Limit |
| `sort` | `date \| updatedAt \| createdAt` | No | Sort by |
| `titleContains` | `string` | No | Filter by products whose title contains this value (case-insensitive) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `paging` | `object \| null` | No | — |
| `products` | `object[] \| null` | No | — |

```ts theme={null}
{
  limit?: number | null,
  next?: string | null,
  offset?: number | null,
  previous?: string | null
} | null
```

```ts theme={null}
{
  categoryIDs?: string[] | null,
  createdAt?: string | null,
  currency?: string | null,
  defaultImageUrl?: string | null,
  description?: string | null,
  id?: string | null,
  images?: string[] | null,
  status?: string | null,
  tags?: string[] | null,
  title?: string | null,
  type?: string | null,
  updatedAt?: string | null,
  url?: string | null,
  variants?: {
    defaultImageUrl?: string | null,
    description?: string | null,
    id?: string | null,
    images?: string[] | null,
    price?: number | null,
    sku?: string | null,
    status?: string | null,
    strikeThroughPrice?: number | null,
    title?: string | null,
    url?: string | null
  }[] | null,
  vendor?: string | null
}[] | null
```

***

### replace

`products.replace`

Replace a product in full; omitted fields drop to their defaults.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.products.replace({
	productID: 'prod-1001',
	currency: 'USD',
	id: '6650a1b2c3d4e5f6a7b8c9d0',
	status: 'inStock',
	title: 'Canvas sneaker',
	url: 'https://example.com/article',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `productID` | `string` | Yes | Product ID |
| `categoryIDs` | `string[]` | No | — |
| `createdAt` | `string` | No | — |
| `currency` | `string` | Yes | — |
| `defaultImageUrl` | `string` | No | DefaultImageUrl is recommended if more than one image is needed. Other product images should be added to the Images array. |
| `description` | `string` | No | Description is a short description of the product. It can be used in the email body. |
| `id` | `string` | Yes | — |
| `images` | `string[]` | No | — |
| `status` | `inStock \| outOfStock \| notAvailable` | Yes | Status can be inStock, outOfStock, or notAvailable. We recommended to keep it in sync with your shop product to ensure that Omnisend can avoid sending out-of-stock products to your customers. |
| `tags` | `string[]` | No | Tags can be used to categorize products. |
| `title` | `string` | Yes | — |
| `type` | `string` | No | Product type can be used to categorize products. |
| `updatedAt` | `string` | No | — |
| `url` | `string` | Yes | Url should point to the product page on the website. |
| `variants` | `object[]` | No | Product variants are different versions of the same product. For example, a T-shirt can have different sizes and colors. |
| `vendor` | `string` | No | Vendor is the manufacturer or the brand of the product. |

```ts theme={null}
{
  defaultImageUrl?: string,
  description?: string,
  id: string,
  images?: string[],
  price: number,
  sku?: string,
  status?: inStock | outOfStock | notAvailable,
  strikeThroughPrice?: number,
  title: string,
  url: string
}[]
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | — |

***

## Segments

### create

`segments.create`

Create segment. Creates a new segment. (POST /segments)

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.segments.create({
	conditionGroups: [{}],
	name: 'Spring sale',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `conditionGroups` | `object[]` | Yes | Condition groups defining the segment rules |
| `name` | `string` | Yes | Name of the segment |

```ts theme={null}
{
  conditions?: {
    entity?: string,
    filters: any[],
    junction?: string
  }[]
}[]
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `archivedAt` | `string \| null \| null` | No | Segment archival timestamp, null if not archived (read-only) |
| `conditionGroups` | `object[] \| null` | No | Condition groups defining the segment rules |
| `createdAt` | `string \| null` | No | Segment creation timestamp (read-only) |
| `isStarred` | `boolean \| null` | No | Whether the segment is marked as a favourite |
| `name` | `string \| null` | No | Segment name |
| `segmentID` | `string \| null` | No | Segment unique identifier (read-only) |
| `status` | `string \| null` | No | Segment processing status (read-only) |
| `updatedAt` | `string \| null` | No | Segment last update timestamp (read-only) |
| `url` | `string \| null` | No | Link that opens the segment in the Omnisend app (read-only) |

```ts theme={null}
{
  conditions?: {
    entity?: string | null,
    filters?: any[] | null,
    junction?: string | null
  }[] | null
}[] | null
```

***

### delete

`segments.delete`

Delete segment. Permanently deletes a segment by its unique identifier. The segment must not be in a building state to be deleted. If the segment is currently being built, a 409 Conflict error is returned. Cannot be undone.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.segments.delete({ segmentID: '6650a1b2c3d4e5f6a7b8c9d1' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `segmentID` | `string` | Yes | Segment ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### get

`segments.get`

Get segment. Returns a segment by its unique identifier.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.segments.get({ segmentID: '6650a1b2c3d4e5f6a7b8c9d1' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `segmentID` | `string` | Yes | Segment ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `archivedAt` | `string \| null \| null` | No | Segment archival timestamp, null if not archived (read-only) |
| `conditionGroups` | `object[] \| null` | No | Condition groups defining the segment rules |
| `createdAt` | `string \| null` | No | Segment creation timestamp (read-only) |
| `isStarred` | `boolean \| null` | No | Whether the segment is marked as a favourite |
| `name` | `string \| null` | No | Segment name |
| `segmentID` | `string \| null` | No | Segment unique identifier (read-only) |
| `status` | `string \| null` | No | Segment processing status (read-only) |
| `updatedAt` | `string \| null` | No | Segment last update timestamp (read-only) |
| `url` | `string \| null` | No | Link that opens the segment in the Omnisend app (read-only) |

```ts theme={null}
{
  conditions?: {
    entity?: string | null,
    filters?: any[] | null,
    junction?: string | null
  }[] | null
}[] | null
```

***

### getStatistics

`segments.getStatistics`

Get segment statistics. Returns statistics for a segment, including the total number of matching contacts. Returns 409 Conflict (segment-building) while the segment is building; retry once it is ready.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.segments.getStatistics({ segmentID: '6650a1b2c3d4e5f6a7b8c9d1' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `segmentID` | `string` | Yes | Segment ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `contactsCount` | `number \| null` | No | Segment contacts count (read-only) |

***

### list

`segments.list`

List segments. List segments with sorting and cursor-based pagination support.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.segments.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Page size (1-250) |
| `after` | `string` | No | Cursor for next page (base64-encoded, obtained from previous response) |
| `before` | `string` | No | Cursor for previous page (base64-encoded, obtained from previous response) |
| `sort` | `createdAt \| name` | No | Sort field (only needed on first request) |
| `direction` | `asc \| desc` | No | Sort direction (only needed on first request) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `paging` | `object \| null` | No | Pagination metadata for navigating results |
| `segments` | `object[] \| null` | No | List of segments on the current page |

```ts theme={null}
{
  cursors?: {
    after?: string | null | null,
    before?: string | null | null
  } | null,
  hasMore?: boolean | null,
  limit?: number | null
} | null
```

```ts theme={null}
{
  archivedAt?: string | null | null,
  conditionGroups?: {
    conditions?: {
      entity?: string | null,
      filters?: any[] | null,
      junction?: string | null
    }[] | null
  }[] | null,
  createdAt?: string | null,
  isStarred?: boolean | null,
  name?: string | null,
  segmentID?: string | null,
  status?: string | null,
  updatedAt?: string | null,
  url?: string | null
}[] | null
```

***

### replace

`segments.replace`

Update segment. Updates an existing segment by ID. The segment must not be in a building state to be updated. If the segment is currently being built, a 409 Conflict error is returned.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.segments.replace({
	segmentID: '6650a1b2c3d4e5f6a7b8c9d1',
	conditionGroups: [{}],
	name: 'Spring sale',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `segmentID` | `string` | Yes | Segment ID |
| `conditionGroups` | `object[]` | Yes | Condition groups defining the segment rules |
| `name` | `string` | Yes | Name of the segment |

```ts theme={null}
{
  conditions?: {
    entity?: string,
    filters: any[],
    junction?: string
  }[]
}[]
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `archivedAt` | `string \| null \| null` | No | Segment archival timestamp, null if not archived (read-only) |
| `conditionGroups` | `object[] \| null` | No | Condition groups defining the segment rules |
| `createdAt` | `string \| null` | No | Segment creation timestamp (read-only) |
| `isStarred` | `boolean \| null` | No | Whether the segment is marked as a favourite |
| `name` | `string \| null` | No | Segment name |
| `segmentID` | `string \| null` | No | Segment unique identifier (read-only) |
| `status` | `string \| null` | No | Segment processing status (read-only) |
| `updatedAt` | `string \| null` | No | Segment last update timestamp (read-only) |
| `url` | `string \| null` | No | Link that opens the segment in the Omnisend app (read-only) |

```ts theme={null}
{
  conditions?: {
    entity?: string | null,
    filters?: any[] | null,
    junction?: string | null
  }[] | null
}[] | null
```

***

## Templates

### create

`templates.create`

Create an email template. Omnisend requires name, generalSettings (with its 3 default button presets and 5 default text presets) and at least one section. Simplest: templates.importFromHtml, or copy generalSettings and sections from templates.get of an existing template.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.templates.create({
	name: 'Spring sale',
	generalSettings: {
		content: {
			backgroundColor: '#FFFFFF',
			width: '600px',
			fontFamily: 'Arial, sans-serif',
			fontSize: '14px',
			color: '#212121',
		},
		logo: {
			id: 'insertLogo.jpg',
			source: '/image/newsletter/insertLogo.jpg',
			width: 1200,
			height: 536,
		},
		body: { backgroundColor: '#E3E5E8' },
		buttonPresets: [{
			id: 'primary_button',
			name: 'Primary button',
			styles: {
				backgroundColor: '#00A3FF',
				borderRadius: '28px',
				fontFamily: 'Arial, sans-serif',
				fontSize: '16px',
				color: '#FFFFFF',
				paddingLeft: '16px',
				paddingRight: '16px',
				paddingTop: '16px',
				paddingBottom: '16px',
			},
		}, {
			id: 'secondary_button',
			name: 'Secondary button',
			styles: {
				backgroundColor: '#FFFFFF',
				border: '2px solid #000000',
				borderRadius: '28px',
				fontFamily: 'Arial, sans-serif',
				fontSize: '16px',
				color: '#000000',
				paddingLeft: '16px',
				paddingRight: '16px',
				paddingTop: '16px',
				paddingBottom: '16px',
			},
		}, {
			id: 'tertiary_button',
			name: 'Tertiary button',
			styles: {
				backgroundColor: '#000000',
				border: '2px solid #FFFFFF',
				borderRadius: '28px',
				fontFamily: 'Arial, sans-serif',
				fontSize: '16px',
				color: '#FFFFFF',
				paddingLeft: '16px',
				paddingRight: '16px',
				paddingTop: '16px',
				paddingBottom: '16px',
			},
		}],
		textPresets: [{
			id: 'heading_large',
			name: 'Heading Large',
			styles: {
				fontFamily: 'Arial, sans-serif',
				fontSize: '48px',
				color: '#000000',
				lineHeight: '125%',
			},
		}, {
			id: 'heading_medium',
			name: 'Heading Medium',
			styles: {
				fontFamily: 'Arial, sans-serif',
				fontSize: '36px',
				color: '#000000',
				lineHeight: '125%',
			},
		}, {
			id: 'heading_small',
			name: 'Heading Large',
			styles: {
				fontFamily: 'Arial, sans-serif',
				fontSize: '30px',
				color: '#000000',
				lineHeight: '125%',
			},
		}, {
			id: 'paragraph',
			name: 'Paragraph',
			styles: {
				fontFamily: 'Arial, sans-serif',
				fontSize: '14px',
				color: '#000000',
				lineHeight: '150%',
			},
		}, {
			id: 'footnote',
			name: 'Footnote',
			styles: {
				fontFamily: 'Arial, sans-serif',
				fontSize: '12px',
				color: '#000000',
				lineHeight: '150%',
			},
		}],
	},
	sections: [{
		rows: [{
			columns: [{
				width: '552px',
				blocks: [{
					type: 'htmlCode',
					htmlCode: { style: '', body: '<p>Hello from Corsair</p>' },
					styleProperties: { padding: '12px' },
				}],
			}],
		}],
		styleProperties: {
			paddingLeft: '24px',
			paddingRight: '24px',
			paddingTop: '24px',
			paddingBottom: '24px',
			backgroundColor: '#FFFFFF',
			verticalAlign: 'middle',
		},
	}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `generalSettings` | `object` | Yes | Template general settings - global and template level styles |
| `name` | `string` | Yes | Template name |
| `sections` | `object[]` | Yes | Template sections |

```ts theme={null}
{
  body: {
    backgroundColor: string,
    backgroundImageID?: string,
    backgroundRepeat?: repeat | no-repeat,
    backgroundSize?: contain | cover | auto
  },
  buttonPresets: {
    id: string,
    name?: string,
    styles: {
      backgroundColor?: string,
      border?: string,
      borderRadius: string,
      color: string,
      fontFamily: string,
      fontSize: string,
      fontStyle?: normal | italic,
      fontWeight?: string,
      letterSpacing?: string,
      paddingBottom?: string,
      paddingLeft?: string,
      paddingRight?: string,
      paddingTop?: string,
      textDecoration?: underline | line-through
    }
  }[],
  content: {
    backgroundColor: string,
    color: string,
    fontFamily: string,
    fontSize: string,
    width: string
  },
  gmail?: {
    annotation?: {
      discountDescription?: string,
      isEnabled?: boolean
    }
  },
  logo?: {
    altText?: string,
    height?: number,
    id?: string,
    isCustom?: boolean,
    name?: string,
    size?: number,
    source?: string,
    type?: image/jpg | image/jpeg | image/png | image/gif,
    width?: number
  },
  textPresets: {
    id: string,
    name?: string,
    styles: {
      color: string,
      fontFamily: string,
      fontSize: string,
      letterSpacing?: string,
      lineHeight: string
    }
  }[]
}
```

```ts theme={null}
{
  id?: string,
  productRecommender?: {
    excludeCategories?: string[],
    excludeProducts?: string[],
    fallbackType?: string,
    includeCategories?: string[],
    isOutOfStockIncluded?: boolean,
    priceFrom?: number,
    purchaseExclusionDays?: number,
    recencyMonths?: number,
    type?: string
  },
  rows: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean,
          link?: string,
          text?: string,
          translationKey?: string
        },
        components?: {
          button?: {
            isFullWidth?: boolean,
            link?: string,
            text?: string,
            translationKey?: string
          },
          components?: {
            button?: {
              isFullWidth?: boolean,
              link?: string,
              text?: string,
              translationKey?: string
            },
            components?: (recursive)[],
            id?: string,
            image?: {
              altSource?: string,
              altText?: string,
              height?: number,
              id?: string,
              isDynamic?: boolean,
              isExternalSource?: boolean,
              link?: string,
              maxHeight?: number,
              maxHeightPercentage?: number,
              name?: string,
              resizeHeight?: number,
              resizeWidth?: number,
              size?: number,
              source?: string,
              state?: string,
              type?: string,
              width?: number
            },
            role?: discount_code | discount_button | discount_expiration_date | menu_text | product_image | product_title | product_description | product_prices | product_button | product_current_price | product_old_price,
            stylePresetID?: string,
            styleProperties?: {
              alignment?: string,
              backgroundColor?: string,
              backgroundImageID?: string,
              backgroundPosition?: string,
              backgroundRepeat?: string,
              backgroundSize?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              fontStyle?: string,
              fontWeight?: string,
              innerPadding?: string,
              innerPaddingBottom?: string,
              innerPaddingLeft?: string,
              innerPaddingRight?: string,
              innerPaddingTop?: string,
              isBackgroundPaddingsExcluded?: boolean,
              letterSpacing?: string,
              lineHeight?: string,
              linkColor?: string,
              padding?: string,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              priceColor?: string,
              secondaryColor?: string,
              textBackgroundColor?: string,
              textDecoration?: string,
              verticalAlign?: string
            },
            text?: string,
            type?: text | button | image | price
          }[],
          id?: string,
          image?: {
            altSource?: string,
            altText?: string,
            height?: number,
            id?: string,
            isDynamic?: boolean,
            isExternalSource?: boolean,
            link?: string,
            maxHeight?: number,
            maxHeightPercentage?: number,
            name?: string,
            resizeHeight?: number,
            resizeWidth?: number,
            size?: number,
            source?: string,
            state?: string,
            type?: string,
            width?: number
          },
          role?: discount_code | discount_button | discount_expiration_date | menu_text | product_image | product_title | product_description | product_prices | product_button | product_current_price | product_old_price,
          stylePresetID?: string,
          styleProperties?: {
            alignment?: string,
            backgroundColor?: string,
            backgroundImageID?: string,
            backgroundPosition?: string,
            backgroundRepeat?: string,
            backgroundSize?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            fontStyle?: string,
            fontWeight?: string,
            innerPadding?: string,
            innerPaddingBottom?: string,
            innerPaddingLeft?: string,
            innerPaddingRight?: string,
            innerPaddingTop?: string,
            isBackgroundPaddingsExcluded?: boolean,
            letterSpacing?: string,
            lineHeight?: string,
            linkColor?: string,
            padding?: string,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            priceColor?: string,
            secondaryColor?: string,
            textBackgroundColor?: string,
            textDecoration?: string,
            verticalAlign?: string
          },
          text?: string,
          type?: text | button | image | price
        }[],
        countdown?: {
          alt?: string,
          link?: string,
          timerID: string
        },
        discount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        htmlCode?: {
          body?: string,
          style?: string
        },
        id?: string,
        image?: {
          altSource?: string,
          altText?: string,
          height?: number,
          id?: string,
          isDynamic?: boolean,
          isExternalSource?: boolean,
          link?: string,
          maxHeight?: number,
          maxHeightPercentage?: number,
          name?: string,
          resizeHeight?: number,
          resizeWidth?: number,
          size?: number,
          source?: string,
          state?: string,
          type?: string,
          width?: number
        },
        lineSpace?: {
          height?: number,
          type?: string,
          width?: number
        },
        logo?: {
          link?: string,
          resizeWidth?: number
        },
        orderAddresses?: {
          billing?: {
            address1?: string,
            address2?: string,
            city?: string,
            company?: string,
            country?: string,
            countryCode?: string,
            firstName?: string,
            lastName?: string,
            phone?: string,
            state?: string,
            stateCode?: string,
            zip?: string
          },
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean,
              isAddress2Hidden?: boolean,
              isCityHidden?: boolean,
              isCompanyHidden?: boolean,
              isCountryHidden?: boolean,
              isNameSurnameHidden?: boolean,
              isPhoneHidden?: boolean,
              isStateHidden?: boolean,
              isZipCodeHidden?: boolean
            },
            isTitleHidden?: boolean,
            shipping?: {
              isAddress1Hidden?: boolean,
              isAddress2Hidden?: boolean,
              isCityHidden?: boolean,
              isCompanyHidden?: boolean,
              isCountryHidden?: boolean,
              isNameSurnameHidden?: boolean,
              isPhoneHidden?: boolean,
              isStateHidden?: boolean,
              isZipCodeHidden?: boolean
            }
          },
          shipping?: {
            address1?: string,
            address2?: string,
            city?: string,
            company?: string,
            country?: string,
            countryCode?: string,
            firstName?: string,
            lastName?: string,
            phone?: string,
            state?: string,
            stateCode?: string,
            zip?: string
          },
          shippingMethods?: {
            price?: string,
            title?: string
          }[],
          title?: string,
          transactions?: {
            payment?: string
          }[]
        },
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean,
            isImageHidden?: boolean,
            isPriceHidden?: boolean,
            isPriceWithDiscountHidden?: boolean,
            isProductIDHidden?: boolean,
            isQuantityHidden?: boolean,
            isSkuHidden?: boolean,
            isTitleHidden?: boolean,
            isVariantHidden?: boolean,
            isVendorHidden?: boolean,
            isWeightHidden?: boolean
          },
          products?: {
            currency?: string,
            discountAmount?: string,
            image?: {
              altSource?: string,
              altText?: string,
              height?: number,
              id?: string,
              isDynamic?: boolean,
              isExternalSource?: boolean,
              link?: string,
              maxHeight?: number,
              maxHeightPercentage?: number,
              name?: string,
              resizeHeight?: number,
              resizeWidth?: number,
              size?: number,
              source?: string,
              state?: string,
              type?: string,
              width?: number
            },
            price?: string,
            priceWithDiscount?: string,
            productID?: string,
            productUrl?: string,
            quantity?: number,
            sku?: string,
            title?: string,
            variant?: string,
            vendor?: string,
            weight?: number
          }[]
        },
        orderSummary?: {
          date?: string,
          dateFormat?: string,
          hiddenFields?: {
            isDateHidden?: boolean,
            isOrderIDHidden?: boolean,
            isTitleHidden?: boolean
          },
          orderID?: string,
          title?: string
        },
        orderTotal?: {
          currency?: string,
          discountTotal?: string,
          discounts?: {
            amount?: string,
            code?: string,
            type?: string
          }[],
          hiddenFields?: {
            isDiscountTotalHidden?: boolean,
            isOrderTotalHidden?: boolean,
            isShippingPriceHidden?: boolean,
            isSubTotalHidden?: boolean,
            isTaxTotalHidden?: boolean
          },
          isSubTotalTaxIncluded?: boolean,
          orderTotal?: string,
          shippingPrice?: string,
          subTotal?: string,
          taxTotal?: string,
          taxes?: {
            price?: string,
            rate?: string,
            title?: string
          }[]
        },
        preheader?: {
          linkText?: string,
          text?: string
        },
        product?: {
          buttonText?: string,
          description?: string,
          id?: string,
          imageID?: string,
          imageUrl?: string,
          link?: string,
          oldPrice?: string,
          originalTitle?: string,
          price?: string,
          productID?: string,
          title?: string
        },
        role?: product_image | product_title | product_description | product_prices | product_button | discount_code | discount_button | discount_expiration_date | product_current_price | product_old_price | menu_text,
        secondaryStylePresetID?: string,
        social?: {
          icons?: {
            link?: string,
            source?: string,
            type?: string
          }[],
          shape?: string,
          size?: string
        },
        staticDiscount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        stylePresetID?: string,
        styleProperties?: {
          alignment?: string,
          backgroundColor?: string,
          backgroundImageID?: string,
          backgroundPosition?: string,
          backgroundRepeat?: string,
          backgroundSize?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          fontStyle?: string,
          fontWeight?: string,
          innerPadding?: string,
          innerPaddingBottom?: string,
          innerPaddingLeft?: string,
          innerPaddingRight?: string,
          innerPaddingTop?: string,
          isBackgroundPaddingsExcluded?: boolean,
          letterSpacing?: string,
          lineHeight?: string,
          linkColor?: string,
          padding?: string,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          priceColor?: string,
          secondaryColor?: string,
          textBackgroundColor?: string,
          textDecoration?: string,
          verticalAlign?: string
        },
        text?: string,
        type?: html | htmlCode | text | image | video | logo | menu | social | button | product | discount | staticDiscount | dynamicDiscount | orderSummary | orderProducts | orderTotal | orderAddresses | lineSpace | preheader | price | countdown,
        video?: {
          altText?: string,
          id?: string,
          image?: {
            altSource?: string,
            altText?: string,
            height?: number,
            id?: string,
            isDynamic?: boolean,
            isExternalSource?: boolean,
            link?: string,
            maxHeight?: number,
            maxHeightPercentage?: number,
            name?: string,
            resizeHeight?: number,
            resizeWidth?: number,
            size?: number,
            source?: string,
            state?: string,
            type?: string,
            width?: number
          },
          link?: string
        }
      }[],
      id?: string,
      styleProperties?: {
        alignment?: string,
        backgroundColor?: string,
        backgroundImageID?: string,
        backgroundPosition?: string,
        backgroundRepeat?: string,
        backgroundSize?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        fontStyle?: string,
        fontWeight?: string,
        innerPadding?: string,
        innerPaddingBottom?: string,
        innerPaddingLeft?: string,
        innerPaddingRight?: string,
        innerPaddingTop?: string,
        isBackgroundPaddingsExcluded?: boolean,
        letterSpacing?: string,
        lineHeight?: string,
        linkColor?: string,
        padding?: string,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        priceColor?: string,
        secondaryColor?: string,
        textBackgroundColor?: string,
        textDecoration?: string,
        verticalAlign?: string
      },
      width?: string
    }[],
    id?: string,
    styleProperties?: {
      alignment?: string,
      backgroundColor?: string,
      backgroundImageID?: string,
      backgroundPosition?: string,
      backgroundRepeat?: string,
      backgroundSize?: string,
      border?: string,
      borderRadius?: string,
      color?: string,
      dividerColor?: string,
      fontFamily?: string,
      fontSize?: string,
      fontStyle?: string,
      fontWeight?: string,
      innerPadding?: string,
      innerPaddingBottom?: string,
      innerPaddingLeft?: string,
      innerPaddingRight?: string,
      innerPaddingTop?: string,
      isBackgroundPaddingsExcluded?: boolean,
      letterSpacing?: string,
      lineHeight?: string,
      linkColor?: string,
      padding?: string,
      paddingBottom?: string,
      paddingLeft?: string,
      paddingRight?: string,
      paddingTop?: string,
      priceColor?: string,
      secondaryColor?: string,
      textBackgroundColor?: string,
      textDecoration?: string,
      verticalAlign?: string
    }
  }[] | null,
  settings?: {
    backgroundType?: string,
    customFonts?: {
      id?: string
    }[],
    dynamicList?: {
      columnCount?: number,
      layout?: string,
      listPath?: string,
      repetitionCount?: number
    },
    excludeProducts?: string[],
    filter?: {
      operator?: string,
      rules?: {
        operator?: string,
        property?: {
          id?: string,
          isSystem?: boolean,
          name?: string,
          type?: string
        },
        value?: string
      }[]
    },
    isColumnStackDisabled?: boolean,
    isOutOfStockHidden?: boolean,
    isProductImagesFitted?: boolean,
    sideBySideProductLayout?: string,
    universalLayoutID?: string
  },
  styleProperties: {
    alignment?: string,
    backgroundColor?: string,
    backgroundImageID?: string,
    backgroundPosition?: string,
    backgroundRepeat?: string,
    backgroundSize?: string,
    border?: string,
    borderRadius?: string,
    color?: string,
    dividerColor?: string,
    fontFamily?: string,
    fontSize?: string,
    fontStyle?: string,
    fontWeight?: string,
    innerPadding?: string,
    innerPaddingBottom?: string,
    innerPaddingLeft?: string,
    innerPaddingRight?: string,
    innerPaddingTop?: string,
    isBackgroundPaddingsExcluded?: boolean,
    letterSpacing?: string,
    lineHeight?: string,
    linkColor?: string,
    padding?: string,
    paddingBottom?: string,
    paddingLeft?: string,
    paddingRight?: string,
    paddingTop?: string,
    priceColor?: string,
    secondaryColor?: string,
    textBackgroundColor?: string,
    textDecoration?: string,
    verticalAlign?: string
  },
  type?: products_listing | product_recommender | product_cart_recovery | product_back_in_stock | badge | preheader | dynamic_list | universal_layout | "",
  visibility?: {
    isDesktopVisible?: boolean,
    isMobileVisible?: boolean
  }
}[]
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | Template created at (read-only) |
| `generalSettings` | `object \| null` | No | Template general settings - global and template level styles |
| `id` | `string \| null` | No | Template unique identifier (read-only) |
| `name` | `string \| null` | No | Template name |
| `sections` | `object[] \| null` | No | Template sections |
| `updatedAt` | `string \| null` | No | Template updated at (read-only) |

```ts theme={null}
{
  body?: {
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null
  } | null,
  buttonPresets?: {
    id?: string | null,
    name?: string | null,
    styles?: {
      backgroundColor?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      letterSpacing?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      textDecoration?: string | null
    } | null
  }[] | null,
  content?: {
    backgroundColor?: string | null,
    color?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    width?: string | null
  } | null,
  gmail?: {
    annotation?: {
      discountDescription?: string | null,
      isEnabled?: boolean | null
    } | null
  } | null,
  logo?: {
    altText?: string | null,
    height?: number | null,
    id?: string | null,
    isCustom?: boolean | null,
    name?: string | null,
    size?: number | null,
    source?: string | null,
    type?: string | null,
    width?: number | null
  } | null,
  textPresets?: {
    id?: string | null,
    name?: string | null,
    styles?: {
      color?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      letterSpacing?: string | null,
      lineHeight?: string | null
    } | null
  }[] | null
} | null
```

```ts theme={null}
{
  id?: string | null,
  productRecommender?: {
    excludeCategories?: string[] | null,
    excludeProducts?: string[] | null,
    fallbackType?: string | null,
    includeCategories?: string[] | null,
    isOutOfStockIncluded?: boolean | null,
    priceFrom?: number | null,
    purchaseExclusionDays?: number | null,
    recencyMonths?: number | null,
    type?: string | null
  } | null,
  rows?: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean | null,
          link?: string | null,
          text?: string | null,
          translationKey?: string | null
        } | null,
        components?: {
          button?: {
            isFullWidth?: boolean | null,
            link?: string | null,
            text?: string | null,
            translationKey?: string | null
          } | null,
          components?: {
            button?: {
              isFullWidth?: boolean | null,
              link?: string | null,
              text?: string | null,
              translationKey?: string | null
            } | null,
            components?: (recursive)[] | null,
            html?: string | null,
            id?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            role?: string | null,
            stylePresetID?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              backgroundImageID?: string | null,
              backgroundPosition?: string | null,
              backgroundRepeat?: string | null,
              backgroundSize?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              fontStyle?: string | null,
              fontWeight?: string | null,
              innerPadding?: string | null,
              innerPaddingBottom?: string | null,
              innerPaddingLeft?: string | null,
              innerPaddingRight?: string | null,
              innerPaddingTop?: string | null,
              isBackgroundPaddingsExcluded?: boolean | null,
              letterSpacing?: string | null,
              lineHeight?: string | null,
              linkColor?: string | null,
              padding?: string | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              priceColor?: string | null,
              secondaryColor?: string | null,
              textBackgroundColor?: string | null,
              textDecoration?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null
          }[] | null,
          html?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          role?: string | null,
          stylePresetID?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            backgroundImageID?: string | null,
            backgroundPosition?: string | null,
            backgroundRepeat?: string | null,
            backgroundSize?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            fontStyle?: string | null,
            fontWeight?: string | null,
            innerPadding?: string | null,
            innerPaddingBottom?: string | null,
            innerPaddingLeft?: string | null,
            innerPaddingRight?: string | null,
            innerPaddingTop?: string | null,
            isBackgroundPaddingsExcluded?: boolean | null,
            letterSpacing?: string | null,
            lineHeight?: string | null,
            linkColor?: string | null,
            padding?: string | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            priceColor?: string | null,
            secondaryColor?: string | null,
            textBackgroundColor?: string | null,
            textDecoration?: string | null,
            verticalAlign?: string | null
          } | null,
          text?: string | null,
          type?: string | null
        }[] | null,
        countdown?: {
          alt?: string | null,
          link?: string | null,
          src?: string | null,
          timerID?: string | null
        } | null,
        discount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        html?: string | null,
        htmlCode?: {
          body?: string | null,
          style?: string | null
        } | null,
        id?: string | null,
        image?: {
          altSource?: string | null,
          altText?: string | null,
          height?: number | null,
          id?: string | null,
          isDynamic?: boolean | null,
          isExternalSource?: boolean | null,
          link?: string | null,
          maxHeight?: number | null,
          maxHeightPercentage?: number | null,
          name?: string | null,
          resizeHeight?: number | null,
          resizeWidth?: number | null,
          size?: number | null,
          source?: string | null,
          state?: string | null,
          type?: string | null,
          width?: number | null
        } | null,
        lineSpace?: {
          height?: number | null,
          type?: string | null,
          width?: number | null
        } | null,
        logo?: {
          link?: string | null,
          resizeWidth?: number | null
        } | null,
        orderAddresses?: {
          billing?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null,
            isTitleHidden?: boolean | null,
            shipping?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null
          } | null,
          shipping?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          shippingMethods?: {
            price?: string | null,
            title?: string | null
          }[] | null,
          title?: string | null,
          transactions?: {
            payment?: string | null
          }[] | null
        } | null,
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean | null,
            isImageHidden?: boolean | null,
            isPriceHidden?: boolean | null,
            isPriceWithDiscountHidden?: boolean | null,
            isProductIDHidden?: boolean | null,
            isQuantityHidden?: boolean | null,
            isSkuHidden?: boolean | null,
            isTitleHidden?: boolean | null,
            isVariantHidden?: boolean | null,
            isVendorHidden?: boolean | null,
            isWeightHidden?: boolean | null
          } | null,
          products?: {
            currency?: string | null,
            discountAmount?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            price?: string | null,
            priceWithDiscount?: string | null,
            productID?: string | null,
            productUrl?: string | null,
            quantity?: number | null,
            sku?: string | null,
            title?: string | null,
            variant?: string | null,
            vendor?: string | null,
            weight?: number | null
          }[] | null
        } | null,
        orderSummary?: {
          date?: string | null,
          dateFormat?: string | null,
          hiddenFields?: {
            isDateHidden?: boolean | null,
            isOrderIDHidden?: boolean | null,
            isTitleHidden?: boolean | null
          } | null,
          orderID?: string | null,
          title?: string | null
        } | null,
        orderTotal?: {
          currency?: string | null,
          discountTotal?: string | null,
          discounts?: {
            amount?: string | null,
            code?: string | null,
            type?: string | null
          }[] | null,
          hiddenFields?: {
            isDiscountTotalHidden?: boolean | null,
            isOrderTotalHidden?: boolean | null,
            isShippingPriceHidden?: boolean | null,
            isSubTotalHidden?: boolean | null,
            isTaxTotalHidden?: boolean | null
          } | null,
          isSubTotalTaxIncluded?: boolean | null,
          orderTotal?: string | null,
          shippingPrice?: string | null,
          subTotal?: string | null,
          taxTotal?: string | null,
          taxes?: {
            price?: string | null,
            rate?: string | null,
            title?: string | null
          }[] | null
        } | null,
        preheader?: {
          linkText?: string | null,
          text?: string | null
        } | null,
        product?: {
          buttonText?: string | null,
          description?: string | null,
          id?: string | null,
          imageID?: string | null,
          imageUrl?: string | null,
          link?: string | null,
          oldPrice?: string | null,
          originalTitle?: string | null,
          price?: string | null,
          productID?: string | null,
          title?: string | null
        } | null,
        role?: string | null,
        secondaryStylePresetID?: string | null,
        social?: {
          icons?: {
            link?: string | null,
            source?: string | null,
            type?: string | null
          }[] | null,
          shape?: string | null,
          size?: string | null
        } | null,
        staticDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        stylePresetID?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          backgroundImageID?: string | null,
          backgroundPosition?: string | null,
          backgroundRepeat?: string | null,
          backgroundSize?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          fontStyle?: string | null,
          fontWeight?: string | null,
          innerPadding?: string | null,
          innerPaddingBottom?: string | null,
          innerPaddingLeft?: string | null,
          innerPaddingRight?: string | null,
          innerPaddingTop?: string | null,
          isBackgroundPaddingsExcluded?: boolean | null,
          letterSpacing?: string | null,
          lineHeight?: string | null,
          linkColor?: string | null,
          padding?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          priceColor?: string | null,
          secondaryColor?: string | null,
          textBackgroundColor?: string | null,
          textDecoration?: string | null,
          verticalAlign?: string | null
        } | null,
        text?: string | null,
        type?: string | null,
        video?: {
          altText?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          link?: string | null
        } | null
      }[] | null,
      id?: string | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        backgroundImageID?: string | null,
        backgroundPosition?: string | null,
        backgroundRepeat?: string | null,
        backgroundSize?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        innerPadding?: string | null,
        innerPaddingBottom?: string | null,
        innerPaddingLeft?: string | null,
        innerPaddingRight?: string | null,
        innerPaddingTop?: string | null,
        isBackgroundPaddingsExcluded?: boolean | null,
        letterSpacing?: string | null,
        lineHeight?: string | null,
        linkColor?: string | null,
        padding?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        priceColor?: string | null,
        secondaryColor?: string | null,
        textBackgroundColor?: string | null,
        textDecoration?: string | null,
        verticalAlign?: string | null
      } | null,
      width?: string | null
    }[] | null,
    id?: string | null,
    styleProperties?: {
      alignment?: string | null,
      backgroundColor?: string | null,
      backgroundImageID?: string | null,
      backgroundPosition?: string | null,
      backgroundRepeat?: string | null,
      backgroundSize?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      dividerColor?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      innerPadding?: string | null,
      innerPaddingBottom?: string | null,
      innerPaddingLeft?: string | null,
      innerPaddingRight?: string | null,
      innerPaddingTop?: string | null,
      isBackgroundPaddingsExcluded?: boolean | null,
      letterSpacing?: string | null,
      lineHeight?: string | null,
      linkColor?: string | null,
      padding?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      priceColor?: string | null,
      secondaryColor?: string | null,
      textBackgroundColor?: string | null,
      textDecoration?: string | null,
      verticalAlign?: string | null
    } | null
  }[] | null | null,
  settings?: {
    backgroundType?: string | null,
    customFonts?: {
      id?: string | null
    }[] | null,
    dynamicList?: {
      columnCount?: number | null,
      layout?: string | null,
      listPath?: string | null,
      repetitionCount?: number | null
    } | null,
    excludeProducts?: string[] | null,
    filter?: {
      operator?: string | null,
      rules?: {
        operator?: string | null,
        property?: {
          id?: string | null,
          isSystem?: boolean | null,
          name?: string | null,
          type?: string | null
        } | null,
        value?: string | null
      }[] | null
    } | null,
    isColumnStackDisabled?: boolean | null,
    isOutOfStockHidden?: boolean | null,
    isProductImagesFitted?: boolean | null,
    sideBySideProductLayout?: string | null,
    universalLayoutID?: string | null
  } | null,
  styleProperties?: {
    alignment?: string | null,
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundPosition?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null,
    border?: string | null,
    borderRadius?: string | null,
    color?: string | null,
    dividerColor?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    fontStyle?: string | null,
    fontWeight?: string | null,
    innerPadding?: string | null,
    innerPaddingBottom?: string | null,
    innerPaddingLeft?: string | null,
    innerPaddingRight?: string | null,
    innerPaddingTop?: string | null,
    isBackgroundPaddingsExcluded?: boolean | null,
    letterSpacing?: string | null,
    lineHeight?: string | null,
    linkColor?: string | null,
    padding?: string | null,
    paddingBottom?: string | null,
    paddingLeft?: string | null,
    paddingRight?: string | null,
    paddingTop?: string | null,
    priceColor?: string | null,
    secondaryColor?: string | null,
    textBackgroundColor?: string | null,
    textDecoration?: string | null,
    verticalAlign?: string | null
  } | null,
  type?: string | null,
  visibility?: {
    isDesktopVisible?: boolean | null,
    isMobileVisible?: boolean | null
  } | null
}[] | null
```

***

### delete

`templates.delete`

Delete an email template.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.templates.delete({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Email Template ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### get

`templates.get`

Read one email template by id, with its sections and styles.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.templates.get({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Email Template ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | Template created at (read-only) |
| `generalSettings` | `object \| null` | No | Template general settings - global and template level styles |
| `id` | `string \| null` | No | Template unique identifier (read-only) |
| `name` | `string \| null` | No | Template name |
| `sections` | `object[] \| null` | No | Template sections |
| `updatedAt` | `string \| null` | No | Template updated at (read-only) |

```ts theme={null}
{
  body?: {
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null
  } | null,
  buttonPresets?: {
    id?: string | null,
    name?: string | null,
    styles?: {
      backgroundColor?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      letterSpacing?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      textDecoration?: string | null
    } | null
  }[] | null,
  content?: {
    backgroundColor?: string | null,
    color?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    width?: string | null
  } | null,
  gmail?: {
    annotation?: {
      discountDescription?: string | null,
      isEnabled?: boolean | null
    } | null
  } | null,
  logo?: {
    altText?: string | null,
    height?: number | null,
    id?: string | null,
    isCustom?: boolean | null,
    name?: string | null,
    size?: number | null,
    source?: string | null,
    type?: string | null,
    width?: number | null
  } | null,
  textPresets?: {
    id?: string | null,
    name?: string | null,
    styles?: {
      color?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      letterSpacing?: string | null,
      lineHeight?: string | null
    } | null
  }[] | null
} | null
```

```ts theme={null}
{
  id?: string | null,
  productRecommender?: {
    excludeCategories?: string[] | null,
    excludeProducts?: string[] | null,
    fallbackType?: string | null,
    includeCategories?: string[] | null,
    isOutOfStockIncluded?: boolean | null,
    priceFrom?: number | null,
    purchaseExclusionDays?: number | null,
    recencyMonths?: number | null,
    type?: string | null
  } | null,
  rows?: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean | null,
          link?: string | null,
          text?: string | null,
          translationKey?: string | null
        } | null,
        components?: {
          button?: {
            isFullWidth?: boolean | null,
            link?: string | null,
            text?: string | null,
            translationKey?: string | null
          } | null,
          components?: {
            button?: {
              isFullWidth?: boolean | null,
              link?: string | null,
              text?: string | null,
              translationKey?: string | null
            } | null,
            components?: (recursive)[] | null,
            html?: string | null,
            id?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            role?: string | null,
            stylePresetID?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              backgroundImageID?: string | null,
              backgroundPosition?: string | null,
              backgroundRepeat?: string | null,
              backgroundSize?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              fontStyle?: string | null,
              fontWeight?: string | null,
              innerPadding?: string | null,
              innerPaddingBottom?: string | null,
              innerPaddingLeft?: string | null,
              innerPaddingRight?: string | null,
              innerPaddingTop?: string | null,
              isBackgroundPaddingsExcluded?: boolean | null,
              letterSpacing?: string | null,
              lineHeight?: string | null,
              linkColor?: string | null,
              padding?: string | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              priceColor?: string | null,
              secondaryColor?: string | null,
              textBackgroundColor?: string | null,
              textDecoration?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null
          }[] | null,
          html?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          role?: string | null,
          stylePresetID?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            backgroundImageID?: string | null,
            backgroundPosition?: string | null,
            backgroundRepeat?: string | null,
            backgroundSize?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            fontStyle?: string | null,
            fontWeight?: string | null,
            innerPadding?: string | null,
            innerPaddingBottom?: string | null,
            innerPaddingLeft?: string | null,
            innerPaddingRight?: string | null,
            innerPaddingTop?: string | null,
            isBackgroundPaddingsExcluded?: boolean | null,
            letterSpacing?: string | null,
            lineHeight?: string | null,
            linkColor?: string | null,
            padding?: string | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            priceColor?: string | null,
            secondaryColor?: string | null,
            textBackgroundColor?: string | null,
            textDecoration?: string | null,
            verticalAlign?: string | null
          } | null,
          text?: string | null,
          type?: string | null
        }[] | null,
        countdown?: {
          alt?: string | null,
          link?: string | null,
          src?: string | null,
          timerID?: string | null
        } | null,
        discount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        html?: string | null,
        htmlCode?: {
          body?: string | null,
          style?: string | null
        } | null,
        id?: string | null,
        image?: {
          altSource?: string | null,
          altText?: string | null,
          height?: number | null,
          id?: string | null,
          isDynamic?: boolean | null,
          isExternalSource?: boolean | null,
          link?: string | null,
          maxHeight?: number | null,
          maxHeightPercentage?: number | null,
          name?: string | null,
          resizeHeight?: number | null,
          resizeWidth?: number | null,
          size?: number | null,
          source?: string | null,
          state?: string | null,
          type?: string | null,
          width?: number | null
        } | null,
        lineSpace?: {
          height?: number | null,
          type?: string | null,
          width?: number | null
        } | null,
        logo?: {
          link?: string | null,
          resizeWidth?: number | null
        } | null,
        orderAddresses?: {
          billing?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null,
            isTitleHidden?: boolean | null,
            shipping?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null
          } | null,
          shipping?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          shippingMethods?: {
            price?: string | null,
            title?: string | null
          }[] | null,
          title?: string | null,
          transactions?: {
            payment?: string | null
          }[] | null
        } | null,
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean | null,
            isImageHidden?: boolean | null,
            isPriceHidden?: boolean | null,
            isPriceWithDiscountHidden?: boolean | null,
            isProductIDHidden?: boolean | null,
            isQuantityHidden?: boolean | null,
            isSkuHidden?: boolean | null,
            isTitleHidden?: boolean | null,
            isVariantHidden?: boolean | null,
            isVendorHidden?: boolean | null,
            isWeightHidden?: boolean | null
          } | null,
          products?: {
            currency?: string | null,
            discountAmount?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            price?: string | null,
            priceWithDiscount?: string | null,
            productID?: string | null,
            productUrl?: string | null,
            quantity?: number | null,
            sku?: string | null,
            title?: string | null,
            variant?: string | null,
            vendor?: string | null,
            weight?: number | null
          }[] | null
        } | null,
        orderSummary?: {
          date?: string | null,
          dateFormat?: string | null,
          hiddenFields?: {
            isDateHidden?: boolean | null,
            isOrderIDHidden?: boolean | null,
            isTitleHidden?: boolean | null
          } | null,
          orderID?: string | null,
          title?: string | null
        } | null,
        orderTotal?: {
          currency?: string | null,
          discountTotal?: string | null,
          discounts?: {
            amount?: string | null,
            code?: string | null,
            type?: string | null
          }[] | null,
          hiddenFields?: {
            isDiscountTotalHidden?: boolean | null,
            isOrderTotalHidden?: boolean | null,
            isShippingPriceHidden?: boolean | null,
            isSubTotalHidden?: boolean | null,
            isTaxTotalHidden?: boolean | null
          } | null,
          isSubTotalTaxIncluded?: boolean | null,
          orderTotal?: string | null,
          shippingPrice?: string | null,
          subTotal?: string | null,
          taxTotal?: string | null,
          taxes?: {
            price?: string | null,
            rate?: string | null,
            title?: string | null
          }[] | null
        } | null,
        preheader?: {
          linkText?: string | null,
          text?: string | null
        } | null,
        product?: {
          buttonText?: string | null,
          description?: string | null,
          id?: string | null,
          imageID?: string | null,
          imageUrl?: string | null,
          link?: string | null,
          oldPrice?: string | null,
          originalTitle?: string | null,
          price?: string | null,
          productID?: string | null,
          title?: string | null
        } | null,
        role?: string | null,
        secondaryStylePresetID?: string | null,
        social?: {
          icons?: {
            link?: string | null,
            source?: string | null,
            type?: string | null
          }[] | null,
          shape?: string | null,
          size?: string | null
        } | null,
        staticDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        stylePresetID?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          backgroundImageID?: string | null,
          backgroundPosition?: string | null,
          backgroundRepeat?: string | null,
          backgroundSize?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          fontStyle?: string | null,
          fontWeight?: string | null,
          innerPadding?: string | null,
          innerPaddingBottom?: string | null,
          innerPaddingLeft?: string | null,
          innerPaddingRight?: string | null,
          innerPaddingTop?: string | null,
          isBackgroundPaddingsExcluded?: boolean | null,
          letterSpacing?: string | null,
          lineHeight?: string | null,
          linkColor?: string | null,
          padding?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          priceColor?: string | null,
          secondaryColor?: string | null,
          textBackgroundColor?: string | null,
          textDecoration?: string | null,
          verticalAlign?: string | null
        } | null,
        text?: string | null,
        type?: string | null,
        video?: {
          altText?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          link?: string | null
        } | null
      }[] | null,
      id?: string | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        backgroundImageID?: string | null,
        backgroundPosition?: string | null,
        backgroundRepeat?: string | null,
        backgroundSize?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        innerPadding?: string | null,
        innerPaddingBottom?: string | null,
        innerPaddingLeft?: string | null,
        innerPaddingRight?: string | null,
        innerPaddingTop?: string | null,
        isBackgroundPaddingsExcluded?: boolean | null,
        letterSpacing?: string | null,
        lineHeight?: string | null,
        linkColor?: string | null,
        padding?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        priceColor?: string | null,
        secondaryColor?: string | null,
        textBackgroundColor?: string | null,
        textDecoration?: string | null,
        verticalAlign?: string | null
      } | null,
      width?: string | null
    }[] | null,
    id?: string | null,
    styleProperties?: {
      alignment?: string | null,
      backgroundColor?: string | null,
      backgroundImageID?: string | null,
      backgroundPosition?: string | null,
      backgroundRepeat?: string | null,
      backgroundSize?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      dividerColor?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      innerPadding?: string | null,
      innerPaddingBottom?: string | null,
      innerPaddingLeft?: string | null,
      innerPaddingRight?: string | null,
      innerPaddingTop?: string | null,
      isBackgroundPaddingsExcluded?: boolean | null,
      letterSpacing?: string | null,
      lineHeight?: string | null,
      linkColor?: string | null,
      padding?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      priceColor?: string | null,
      secondaryColor?: string | null,
      textBackgroundColor?: string | null,
      textDecoration?: string | null,
      verticalAlign?: string | null
    } | null
  }[] | null | null,
  settings?: {
    backgroundType?: string | null,
    customFonts?: {
      id?: string | null
    }[] | null,
    dynamicList?: {
      columnCount?: number | null,
      layout?: string | null,
      listPath?: string | null,
      repetitionCount?: number | null
    } | null,
    excludeProducts?: string[] | null,
    filter?: {
      operator?: string | null,
      rules?: {
        operator?: string | null,
        property?: {
          id?: string | null,
          isSystem?: boolean | null,
          name?: string | null,
          type?: string | null
        } | null,
        value?: string | null
      }[] | null
    } | null,
    isColumnStackDisabled?: boolean | null,
    isOutOfStockHidden?: boolean | null,
    isProductImagesFitted?: boolean | null,
    sideBySideProductLayout?: string | null,
    universalLayoutID?: string | null
  } | null,
  styleProperties?: {
    alignment?: string | null,
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundPosition?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null,
    border?: string | null,
    borderRadius?: string | null,
    color?: string | null,
    dividerColor?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    fontStyle?: string | null,
    fontWeight?: string | null,
    innerPadding?: string | null,
    innerPaddingBottom?: string | null,
    innerPaddingLeft?: string | null,
    innerPaddingRight?: string | null,
    innerPaddingTop?: string | null,
    isBackgroundPaddingsExcluded?: boolean | null,
    letterSpacing?: string | null,
    lineHeight?: string | null,
    linkColor?: string | null,
    padding?: string | null,
    paddingBottom?: string | null,
    paddingLeft?: string | null,
    paddingRight?: string | null,
    paddingTop?: string | null,
    priceColor?: string | null,
    secondaryColor?: string | null,
    textBackgroundColor?: string | null,
    textDecoration?: string | null,
    verticalAlign?: string | null
  } | null,
  type?: string | null,
  visibility?: {
    isDesktopVisible?: boolean | null,
    isMobileVisible?: boolean | null
  } | null
}[] | null
```

***

### importFromHtml

`templates.importFromHtml`

Import raw HTML, up to 1 MB, as a new email template Omnisend converts to editor sections.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.templates.importFromHtml({ html: '<html><body><p>Hello</p></body></html>', name: 'Spring sale' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `html` | `string` | Yes | Raw HTML content to import |
| `name` | `string` | Yes | Template name |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | Template created at (read-only) |
| `generalSettings` | `object \| null` | No | Template general settings - global and template level styles |
| `id` | `string \| null` | No | Template unique identifier (read-only) |
| `name` | `string \| null` | No | Template name |
| `sections` | `object[] \| null` | No | Template sections |
| `updatedAt` | `string \| null` | No | Template updated at (read-only) |

```ts theme={null}
{
  body?: {
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null
  } | null,
  buttonPresets?: {
    id?: string | null,
    name?: string | null,
    styles?: {
      backgroundColor?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      letterSpacing?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      textDecoration?: string | null
    } | null
  }[] | null,
  content?: {
    backgroundColor?: string | null,
    color?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    width?: string | null
  } | null,
  gmail?: {
    annotation?: {
      discountDescription?: string | null,
      isEnabled?: boolean | null
    } | null
  } | null,
  logo?: {
    altText?: string | null,
    height?: number | null,
    id?: string | null,
    isCustom?: boolean | null,
    name?: string | null,
    size?: number | null,
    source?: string | null,
    type?: string | null,
    width?: number | null
  } | null,
  textPresets?: {
    id?: string | null,
    name?: string | null,
    styles?: {
      color?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      letterSpacing?: string | null,
      lineHeight?: string | null
    } | null
  }[] | null
} | null
```

```ts theme={null}
{
  id?: string | null,
  productRecommender?: {
    excludeCategories?: string[] | null,
    excludeProducts?: string[] | null,
    fallbackType?: string | null,
    includeCategories?: string[] | null,
    isOutOfStockIncluded?: boolean | null,
    priceFrom?: number | null,
    purchaseExclusionDays?: number | null,
    recencyMonths?: number | null,
    type?: string | null
  } | null,
  rows?: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean | null,
          link?: string | null,
          text?: string | null,
          translationKey?: string | null
        } | null,
        components?: {
          button?: {
            isFullWidth?: boolean | null,
            link?: string | null,
            text?: string | null,
            translationKey?: string | null
          } | null,
          components?: {
            button?: {
              isFullWidth?: boolean | null,
              link?: string | null,
              text?: string | null,
              translationKey?: string | null
            } | null,
            components?: (recursive)[] | null,
            html?: string | null,
            id?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            role?: string | null,
            stylePresetID?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              backgroundImageID?: string | null,
              backgroundPosition?: string | null,
              backgroundRepeat?: string | null,
              backgroundSize?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              fontStyle?: string | null,
              fontWeight?: string | null,
              innerPadding?: string | null,
              innerPaddingBottom?: string | null,
              innerPaddingLeft?: string | null,
              innerPaddingRight?: string | null,
              innerPaddingTop?: string | null,
              isBackgroundPaddingsExcluded?: boolean | null,
              letterSpacing?: string | null,
              lineHeight?: string | null,
              linkColor?: string | null,
              padding?: string | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              priceColor?: string | null,
              secondaryColor?: string | null,
              textBackgroundColor?: string | null,
              textDecoration?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null
          }[] | null,
          html?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          role?: string | null,
          stylePresetID?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            backgroundImageID?: string | null,
            backgroundPosition?: string | null,
            backgroundRepeat?: string | null,
            backgroundSize?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            fontStyle?: string | null,
            fontWeight?: string | null,
            innerPadding?: string | null,
            innerPaddingBottom?: string | null,
            innerPaddingLeft?: string | null,
            innerPaddingRight?: string | null,
            innerPaddingTop?: string | null,
            isBackgroundPaddingsExcluded?: boolean | null,
            letterSpacing?: string | null,
            lineHeight?: string | null,
            linkColor?: string | null,
            padding?: string | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            priceColor?: string | null,
            secondaryColor?: string | null,
            textBackgroundColor?: string | null,
            textDecoration?: string | null,
            verticalAlign?: string | null
          } | null,
          text?: string | null,
          type?: string | null
        }[] | null,
        countdown?: {
          alt?: string | null,
          link?: string | null,
          src?: string | null,
          timerID?: string | null
        } | null,
        discount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        html?: string | null,
        htmlCode?: {
          body?: string | null,
          style?: string | null
        } | null,
        id?: string | null,
        image?: {
          altSource?: string | null,
          altText?: string | null,
          height?: number | null,
          id?: string | null,
          isDynamic?: boolean | null,
          isExternalSource?: boolean | null,
          link?: string | null,
          maxHeight?: number | null,
          maxHeightPercentage?: number | null,
          name?: string | null,
          resizeHeight?: number | null,
          resizeWidth?: number | null,
          size?: number | null,
          source?: string | null,
          state?: string | null,
          type?: string | null,
          width?: number | null
        } | null,
        lineSpace?: {
          height?: number | null,
          type?: string | null,
          width?: number | null
        } | null,
        logo?: {
          link?: string | null,
          resizeWidth?: number | null
        } | null,
        orderAddresses?: {
          billing?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null,
            isTitleHidden?: boolean | null,
            shipping?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null
          } | null,
          shipping?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          shippingMethods?: {
            price?: string | null,
            title?: string | null
          }[] | null,
          title?: string | null,
          transactions?: {
            payment?: string | null
          }[] | null
        } | null,
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean | null,
            isImageHidden?: boolean | null,
            isPriceHidden?: boolean | null,
            isPriceWithDiscountHidden?: boolean | null,
            isProductIDHidden?: boolean | null,
            isQuantityHidden?: boolean | null,
            isSkuHidden?: boolean | null,
            isTitleHidden?: boolean | null,
            isVariantHidden?: boolean | null,
            isVendorHidden?: boolean | null,
            isWeightHidden?: boolean | null
          } | null,
          products?: {
            currency?: string | null,
            discountAmount?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            price?: string | null,
            priceWithDiscount?: string | null,
            productID?: string | null,
            productUrl?: string | null,
            quantity?: number | null,
            sku?: string | null,
            title?: string | null,
            variant?: string | null,
            vendor?: string | null,
            weight?: number | null
          }[] | null
        } | null,
        orderSummary?: {
          date?: string | null,
          dateFormat?: string | null,
          hiddenFields?: {
            isDateHidden?: boolean | null,
            isOrderIDHidden?: boolean | null,
            isTitleHidden?: boolean | null
          } | null,
          orderID?: string | null,
          title?: string | null
        } | null,
        orderTotal?: {
          currency?: string | null,
          discountTotal?: string | null,
          discounts?: {
            amount?: string | null,
            code?: string | null,
            type?: string | null
          }[] | null,
          hiddenFields?: {
            isDiscountTotalHidden?: boolean | null,
            isOrderTotalHidden?: boolean | null,
            isShippingPriceHidden?: boolean | null,
            isSubTotalHidden?: boolean | null,
            isTaxTotalHidden?: boolean | null
          } | null,
          isSubTotalTaxIncluded?: boolean | null,
          orderTotal?: string | null,
          shippingPrice?: string | null,
          subTotal?: string | null,
          taxTotal?: string | null,
          taxes?: {
            price?: string | null,
            rate?: string | null,
            title?: string | null
          }[] | null
        } | null,
        preheader?: {
          linkText?: string | null,
          text?: string | null
        } | null,
        product?: {
          buttonText?: string | null,
          description?: string | null,
          id?: string | null,
          imageID?: string | null,
          imageUrl?: string | null,
          link?: string | null,
          oldPrice?: string | null,
          originalTitle?: string | null,
          price?: string | null,
          productID?: string | null,
          title?: string | null
        } | null,
        role?: string | null,
        secondaryStylePresetID?: string | null,
        social?: {
          icons?: {
            link?: string | null,
            source?: string | null,
            type?: string | null
          }[] | null,
          shape?: string | null,
          size?: string | null
        } | null,
        staticDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        stylePresetID?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          backgroundImageID?: string | null,
          backgroundPosition?: string | null,
          backgroundRepeat?: string | null,
          backgroundSize?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          fontStyle?: string | null,
          fontWeight?: string | null,
          innerPadding?: string | null,
          innerPaddingBottom?: string | null,
          innerPaddingLeft?: string | null,
          innerPaddingRight?: string | null,
          innerPaddingTop?: string | null,
          isBackgroundPaddingsExcluded?: boolean | null,
          letterSpacing?: string | null,
          lineHeight?: string | null,
          linkColor?: string | null,
          padding?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          priceColor?: string | null,
          secondaryColor?: string | null,
          textBackgroundColor?: string | null,
          textDecoration?: string | null,
          verticalAlign?: string | null
        } | null,
        text?: string | null,
        type?: string | null,
        video?: {
          altText?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          link?: string | null
        } | null
      }[] | null,
      id?: string | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        backgroundImageID?: string | null,
        backgroundPosition?: string | null,
        backgroundRepeat?: string | null,
        backgroundSize?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        innerPadding?: string | null,
        innerPaddingBottom?: string | null,
        innerPaddingLeft?: string | null,
        innerPaddingRight?: string | null,
        innerPaddingTop?: string | null,
        isBackgroundPaddingsExcluded?: boolean | null,
        letterSpacing?: string | null,
        lineHeight?: string | null,
        linkColor?: string | null,
        padding?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        priceColor?: string | null,
        secondaryColor?: string | null,
        textBackgroundColor?: string | null,
        textDecoration?: string | null,
        verticalAlign?: string | null
      } | null,
      width?: string | null
    }[] | null,
    id?: string | null,
    styleProperties?: {
      alignment?: string | null,
      backgroundColor?: string | null,
      backgroundImageID?: string | null,
      backgroundPosition?: string | null,
      backgroundRepeat?: string | null,
      backgroundSize?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      dividerColor?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      innerPadding?: string | null,
      innerPaddingBottom?: string | null,
      innerPaddingLeft?: string | null,
      innerPaddingRight?: string | null,
      innerPaddingTop?: string | null,
      isBackgroundPaddingsExcluded?: boolean | null,
      letterSpacing?: string | null,
      lineHeight?: string | null,
      linkColor?: string | null,
      padding?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      priceColor?: string | null,
      secondaryColor?: string | null,
      textBackgroundColor?: string | null,
      textDecoration?: string | null,
      verticalAlign?: string | null
    } | null
  }[] | null | null,
  settings?: {
    backgroundType?: string | null,
    customFonts?: {
      id?: string | null
    }[] | null,
    dynamicList?: {
      columnCount?: number | null,
      layout?: string | null,
      listPath?: string | null,
      repetitionCount?: number | null
    } | null,
    excludeProducts?: string[] | null,
    filter?: {
      operator?: string | null,
      rules?: {
        operator?: string | null,
        property?: {
          id?: string | null,
          isSystem?: boolean | null,
          name?: string | null,
          type?: string | null
        } | null,
        value?: string | null
      }[] | null
    } | null,
    isColumnStackDisabled?: boolean | null,
    isOutOfStockHidden?: boolean | null,
    isProductImagesFitted?: boolean | null,
    sideBySideProductLayout?: string | null,
    universalLayoutID?: string | null
  } | null,
  styleProperties?: {
    alignment?: string | null,
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundPosition?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null,
    border?: string | null,
    borderRadius?: string | null,
    color?: string | null,
    dividerColor?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    fontStyle?: string | null,
    fontWeight?: string | null,
    innerPadding?: string | null,
    innerPaddingBottom?: string | null,
    innerPaddingLeft?: string | null,
    innerPaddingRight?: string | null,
    innerPaddingTop?: string | null,
    isBackgroundPaddingsExcluded?: boolean | null,
    letterSpacing?: string | null,
    lineHeight?: string | null,
    linkColor?: string | null,
    padding?: string | null,
    paddingBottom?: string | null,
    paddingLeft?: string | null,
    paddingRight?: string | null,
    paddingTop?: string | null,
    priceColor?: string | null,
    secondaryColor?: string | null,
    textBackgroundColor?: string | null,
    textDecoration?: string | null,
    verticalAlign?: string | null
  } | null,
  type?: string | null,
  visibility?: {
    isDesktopVisible?: boolean | null,
    isMobileVisible?: boolean | null
  } | null
}[] | null
```

***

### list

`templates.list`

Page the email templates, filtered by name.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.templates.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Number of items per page (1-100, default 50) |
| `after` | `string` | No | Cursor for next page (base64-encoded, from previous response) |
| `before` | `string` | No | Cursor for previous page (base64-encoded, from previous response) |
| `sort` | `createdAt \| name` | No | Sort field (createdAt, name; default createdAt) |
| `direction` | `asc \| desc` | No | Sort direction (asc, desc; default desc) |
| `nameContains` | `string` | No | Filter templates by name (case-insensitive partial match, max 200 characters) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `paging` | `object \| null` | No | Pagination information |
| `templates` | `object[] \| null` | No | List of email templates |

```ts theme={null}
{
  cursors?: {
    after?: string | null | null,
    before?: string | null | null
  } | null,
  hasMore?: boolean | null,
  limit?: number | null
} | null
```

```ts theme={null}
{
  createdAt?: string | null,
  id?: string | null,
  name?: string | null,
  updatedAt?: string | null
}[] | null
```

***

### render

`templates.render`

Render a template to its HTML for preview; nothing is sent and no state changes.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.templates.render({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Email Template ID (24 character hexadecimal) |

**Output:** `Record<string, string>`

***

### replace

`templates.replace`

Replace an email template in full. Takes the same body as templates.create: name, generalSettings with the default presets and at least one section.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.templates.replace({
	id: '6650a1b2c3d4e5f6a7b8c9d5',
	name: 'Spring sale',
	generalSettings: {
		content: {
			backgroundColor: '#FFFFFF',
			width: '600px',
			fontFamily: 'Arial, sans-serif',
			fontSize: '14px',
			color: '#212121',
		},
		logo: {
			id: 'insertLogo.jpg',
			source: '/image/newsletter/insertLogo.jpg',
			width: 1200,
			height: 536,
		},
		body: { backgroundColor: '#E3E5E8' },
		buttonPresets: [{
			id: 'primary_button',
			name: 'Primary button',
			styles: {
				backgroundColor: '#00A3FF',
				borderRadius: '28px',
				fontFamily: 'Arial, sans-serif',
				fontSize: '16px',
				color: '#FFFFFF',
				paddingLeft: '16px',
				paddingRight: '16px',
				paddingTop: '16px',
				paddingBottom: '16px',
			},
		}, {
			id: 'secondary_button',
			name: 'Secondary button',
			styles: {
				backgroundColor: '#FFFFFF',
				border: '2px solid #000000',
				borderRadius: '28px',
				fontFamily: 'Arial, sans-serif',
				fontSize: '16px',
				color: '#000000',
				paddingLeft: '16px',
				paddingRight: '16px',
				paddingTop: '16px',
				paddingBottom: '16px',
			},
		}, {
			id: 'tertiary_button',
			name: 'Tertiary button',
			styles: {
				backgroundColor: '#000000',
				border: '2px solid #FFFFFF',
				borderRadius: '28px',
				fontFamily: 'Arial, sans-serif',
				fontSize: '16px',
				color: '#FFFFFF',
				paddingLeft: '16px',
				paddingRight: '16px',
				paddingTop: '16px',
				paddingBottom: '16px',
			},
		}],
		textPresets: [{
			id: 'heading_large',
			name: 'Heading Large',
			styles: {
				fontFamily: 'Arial, sans-serif',
				fontSize: '48px',
				color: '#000000',
				lineHeight: '125%',
			},
		}, {
			id: 'heading_medium',
			name: 'Heading Medium',
			styles: {
				fontFamily: 'Arial, sans-serif',
				fontSize: '36px',
				color: '#000000',
				lineHeight: '125%',
			},
		}, {
			id: 'heading_small',
			name: 'Heading Large',
			styles: {
				fontFamily: 'Arial, sans-serif',
				fontSize: '30px',
				color: '#000000',
				lineHeight: '125%',
			},
		}, {
			id: 'paragraph',
			name: 'Paragraph',
			styles: {
				fontFamily: 'Arial, sans-serif',
				fontSize: '14px',
				color: '#000000',
				lineHeight: '150%',
			},
		}, {
			id: 'footnote',
			name: 'Footnote',
			styles: {
				fontFamily: 'Arial, sans-serif',
				fontSize: '12px',
				color: '#000000',
				lineHeight: '150%',
			},
		}],
	},
	sections: [{
		rows: [{
			columns: [{
				width: '552px',
				blocks: [{
					type: 'htmlCode',
					htmlCode: { style: '', body: '<p>Hello from Corsair</p>' },
					styleProperties: { padding: '12px' },
				}],
			}],
		}],
		styleProperties: {
			paddingLeft: '24px',
			paddingRight: '24px',
			paddingTop: '24px',
			paddingBottom: '24px',
			backgroundColor: '#FFFFFF',
			verticalAlign: 'middle',
		},
	}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Email Template ID (24 character hexadecimal) |
| `generalSettings` | `object` | Yes | Template general settings - global and template level styles |
| `name` | `string` | Yes | Template name |
| `sections` | `object[]` | Yes | Template sections |

```ts theme={null}
{
  body: {
    backgroundColor: string,
    backgroundImageID?: string,
    backgroundRepeat?: repeat | no-repeat,
    backgroundSize?: contain | cover | auto
  },
  buttonPresets: {
    id: string,
    name?: string,
    styles: {
      backgroundColor?: string,
      border?: string,
      borderRadius: string,
      color: string,
      fontFamily: string,
      fontSize: string,
      fontStyle?: normal | italic,
      fontWeight?: string,
      letterSpacing?: string,
      paddingBottom?: string,
      paddingLeft?: string,
      paddingRight?: string,
      paddingTop?: string,
      textDecoration?: underline | line-through
    }
  }[],
  content: {
    backgroundColor: string,
    color: string,
    fontFamily: string,
    fontSize: string,
    width: string
  },
  gmail?: {
    annotation?: {
      discountDescription?: string,
      isEnabled?: boolean
    }
  },
  logo?: {
    altText?: string,
    height?: number,
    id?: string,
    isCustom?: boolean,
    name?: string,
    size?: number,
    source?: string,
    type?: image/jpg | image/jpeg | image/png | image/gif,
    width?: number
  },
  textPresets: {
    id: string,
    name?: string,
    styles: {
      color: string,
      fontFamily: string,
      fontSize: string,
      letterSpacing?: string,
      lineHeight: string
    }
  }[]
}
```

```ts theme={null}
{
  id?: string,
  productRecommender?: {
    excludeCategories?: string[],
    excludeProducts?: string[],
    fallbackType?: string,
    includeCategories?: string[],
    isOutOfStockIncluded?: boolean,
    priceFrom?: number,
    purchaseExclusionDays?: number,
    recencyMonths?: number,
    type?: string
  },
  rows: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean,
          link?: string,
          text?: string,
          translationKey?: string
        },
        components?: {
          button?: {
            isFullWidth?: boolean,
            link?: string,
            text?: string,
            translationKey?: string
          },
          components?: {
            button?: {
              isFullWidth?: boolean,
              link?: string,
              text?: string,
              translationKey?: string
            },
            components?: (recursive)[],
            id?: string,
            image?: {
              altSource?: string,
              altText?: string,
              height?: number,
              id?: string,
              isDynamic?: boolean,
              isExternalSource?: boolean,
              link?: string,
              maxHeight?: number,
              maxHeightPercentage?: number,
              name?: string,
              resizeHeight?: number,
              resizeWidth?: number,
              size?: number,
              source?: string,
              state?: string,
              type?: string,
              width?: number
            },
            role?: discount_code | discount_button | discount_expiration_date | menu_text | product_image | product_title | product_description | product_prices | product_button | product_current_price | product_old_price,
            stylePresetID?: string,
            styleProperties?: {
              alignment?: string,
              backgroundColor?: string,
              backgroundImageID?: string,
              backgroundPosition?: string,
              backgroundRepeat?: string,
              backgroundSize?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              fontStyle?: string,
              fontWeight?: string,
              innerPadding?: string,
              innerPaddingBottom?: string,
              innerPaddingLeft?: string,
              innerPaddingRight?: string,
              innerPaddingTop?: string,
              isBackgroundPaddingsExcluded?: boolean,
              letterSpacing?: string,
              lineHeight?: string,
              linkColor?: string,
              padding?: string,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              priceColor?: string,
              secondaryColor?: string,
              textBackgroundColor?: string,
              textDecoration?: string,
              verticalAlign?: string
            },
            text?: string,
            type?: text | button | image | price
          }[],
          id?: string,
          image?: {
            altSource?: string,
            altText?: string,
            height?: number,
            id?: string,
            isDynamic?: boolean,
            isExternalSource?: boolean,
            link?: string,
            maxHeight?: number,
            maxHeightPercentage?: number,
            name?: string,
            resizeHeight?: number,
            resizeWidth?: number,
            size?: number,
            source?: string,
            state?: string,
            type?: string,
            width?: number
          },
          role?: discount_code | discount_button | discount_expiration_date | menu_text | product_image | product_title | product_description | product_prices | product_button | product_current_price | product_old_price,
          stylePresetID?: string,
          styleProperties?: {
            alignment?: string,
            backgroundColor?: string,
            backgroundImageID?: string,
            backgroundPosition?: string,
            backgroundRepeat?: string,
            backgroundSize?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            fontStyle?: string,
            fontWeight?: string,
            innerPadding?: string,
            innerPaddingBottom?: string,
            innerPaddingLeft?: string,
            innerPaddingRight?: string,
            innerPaddingTop?: string,
            isBackgroundPaddingsExcluded?: boolean,
            letterSpacing?: string,
            lineHeight?: string,
            linkColor?: string,
            padding?: string,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            priceColor?: string,
            secondaryColor?: string,
            textBackgroundColor?: string,
            textDecoration?: string,
            verticalAlign?: string
          },
          text?: string,
          type?: text | button | image | price
        }[],
        countdown?: {
          alt?: string,
          link?: string,
          timerID: string
        },
        discount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        htmlCode?: {
          body?: string,
          style?: string
        },
        id?: string,
        image?: {
          altSource?: string,
          altText?: string,
          height?: number,
          id?: string,
          isDynamic?: boolean,
          isExternalSource?: boolean,
          link?: string,
          maxHeight?: number,
          maxHeightPercentage?: number,
          name?: string,
          resizeHeight?: number,
          resizeWidth?: number,
          size?: number,
          source?: string,
          state?: string,
          type?: string,
          width?: number
        },
        lineSpace?: {
          height?: number,
          type?: string,
          width?: number
        },
        logo?: {
          link?: string,
          resizeWidth?: number
        },
        orderAddresses?: {
          billing?: {
            address1?: string,
            address2?: string,
            city?: string,
            company?: string,
            country?: string,
            countryCode?: string,
            firstName?: string,
            lastName?: string,
            phone?: string,
            state?: string,
            stateCode?: string,
            zip?: string
          },
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean,
              isAddress2Hidden?: boolean,
              isCityHidden?: boolean,
              isCompanyHidden?: boolean,
              isCountryHidden?: boolean,
              isNameSurnameHidden?: boolean,
              isPhoneHidden?: boolean,
              isStateHidden?: boolean,
              isZipCodeHidden?: boolean
            },
            isTitleHidden?: boolean,
            shipping?: {
              isAddress1Hidden?: boolean,
              isAddress2Hidden?: boolean,
              isCityHidden?: boolean,
              isCompanyHidden?: boolean,
              isCountryHidden?: boolean,
              isNameSurnameHidden?: boolean,
              isPhoneHidden?: boolean,
              isStateHidden?: boolean,
              isZipCodeHidden?: boolean
            }
          },
          shipping?: {
            address1?: string,
            address2?: string,
            city?: string,
            company?: string,
            country?: string,
            countryCode?: string,
            firstName?: string,
            lastName?: string,
            phone?: string,
            state?: string,
            stateCode?: string,
            zip?: string
          },
          shippingMethods?: {
            price?: string,
            title?: string
          }[],
          title?: string,
          transactions?: {
            payment?: string
          }[]
        },
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean,
            isImageHidden?: boolean,
            isPriceHidden?: boolean,
            isPriceWithDiscountHidden?: boolean,
            isProductIDHidden?: boolean,
            isQuantityHidden?: boolean,
            isSkuHidden?: boolean,
            isTitleHidden?: boolean,
            isVariantHidden?: boolean,
            isVendorHidden?: boolean,
            isWeightHidden?: boolean
          },
          products?: {
            currency?: string,
            discountAmount?: string,
            image?: {
              altSource?: string,
              altText?: string,
              height?: number,
              id?: string,
              isDynamic?: boolean,
              isExternalSource?: boolean,
              link?: string,
              maxHeight?: number,
              maxHeightPercentage?: number,
              name?: string,
              resizeHeight?: number,
              resizeWidth?: number,
              size?: number,
              source?: string,
              state?: string,
              type?: string,
              width?: number
            },
            price?: string,
            priceWithDiscount?: string,
            productID?: string,
            productUrl?: string,
            quantity?: number,
            sku?: string,
            title?: string,
            variant?: string,
            vendor?: string,
            weight?: number
          }[]
        },
        orderSummary?: {
          date?: string,
          dateFormat?: string,
          hiddenFields?: {
            isDateHidden?: boolean,
            isOrderIDHidden?: boolean,
            isTitleHidden?: boolean
          },
          orderID?: string,
          title?: string
        },
        orderTotal?: {
          currency?: string,
          discountTotal?: string,
          discounts?: {
            amount?: string,
            code?: string,
            type?: string
          }[],
          hiddenFields?: {
            isDiscountTotalHidden?: boolean,
            isOrderTotalHidden?: boolean,
            isShippingPriceHidden?: boolean,
            isSubTotalHidden?: boolean,
            isTaxTotalHidden?: boolean
          },
          isSubTotalTaxIncluded?: boolean,
          orderTotal?: string,
          shippingPrice?: string,
          subTotal?: string,
          taxTotal?: string,
          taxes?: {
            price?: string,
            rate?: string,
            title?: string
          }[]
        },
        preheader?: {
          linkText?: string,
          text?: string
        },
        product?: {
          buttonText?: string,
          description?: string,
          id?: string,
          imageID?: string,
          imageUrl?: string,
          link?: string,
          oldPrice?: string,
          originalTitle?: string,
          price?: string,
          productID?: string,
          title?: string
        },
        role?: product_image | product_title | product_description | product_prices | product_button | discount_code | discount_button | discount_expiration_date | product_current_price | product_old_price | menu_text,
        secondaryStylePresetID?: string,
        social?: {
          icons?: {
            link?: string,
            source?: string,
            type?: string
          }[],
          shape?: string,
          size?: string
        },
        staticDiscount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        stylePresetID?: string,
        styleProperties?: {
          alignment?: string,
          backgroundColor?: string,
          backgroundImageID?: string,
          backgroundPosition?: string,
          backgroundRepeat?: string,
          backgroundSize?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          fontStyle?: string,
          fontWeight?: string,
          innerPadding?: string,
          innerPaddingBottom?: string,
          innerPaddingLeft?: string,
          innerPaddingRight?: string,
          innerPaddingTop?: string,
          isBackgroundPaddingsExcluded?: boolean,
          letterSpacing?: string,
          lineHeight?: string,
          linkColor?: string,
          padding?: string,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          priceColor?: string,
          secondaryColor?: string,
          textBackgroundColor?: string,
          textDecoration?: string,
          verticalAlign?: string
        },
        text?: string,
        type?: html | htmlCode | text | image | video | logo | menu | social | button | product | discount | staticDiscount | dynamicDiscount | orderSummary | orderProducts | orderTotal | orderAddresses | lineSpace | preheader | price | countdown,
        video?: {
          altText?: string,
          id?: string,
          image?: {
            altSource?: string,
            altText?: string,
            height?: number,
            id?: string,
            isDynamic?: boolean,
            isExternalSource?: boolean,
            link?: string,
            maxHeight?: number,
            maxHeightPercentage?: number,
            name?: string,
            resizeHeight?: number,
            resizeWidth?: number,
            size?: number,
            source?: string,
            state?: string,
            type?: string,
            width?: number
          },
          link?: string
        }
      }[],
      id?: string,
      styleProperties?: {
        alignment?: string,
        backgroundColor?: string,
        backgroundImageID?: string,
        backgroundPosition?: string,
        backgroundRepeat?: string,
        backgroundSize?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        fontStyle?: string,
        fontWeight?: string,
        innerPadding?: string,
        innerPaddingBottom?: string,
        innerPaddingLeft?: string,
        innerPaddingRight?: string,
        innerPaddingTop?: string,
        isBackgroundPaddingsExcluded?: boolean,
        letterSpacing?: string,
        lineHeight?: string,
        linkColor?: string,
        padding?: string,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        priceColor?: string,
        secondaryColor?: string,
        textBackgroundColor?: string,
        textDecoration?: string,
        verticalAlign?: string
      },
      width?: string
    }[],
    id?: string,
    styleProperties?: {
      alignment?: string,
      backgroundColor?: string,
      backgroundImageID?: string,
      backgroundPosition?: string,
      backgroundRepeat?: string,
      backgroundSize?: string,
      border?: string,
      borderRadius?: string,
      color?: string,
      dividerColor?: string,
      fontFamily?: string,
      fontSize?: string,
      fontStyle?: string,
      fontWeight?: string,
      innerPadding?: string,
      innerPaddingBottom?: string,
      innerPaddingLeft?: string,
      innerPaddingRight?: string,
      innerPaddingTop?: string,
      isBackgroundPaddingsExcluded?: boolean,
      letterSpacing?: string,
      lineHeight?: string,
      linkColor?: string,
      padding?: string,
      paddingBottom?: string,
      paddingLeft?: string,
      paddingRight?: string,
      paddingTop?: string,
      priceColor?: string,
      secondaryColor?: string,
      textBackgroundColor?: string,
      textDecoration?: string,
      verticalAlign?: string
    }
  }[] | null,
  settings?: {
    backgroundType?: string,
    customFonts?: {
      id?: string
    }[],
    dynamicList?: {
      columnCount?: number,
      layout?: string,
      listPath?: string,
      repetitionCount?: number
    },
    excludeProducts?: string[],
    filter?: {
      operator?: string,
      rules?: {
        operator?: string,
        property?: {
          id?: string,
          isSystem?: boolean,
          name?: string,
          type?: string
        },
        value?: string
      }[]
    },
    isColumnStackDisabled?: boolean,
    isOutOfStockHidden?: boolean,
    isProductImagesFitted?: boolean,
    sideBySideProductLayout?: string,
    universalLayoutID?: string
  },
  styleProperties: {
    alignment?: string,
    backgroundColor?: string,
    backgroundImageID?: string,
    backgroundPosition?: string,
    backgroundRepeat?: string,
    backgroundSize?: string,
    border?: string,
    borderRadius?: string,
    color?: string,
    dividerColor?: string,
    fontFamily?: string,
    fontSize?: string,
    fontStyle?: string,
    fontWeight?: string,
    innerPadding?: string,
    innerPaddingBottom?: string,
    innerPaddingLeft?: string,
    innerPaddingRight?: string,
    innerPaddingTop?: string,
    isBackgroundPaddingsExcluded?: boolean,
    letterSpacing?: string,
    lineHeight?: string,
    linkColor?: string,
    padding?: string,
    paddingBottom?: string,
    paddingLeft?: string,
    paddingRight?: string,
    paddingTop?: string,
    priceColor?: string,
    secondaryColor?: string,
    textBackgroundColor?: string,
    textDecoration?: string,
    verticalAlign?: string
  },
  type?: products_listing | product_recommender | product_cart_recovery | product_back_in_stock | badge | preheader | dynamic_list | universal_layout | "",
  visibility?: {
    isDesktopVisible?: boolean,
    isMobileVisible?: boolean
  }
}[]
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | Template created at (read-only) |
| `generalSettings` | `object \| null` | No | Template general settings - global and template level styles |
| `id` | `string \| null` | No | Template unique identifier (read-only) |
| `name` | `string \| null` | No | Template name |
| `sections` | `object[] \| null` | No | Template sections |
| `updatedAt` | `string \| null` | No | Template updated at (read-only) |

```ts theme={null}
{
  body?: {
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null
  } | null,
  buttonPresets?: {
    id?: string | null,
    name?: string | null,
    styles?: {
      backgroundColor?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      letterSpacing?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      textDecoration?: string | null
    } | null
  }[] | null,
  content?: {
    backgroundColor?: string | null,
    color?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    width?: string | null
  } | null,
  gmail?: {
    annotation?: {
      discountDescription?: string | null,
      isEnabled?: boolean | null
    } | null
  } | null,
  logo?: {
    altText?: string | null,
    height?: number | null,
    id?: string | null,
    isCustom?: boolean | null,
    name?: string | null,
    size?: number | null,
    source?: string | null,
    type?: string | null,
    width?: number | null
  } | null,
  textPresets?: {
    id?: string | null,
    name?: string | null,
    styles?: {
      color?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      letterSpacing?: string | null,
      lineHeight?: string | null
    } | null
  }[] | null
} | null
```

```ts theme={null}
{
  id?: string | null,
  productRecommender?: {
    excludeCategories?: string[] | null,
    excludeProducts?: string[] | null,
    fallbackType?: string | null,
    includeCategories?: string[] | null,
    isOutOfStockIncluded?: boolean | null,
    priceFrom?: number | null,
    purchaseExclusionDays?: number | null,
    recencyMonths?: number | null,
    type?: string | null
  } | null,
  rows?: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean | null,
          link?: string | null,
          text?: string | null,
          translationKey?: string | null
        } | null,
        components?: {
          button?: {
            isFullWidth?: boolean | null,
            link?: string | null,
            text?: string | null,
            translationKey?: string | null
          } | null,
          components?: {
            button?: {
              isFullWidth?: boolean | null,
              link?: string | null,
              text?: string | null,
              translationKey?: string | null
            } | null,
            components?: (recursive)[] | null,
            html?: string | null,
            id?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            role?: string | null,
            stylePresetID?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              backgroundImageID?: string | null,
              backgroundPosition?: string | null,
              backgroundRepeat?: string | null,
              backgroundSize?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              fontStyle?: string | null,
              fontWeight?: string | null,
              innerPadding?: string | null,
              innerPaddingBottom?: string | null,
              innerPaddingLeft?: string | null,
              innerPaddingRight?: string | null,
              innerPaddingTop?: string | null,
              isBackgroundPaddingsExcluded?: boolean | null,
              letterSpacing?: string | null,
              lineHeight?: string | null,
              linkColor?: string | null,
              padding?: string | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              priceColor?: string | null,
              secondaryColor?: string | null,
              textBackgroundColor?: string | null,
              textDecoration?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null
          }[] | null,
          html?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          role?: string | null,
          stylePresetID?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            backgroundImageID?: string | null,
            backgroundPosition?: string | null,
            backgroundRepeat?: string | null,
            backgroundSize?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            fontStyle?: string | null,
            fontWeight?: string | null,
            innerPadding?: string | null,
            innerPaddingBottom?: string | null,
            innerPaddingLeft?: string | null,
            innerPaddingRight?: string | null,
            innerPaddingTop?: string | null,
            isBackgroundPaddingsExcluded?: boolean | null,
            letterSpacing?: string | null,
            lineHeight?: string | null,
            linkColor?: string | null,
            padding?: string | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            priceColor?: string | null,
            secondaryColor?: string | null,
            textBackgroundColor?: string | null,
            textDecoration?: string | null,
            verticalAlign?: string | null
          } | null,
          text?: string | null,
          type?: string | null
        }[] | null,
        countdown?: {
          alt?: string | null,
          link?: string | null,
          src?: string | null,
          timerID?: string | null
        } | null,
        discount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        html?: string | null,
        htmlCode?: {
          body?: string | null,
          style?: string | null
        } | null,
        id?: string | null,
        image?: {
          altSource?: string | null,
          altText?: string | null,
          height?: number | null,
          id?: string | null,
          isDynamic?: boolean | null,
          isExternalSource?: boolean | null,
          link?: string | null,
          maxHeight?: number | null,
          maxHeightPercentage?: number | null,
          name?: string | null,
          resizeHeight?: number | null,
          resizeWidth?: number | null,
          size?: number | null,
          source?: string | null,
          state?: string | null,
          type?: string | null,
          width?: number | null
        } | null,
        lineSpace?: {
          height?: number | null,
          type?: string | null,
          width?: number | null
        } | null,
        logo?: {
          link?: string | null,
          resizeWidth?: number | null
        } | null,
        orderAddresses?: {
          billing?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null,
            isTitleHidden?: boolean | null,
            shipping?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null
          } | null,
          shipping?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          shippingMethods?: {
            price?: string | null,
            title?: string | null
          }[] | null,
          title?: string | null,
          transactions?: {
            payment?: string | null
          }[] | null
        } | null,
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean | null,
            isImageHidden?: boolean | null,
            isPriceHidden?: boolean | null,
            isPriceWithDiscountHidden?: boolean | null,
            isProductIDHidden?: boolean | null,
            isQuantityHidden?: boolean | null,
            isSkuHidden?: boolean | null,
            isTitleHidden?: boolean | null,
            isVariantHidden?: boolean | null,
            isVendorHidden?: boolean | null,
            isWeightHidden?: boolean | null
          } | null,
          products?: {
            currency?: string | null,
            discountAmount?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            price?: string | null,
            priceWithDiscount?: string | null,
            productID?: string | null,
            productUrl?: string | null,
            quantity?: number | null,
            sku?: string | null,
            title?: string | null,
            variant?: string | null,
            vendor?: string | null,
            weight?: number | null
          }[] | null
        } | null,
        orderSummary?: {
          date?: string | null,
          dateFormat?: string | null,
          hiddenFields?: {
            isDateHidden?: boolean | null,
            isOrderIDHidden?: boolean | null,
            isTitleHidden?: boolean | null
          } | null,
          orderID?: string | null,
          title?: string | null
        } | null,
        orderTotal?: {
          currency?: string | null,
          discountTotal?: string | null,
          discounts?: {
            amount?: string | null,
            code?: string | null,
            type?: string | null
          }[] | null,
          hiddenFields?: {
            isDiscountTotalHidden?: boolean | null,
            isOrderTotalHidden?: boolean | null,
            isShippingPriceHidden?: boolean | null,
            isSubTotalHidden?: boolean | null,
            isTaxTotalHidden?: boolean | null
          } | null,
          isSubTotalTaxIncluded?: boolean | null,
          orderTotal?: string | null,
          shippingPrice?: string | null,
          subTotal?: string | null,
          taxTotal?: string | null,
          taxes?: {
            price?: string | null,
            rate?: string | null,
            title?: string | null
          }[] | null
        } | null,
        preheader?: {
          linkText?: string | null,
          text?: string | null
        } | null,
        product?: {
          buttonText?: string | null,
          description?: string | null,
          id?: string | null,
          imageID?: string | null,
          imageUrl?: string | null,
          link?: string | null,
          oldPrice?: string | null,
          originalTitle?: string | null,
          price?: string | null,
          productID?: string | null,
          title?: string | null
        } | null,
        role?: string | null,
        secondaryStylePresetID?: string | null,
        social?: {
          icons?: {
            link?: string | null,
            source?: string | null,
            type?: string | null
          }[] | null,
          shape?: string | null,
          size?: string | null
        } | null,
        staticDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        stylePresetID?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          backgroundImageID?: string | null,
          backgroundPosition?: string | null,
          backgroundRepeat?: string | null,
          backgroundSize?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          fontStyle?: string | null,
          fontWeight?: string | null,
          innerPadding?: string | null,
          innerPaddingBottom?: string | null,
          innerPaddingLeft?: string | null,
          innerPaddingRight?: string | null,
          innerPaddingTop?: string | null,
          isBackgroundPaddingsExcluded?: boolean | null,
          letterSpacing?: string | null,
          lineHeight?: string | null,
          linkColor?: string | null,
          padding?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          priceColor?: string | null,
          secondaryColor?: string | null,
          textBackgroundColor?: string | null,
          textDecoration?: string | null,
          verticalAlign?: string | null
        } | null,
        text?: string | null,
        type?: string | null,
        video?: {
          altText?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          link?: string | null
        } | null
      }[] | null,
      id?: string | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        backgroundImageID?: string | null,
        backgroundPosition?: string | null,
        backgroundRepeat?: string | null,
        backgroundSize?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        innerPadding?: string | null,
        innerPaddingBottom?: string | null,
        innerPaddingLeft?: string | null,
        innerPaddingRight?: string | null,
        innerPaddingTop?: string | null,
        isBackgroundPaddingsExcluded?: boolean | null,
        letterSpacing?: string | null,
        lineHeight?: string | null,
        linkColor?: string | null,
        padding?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        priceColor?: string | null,
        secondaryColor?: string | null,
        textBackgroundColor?: string | null,
        textDecoration?: string | null,
        verticalAlign?: string | null
      } | null,
      width?: string | null
    }[] | null,
    id?: string | null,
    styleProperties?: {
      alignment?: string | null,
      backgroundColor?: string | null,
      backgroundImageID?: string | null,
      backgroundPosition?: string | null,
      backgroundRepeat?: string | null,
      backgroundSize?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      dividerColor?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      innerPadding?: string | null,
      innerPaddingBottom?: string | null,
      innerPaddingLeft?: string | null,
      innerPaddingRight?: string | null,
      innerPaddingTop?: string | null,
      isBackgroundPaddingsExcluded?: boolean | null,
      letterSpacing?: string | null,
      lineHeight?: string | null,
      linkColor?: string | null,
      padding?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      priceColor?: string | null,
      secondaryColor?: string | null,
      textBackgroundColor?: string | null,
      textDecoration?: string | null,
      verticalAlign?: string | null
    } | null
  }[] | null | null,
  settings?: {
    backgroundType?: string | null,
    customFonts?: {
      id?: string | null
    }[] | null,
    dynamicList?: {
      columnCount?: number | null,
      layout?: string | null,
      listPath?: string | null,
      repetitionCount?: number | null
    } | null,
    excludeProducts?: string[] | null,
    filter?: {
      operator?: string | null,
      rules?: {
        operator?: string | null,
        property?: {
          id?: string | null,
          isSystem?: boolean | null,
          name?: string | null,
          type?: string | null
        } | null,
        value?: string | null
      }[] | null
    } | null,
    isColumnStackDisabled?: boolean | null,
    isOutOfStockHidden?: boolean | null,
    isProductImagesFitted?: boolean | null,
    sideBySideProductLayout?: string | null,
    universalLayoutID?: string | null
  } | null,
  styleProperties?: {
    alignment?: string | null,
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundPosition?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null,
    border?: string | null,
    borderRadius?: string | null,
    color?: string | null,
    dividerColor?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    fontStyle?: string | null,
    fontWeight?: string | null,
    innerPadding?: string | null,
    innerPaddingBottom?: string | null,
    innerPaddingLeft?: string | null,
    innerPaddingRight?: string | null,
    innerPaddingTop?: string | null,
    isBackgroundPaddingsExcluded?: boolean | null,
    letterSpacing?: string | null,
    lineHeight?: string | null,
    linkColor?: string | null,
    padding?: string | null,
    paddingBottom?: string | null,
    paddingLeft?: string | null,
    paddingRight?: string | null,
    paddingTop?: string | null,
    priceColor?: string | null,
    secondaryColor?: string | null,
    textBackgroundColor?: string | null,
    textDecoration?: string | null,
    verticalAlign?: string | null
  } | null,
  type?: string | null,
  visibility?: {
    isDesktopVisible?: boolean | null,
    isMobileVisible?: boolean | null
  } | null
}[] | null
```

***

## Universal Layouts

### create

`universalLayouts.create`

Create universal layout. With this endpoint you can create a new universal layout. content is one section: rows (columns of blocks) and styleProperties; copy one from templates.get to start.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.universalLayouts.create({
	name: 'Spring sale',
	content: {
		rows: [{}],
		styleProperties: {},
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `content` | `object` | Yes | Universal layout content - the section structure |
| `name` | `string` | Yes | Universal layout name |

```ts theme={null}
{
  id?: string,
  productRecommender?: {
    excludeCategories?: string[],
    excludeProducts?: string[],
    fallbackType?: string,
    includeCategories?: string[],
    isOutOfStockIncluded?: boolean,
    priceFrom?: number,
    purchaseExclusionDays?: number,
    recencyMonths?: number,
    type?: string
  },
  rows: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean,
          link?: string,
          text?: string,
          translationKey?: string
        },
        components?: {
          button?: {
            isFullWidth?: boolean,
            link?: string,
            text?: string,
            translationKey?: string
          },
          components?: {
            button?: {
              isFullWidth?: boolean,
              link?: string,
              text?: string,
              translationKey?: string
            },
            components?: (recursive)[],
            id?: string,
            image?: {
              altSource?: string,
              altText?: string,
              height?: number,
              id?: string,
              isDynamic?: boolean,
              isExternalSource?: boolean,
              link?: string,
              maxHeight?: number,
              maxHeightPercentage?: number,
              name?: string,
              resizeHeight?: number,
              resizeWidth?: number,
              size?: number,
              source?: string,
              state?: string,
              type?: string,
              width?: number
            },
            role?: discount_code | discount_button | discount_expiration_date | menu_text | product_image | product_title | product_description | product_prices | product_button | product_current_price | product_old_price,
            stylePresetID?: string,
            styleProperties?: {
              alignment?: string,
              backgroundColor?: string,
              backgroundImageID?: string,
              backgroundPosition?: string,
              backgroundRepeat?: string,
              backgroundSize?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              fontStyle?: string,
              fontWeight?: string,
              innerPadding?: string,
              innerPaddingBottom?: string,
              innerPaddingLeft?: string,
              innerPaddingRight?: string,
              innerPaddingTop?: string,
              isBackgroundPaddingsExcluded?: boolean,
              letterSpacing?: string,
              lineHeight?: string,
              linkColor?: string,
              padding?: string,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              priceColor?: string,
              secondaryColor?: string,
              textBackgroundColor?: string,
              textDecoration?: string,
              verticalAlign?: string
            },
            text?: string,
            type?: text | button | image | price
          }[],
          id?: string,
          image?: {
            altSource?: string,
            altText?: string,
            height?: number,
            id?: string,
            isDynamic?: boolean,
            isExternalSource?: boolean,
            link?: string,
            maxHeight?: number,
            maxHeightPercentage?: number,
            name?: string,
            resizeHeight?: number,
            resizeWidth?: number,
            size?: number,
            source?: string,
            state?: string,
            type?: string,
            width?: number
          },
          role?: discount_code | discount_button | discount_expiration_date | menu_text | product_image | product_title | product_description | product_prices | product_button | product_current_price | product_old_price,
          stylePresetID?: string,
          styleProperties?: {
            alignment?: string,
            backgroundColor?: string,
            backgroundImageID?: string,
            backgroundPosition?: string,
            backgroundRepeat?: string,
            backgroundSize?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            fontStyle?: string,
            fontWeight?: string,
            innerPadding?: string,
            innerPaddingBottom?: string,
            innerPaddingLeft?: string,
            innerPaddingRight?: string,
            innerPaddingTop?: string,
            isBackgroundPaddingsExcluded?: boolean,
            letterSpacing?: string,
            lineHeight?: string,
            linkColor?: string,
            padding?: string,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            priceColor?: string,
            secondaryColor?: string,
            textBackgroundColor?: string,
            textDecoration?: string,
            verticalAlign?: string
          },
          text?: string,
          type?: text | button | image | price
        }[],
        countdown?: {
          alt?: string,
          link?: string,
          timerID: string
        },
        discount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        htmlCode?: {
          body?: string,
          style?: string
        },
        id?: string,
        image?: {
          altSource?: string,
          altText?: string,
          height?: number,
          id?: string,
          isDynamic?: boolean,
          isExternalSource?: boolean,
          link?: string,
          maxHeight?: number,
          maxHeightPercentage?: number,
          name?: string,
          resizeHeight?: number,
          resizeWidth?: number,
          size?: number,
          source?: string,
          state?: string,
          type?: string,
          width?: number
        },
        lineSpace?: {
          height?: number,
          type?: string,
          width?: number
        },
        logo?: {
          link?: string,
          resizeWidth?: number
        },
        orderAddresses?: {
          billing?: {
            address1?: string,
            address2?: string,
            city?: string,
            company?: string,
            country?: string,
            countryCode?: string,
            firstName?: string,
            lastName?: string,
            phone?: string,
            state?: string,
            stateCode?: string,
            zip?: string
          },
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean,
              isAddress2Hidden?: boolean,
              isCityHidden?: boolean,
              isCompanyHidden?: boolean,
              isCountryHidden?: boolean,
              isNameSurnameHidden?: boolean,
              isPhoneHidden?: boolean,
              isStateHidden?: boolean,
              isZipCodeHidden?: boolean
            },
            isTitleHidden?: boolean,
            shipping?: {
              isAddress1Hidden?: boolean,
              isAddress2Hidden?: boolean,
              isCityHidden?: boolean,
              isCompanyHidden?: boolean,
              isCountryHidden?: boolean,
              isNameSurnameHidden?: boolean,
              isPhoneHidden?: boolean,
              isStateHidden?: boolean,
              isZipCodeHidden?: boolean
            }
          },
          shipping?: {
            address1?: string,
            address2?: string,
            city?: string,
            company?: string,
            country?: string,
            countryCode?: string,
            firstName?: string,
            lastName?: string,
            phone?: string,
            state?: string,
            stateCode?: string,
            zip?: string
          },
          shippingMethods?: {
            price?: string,
            title?: string
          }[],
          title?: string,
          transactions?: {
            payment?: string
          }[]
        },
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean,
            isImageHidden?: boolean,
            isPriceHidden?: boolean,
            isPriceWithDiscountHidden?: boolean,
            isProductIDHidden?: boolean,
            isQuantityHidden?: boolean,
            isSkuHidden?: boolean,
            isTitleHidden?: boolean,
            isVariantHidden?: boolean,
            isVendorHidden?: boolean,
            isWeightHidden?: boolean
          },
          products?: {
            currency?: string,
            discountAmount?: string,
            image?: {
              altSource?: string,
              altText?: string,
              height?: number,
              id?: string,
              isDynamic?: boolean,
              isExternalSource?: boolean,
              link?: string,
              maxHeight?: number,
              maxHeightPercentage?: number,
              name?: string,
              resizeHeight?: number,
              resizeWidth?: number,
              size?: number,
              source?: string,
              state?: string,
              type?: string,
              width?: number
            },
            price?: string,
            priceWithDiscount?: string,
            productID?: string,
            productUrl?: string,
            quantity?: number,
            sku?: string,
            title?: string,
            variant?: string,
            vendor?: string,
            weight?: number
          }[]
        },
        orderSummary?: {
          date?: string,
          dateFormat?: string,
          hiddenFields?: {
            isDateHidden?: boolean,
            isOrderIDHidden?: boolean,
            isTitleHidden?: boolean
          },
          orderID?: string,
          title?: string
        },
        orderTotal?: {
          currency?: string,
          discountTotal?: string,
          discounts?: {
            amount?: string,
            code?: string,
            type?: string
          }[],
          hiddenFields?: {
            isDiscountTotalHidden?: boolean,
            isOrderTotalHidden?: boolean,
            isShippingPriceHidden?: boolean,
            isSubTotalHidden?: boolean,
            isTaxTotalHidden?: boolean
          },
          isSubTotalTaxIncluded?: boolean,
          orderTotal?: string,
          shippingPrice?: string,
          subTotal?: string,
          taxTotal?: string,
          taxes?: {
            price?: string,
            rate?: string,
            title?: string
          }[]
        },
        preheader?: {
          linkText?: string,
          text?: string
        },
        product?: {
          buttonText?: string,
          description?: string,
          id?: string,
          imageID?: string,
          imageUrl?: string,
          link?: string,
          oldPrice?: string,
          originalTitle?: string,
          price?: string,
          productID?: string,
          title?: string
        },
        role?: product_image | product_title | product_description | product_prices | product_button | discount_code | discount_button | discount_expiration_date | product_current_price | product_old_price | menu_text,
        secondaryStylePresetID?: string,
        social?: {
          icons?: {
            link?: string,
            source?: string,
            type?: string
          }[],
          shape?: string,
          size?: string
        },
        staticDiscount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        stylePresetID?: string,
        styleProperties?: {
          alignment?: string,
          backgroundColor?: string,
          backgroundImageID?: string,
          backgroundPosition?: string,
          backgroundRepeat?: string,
          backgroundSize?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          fontStyle?: string,
          fontWeight?: string,
          innerPadding?: string,
          innerPaddingBottom?: string,
          innerPaddingLeft?: string,
          innerPaddingRight?: string,
          innerPaddingTop?: string,
          isBackgroundPaddingsExcluded?: boolean,
          letterSpacing?: string,
          lineHeight?: string,
          linkColor?: string,
          padding?: string,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          priceColor?: string,
          secondaryColor?: string,
          textBackgroundColor?: string,
          textDecoration?: string,
          verticalAlign?: string
        },
        text?: string,
        type?: html | htmlCode | text | image | video | logo | menu | social | button | product | discount | staticDiscount | dynamicDiscount | orderSummary | orderProducts | orderTotal | orderAddresses | lineSpace | preheader | price | countdown,
        video?: {
          altText?: string,
          id?: string,
          image?: {
            altSource?: string,
            altText?: string,
            height?: number,
            id?: string,
            isDynamic?: boolean,
            isExternalSource?: boolean,
            link?: string,
            maxHeight?: number,
            maxHeightPercentage?: number,
            name?: string,
            resizeHeight?: number,
            resizeWidth?: number,
            size?: number,
            source?: string,
            state?: string,
            type?: string,
            width?: number
          },
          link?: string
        }
      }[],
      id?: string,
      styleProperties?: {
        alignment?: string,
        backgroundColor?: string,
        backgroundImageID?: string,
        backgroundPosition?: string,
        backgroundRepeat?: string,
        backgroundSize?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        fontStyle?: string,
        fontWeight?: string,
        innerPadding?: string,
        innerPaddingBottom?: string,
        innerPaddingLeft?: string,
        innerPaddingRight?: string,
        innerPaddingTop?: string,
        isBackgroundPaddingsExcluded?: boolean,
        letterSpacing?: string,
        lineHeight?: string,
        linkColor?: string,
        padding?: string,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        priceColor?: string,
        secondaryColor?: string,
        textBackgroundColor?: string,
        textDecoration?: string,
        verticalAlign?: string
      },
      width?: string
    }[],
    id?: string,
    styleProperties?: {
      alignment?: string,
      backgroundColor?: string,
      backgroundImageID?: string,
      backgroundPosition?: string,
      backgroundRepeat?: string,
      backgroundSize?: string,
      border?: string,
      borderRadius?: string,
      color?: string,
      dividerColor?: string,
      fontFamily?: string,
      fontSize?: string,
      fontStyle?: string,
      fontWeight?: string,
      innerPadding?: string,
      innerPaddingBottom?: string,
      innerPaddingLeft?: string,
      innerPaddingRight?: string,
      innerPaddingTop?: string,
      isBackgroundPaddingsExcluded?: boolean,
      letterSpacing?: string,
      lineHeight?: string,
      linkColor?: string,
      padding?: string,
      paddingBottom?: string,
      paddingLeft?: string,
      paddingRight?: string,
      paddingTop?: string,
      priceColor?: string,
      secondaryColor?: string,
      textBackgroundColor?: string,
      textDecoration?: string,
      verticalAlign?: string
    }
  }[] | null,
  settings?: {
    backgroundType?: string,
    customFonts?: {
      id?: string
    }[],
    dynamicList?: {
      columnCount?: number,
      layout?: string,
      listPath?: string,
      repetitionCount?: number
    },
    excludeProducts?: string[],
    filter?: {
      operator?: string,
      rules?: {
        operator?: string,
        property?: {
          id?: string,
          isSystem?: boolean,
          name?: string,
          type?: string
        },
        value?: string
      }[]
    },
    isColumnStackDisabled?: boolean,
    isOutOfStockHidden?: boolean,
    isProductImagesFitted?: boolean,
    sideBySideProductLayout?: string,
    universalLayoutID?: string
  },
  styleProperties: {
    alignment?: string,
    backgroundColor?: string,
    backgroundImageID?: string,
    backgroundPosition?: string,
    backgroundRepeat?: string,
    backgroundSize?: string,
    border?: string,
    borderRadius?: string,
    color?: string,
    dividerColor?: string,
    fontFamily?: string,
    fontSize?: string,
    fontStyle?: string,
    fontWeight?: string,
    innerPadding?: string,
    innerPaddingBottom?: string,
    innerPaddingLeft?: string,
    innerPaddingRight?: string,
    innerPaddingTop?: string,
    isBackgroundPaddingsExcluded?: boolean,
    letterSpacing?: string,
    lineHeight?: string,
    linkColor?: string,
    padding?: string,
    paddingBottom?: string,
    paddingLeft?: string,
    paddingRight?: string,
    paddingTop?: string,
    priceColor?: string,
    secondaryColor?: string,
    textBackgroundColor?: string,
    textDecoration?: string,
    verticalAlign?: string
  },
  type?: products_listing | product_recommender | product_cart_recovery | product_back_in_stock | badge | preheader | dynamic_list | universal_layout | "",
  visibility?: {
    isDesktopVisible?: boolean,
    isMobileVisible?: boolean
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `content` | `object \| null` | No | Universal layout content - the section structure |
| `createdAt` | `string \| null` | No | Universal layout created at (read-only) |
| `id` | `string \| null` | No | Universal layout unique identifier (read-only) |
| `name` | `string \| null` | No | Universal layout name |
| `snapshotState` | `string \| null` | No | Universal layout snapshot state (read-only) |
| `snapshotUrl` | `string \| null` | No | Universal layout snapshot URL (read-only) |
| `updatedAt` | `string \| null` | No | Universal layout updated at (read-only) |

```ts theme={null}
{
  id?: string | null,
  productRecommender?: {
    excludeCategories?: string[] | null,
    excludeProducts?: string[] | null,
    fallbackType?: string | null,
    includeCategories?: string[] | null,
    isOutOfStockIncluded?: boolean | null,
    priceFrom?: number | null,
    purchaseExclusionDays?: number | null,
    recencyMonths?: number | null,
    type?: string | null
  } | null,
  rows?: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean | null,
          link?: string | null,
          text?: string | null,
          translationKey?: string | null
        } | null,
        components?: {
          button?: {
            isFullWidth?: boolean | null,
            link?: string | null,
            text?: string | null,
            translationKey?: string | null
          } | null,
          components?: {
            button?: {
              isFullWidth?: boolean | null,
              link?: string | null,
              text?: string | null,
              translationKey?: string | null
            } | null,
            components?: (recursive)[] | null,
            html?: string | null,
            id?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            role?: string | null,
            stylePresetID?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              backgroundImageID?: string | null,
              backgroundPosition?: string | null,
              backgroundRepeat?: string | null,
              backgroundSize?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              fontStyle?: string | null,
              fontWeight?: string | null,
              innerPadding?: string | null,
              innerPaddingBottom?: string | null,
              innerPaddingLeft?: string | null,
              innerPaddingRight?: string | null,
              innerPaddingTop?: string | null,
              isBackgroundPaddingsExcluded?: boolean | null,
              letterSpacing?: string | null,
              lineHeight?: string | null,
              linkColor?: string | null,
              padding?: string | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              priceColor?: string | null,
              secondaryColor?: string | null,
              textBackgroundColor?: string | null,
              textDecoration?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null
          }[] | null,
          html?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          role?: string | null,
          stylePresetID?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            backgroundImageID?: string | null,
            backgroundPosition?: string | null,
            backgroundRepeat?: string | null,
            backgroundSize?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            fontStyle?: string | null,
            fontWeight?: string | null,
            innerPadding?: string | null,
            innerPaddingBottom?: string | null,
            innerPaddingLeft?: string | null,
            innerPaddingRight?: string | null,
            innerPaddingTop?: string | null,
            isBackgroundPaddingsExcluded?: boolean | null,
            letterSpacing?: string | null,
            lineHeight?: string | null,
            linkColor?: string | null,
            padding?: string | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            priceColor?: string | null,
            secondaryColor?: string | null,
            textBackgroundColor?: string | null,
            textDecoration?: string | null,
            verticalAlign?: string | null
          } | null,
          text?: string | null,
          type?: string | null
        }[] | null,
        countdown?: {
          alt?: string | null,
          link?: string | null,
          src?: string | null,
          timerID?: string | null
        } | null,
        discount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        html?: string | null,
        htmlCode?: {
          body?: string | null,
          style?: string | null
        } | null,
        id?: string | null,
        image?: {
          altSource?: string | null,
          altText?: string | null,
          height?: number | null,
          id?: string | null,
          isDynamic?: boolean | null,
          isExternalSource?: boolean | null,
          link?: string | null,
          maxHeight?: number | null,
          maxHeightPercentage?: number | null,
          name?: string | null,
          resizeHeight?: number | null,
          resizeWidth?: number | null,
          size?: number | null,
          source?: string | null,
          state?: string | null,
          type?: string | null,
          width?: number | null
        } | null,
        lineSpace?: {
          height?: number | null,
          type?: string | null,
          width?: number | null
        } | null,
        logo?: {
          link?: string | null,
          resizeWidth?: number | null
        } | null,
        orderAddresses?: {
          billing?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null,
            isTitleHidden?: boolean | null,
            shipping?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null
          } | null,
          shipping?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          shippingMethods?: {
            price?: string | null,
            title?: string | null
          }[] | null,
          title?: string | null,
          transactions?: {
            payment?: string | null
          }[] | null
        } | null,
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean | null,
            isImageHidden?: boolean | null,
            isPriceHidden?: boolean | null,
            isPriceWithDiscountHidden?: boolean | null,
            isProductIDHidden?: boolean | null,
            isQuantityHidden?: boolean | null,
            isSkuHidden?: boolean | null,
            isTitleHidden?: boolean | null,
            isVariantHidden?: boolean | null,
            isVendorHidden?: boolean | null,
            isWeightHidden?: boolean | null
          } | null,
          products?: {
            currency?: string | null,
            discountAmount?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            price?: string | null,
            priceWithDiscount?: string | null,
            productID?: string | null,
            productUrl?: string | null,
            quantity?: number | null,
            sku?: string | null,
            title?: string | null,
            variant?: string | null,
            vendor?: string | null,
            weight?: number | null
          }[] | null
        } | null,
        orderSummary?: {
          date?: string | null,
          dateFormat?: string | null,
          hiddenFields?: {
            isDateHidden?: boolean | null,
            isOrderIDHidden?: boolean | null,
            isTitleHidden?: boolean | null
          } | null,
          orderID?: string | null,
          title?: string | null
        } | null,
        orderTotal?: {
          currency?: string | null,
          discountTotal?: string | null,
          discounts?: {
            amount?: string | null,
            code?: string | null,
            type?: string | null
          }[] | null,
          hiddenFields?: {
            isDiscountTotalHidden?: boolean | null,
            isOrderTotalHidden?: boolean | null,
            isShippingPriceHidden?: boolean | null,
            isSubTotalHidden?: boolean | null,
            isTaxTotalHidden?: boolean | null
          } | null,
          isSubTotalTaxIncluded?: boolean | null,
          orderTotal?: string | null,
          shippingPrice?: string | null,
          subTotal?: string | null,
          taxTotal?: string | null,
          taxes?: {
            price?: string | null,
            rate?: string | null,
            title?: string | null
          }[] | null
        } | null,
        preheader?: {
          linkText?: string | null,
          text?: string | null
        } | null,
        product?: {
          buttonText?: string | null,
          description?: string | null,
          id?: string | null,
          imageID?: string | null,
          imageUrl?: string | null,
          link?: string | null,
          oldPrice?: string | null,
          originalTitle?: string | null,
          price?: string | null,
          productID?: string | null,
          title?: string | null
        } | null,
        role?: string | null,
        secondaryStylePresetID?: string | null,
        social?: {
          icons?: {
            link?: string | null,
            source?: string | null,
            type?: string | null
          }[] | null,
          shape?: string | null,
          size?: string | null
        } | null,
        staticDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        stylePresetID?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          backgroundImageID?: string | null,
          backgroundPosition?: string | null,
          backgroundRepeat?: string | null,
          backgroundSize?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          fontStyle?: string | null,
          fontWeight?: string | null,
          innerPadding?: string | null,
          innerPaddingBottom?: string | null,
          innerPaddingLeft?: string | null,
          innerPaddingRight?: string | null,
          innerPaddingTop?: string | null,
          isBackgroundPaddingsExcluded?: boolean | null,
          letterSpacing?: string | null,
          lineHeight?: string | null,
          linkColor?: string | null,
          padding?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          priceColor?: string | null,
          secondaryColor?: string | null,
          textBackgroundColor?: string | null,
          textDecoration?: string | null,
          verticalAlign?: string | null
        } | null,
        text?: string | null,
        type?: string | null,
        video?: {
          altText?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          link?: string | null
        } | null
      }[] | null,
      id?: string | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        backgroundImageID?: string | null,
        backgroundPosition?: string | null,
        backgroundRepeat?: string | null,
        backgroundSize?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        innerPadding?: string | null,
        innerPaddingBottom?: string | null,
        innerPaddingLeft?: string | null,
        innerPaddingRight?: string | null,
        innerPaddingTop?: string | null,
        isBackgroundPaddingsExcluded?: boolean | null,
        letterSpacing?: string | null,
        lineHeight?: string | null,
        linkColor?: string | null,
        padding?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        priceColor?: string | null,
        secondaryColor?: string | null,
        textBackgroundColor?: string | null,
        textDecoration?: string | null,
        verticalAlign?: string | null
      } | null,
      width?: string | null
    }[] | null,
    id?: string | null,
    styleProperties?: {
      alignment?: string | null,
      backgroundColor?: string | null,
      backgroundImageID?: string | null,
      backgroundPosition?: string | null,
      backgroundRepeat?: string | null,
      backgroundSize?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      dividerColor?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      innerPadding?: string | null,
      innerPaddingBottom?: string | null,
      innerPaddingLeft?: string | null,
      innerPaddingRight?: string | null,
      innerPaddingTop?: string | null,
      isBackgroundPaddingsExcluded?: boolean | null,
      letterSpacing?: string | null,
      lineHeight?: string | null,
      linkColor?: string | null,
      padding?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      priceColor?: string | null,
      secondaryColor?: string | null,
      textBackgroundColor?: string | null,
      textDecoration?: string | null,
      verticalAlign?: string | null
    } | null
  }[] | null | null,
  settings?: {
    backgroundType?: string | null,
    customFonts?: {
      id?: string | null
    }[] | null,
    dynamicList?: {
      columnCount?: number | null,
      layout?: string | null,
      listPath?: string | null,
      repetitionCount?: number | null
    } | null,
    excludeProducts?: string[] | null,
    filter?: {
      operator?: string | null,
      rules?: {
        operator?: string | null,
        property?: {
          id?: string | null,
          isSystem?: boolean | null,
          name?: string | null,
          type?: string | null
        } | null,
        value?: string | null
      }[] | null
    } | null,
    isColumnStackDisabled?: boolean | null,
    isOutOfStockHidden?: boolean | null,
    isProductImagesFitted?: boolean | null,
    sideBySideProductLayout?: string | null,
    universalLayoutID?: string | null
  } | null,
  styleProperties?: {
    alignment?: string | null,
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundPosition?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null,
    border?: string | null,
    borderRadius?: string | null,
    color?: string | null,
    dividerColor?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    fontStyle?: string | null,
    fontWeight?: string | null,
    innerPadding?: string | null,
    innerPaddingBottom?: string | null,
    innerPaddingLeft?: string | null,
    innerPaddingRight?: string | null,
    innerPaddingTop?: string | null,
    isBackgroundPaddingsExcluded?: boolean | null,
    letterSpacing?: string | null,
    lineHeight?: string | null,
    linkColor?: string | null,
    padding?: string | null,
    paddingBottom?: string | null,
    paddingLeft?: string | null,
    paddingRight?: string | null,
    paddingTop?: string | null,
    priceColor?: string | null,
    secondaryColor?: string | null,
    textBackgroundColor?: string | null,
    textDecoration?: string | null,
    verticalAlign?: string | null
  } | null,
  type?: string | null,
  visibility?: {
    isDesktopVisible?: boolean | null,
    isMobileVisible?: boolean | null
  } | null
} | null
```

***

### delete

`universalLayouts.delete`

Delete universal layout. With this endpoint you can delete a universal layout by ID. Cannot be undone.

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.omnisend.api.universalLayouts.delete({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Universal Layout ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | Omnisend accepted the call; it answered with no body. |

***

### get

`universalLayouts.get`

Get universal layout. With this endpoint you can get a universal layout by ID.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.universalLayouts.get({ id: '6650a1b2c3d4e5f6a7b8c9d0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Universal Layout ID (24 character hexadecimal) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `content` | `object \| null` | No | Universal layout content - the section structure |
| `createdAt` | `string \| null` | No | Universal layout created at (read-only) |
| `id` | `string \| null` | No | Universal layout unique identifier (read-only) |
| `name` | `string \| null` | No | Universal layout name |
| `snapshotState` | `string \| null` | No | Universal layout snapshot state (read-only) |
| `snapshotUrl` | `string \| null` | No | Universal layout snapshot URL (read-only) |
| `updatedAt` | `string \| null` | No | Universal layout updated at (read-only) |

```ts theme={null}
{
  id?: string | null,
  productRecommender?: {
    excludeCategories?: string[] | null,
    excludeProducts?: string[] | null,
    fallbackType?: string | null,
    includeCategories?: string[] | null,
    isOutOfStockIncluded?: boolean | null,
    priceFrom?: number | null,
    purchaseExclusionDays?: number | null,
    recencyMonths?: number | null,
    type?: string | null
  } | null,
  rows?: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean | null,
          link?: string | null,
          text?: string | null,
          translationKey?: string | null
        } | null,
        components?: {
          button?: {
            isFullWidth?: boolean | null,
            link?: string | null,
            text?: string | null,
            translationKey?: string | null
          } | null,
          components?: {
            button?: {
              isFullWidth?: boolean | null,
              link?: string | null,
              text?: string | null,
              translationKey?: string | null
            } | null,
            components?: (recursive)[] | null,
            html?: string | null,
            id?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            role?: string | null,
            stylePresetID?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              backgroundImageID?: string | null,
              backgroundPosition?: string | null,
              backgroundRepeat?: string | null,
              backgroundSize?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              fontStyle?: string | null,
              fontWeight?: string | null,
              innerPadding?: string | null,
              innerPaddingBottom?: string | null,
              innerPaddingLeft?: string | null,
              innerPaddingRight?: string | null,
              innerPaddingTop?: string | null,
              isBackgroundPaddingsExcluded?: boolean | null,
              letterSpacing?: string | null,
              lineHeight?: string | null,
              linkColor?: string | null,
              padding?: string | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              priceColor?: string | null,
              secondaryColor?: string | null,
              textBackgroundColor?: string | null,
              textDecoration?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null
          }[] | null,
          html?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          role?: string | null,
          stylePresetID?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            backgroundImageID?: string | null,
            backgroundPosition?: string | null,
            backgroundRepeat?: string | null,
            backgroundSize?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            fontStyle?: string | null,
            fontWeight?: string | null,
            innerPadding?: string | null,
            innerPaddingBottom?: string | null,
            innerPaddingLeft?: string | null,
            innerPaddingRight?: string | null,
            innerPaddingTop?: string | null,
            isBackgroundPaddingsExcluded?: boolean | null,
            letterSpacing?: string | null,
            lineHeight?: string | null,
            linkColor?: string | null,
            padding?: string | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            priceColor?: string | null,
            secondaryColor?: string | null,
            textBackgroundColor?: string | null,
            textDecoration?: string | null,
            verticalAlign?: string | null
          } | null,
          text?: string | null,
          type?: string | null
        }[] | null,
        countdown?: {
          alt?: string | null,
          link?: string | null,
          src?: string | null,
          timerID?: string | null
        } | null,
        discount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        html?: string | null,
        htmlCode?: {
          body?: string | null,
          style?: string | null
        } | null,
        id?: string | null,
        image?: {
          altSource?: string | null,
          altText?: string | null,
          height?: number | null,
          id?: string | null,
          isDynamic?: boolean | null,
          isExternalSource?: boolean | null,
          link?: string | null,
          maxHeight?: number | null,
          maxHeightPercentage?: number | null,
          name?: string | null,
          resizeHeight?: number | null,
          resizeWidth?: number | null,
          size?: number | null,
          source?: string | null,
          state?: string | null,
          type?: string | null,
          width?: number | null
        } | null,
        lineSpace?: {
          height?: number | null,
          type?: string | null,
          width?: number | null
        } | null,
        logo?: {
          link?: string | null,
          resizeWidth?: number | null
        } | null,
        orderAddresses?: {
          billing?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null,
            isTitleHidden?: boolean | null,
            shipping?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null
          } | null,
          shipping?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          shippingMethods?: {
            price?: string | null,
            title?: string | null
          }[] | null,
          title?: string | null,
          transactions?: {
            payment?: string | null
          }[] | null
        } | null,
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean | null,
            isImageHidden?: boolean | null,
            isPriceHidden?: boolean | null,
            isPriceWithDiscountHidden?: boolean | null,
            isProductIDHidden?: boolean | null,
            isQuantityHidden?: boolean | null,
            isSkuHidden?: boolean | null,
            isTitleHidden?: boolean | null,
            isVariantHidden?: boolean | null,
            isVendorHidden?: boolean | null,
            isWeightHidden?: boolean | null
          } | null,
          products?: {
            currency?: string | null,
            discountAmount?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            price?: string | null,
            priceWithDiscount?: string | null,
            productID?: string | null,
            productUrl?: string | null,
            quantity?: number | null,
            sku?: string | null,
            title?: string | null,
            variant?: string | null,
            vendor?: string | null,
            weight?: number | null
          }[] | null
        } | null,
        orderSummary?: {
          date?: string | null,
          dateFormat?: string | null,
          hiddenFields?: {
            isDateHidden?: boolean | null,
            isOrderIDHidden?: boolean | null,
            isTitleHidden?: boolean | null
          } | null,
          orderID?: string | null,
          title?: string | null
        } | null,
        orderTotal?: {
          currency?: string | null,
          discountTotal?: string | null,
          discounts?: {
            amount?: string | null,
            code?: string | null,
            type?: string | null
          }[] | null,
          hiddenFields?: {
            isDiscountTotalHidden?: boolean | null,
            isOrderTotalHidden?: boolean | null,
            isShippingPriceHidden?: boolean | null,
            isSubTotalHidden?: boolean | null,
            isTaxTotalHidden?: boolean | null
          } | null,
          isSubTotalTaxIncluded?: boolean | null,
          orderTotal?: string | null,
          shippingPrice?: string | null,
          subTotal?: string | null,
          taxTotal?: string | null,
          taxes?: {
            price?: string | null,
            rate?: string | null,
            title?: string | null
          }[] | null
        } | null,
        preheader?: {
          linkText?: string | null,
          text?: string | null
        } | null,
        product?: {
          buttonText?: string | null,
          description?: string | null,
          id?: string | null,
          imageID?: string | null,
          imageUrl?: string | null,
          link?: string | null,
          oldPrice?: string | null,
          originalTitle?: string | null,
          price?: string | null,
          productID?: string | null,
          title?: string | null
        } | null,
        role?: string | null,
        secondaryStylePresetID?: string | null,
        social?: {
          icons?: {
            link?: string | null,
            source?: string | null,
            type?: string | null
          }[] | null,
          shape?: string | null,
          size?: string | null
        } | null,
        staticDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        stylePresetID?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          backgroundImageID?: string | null,
          backgroundPosition?: string | null,
          backgroundRepeat?: string | null,
          backgroundSize?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          fontStyle?: string | null,
          fontWeight?: string | null,
          innerPadding?: string | null,
          innerPaddingBottom?: string | null,
          innerPaddingLeft?: string | null,
          innerPaddingRight?: string | null,
          innerPaddingTop?: string | null,
          isBackgroundPaddingsExcluded?: boolean | null,
          letterSpacing?: string | null,
          lineHeight?: string | null,
          linkColor?: string | null,
          padding?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          priceColor?: string | null,
          secondaryColor?: string | null,
          textBackgroundColor?: string | null,
          textDecoration?: string | null,
          verticalAlign?: string | null
        } | null,
        text?: string | null,
        type?: string | null,
        video?: {
          altText?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          link?: string | null
        } | null
      }[] | null,
      id?: string | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        backgroundImageID?: string | null,
        backgroundPosition?: string | null,
        backgroundRepeat?: string | null,
        backgroundSize?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        innerPadding?: string | null,
        innerPaddingBottom?: string | null,
        innerPaddingLeft?: string | null,
        innerPaddingRight?: string | null,
        innerPaddingTop?: string | null,
        isBackgroundPaddingsExcluded?: boolean | null,
        letterSpacing?: string | null,
        lineHeight?: string | null,
        linkColor?: string | null,
        padding?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        priceColor?: string | null,
        secondaryColor?: string | null,
        textBackgroundColor?: string | null,
        textDecoration?: string | null,
        verticalAlign?: string | null
      } | null,
      width?: string | null
    }[] | null,
    id?: string | null,
    styleProperties?: {
      alignment?: string | null,
      backgroundColor?: string | null,
      backgroundImageID?: string | null,
      backgroundPosition?: string | null,
      backgroundRepeat?: string | null,
      backgroundSize?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      dividerColor?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      innerPadding?: string | null,
      innerPaddingBottom?: string | null,
      innerPaddingLeft?: string | null,
      innerPaddingRight?: string | null,
      innerPaddingTop?: string | null,
      isBackgroundPaddingsExcluded?: boolean | null,
      letterSpacing?: string | null,
      lineHeight?: string | null,
      linkColor?: string | null,
      padding?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      priceColor?: string | null,
      secondaryColor?: string | null,
      textBackgroundColor?: string | null,
      textDecoration?: string | null,
      verticalAlign?: string | null
    } | null
  }[] | null | null,
  settings?: {
    backgroundType?: string | null,
    customFonts?: {
      id?: string | null
    }[] | null,
    dynamicList?: {
      columnCount?: number | null,
      layout?: string | null,
      listPath?: string | null,
      repetitionCount?: number | null
    } | null,
    excludeProducts?: string[] | null,
    filter?: {
      operator?: string | null,
      rules?: {
        operator?: string | null,
        property?: {
          id?: string | null,
          isSystem?: boolean | null,
          name?: string | null,
          type?: string | null
        } | null,
        value?: string | null
      }[] | null
    } | null,
    isColumnStackDisabled?: boolean | null,
    isOutOfStockHidden?: boolean | null,
    isProductImagesFitted?: boolean | null,
    sideBySideProductLayout?: string | null,
    universalLayoutID?: string | null
  } | null,
  styleProperties?: {
    alignment?: string | null,
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundPosition?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null,
    border?: string | null,
    borderRadius?: string | null,
    color?: string | null,
    dividerColor?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    fontStyle?: string | null,
    fontWeight?: string | null,
    innerPadding?: string | null,
    innerPaddingBottom?: string | null,
    innerPaddingLeft?: string | null,
    innerPaddingRight?: string | null,
    innerPaddingTop?: string | null,
    isBackgroundPaddingsExcluded?: boolean | null,
    letterSpacing?: string | null,
    lineHeight?: string | null,
    linkColor?: string | null,
    padding?: string | null,
    paddingBottom?: string | null,
    paddingLeft?: string | null,
    paddingRight?: string | null,
    paddingTop?: string | null,
    priceColor?: string | null,
    secondaryColor?: string | null,
    textBackgroundColor?: string | null,
    textDecoration?: string | null,
    verticalAlign?: string | null
  } | null,
  type?: string | null,
  visibility?: {
    isDesktopVisible?: boolean | null,
    isMobileVisible?: boolean | null
  } | null
} | null
```

***

### list

`universalLayouts.list`

Get universal layouts. With this endpoint you can get a paginated list of universal layouts. Sorting: Items are returned in descending order by creation time (newest first). This is based on the internal document ID which contains a timestamp.

**Risk:** `read`

```ts theme={null}
await corsair.omnisend.api.universalLayouts.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Number of items per page (1-250, default 100) |
| `after` | `string` | No | Cursor for next page (base64-encoded, from previous response) |
| `before` | `string` | No | Cursor for previous page (base64-encoded, from previous response) |
| `nameContains` | `string` | No | Filter layouts by name (case-insensitive partial match, max 200 characters) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `paging` | `object \| null` | No | Pagination information |
| `universalLayouts` | `object[] \| null` | No | List of universal layouts |

```ts theme={null}
{
  cursors?: {
    after?: string | null | null,
    before?: string | null | null
  } | null,
  hasMore?: boolean | null,
  limit?: number | null
} | null
```

```ts theme={null}
{
  content?: {
    id?: string | null,
    productRecommender?: {
      excludeCategories?: string[] | null,
      excludeProducts?: string[] | null,
      fallbackType?: string | null,
      includeCategories?: string[] | null,
      isOutOfStockIncluded?: boolean | null,
      priceFrom?: number | null,
      purchaseExclusionDays?: number | null,
      recencyMonths?: number | null,
      type?: string | null
    } | null,
    rows?: {
      columns?: {
        blocks?: {
          button?: {
            isFullWidth?: boolean | null,
            link?: string | null,
            text?: string | null,
            translationKey?: string | null
          } | null,
          components?: {
            button?: {
              isFullWidth?: boolean | null,
              link?: string | null,
              text?: string | null,
              translationKey?: string | null
            } | null,
            components?: {
              button?: {
                isFullWidth?: boolean | null,
                link?: string | null,
                text?: string | null,
                translationKey?: string | null
              } | null,
              components?: (recursive)[] | null,
              html?: string | null,
              id?: string | null,
              image?: {
                altSource?: string | null,
                altText?: string | null,
                height?: number | null,
                id?: string | null,
                isDynamic?: boolean | null,
                isExternalSource?: boolean | null,
                link?: string | null,
                maxHeight?: number | null,
                maxHeightPercentage?: number | null,
                name?: string | null,
                resizeHeight?: number | null,
                resizeWidth?: number | null,
                size?: number | null,
                source?: string | null,
                state?: string | null,
                type?: string | null,
                width?: number | null
              } | null,
              role?: string | null,
              stylePresetID?: string | null,
              styleProperties?: {
                alignment?: string | null,
                backgroundColor?: string | null,
                backgroundImageID?: string | null,
                backgroundPosition?: string | null,
                backgroundRepeat?: string | null,
                backgroundSize?: string | null,
                border?: string | null,
                borderRadius?: string | null,
                color?: string | null,
                dividerColor?: string | null,
                fontFamily?: string | null,
                fontSize?: string | null,
                fontStyle?: string | null,
                fontWeight?: string | null,
                innerPadding?: string | null,
                innerPaddingBottom?: string | null,
                innerPaddingLeft?: string | null,
                innerPaddingRight?: string | null,
                innerPaddingTop?: string | null,
                isBackgroundPaddingsExcluded?: boolean | null,
                letterSpacing?: string | null,
                lineHeight?: string | null,
                linkColor?: string | null,
                padding?: string | null,
                paddingBottom?: string | null,
                paddingLeft?: string | null,
                paddingRight?: string | null,
                paddingTop?: string | null,
                priceColor?: string | null,
                secondaryColor?: string | null,
                textBackgroundColor?: string | null,
                textDecoration?: string | null,
                verticalAlign?: string | null
              } | null,
              text?: string | null,
              type?: string | null
            }[] | null,
            html?: string | null,
            id?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            role?: string | null,
            stylePresetID?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              backgroundImageID?: string | null,
              backgroundPosition?: string | null,
              backgroundRepeat?: string | null,
              backgroundSize?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              fontStyle?: string | null,
              fontWeight?: string | null,
              innerPadding?: string | null,
              innerPaddingBottom?: string | null,
              innerPaddingLeft?: string | null,
              innerPaddingRight?: string | null,
              innerPaddingTop?: string | null,
              isBackgroundPaddingsExcluded?: boolean | null,
              letterSpacing?: string | null,
              lineHeight?: string | null,
              linkColor?: string | null,
              padding?: string | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              priceColor?: string | null,
              secondaryColor?: string | null,
              textBackgroundColor?: string | null,
              textDecoration?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null
          }[] | null,
          countdown?: {
            alt?: string | null,
            link?: string | null,
            src?: string | null,
            timerID?: string | null
          } | null,
          discount?: {
            appliesToCustomCollectionID?: number | null,
            appliesToID?: number | null,
            appliesToResource?: string | null,
            appliesToSmartCollectionID?: number | null,
            code?: string | null,
            combinesWith?: {
              isOrderDiscountsCombined?: boolean | null,
              isProductDiscountsCombined?: boolean | null,
              isShippingDiscountsCombined?: boolean | null
            } | null,
            discountConditions?: string | null,
            discountType?: string | null,
            endsIn?: string | null,
            isAppliedOncePerCustomer?: boolean | null,
            isButtonHidden?: boolean | null,
            isDiscountApplied?: boolean | null,
            isItemsOnSaleExcluded?: boolean | null,
            link?: string | null,
            minimumOrderAmount?: string | null,
            offerText?: string | null,
            title?: string | null,
            usageLimit?: string | null,
            validUntil?: string | null,
            validUntilFormat?: string | null,
            validUntilFormatted?: string | null,
            valueFixed?: string | null,
            valuePercentage?: string | null
          } | null,
          dynamicDiscount?: {
            appliesToCustomCollectionID?: number | null,
            appliesToID?: number | null,
            appliesToResource?: string | null,
            appliesToSmartCollectionID?: number | null,
            code?: string | null,
            combinesWith?: {
              isOrderDiscountsCombined?: boolean | null,
              isProductDiscountsCombined?: boolean | null,
              isShippingDiscountsCombined?: boolean | null
            } | null,
            discountConditions?: string | null,
            discountType?: string | null,
            endsIn?: string | null,
            isAppliedOncePerCustomer?: boolean | null,
            isButtonHidden?: boolean | null,
            isDiscountApplied?: boolean | null,
            isItemsOnSaleExcluded?: boolean | null,
            link?: string | null,
            minimumOrderAmount?: string | null,
            offerText?: string | null,
            title?: string | null,
            usageLimit?: string | null,
            validUntil?: string | null,
            validUntilFormat?: string | null,
            validUntilFormatted?: string | null,
            valueFixed?: string | null,
            valuePercentage?: string | null
          } | null,
          html?: string | null,
          htmlCode?: {
            body?: string | null,
            style?: string | null
          } | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          lineSpace?: {
            height?: number | null,
            type?: string | null,
            width?: number | null
          } | null,
          logo?: {
            link?: string | null,
            resizeWidth?: number | null
          } | null,
          orderAddresses?: {
            billing?: {
              address1?: string | null,
              address2?: string | null,
              city?: string | null,
              company?: string | null,
              country?: string | null,
              countryCode?: string | null,
              firstName?: string | null,
              lastName?: string | null,
              phone?: string | null,
              state?: string | null,
              stateCode?: string | null,
              zip?: string | null
            } | null,
            hiddenFields?: {
              billing?: {
                isAddress1Hidden?: boolean | null,
                isAddress2Hidden?: boolean | null,
                isCityHidden?: boolean | null,
                isCompanyHidden?: boolean | null,
                isCountryHidden?: boolean | null,
                isNameSurnameHidden?: boolean | null,
                isPhoneHidden?: boolean | null,
                isStateHidden?: boolean | null,
                isZipCodeHidden?: boolean | null
              } | null,
              isTitleHidden?: boolean | null,
              shipping?: {
                isAddress1Hidden?: boolean | null,
                isAddress2Hidden?: boolean | null,
                isCityHidden?: boolean | null,
                isCompanyHidden?: boolean | null,
                isCountryHidden?: boolean | null,
                isNameSurnameHidden?: boolean | null,
                isPhoneHidden?: boolean | null,
                isStateHidden?: boolean | null,
                isZipCodeHidden?: boolean | null
              } | null
            } | null,
            shipping?: {
              address1?: string | null,
              address2?: string | null,
              city?: string | null,
              company?: string | null,
              country?: string | null,
              countryCode?: string | null,
              firstName?: string | null,
              lastName?: string | null,
              phone?: string | null,
              state?: string | null,
              stateCode?: string | null,
              zip?: string | null
            } | null,
            shippingMethods?: {
              price?: string | null,
              title?: string | null
            }[] | null,
            title?: string | null,
            transactions?: {
              payment?: string | null
            }[] | null
          } | null,
          orderProducts?: {
            hiddenFields?: {
              isDiscountAmountHidden?: boolean | null,
              isImageHidden?: boolean | null,
              isPriceHidden?: boolean | null,
              isPriceWithDiscountHidden?: boolean | null,
              isProductIDHidden?: boolean | null,
              isQuantityHidden?: boolean | null,
              isSkuHidden?: boolean | null,
              isTitleHidden?: boolean | null,
              isVariantHidden?: boolean | null,
              isVendorHidden?: boolean | null,
              isWeightHidden?: boolean | null
            } | null,
            products?: {
              currency?: string | null,
              discountAmount?: string | null,
              image?: {
                altSource?: string | null,
                altText?: string | null,
                height?: number | null,
                id?: string | null,
                isDynamic?: boolean | null,
                isExternalSource?: boolean | null,
                link?: string | null,
                maxHeight?: number | null,
                maxHeightPercentage?: number | null,
                name?: string | null,
                resizeHeight?: number | null,
                resizeWidth?: number | null,
                size?: number | null,
                source?: string | null,
                state?: string | null,
                type?: string | null,
                width?: number | null
              } | null,
              price?: string | null,
              priceWithDiscount?: string | null,
              productID?: string | null,
              productUrl?: string | null,
              quantity?: number | null,
              sku?: string | null,
              title?: string | null,
              variant?: string | null,
              vendor?: string | null,
              weight?: number | null
            }[] | null
          } | null,
          orderSummary?: {
            date?: string | null,
            dateFormat?: string | null,
            hiddenFields?: {
              isDateHidden?: boolean | null,
              isOrderIDHidden?: boolean | null,
              isTitleHidden?: boolean | null
            } | null,
            orderID?: string | null,
            title?: string | null
          } | null,
          orderTotal?: {
            currency?: string | null,
            discountTotal?: string | null,
            discounts?: {
              amount?: string | null,
              code?: string | null,
              type?: string | null
            }[] | null,
            hiddenFields?: {
              isDiscountTotalHidden?: boolean | null,
              isOrderTotalHidden?: boolean | null,
              isShippingPriceHidden?: boolean | null,
              isSubTotalHidden?: boolean | null,
              isTaxTotalHidden?: boolean | null
            } | null,
            isSubTotalTaxIncluded?: boolean | null,
            orderTotal?: string | null,
            shippingPrice?: string | null,
            subTotal?: string | null,
            taxTotal?: string | null,
            taxes?: {
              price?: string | null,
              rate?: string | null,
              title?: string | null
            }[] | null
          } | null,
          preheader?: {
            linkText?: string | null,
            text?: string | null
          } | null,
          product?: {
            buttonText?: string | null,
            description?: string | null,
            id?: string | null,
            imageID?: string | null,
            imageUrl?: string | null,
            link?: string | null,
            oldPrice?: string | null,
            originalTitle?: string | null,
            price?: string | null,
            productID?: string | null,
            title?: string | null
          } | null,
          role?: string | null,
          secondaryStylePresetID?: string | null,
          social?: {
            icons?: {
              link?: string | null,
              source?: string | null,
              type?: string | null
            }[] | null,
            shape?: string | null,
            size?: string | null
          } | null,
          staticDiscount?: {
            appliesToCustomCollectionID?: number | null,
            appliesToID?: number | null,
            appliesToResource?: string | null,
            appliesToSmartCollectionID?: number | null,
            code?: string | null,
            combinesWith?: {
              isOrderDiscountsCombined?: boolean | null,
              isProductDiscountsCombined?: boolean | null,
              isShippingDiscountsCombined?: boolean | null
            } | null,
            discountConditions?: string | null,
            discountType?: string | null,
            endsIn?: string | null,
            isAppliedOncePerCustomer?: boolean | null,
            isButtonHidden?: boolean | null,
            isDiscountApplied?: boolean | null,
            isItemsOnSaleExcluded?: boolean | null,
            link?: string | null,
            minimumOrderAmount?: string | null,
            offerText?: string | null,
            title?: string | null,
            usageLimit?: string | null,
            validUntil?: string | null,
            validUntilFormat?: string | null,
            validUntilFormatted?: string | null,
            valueFixed?: string | null,
            valuePercentage?: string | null
          } | null,
          stylePresetID?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            backgroundImageID?: string | null,
            backgroundPosition?: string | null,
            backgroundRepeat?: string | null,
            backgroundSize?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            fontStyle?: string | null,
            fontWeight?: string | null,
            innerPadding?: string | null,
            innerPaddingBottom?: string | null,
            innerPaddingLeft?: string | null,
            innerPaddingRight?: string | null,
            innerPaddingTop?: string | null,
            isBackgroundPaddingsExcluded?: boolean | null,
            letterSpacing?: string | null,
            lineHeight?: string | null,
            linkColor?: string | null,
            padding?: string | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            priceColor?: string | null,
            secondaryColor?: string | null,
            textBackgroundColor?: string | null,
            textDecoration?: string | null,
            verticalAlign?: string | null
          } | null,
          text?: string | null,
          type?: string | null,
          video?: {
            altText?: string | null,
            id?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            link?: string | null
          } | null
        }[] | null,
        id?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          backgroundImageID?: string | null,
          backgroundPosition?: string | null,
          backgroundRepeat?: string | null,
          backgroundSize?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          fontStyle?: string | null,
          fontWeight?: string | null,
          innerPadding?: string | null,
          innerPaddingBottom?: string | null,
          innerPaddingLeft?: string | null,
          innerPaddingRight?: string | null,
          innerPaddingTop?: string | null,
          isBackgroundPaddingsExcluded?: boolean | null,
          letterSpacing?: string | null,
          lineHeight?: string | null,
          linkColor?: string | null,
          padding?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          priceColor?: string | null,
          secondaryColor?: string | null,
          textBackgroundColor?: string | null,
          textDecoration?: string | null,
          verticalAlign?: string | null
        } | null,
        width?: string | null
      }[] | null,
      id?: string | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        backgroundImageID?: string | null,
        backgroundPosition?: string | null,
        backgroundRepeat?: string | null,
        backgroundSize?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        innerPadding?: string | null,
        innerPaddingBottom?: string | null,
        innerPaddingLeft?: string | null,
        innerPaddingRight?: string | null,
        innerPaddingTop?: string | null,
        isBackgroundPaddingsExcluded?: boolean | null,
        letterSpacing?: string | null,
        lineHeight?: string | null,
        linkColor?: string | null,
        padding?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        priceColor?: string | null,
        secondaryColor?: string | null,
        textBackgroundColor?: string | null,
        textDecoration?: string | null,
        verticalAlign?: string | null
      } | null
    }[] | null | null,
    settings?: {
      backgroundType?: string | null,
      customFonts?: {
        id?: string | null
      }[] | null,
      dynamicList?: {
        columnCount?: number | null,
        layout?: string | null,
        listPath?: string | null,
        repetitionCount?: number | null
      } | null,
      excludeProducts?: string[] | null,
      filter?: {
        operator?: string | null,
        rules?: {
          operator?: string | null,
          property?: {
            id?: string | null,
            isSystem?: boolean | null,
            name?: string | null,
            type?: string | null
          } | null,
          value?: string | null
        }[] | null
      } | null,
      isColumnStackDisabled?: boolean | null,
      isOutOfStockHidden?: boolean | null,
      isProductImagesFitted?: boolean | null,
      sideBySideProductLayout?: string | null,
      universalLayoutID?: string | null
    } | null,
    styleProperties?: {
      alignment?: string | null,
      backgroundColor?: string | null,
      backgroundImageID?: string | null,
      backgroundPosition?: string | null,
      backgroundRepeat?: string | null,
      backgroundSize?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      dividerColor?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      innerPadding?: string | null,
      innerPaddingBottom?: string | null,
      innerPaddingLeft?: string | null,
      innerPaddingRight?: string | null,
      innerPaddingTop?: string | null,
      isBackgroundPaddingsExcluded?: boolean | null,
      letterSpacing?: string | null,
      lineHeight?: string | null,
      linkColor?: string | null,
      padding?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      priceColor?: string | null,
      secondaryColor?: string | null,
      textBackgroundColor?: string | null,
      textDecoration?: string | null,
      verticalAlign?: string | null
    } | null,
    type?: string | null,
    visibility?: {
      isDesktopVisible?: boolean | null,
      isMobileVisible?: boolean | null
    } | null
  } | null,
  createdAt?: string | null,
  id?: string | null,
  name?: string | null,
  snapshotState?: string | null,
  snapshotUrl?: string | null,
  updatedAt?: string | null
}[] | null
```

***

### replace

`universalLayouts.replace`

Update universal layout. With this endpoint you can update (fully replace) a universal layout by ID. content is one section: rows (columns of blocks) and styleProperties.

**Risk:** `write`

```ts theme={null}
await corsair.omnisend.api.universalLayouts.replace({
	id: '6650a1b2c3d4e5f6a7b8c9d0',
	name: 'Spring sale',
	content: {
		rows: [{}],
		styleProperties: {},
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Universal Layout ID (24 character hexadecimal) |
| `content` | `object` | Yes | Universal layout content - the section structure |
| `name` | `string` | Yes | Universal layout name |

```ts theme={null}
{
  id?: string,
  productRecommender?: {
    excludeCategories?: string[],
    excludeProducts?: string[],
    fallbackType?: string,
    includeCategories?: string[],
    isOutOfStockIncluded?: boolean,
    priceFrom?: number,
    purchaseExclusionDays?: number,
    recencyMonths?: number,
    type?: string
  },
  rows: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean,
          link?: string,
          text?: string,
          translationKey?: string
        },
        components?: {
          button?: {
            isFullWidth?: boolean,
            link?: string,
            text?: string,
            translationKey?: string
          },
          components?: {
            button?: {
              isFullWidth?: boolean,
              link?: string,
              text?: string,
              translationKey?: string
            },
            components?: (recursive)[],
            id?: string,
            image?: {
              altSource?: string,
              altText?: string,
              height?: number,
              id?: string,
              isDynamic?: boolean,
              isExternalSource?: boolean,
              link?: string,
              maxHeight?: number,
              maxHeightPercentage?: number,
              name?: string,
              resizeHeight?: number,
              resizeWidth?: number,
              size?: number,
              source?: string,
              state?: string,
              type?: string,
              width?: number
            },
            role?: discount_code | discount_button | discount_expiration_date | menu_text | product_image | product_title | product_description | product_prices | product_button | product_current_price | product_old_price,
            stylePresetID?: string,
            styleProperties?: {
              alignment?: string,
              backgroundColor?: string,
              backgroundImageID?: string,
              backgroundPosition?: string,
              backgroundRepeat?: string,
              backgroundSize?: string,
              border?: string,
              borderRadius?: string,
              color?: string,
              dividerColor?: string,
              fontFamily?: string,
              fontSize?: string,
              fontStyle?: string,
              fontWeight?: string,
              innerPadding?: string,
              innerPaddingBottom?: string,
              innerPaddingLeft?: string,
              innerPaddingRight?: string,
              innerPaddingTop?: string,
              isBackgroundPaddingsExcluded?: boolean,
              letterSpacing?: string,
              lineHeight?: string,
              linkColor?: string,
              padding?: string,
              paddingBottom?: string,
              paddingLeft?: string,
              paddingRight?: string,
              paddingTop?: string,
              priceColor?: string,
              secondaryColor?: string,
              textBackgroundColor?: string,
              textDecoration?: string,
              verticalAlign?: string
            },
            text?: string,
            type?: text | button | image | price
          }[],
          id?: string,
          image?: {
            altSource?: string,
            altText?: string,
            height?: number,
            id?: string,
            isDynamic?: boolean,
            isExternalSource?: boolean,
            link?: string,
            maxHeight?: number,
            maxHeightPercentage?: number,
            name?: string,
            resizeHeight?: number,
            resizeWidth?: number,
            size?: number,
            source?: string,
            state?: string,
            type?: string,
            width?: number
          },
          role?: discount_code | discount_button | discount_expiration_date | menu_text | product_image | product_title | product_description | product_prices | product_button | product_current_price | product_old_price,
          stylePresetID?: string,
          styleProperties?: {
            alignment?: string,
            backgroundColor?: string,
            backgroundImageID?: string,
            backgroundPosition?: string,
            backgroundRepeat?: string,
            backgroundSize?: string,
            border?: string,
            borderRadius?: string,
            color?: string,
            dividerColor?: string,
            fontFamily?: string,
            fontSize?: string,
            fontStyle?: string,
            fontWeight?: string,
            innerPadding?: string,
            innerPaddingBottom?: string,
            innerPaddingLeft?: string,
            innerPaddingRight?: string,
            innerPaddingTop?: string,
            isBackgroundPaddingsExcluded?: boolean,
            letterSpacing?: string,
            lineHeight?: string,
            linkColor?: string,
            padding?: string,
            paddingBottom?: string,
            paddingLeft?: string,
            paddingRight?: string,
            paddingTop?: string,
            priceColor?: string,
            secondaryColor?: string,
            textBackgroundColor?: string,
            textDecoration?: string,
            verticalAlign?: string
          },
          text?: string,
          type?: text | button | image | price
        }[],
        countdown?: {
          alt?: string,
          link?: string,
          timerID: string
        },
        discount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        htmlCode?: {
          body?: string,
          style?: string
        },
        id?: string,
        image?: {
          altSource?: string,
          altText?: string,
          height?: number,
          id?: string,
          isDynamic?: boolean,
          isExternalSource?: boolean,
          link?: string,
          maxHeight?: number,
          maxHeightPercentage?: number,
          name?: string,
          resizeHeight?: number,
          resizeWidth?: number,
          size?: number,
          source?: string,
          state?: string,
          type?: string,
          width?: number
        },
        lineSpace?: {
          height?: number,
          type?: string,
          width?: number
        },
        logo?: {
          link?: string,
          resizeWidth?: number
        },
        orderAddresses?: {
          billing?: {
            address1?: string,
            address2?: string,
            city?: string,
            company?: string,
            country?: string,
            countryCode?: string,
            firstName?: string,
            lastName?: string,
            phone?: string,
            state?: string,
            stateCode?: string,
            zip?: string
          },
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean,
              isAddress2Hidden?: boolean,
              isCityHidden?: boolean,
              isCompanyHidden?: boolean,
              isCountryHidden?: boolean,
              isNameSurnameHidden?: boolean,
              isPhoneHidden?: boolean,
              isStateHidden?: boolean,
              isZipCodeHidden?: boolean
            },
            isTitleHidden?: boolean,
            shipping?: {
              isAddress1Hidden?: boolean,
              isAddress2Hidden?: boolean,
              isCityHidden?: boolean,
              isCompanyHidden?: boolean,
              isCountryHidden?: boolean,
              isNameSurnameHidden?: boolean,
              isPhoneHidden?: boolean,
              isStateHidden?: boolean,
              isZipCodeHidden?: boolean
            }
          },
          shipping?: {
            address1?: string,
            address2?: string,
            city?: string,
            company?: string,
            country?: string,
            countryCode?: string,
            firstName?: string,
            lastName?: string,
            phone?: string,
            state?: string,
            stateCode?: string,
            zip?: string
          },
          shippingMethods?: {
            price?: string,
            title?: string
          }[],
          title?: string,
          transactions?: {
            payment?: string
          }[]
        },
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean,
            isImageHidden?: boolean,
            isPriceHidden?: boolean,
            isPriceWithDiscountHidden?: boolean,
            isProductIDHidden?: boolean,
            isQuantityHidden?: boolean,
            isSkuHidden?: boolean,
            isTitleHidden?: boolean,
            isVariantHidden?: boolean,
            isVendorHidden?: boolean,
            isWeightHidden?: boolean
          },
          products?: {
            currency?: string,
            discountAmount?: string,
            image?: {
              altSource?: string,
              altText?: string,
              height?: number,
              id?: string,
              isDynamic?: boolean,
              isExternalSource?: boolean,
              link?: string,
              maxHeight?: number,
              maxHeightPercentage?: number,
              name?: string,
              resizeHeight?: number,
              resizeWidth?: number,
              size?: number,
              source?: string,
              state?: string,
              type?: string,
              width?: number
            },
            price?: string,
            priceWithDiscount?: string,
            productID?: string,
            productUrl?: string,
            quantity?: number,
            sku?: string,
            title?: string,
            variant?: string,
            vendor?: string,
            weight?: number
          }[]
        },
        orderSummary?: {
          date?: string,
          dateFormat?: string,
          hiddenFields?: {
            isDateHidden?: boolean,
            isOrderIDHidden?: boolean,
            isTitleHidden?: boolean
          },
          orderID?: string,
          title?: string
        },
        orderTotal?: {
          currency?: string,
          discountTotal?: string,
          discounts?: {
            amount?: string,
            code?: string,
            type?: string
          }[],
          hiddenFields?: {
            isDiscountTotalHidden?: boolean,
            isOrderTotalHidden?: boolean,
            isShippingPriceHidden?: boolean,
            isSubTotalHidden?: boolean,
            isTaxTotalHidden?: boolean
          },
          isSubTotalTaxIncluded?: boolean,
          orderTotal?: string,
          shippingPrice?: string,
          subTotal?: string,
          taxTotal?: string,
          taxes?: {
            price?: string,
            rate?: string,
            title?: string
          }[]
        },
        preheader?: {
          linkText?: string,
          text?: string
        },
        product?: {
          buttonText?: string,
          description?: string,
          id?: string,
          imageID?: string,
          imageUrl?: string,
          link?: string,
          oldPrice?: string,
          originalTitle?: string,
          price?: string,
          productID?: string,
          title?: string
        },
        role?: product_image | product_title | product_description | product_prices | product_button | discount_code | discount_button | discount_expiration_date | product_current_price | product_old_price | menu_text,
        secondaryStylePresetID?: string,
        social?: {
          icons?: {
            link?: string,
            source?: string,
            type?: string
          }[],
          shape?: string,
          size?: string
        },
        staticDiscount?: {
          appliesToCustomCollectionID?: number,
          appliesToID?: number,
          appliesToResource?: string,
          appliesToSmartCollectionID?: number,
          code?: string,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean,
            isProductDiscountsCombined?: boolean,
            isShippingDiscountsCombined?: boolean
          },
          discountConditions?: string,
          discountType?: percentage | fixed_amount | shipping,
          endsIn?: string,
          isAppliedOncePerCustomer?: boolean,
          isButtonHidden?: boolean,
          isDiscountApplied?: boolean,
          isItemsOnSaleExcluded?: boolean,
          link?: string,
          minimumOrderAmount?: string,
          offerText?: string,
          title?: string,
          usageLimit?: string,
          validUntil?: string,
          validUntilFormat?: string,
          validUntilFormatted?: string,
          valueFixed?: string,
          valuePercentage?: string
        },
        stylePresetID?: string,
        styleProperties?: {
          alignment?: string,
          backgroundColor?: string,
          backgroundImageID?: string,
          backgroundPosition?: string,
          backgroundRepeat?: string,
          backgroundSize?: string,
          border?: string,
          borderRadius?: string,
          color?: string,
          dividerColor?: string,
          fontFamily?: string,
          fontSize?: string,
          fontStyle?: string,
          fontWeight?: string,
          innerPadding?: string,
          innerPaddingBottom?: string,
          innerPaddingLeft?: string,
          innerPaddingRight?: string,
          innerPaddingTop?: string,
          isBackgroundPaddingsExcluded?: boolean,
          letterSpacing?: string,
          lineHeight?: string,
          linkColor?: string,
          padding?: string,
          paddingBottom?: string,
          paddingLeft?: string,
          paddingRight?: string,
          paddingTop?: string,
          priceColor?: string,
          secondaryColor?: string,
          textBackgroundColor?: string,
          textDecoration?: string,
          verticalAlign?: string
        },
        text?: string,
        type?: html | htmlCode | text | image | video | logo | menu | social | button | product | discount | staticDiscount | dynamicDiscount | orderSummary | orderProducts | orderTotal | orderAddresses | lineSpace | preheader | price | countdown,
        video?: {
          altText?: string,
          id?: string,
          image?: {
            altSource?: string,
            altText?: string,
            height?: number,
            id?: string,
            isDynamic?: boolean,
            isExternalSource?: boolean,
            link?: string,
            maxHeight?: number,
            maxHeightPercentage?: number,
            name?: string,
            resizeHeight?: number,
            resizeWidth?: number,
            size?: number,
            source?: string,
            state?: string,
            type?: string,
            width?: number
          },
          link?: string
        }
      }[],
      id?: string,
      styleProperties?: {
        alignment?: string,
        backgroundColor?: string,
        backgroundImageID?: string,
        backgroundPosition?: string,
        backgroundRepeat?: string,
        backgroundSize?: string,
        border?: string,
        borderRadius?: string,
        color?: string,
        dividerColor?: string,
        fontFamily?: string,
        fontSize?: string,
        fontStyle?: string,
        fontWeight?: string,
        innerPadding?: string,
        innerPaddingBottom?: string,
        innerPaddingLeft?: string,
        innerPaddingRight?: string,
        innerPaddingTop?: string,
        isBackgroundPaddingsExcluded?: boolean,
        letterSpacing?: string,
        lineHeight?: string,
        linkColor?: string,
        padding?: string,
        paddingBottom?: string,
        paddingLeft?: string,
        paddingRight?: string,
        paddingTop?: string,
        priceColor?: string,
        secondaryColor?: string,
        textBackgroundColor?: string,
        textDecoration?: string,
        verticalAlign?: string
      },
      width?: string
    }[],
    id?: string,
    styleProperties?: {
      alignment?: string,
      backgroundColor?: string,
      backgroundImageID?: string,
      backgroundPosition?: string,
      backgroundRepeat?: string,
      backgroundSize?: string,
      border?: string,
      borderRadius?: string,
      color?: string,
      dividerColor?: string,
      fontFamily?: string,
      fontSize?: string,
      fontStyle?: string,
      fontWeight?: string,
      innerPadding?: string,
      innerPaddingBottom?: string,
      innerPaddingLeft?: string,
      innerPaddingRight?: string,
      innerPaddingTop?: string,
      isBackgroundPaddingsExcluded?: boolean,
      letterSpacing?: string,
      lineHeight?: string,
      linkColor?: string,
      padding?: string,
      paddingBottom?: string,
      paddingLeft?: string,
      paddingRight?: string,
      paddingTop?: string,
      priceColor?: string,
      secondaryColor?: string,
      textBackgroundColor?: string,
      textDecoration?: string,
      verticalAlign?: string
    }
  }[] | null,
  settings?: {
    backgroundType?: string,
    customFonts?: {
      id?: string
    }[],
    dynamicList?: {
      columnCount?: number,
      layout?: string,
      listPath?: string,
      repetitionCount?: number
    },
    excludeProducts?: string[],
    filter?: {
      operator?: string,
      rules?: {
        operator?: string,
        property?: {
          id?: string,
          isSystem?: boolean,
          name?: string,
          type?: string
        },
        value?: string
      }[]
    },
    isColumnStackDisabled?: boolean,
    isOutOfStockHidden?: boolean,
    isProductImagesFitted?: boolean,
    sideBySideProductLayout?: string,
    universalLayoutID?: string
  },
  styleProperties: {
    alignment?: string,
    backgroundColor?: string,
    backgroundImageID?: string,
    backgroundPosition?: string,
    backgroundRepeat?: string,
    backgroundSize?: string,
    border?: string,
    borderRadius?: string,
    color?: string,
    dividerColor?: string,
    fontFamily?: string,
    fontSize?: string,
    fontStyle?: string,
    fontWeight?: string,
    innerPadding?: string,
    innerPaddingBottom?: string,
    innerPaddingLeft?: string,
    innerPaddingRight?: string,
    innerPaddingTop?: string,
    isBackgroundPaddingsExcluded?: boolean,
    letterSpacing?: string,
    lineHeight?: string,
    linkColor?: string,
    padding?: string,
    paddingBottom?: string,
    paddingLeft?: string,
    paddingRight?: string,
    paddingTop?: string,
    priceColor?: string,
    secondaryColor?: string,
    textBackgroundColor?: string,
    textDecoration?: string,
    verticalAlign?: string
  },
  type?: products_listing | product_recommender | product_cart_recovery | product_back_in_stock | badge | preheader | dynamic_list | universal_layout | "",
  visibility?: {
    isDesktopVisible?: boolean,
    isMobileVisible?: boolean
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `content` | `object \| null` | No | Universal layout content - the section structure |
| `createdAt` | `string \| null` | No | Universal layout created at (read-only) |
| `id` | `string \| null` | No | Universal layout unique identifier (read-only) |
| `name` | `string \| null` | No | Universal layout name |
| `snapshotState` | `string \| null` | No | Universal layout snapshot state (read-only) |
| `snapshotUrl` | `string \| null` | No | Universal layout snapshot URL (read-only) |
| `updatedAt` | `string \| null` | No | Universal layout updated at (read-only) |

```ts theme={null}
{
  id?: string | null,
  productRecommender?: {
    excludeCategories?: string[] | null,
    excludeProducts?: string[] | null,
    fallbackType?: string | null,
    includeCategories?: string[] | null,
    isOutOfStockIncluded?: boolean | null,
    priceFrom?: number | null,
    purchaseExclusionDays?: number | null,
    recencyMonths?: number | null,
    type?: string | null
  } | null,
  rows?: {
    columns?: {
      blocks?: {
        button?: {
          isFullWidth?: boolean | null,
          link?: string | null,
          text?: string | null,
          translationKey?: string | null
        } | null,
        components?: {
          button?: {
            isFullWidth?: boolean | null,
            link?: string | null,
            text?: string | null,
            translationKey?: string | null
          } | null,
          components?: {
            button?: {
              isFullWidth?: boolean | null,
              link?: string | null,
              text?: string | null,
              translationKey?: string | null
            } | null,
            components?: (recursive)[] | null,
            html?: string | null,
            id?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            role?: string | null,
            stylePresetID?: string | null,
            styleProperties?: {
              alignment?: string | null,
              backgroundColor?: string | null,
              backgroundImageID?: string | null,
              backgroundPosition?: string | null,
              backgroundRepeat?: string | null,
              backgroundSize?: string | null,
              border?: string | null,
              borderRadius?: string | null,
              color?: string | null,
              dividerColor?: string | null,
              fontFamily?: string | null,
              fontSize?: string | null,
              fontStyle?: string | null,
              fontWeight?: string | null,
              innerPadding?: string | null,
              innerPaddingBottom?: string | null,
              innerPaddingLeft?: string | null,
              innerPaddingRight?: string | null,
              innerPaddingTop?: string | null,
              isBackgroundPaddingsExcluded?: boolean | null,
              letterSpacing?: string | null,
              lineHeight?: string | null,
              linkColor?: string | null,
              padding?: string | null,
              paddingBottom?: string | null,
              paddingLeft?: string | null,
              paddingRight?: string | null,
              paddingTop?: string | null,
              priceColor?: string | null,
              secondaryColor?: string | null,
              textBackgroundColor?: string | null,
              textDecoration?: string | null,
              verticalAlign?: string | null
            } | null,
            text?: string | null,
            type?: string | null
          }[] | null,
          html?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          role?: string | null,
          stylePresetID?: string | null,
          styleProperties?: {
            alignment?: string | null,
            backgroundColor?: string | null,
            backgroundImageID?: string | null,
            backgroundPosition?: string | null,
            backgroundRepeat?: string | null,
            backgroundSize?: string | null,
            border?: string | null,
            borderRadius?: string | null,
            color?: string | null,
            dividerColor?: string | null,
            fontFamily?: string | null,
            fontSize?: string | null,
            fontStyle?: string | null,
            fontWeight?: string | null,
            innerPadding?: string | null,
            innerPaddingBottom?: string | null,
            innerPaddingLeft?: string | null,
            innerPaddingRight?: string | null,
            innerPaddingTop?: string | null,
            isBackgroundPaddingsExcluded?: boolean | null,
            letterSpacing?: string | null,
            lineHeight?: string | null,
            linkColor?: string | null,
            padding?: string | null,
            paddingBottom?: string | null,
            paddingLeft?: string | null,
            paddingRight?: string | null,
            paddingTop?: string | null,
            priceColor?: string | null,
            secondaryColor?: string | null,
            textBackgroundColor?: string | null,
            textDecoration?: string | null,
            verticalAlign?: string | null
          } | null,
          text?: string | null,
          type?: string | null
        }[] | null,
        countdown?: {
          alt?: string | null,
          link?: string | null,
          src?: string | null,
          timerID?: string | null
        } | null,
        discount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        dynamicDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        html?: string | null,
        htmlCode?: {
          body?: string | null,
          style?: string | null
        } | null,
        id?: string | null,
        image?: {
          altSource?: string | null,
          altText?: string | null,
          height?: number | null,
          id?: string | null,
          isDynamic?: boolean | null,
          isExternalSource?: boolean | null,
          link?: string | null,
          maxHeight?: number | null,
          maxHeightPercentage?: number | null,
          name?: string | null,
          resizeHeight?: number | null,
          resizeWidth?: number | null,
          size?: number | null,
          source?: string | null,
          state?: string | null,
          type?: string | null,
          width?: number | null
        } | null,
        lineSpace?: {
          height?: number | null,
          type?: string | null,
          width?: number | null
        } | null,
        logo?: {
          link?: string | null,
          resizeWidth?: number | null
        } | null,
        orderAddresses?: {
          billing?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          hiddenFields?: {
            billing?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null,
            isTitleHidden?: boolean | null,
            shipping?: {
              isAddress1Hidden?: boolean | null,
              isAddress2Hidden?: boolean | null,
              isCityHidden?: boolean | null,
              isCompanyHidden?: boolean | null,
              isCountryHidden?: boolean | null,
              isNameSurnameHidden?: boolean | null,
              isPhoneHidden?: boolean | null,
              isStateHidden?: boolean | null,
              isZipCodeHidden?: boolean | null
            } | null
          } | null,
          shipping?: {
            address1?: string | null,
            address2?: string | null,
            city?: string | null,
            company?: string | null,
            country?: string | null,
            countryCode?: string | null,
            firstName?: string | null,
            lastName?: string | null,
            phone?: string | null,
            state?: string | null,
            stateCode?: string | null,
            zip?: string | null
          } | null,
          shippingMethods?: {
            price?: string | null,
            title?: string | null
          }[] | null,
          title?: string | null,
          transactions?: {
            payment?: string | null
          }[] | null
        } | null,
        orderProducts?: {
          hiddenFields?: {
            isDiscountAmountHidden?: boolean | null,
            isImageHidden?: boolean | null,
            isPriceHidden?: boolean | null,
            isPriceWithDiscountHidden?: boolean | null,
            isProductIDHidden?: boolean | null,
            isQuantityHidden?: boolean | null,
            isSkuHidden?: boolean | null,
            isTitleHidden?: boolean | null,
            isVariantHidden?: boolean | null,
            isVendorHidden?: boolean | null,
            isWeightHidden?: boolean | null
          } | null,
          products?: {
            currency?: string | null,
            discountAmount?: string | null,
            image?: {
              altSource?: string | null,
              altText?: string | null,
              height?: number | null,
              id?: string | null,
              isDynamic?: boolean | null,
              isExternalSource?: boolean | null,
              link?: string | null,
              maxHeight?: number | null,
              maxHeightPercentage?: number | null,
              name?: string | null,
              resizeHeight?: number | null,
              resizeWidth?: number | null,
              size?: number | null,
              source?: string | null,
              state?: string | null,
              type?: string | null,
              width?: number | null
            } | null,
            price?: string | null,
            priceWithDiscount?: string | null,
            productID?: string | null,
            productUrl?: string | null,
            quantity?: number | null,
            sku?: string | null,
            title?: string | null,
            variant?: string | null,
            vendor?: string | null,
            weight?: number | null
          }[] | null
        } | null,
        orderSummary?: {
          date?: string | null,
          dateFormat?: string | null,
          hiddenFields?: {
            isDateHidden?: boolean | null,
            isOrderIDHidden?: boolean | null,
            isTitleHidden?: boolean | null
          } | null,
          orderID?: string | null,
          title?: string | null
        } | null,
        orderTotal?: {
          currency?: string | null,
          discountTotal?: string | null,
          discounts?: {
            amount?: string | null,
            code?: string | null,
            type?: string | null
          }[] | null,
          hiddenFields?: {
            isDiscountTotalHidden?: boolean | null,
            isOrderTotalHidden?: boolean | null,
            isShippingPriceHidden?: boolean | null,
            isSubTotalHidden?: boolean | null,
            isTaxTotalHidden?: boolean | null
          } | null,
          isSubTotalTaxIncluded?: boolean | null,
          orderTotal?: string | null,
          shippingPrice?: string | null,
          subTotal?: string | null,
          taxTotal?: string | null,
          taxes?: {
            price?: string | null,
            rate?: string | null,
            title?: string | null
          }[] | null
        } | null,
        preheader?: {
          linkText?: string | null,
          text?: string | null
        } | null,
        product?: {
          buttonText?: string | null,
          description?: string | null,
          id?: string | null,
          imageID?: string | null,
          imageUrl?: string | null,
          link?: string | null,
          oldPrice?: string | null,
          originalTitle?: string | null,
          price?: string | null,
          productID?: string | null,
          title?: string | null
        } | null,
        role?: string | null,
        secondaryStylePresetID?: string | null,
        social?: {
          icons?: {
            link?: string | null,
            source?: string | null,
            type?: string | null
          }[] | null,
          shape?: string | null,
          size?: string | null
        } | null,
        staticDiscount?: {
          appliesToCustomCollectionID?: number | null,
          appliesToID?: number | null,
          appliesToResource?: string | null,
          appliesToSmartCollectionID?: number | null,
          code?: string | null,
          combinesWith?: {
            isOrderDiscountsCombined?: boolean | null,
            isProductDiscountsCombined?: boolean | null,
            isShippingDiscountsCombined?: boolean | null
          } | null,
          discountConditions?: string | null,
          discountType?: string | null,
          endsIn?: string | null,
          isAppliedOncePerCustomer?: boolean | null,
          isButtonHidden?: boolean | null,
          isDiscountApplied?: boolean | null,
          isItemsOnSaleExcluded?: boolean | null,
          link?: string | null,
          minimumOrderAmount?: string | null,
          offerText?: string | null,
          title?: string | null,
          usageLimit?: string | null,
          validUntil?: string | null,
          validUntilFormat?: string | null,
          validUntilFormatted?: string | null,
          valueFixed?: string | null,
          valuePercentage?: string | null
        } | null,
        stylePresetID?: string | null,
        styleProperties?: {
          alignment?: string | null,
          backgroundColor?: string | null,
          backgroundImageID?: string | null,
          backgroundPosition?: string | null,
          backgroundRepeat?: string | null,
          backgroundSize?: string | null,
          border?: string | null,
          borderRadius?: string | null,
          color?: string | null,
          dividerColor?: string | null,
          fontFamily?: string | null,
          fontSize?: string | null,
          fontStyle?: string | null,
          fontWeight?: string | null,
          innerPadding?: string | null,
          innerPaddingBottom?: string | null,
          innerPaddingLeft?: string | null,
          innerPaddingRight?: string | null,
          innerPaddingTop?: string | null,
          isBackgroundPaddingsExcluded?: boolean | null,
          letterSpacing?: string | null,
          lineHeight?: string | null,
          linkColor?: string | null,
          padding?: string | null,
          paddingBottom?: string | null,
          paddingLeft?: string | null,
          paddingRight?: string | null,
          paddingTop?: string | null,
          priceColor?: string | null,
          secondaryColor?: string | null,
          textBackgroundColor?: string | null,
          textDecoration?: string | null,
          verticalAlign?: string | null
        } | null,
        text?: string | null,
        type?: string | null,
        video?: {
          altText?: string | null,
          id?: string | null,
          image?: {
            altSource?: string | null,
            altText?: string | null,
            height?: number | null,
            id?: string | null,
            isDynamic?: boolean | null,
            isExternalSource?: boolean | null,
            link?: string | null,
            maxHeight?: number | null,
            maxHeightPercentage?: number | null,
            name?: string | null,
            resizeHeight?: number | null,
            resizeWidth?: number | null,
            size?: number | null,
            source?: string | null,
            state?: string | null,
            type?: string | null,
            width?: number | null
          } | null,
          link?: string | null
        } | null
      }[] | null,
      id?: string | null,
      styleProperties?: {
        alignment?: string | null,
        backgroundColor?: string | null,
        backgroundImageID?: string | null,
        backgroundPosition?: string | null,
        backgroundRepeat?: string | null,
        backgroundSize?: string | null,
        border?: string | null,
        borderRadius?: string | null,
        color?: string | null,
        dividerColor?: string | null,
        fontFamily?: string | null,
        fontSize?: string | null,
        fontStyle?: string | null,
        fontWeight?: string | null,
        innerPadding?: string | null,
        innerPaddingBottom?: string | null,
        innerPaddingLeft?: string | null,
        innerPaddingRight?: string | null,
        innerPaddingTop?: string | null,
        isBackgroundPaddingsExcluded?: boolean | null,
        letterSpacing?: string | null,
        lineHeight?: string | null,
        linkColor?: string | null,
        padding?: string | null,
        paddingBottom?: string | null,
        paddingLeft?: string | null,
        paddingRight?: string | null,
        paddingTop?: string | null,
        priceColor?: string | null,
        secondaryColor?: string | null,
        textBackgroundColor?: string | null,
        textDecoration?: string | null,
        verticalAlign?: string | null
      } | null,
      width?: string | null
    }[] | null,
    id?: string | null,
    styleProperties?: {
      alignment?: string | null,
      backgroundColor?: string | null,
      backgroundImageID?: string | null,
      backgroundPosition?: string | null,
      backgroundRepeat?: string | null,
      backgroundSize?: string | null,
      border?: string | null,
      borderRadius?: string | null,
      color?: string | null,
      dividerColor?: string | null,
      fontFamily?: string | null,
      fontSize?: string | null,
      fontStyle?: string | null,
      fontWeight?: string | null,
      innerPadding?: string | null,
      innerPaddingBottom?: string | null,
      innerPaddingLeft?: string | null,
      innerPaddingRight?: string | null,
      innerPaddingTop?: string | null,
      isBackgroundPaddingsExcluded?: boolean | null,
      letterSpacing?: string | null,
      lineHeight?: string | null,
      linkColor?: string | null,
      padding?: string | null,
      paddingBottom?: string | null,
      paddingLeft?: string | null,
      paddingRight?: string | null,
      paddingTop?: string | null,
      priceColor?: string | null,
      secondaryColor?: string | null,
      textBackgroundColor?: string | null,
      textDecoration?: string | null,
      verticalAlign?: string | null
    } | null
  }[] | null | null,
  settings?: {
    backgroundType?: string | null,
    customFonts?: {
      id?: string | null
    }[] | null,
    dynamicList?: {
      columnCount?: number | null,
      layout?: string | null,
      listPath?: string | null,
      repetitionCount?: number | null
    } | null,
    excludeProducts?: string[] | null,
    filter?: {
      operator?: string | null,
      rules?: {
        operator?: string | null,
        property?: {
          id?: string | null,
          isSystem?: boolean | null,
          name?: string | null,
          type?: string | null
        } | null,
        value?: string | null
      }[] | null
    } | null,
    isColumnStackDisabled?: boolean | null,
    isOutOfStockHidden?: boolean | null,
    isProductImagesFitted?: boolean | null,
    sideBySideProductLayout?: string | null,
    universalLayoutID?: string | null
  } | null,
  styleProperties?: {
    alignment?: string | null,
    backgroundColor?: string | null,
    backgroundImageID?: string | null,
    backgroundPosition?: string | null,
    backgroundRepeat?: string | null,
    backgroundSize?: string | null,
    border?: string | null,
    borderRadius?: string | null,
    color?: string | null,
    dividerColor?: string | null,
    fontFamily?: string | null,
    fontSize?: string | null,
    fontStyle?: string | null,
    fontWeight?: string | null,
    innerPadding?: string | null,
    innerPaddingBottom?: string | null,
    innerPaddingLeft?: string | null,
    innerPaddingRight?: string | null,
    innerPaddingTop?: string | null,
    isBackgroundPaddingsExcluded?: boolean | null,
    letterSpacing?: string | null,
    lineHeight?: string | null,
    linkColor?: string | null,
    padding?: string | null,
    paddingBottom?: string | null,
    paddingLeft?: string | null,
    paddingRight?: string | null,
    paddingTop?: string | null,
    priceColor?: string | null,
    secondaryColor?: string | null,
    textBackgroundColor?: string | null,
    textDecoration?: string | null,
    verticalAlign?: string | null
  } | null,
  type?: string | null,
  visibility?: {
    isDesktopVisible?: boolean | null,
    isMobileVisible?: boolean | null
  } | null
} | null
```

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.