Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 2.56 KB

subscriberscontrollerupdatesubscriberpreferenceresponse.md

File metadata and controls

44 lines (39 loc) · 2.56 KB

SubscribersControllerUpdateSubscriberPreferenceResponse

Example Usage

import { SubscribersControllerUpdateSubscriberPreferenceResponse } from "@novu/api/models/operations";

let value: SubscribersControllerUpdateSubscriberPreferenceResponse = {
  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