magicbell
Version:
MagicBell API wrapper
143 lines • 5.66 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateNotificationPreferencesPayloadSchema = exports.UpdateNotificationPreferencesResponseSchema = exports.GetNotificationPreferencesResponseSchema = void 0;
// This file is generated. Do not update manually!
exports.GetNotificationPreferencesResponseSchema = {
title: 'GetNotificationPreferencesResponseSchema',
type: 'object',
additionalProperties: false,
properties: {
categories: {
type: 'array',
items: {
type: 'object',
additionalProperties: false,
properties: {
label: {
type: 'string',
description: 'The label of the category',
},
slug: {
type: 'string',
description: 'The slug of the category.',
},
channels: {
description: 'Preferences for each channel for this category.',
type: 'array',
items: {
type: 'object',
additionalProperties: false,
properties: {
label: {
type: 'string',
description: 'The label of the channel',
},
slug: {
type: 'string',
description: 'The slug of the channel.',
},
enabled: {
type: 'boolean',
description: 'The current state of the channel.',
},
},
},
},
},
},
},
},
};
exports.UpdateNotificationPreferencesResponseSchema = {
title: 'UpdateNotificationPreferencesResponseSchema',
type: 'object',
additionalProperties: false,
properties: {
categories: {
type: 'array',
items: {
type: 'object',
additionalProperties: false,
properties: {
label: {
type: 'string',
description: 'The label of the category',
},
slug: {
type: 'string',
description: 'The slug of the category.',
},
channels: {
description: 'Preferences for each channel for this category.',
type: 'array',
items: {
type: 'object',
additionalProperties: false,
properties: {
label: {
type: 'string',
description: 'The label of the channel',
},
slug: {
type: 'string',
description: 'The slug of the channel.',
},
enabled: {
type: 'boolean',
description: 'The current state of the channel.',
},
},
},
},
},
},
},
},
};
exports.UpdateNotificationPreferencesPayloadSchema = {
title: 'UpdateNotificationPreferencesPayloadSchema',
type: 'object',
additionalProperties: false,
properties: {
categories: {
type: 'array',
items: {
type: 'object',
additionalProperties: false,
properties: {
label: {
type: 'string',
description: 'The label of the category',
},
slug: {
type: 'string',
description: 'The slug of the category.',
},
channels: {
description: 'Preferences for each channel for this category.',
type: 'array',
items: {
type: 'object',
additionalProperties: false,
properties: {
label: {
type: 'string',
description: 'The label of the channel',
},
slug: {
type: 'string',
description: 'The slug of the channel.',
},
enabled: {
type: 'boolean',
description: 'The current state of the channel.',
},
},
},
},
},
},
},
},
};
//# sourceMappingURL=notification-preferences.js.map