"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Marketing = void 0;
const marketingCreateContentBlock_js_1 = require("../funcs/marketingCreateContentBlock.js");
const marketingCreateEmailTemplate_js_1 = require("../funcs/marketingCreateEmailTemplate.js");
const marketingCreateInAppTemplate_js_1 = require("../funcs/marketingCreateInAppTemplate.js");
const marketingCreateOmniChannelTemplate_js_1 = require("../funcs/marketingCreateOmniChannelTemplate.js");
const marketingCreatePushTemplate_js_1 = require("../funcs/marketingCreatePushTemplate.js");
const marketingCreateSmsTemplate_js_1 = require("../funcs/marketingCreateSmsTemplate.js");
const marketingGetCampaign_js_1 = require("../funcs/marketingGetCampaign.js");
const marketingGetContentBlock_js_1 = require("../funcs/marketingGetContentBlock.js");
const marketingGetEmailTemplate_js_1 = require("../funcs/marketingGetEmailTemplate.js");
const marketingGetInAppTemplate_js_1 = require("../funcs/marketingGetInAppTemplate.js");
const marketingGetOmniChannelTemplate_js_1 = require("../funcs/marketingGetOmniChannelTemplate.js");
const marketingGetPushTemplate_js_1 = require("../funcs/marketingGetPushTemplate.js");
const marketingGetSmsTemplate_js_1 = require("../funcs/marketingGetSmsTemplate.js");
const marketingListCampaigns_js_1 = require("../funcs/marketingListCampaigns.js");
const marketingListContentBlocks_js_1 = require("../funcs/marketingListContentBlocks.js");
const marketingListEmailTemplates_js_1 = require("../funcs/marketingListEmailTemplates.js");
const marketingListInAppTemplates_js_1 = require("../funcs/marketingListInAppTemplates.js");
const marketingListOmniChannelTemplates_js_1 = require("../funcs/marketingListOmniChannelTemplates.js");
const marketingListPushTemplates_js_1 = require("../funcs/marketingListPushTemplates.js");
const marketingListSmsTemplates_js_1 = require("../funcs/marketingListSmsTemplates.js");
const marketingUpdateContentBlock_js_1 = require("../funcs/marketingUpdateContentBlock.js");
const marketingUpdateEmailTemplate_js_1 = require("../funcs/marketingUpdateEmailTemplate.js");
const marketingUpdateInAppTemplate_js_1 = require("../funcs/marketingUpdateInAppTemplate.js");
const marketingUpdateOmniChannelTemplate_js_1 = require("../funcs/marketingUpdateOmniChannelTemplate.js");
const marketingUpdatePushTemplate_js_1 = require("../funcs/marketingUpdatePushTemplate.js");
const marketingUpdateSmsTemplate_js_1 = require("../funcs/marketingUpdateSmsTemplate.js");
const sdks_js_1 = require("../lib/sdks.js");
const operations_js_1 = require("../sdk/types/operations.js");
const fp_js_1 = require("./types/fp.js");
class Marketing extends sdks_js_1.ClientSDK {
    /**
     * Create Content Block
     */
    async createContentBlock(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingCreateContentBlock_js_1.marketingCreateContentBlock)(this, request, options));
    }
    /**
     * Create Email Templates
     */
    async createEmailTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingCreateEmailTemplate_js_1.marketingCreateEmailTemplate)(this, request, options));
    }
    /**
     * Create In-App Template
     */
    async createInAppTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingCreateInAppTemplate_js_1.marketingCreateInAppTemplate)(this, request, options));
    }
    /**
     * Create Omni-Channel Template
     *
     * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    async createOmniChannelTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingCreateOmniChannelTemplate_js_1.marketingCreateOmniChannelTemplate)(this, request, options));
    }
    /**
     * Create Push Template
     */
    async createPushTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingCreatePushTemplate_js_1.marketingCreatePushTemplate)(this, request, options));
    }
    /**
     * Create SMS Template
     */
    async createSmsTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingCreateSmsTemplate_js_1.marketingCreateSmsTemplate)(this, request, options));
    }
    /**
     * Get campaign
     */
    async getCampaign(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingGetCampaign_js_1.marketingGetCampaign)(this, request, options));
    }
    /**
     * Get Content Blocks
     */
    async getContentBlock(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingGetContentBlock_js_1.marketingGetContentBlock)(this, request, options));
    }
    /**
     * Get Email Templates
     */
    async getEmailTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingGetEmailTemplate_js_1.marketingGetEmailTemplate)(this, request, options));
    }
    /**
     * Get In-App Template
     */
    async getInAppTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingGetInAppTemplate_js_1.marketingGetInAppTemplate)(this, request, options));
    }
    /**
     * Get Omni-Channel Template
     *
     * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    async getOmniChannelTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingGetOmniChannelTemplate_js_1.marketingGetOmniChannelTemplate)(this, request, options));
    }
    /**
     * Get Push Template
     */
    async getPushTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingGetPushTemplate_js_1.marketingGetPushTemplate)(this, request, options));
    }
    /**
     * Get SMS Template
     */
    async getSmsTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingGetSmsTemplate_js_1.marketingGetSmsTemplate)(this, request, options));
    }
    /**
     * List campaigns
     */
    async listCampaigns(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, marketingListCampaigns_js_1.marketingListCampaigns)(this, request, options));
    }
    /**
     * List Content Blocks
     */
    async listContentBlocks(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, marketingListContentBlocks_js_1.marketingListContentBlocks)(this, request, options));
    }
    /**
     * List Email Templates
     */
    async listEmailTemplates(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, marketingListEmailTemplates_js_1.marketingListEmailTemplates)(this, request, options));
    }
    /**
     * List In-App Templates
     */
    async listInAppTemplates(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, marketingListInAppTemplates_js_1.marketingListInAppTemplates)(this, request, options));
    }
    /**
     * List Omni-Channel Templates
     *
     * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    async listOmniChannelTemplates(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, marketingListOmniChannelTemplates_js_1.marketingListOmniChannelTemplates)(this, request, options));
    }
    /**
     * List Push Templates
     */
    async listPushTemplates(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, marketingListPushTemplates_js_1.marketingListPushTemplates)(this, request, options));
    }
    /**
     * List SMS Templates
     */
    async listSmsTemplates(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, marketingListSmsTemplates_js_1.marketingListSmsTemplates)(this, request, options));
    }
    /**
     * Update Content Block
     */
    async updateContentBlock(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingUpdateContentBlock_js_1.marketingUpdateContentBlock)(this, request, options));
    }
    /**
     * Update Email Templates
     */
    async updateEmailTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingUpdateEmailTemplate_js_1.marketingUpdateEmailTemplate)(this, request, options));
    }
    /**
     * Update In-App Template
     */
    async updateInAppTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingUpdateInAppTemplate_js_1.marketingUpdateInAppTemplate)(this, request, options));
    }
    /**
     * Update Omni-Channel Template
     *
     * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    async updateOmniChannelTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingUpdateOmniChannelTemplate_js_1.marketingUpdateOmniChannelTemplate)(this, request, options));
    }
    /**
     * Update Push Template
     */
    async updatePushTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingUpdatePushTemplate_js_1.marketingUpdatePushTemplate)(this, request, options));
    }
    /**
     * Update SMS Template
     */
    async updateSmsTemplate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, marketingUpdateSmsTemplate_js_1.marketingUpdateSmsTemplate)(this, request, options));
    }
}
exports.Marketing = Marketing;
//# sourceMappingURL=marketing.js.map