Skip to content

Latest commit

 

History

History
46 lines (41 loc) · 2.64 KB

subscriberscontrollerlistsubscriberpreferencesresponse.md

File metadata and controls

46 lines (41 loc) · 2.64 KB

SubscribersControllerListSubscriberPreferencesResponse

Example Usage

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: {},
      },
    },
  ],
};

Fields

Field Type Required Description
headers Record<string, string[]> ✔️ N/A
result components.UpdateSubscriberPreferenceResponseDto[] ✔️ N/A