magicbell
Version:
MagicBell API wrapper
139 lines (138 loc) • 6.21 kB
TypeScript
export declare const GetNotificationPreferencesResponseSchema: {
readonly title: "GetNotificationPreferencesResponseSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly properties: {
readonly categories: {
readonly type: "array";
readonly items: {
readonly type: "object";
readonly additionalProperties: false;
readonly properties: {
readonly label: {
readonly type: "string";
readonly description: "The label of the category";
};
readonly slug: {
readonly type: "string";
readonly description: "The slug of the category.";
};
readonly channels: {
readonly description: "Preferences for each channel for this category.";
readonly type: "array";
readonly items: {
readonly type: "object";
readonly additionalProperties: false;
readonly properties: {
readonly label: {
readonly type: "string";
readonly description: "The label of the channel";
};
readonly slug: {
readonly type: "string";
readonly description: "The slug of the channel.";
};
readonly enabled: {
readonly type: "boolean";
readonly description: "The current state of the channel.";
};
};
};
};
};
};
};
};
};
export declare const UpdateNotificationPreferencesResponseSchema: {
readonly title: "UpdateNotificationPreferencesResponseSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly properties: {
readonly categories: {
readonly type: "array";
readonly items: {
readonly type: "object";
readonly additionalProperties: false;
readonly properties: {
readonly label: {
readonly type: "string";
readonly description: "The label of the category";
};
readonly slug: {
readonly type: "string";
readonly description: "The slug of the category.";
};
readonly channels: {
readonly description: "Preferences for each channel for this category.";
readonly type: "array";
readonly items: {
readonly type: "object";
readonly additionalProperties: false;
readonly properties: {
readonly label: {
readonly type: "string";
readonly description: "The label of the channel";
};
readonly slug: {
readonly type: "string";
readonly description: "The slug of the channel.";
};
readonly enabled: {
readonly type: "boolean";
readonly description: "The current state of the channel.";
};
};
};
};
};
};
};
};
};
export declare const UpdateNotificationPreferencesPayloadSchema: {
readonly title: "UpdateNotificationPreferencesPayloadSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly properties: {
readonly categories: {
readonly type: "array";
readonly items: {
readonly type: "object";
readonly additionalProperties: false;
readonly properties: {
readonly label: {
readonly type: "string";
readonly description: "The label of the category";
};
readonly slug: {
readonly type: "string";
readonly description: "The slug of the category.";
};
readonly channels: {
readonly description: "Preferences for each channel for this category.";
readonly type: "array";
readonly items: {
readonly type: "object";
readonly additionalProperties: false;
readonly properties: {
readonly label: {
readonly type: "string";
readonly description: "The label of the channel";
};
readonly slug: {
readonly type: "string";
readonly description: "The slug of the channel.";
};
readonly enabled: {
readonly type: "boolean";
readonly description: "The current state of the channel.";
};
};
};
};
};
};
};
};
};