@strathberry/klaviyo-client
Version:
(Fork) Klaviyo API client for Node.js and browser
19 lines • 577 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.KlaviyoApi = void 0;
const profiles_1 = require("./api/profiles");
const lists_1 = require("./api/lists");
class KlaviyoApi {
constructor(apiKey, token) {
this.apiKey = apiKey;
this.token = token;
}
get Profiles() {
return new profiles_1.ProfilesKlaviyoApi(this.apiKey, this.token);
}
get Lists() {
return new lists_1.ListsKlaviyoApi(this.apiKey, this.token);
}
}
exports.KlaviyoApi = KlaviyoApi;
//# sourceMappingURL=klaviyo.api.js.map