import { SubscribersControllerListSubscriberPreferencesResponse } from "@novu/api/models/operations";
let value: SubscribersControllerListSubscriberPreferencesResponse = {
headers: {
"key": [
"<value>",
],
},
result: [
{
template: {
id: "<id>",
name: "<value>",
critical: false,
triggers: [
{
type: "event",
identifier: "<value>",
variables: [
{
name: "<value>",
},
],
},
],
},
preference: {
enabled: false,
channels: {},
},
},
],
};
Field | Type | Required | Description |
---|---|---|---|
headers |
Record<string, string[]> | ✔️ | N/A |
result |
components.UpdateSubscriberPreferenceResponseDto[] | ✔️ | N/A |