"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.notify = exports.SubscriptionAction = exports.Cadence = exports.SubscriptionEntityType = exports.SystemNotificationSpecNames = exports.DeliveryMethod = void 0;
/**
 * Generated by orval v6.24.0 🍺
 * Do not edit manually.
 * Hub Newsletters Scheduler
 * OpenAPI spec version: 0.0.1
 */
const custom_client_1 = require("../custom-client");
var DeliveryMethod;
(function (DeliveryMethod) {
    DeliveryMethod["EMAIL"] = "EMAIL";
})(DeliveryMethod || (exports.DeliveryMethod = DeliveryMethod = {}));
var SystemNotificationSpecNames;
(function (SystemNotificationSpecNames) {
    SystemNotificationSpecNames["TELEMETRY_REPORT"] = "TELEMETRY_REPORT";
    SystemNotificationSpecNames["EVENT"] = "EVENT";
    SystemNotificationSpecNames["DISCUSSION_ON_ENTITY"] = "DISCUSSION_ON_ENTITY";
})(SystemNotificationSpecNames || (exports.SystemNotificationSpecNames = SystemNotificationSpecNames = {}));
var SubscriptionEntityType;
(function (SubscriptionEntityType) {
    SubscriptionEntityType["DISCUSSION"] = "DISCUSSION";
})(SubscriptionEntityType || (exports.SubscriptionEntityType = SubscriptionEntityType = {}));
var Cadence;
(function (Cadence) {
    Cadence["ON_EVENT"] = "ON_EVENT";
    Cadence["DAILY"] = "DAILY";
    Cadence["WEEKLY"] = "WEEKLY";
    Cadence["MONTHLY"] = "MONTHLY";
})(Cadence || (exports.Cadence = Cadence = {}));
var SubscriptionAction;
(function (SubscriptionAction) {
    SubscriptionAction["DISCUSSION_POST_PENDING"] = "DISCUSSION_POST_PENDING";
})(SubscriptionAction || (exports.SubscriptionAction = SubscriptionAction = {}));
const notify = (iNotify, options) => {
    return (0, custom_client_1.customClient)({
        url: `/api/newsletters-scheduler/v1/subscriptions/notify`,
        method: "POST",
        headers: { "Content-Type": "application/json" },
        data: iNotify,
    }, options);
};
exports.notify = notify;
//# sourceMappingURL=orval-newsletters-scheduler.js.map