omnisend-node-sdk
Version:
🔹 Typesafe Omnisend API SDK for Node.js
33 lines (32 loc) • 1.33 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Omnisend = void 0;
/* eslint-disable import/order */
const OmnisendCore_1 = require("./OmnisendCore");
// Model imports
const Batches_1 = require("./spec/Batches");
const Campaigns_1 = require("./spec/Campaigns");
const Carts_1 = require("./spec/Carts");
const Categories_1 = require("./spec/Categories");
const Contacts_1 = require("./spec/Contacts");
const Events_1 = require("./spec/Events");
const Orders_1 = require("./spec/Orders");
const Products_1 = require("./spec/Products");
// End model imports
class Omnisend extends OmnisendCore_1.OmnisendCore {
// End model declarations
constructor(options) {
super(options);
// Model instances
this.batches = new Batches_1.Batches(this.httpClient);
this.campaigns = new Campaigns_1.Campaigns(this.httpClient);
this.carts = new Carts_1.Carts(this.httpClient);
this.categories = new Categories_1.Categories(this.httpClient);
this.contacts = new Contacts_1.Contacts(this.httpClient);
this.events = new Events_1.Events(this.httpClient);
this.orders = new Orders_1.Orders(this.httpClient);
this.products = new Products_1.Products(this.httpClient);
// End model instances
}
}
exports.Omnisend = Omnisend;