UNPKG

@apihawk/billia-sdk

Version:

The ApiHawk Billia SDK

124 lines (123 loc) 5.96 kB
"use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); const billia_sdk_base_1 = require("./lib/billia-sdk-base"); const billia_sdk_affiliate_1 = require("./services/billia-sdk-affiliate"); // Include Billia affiliate methods const billia_sdk_appcell_1 = require("./services/billia-sdk-appcell"); // Include Billia AppCell methods const billia_sdk_authentication_1 = require("./services/billia-sdk-authentication"); // Include Billia authentication methods const billia_sdk_cart_1 = require("./services/billia-sdk-cart"); // Include Billia cart methods const billia_sdk_catalog_1 = require("./services/billia-sdk-catalog"); // Include Billia catalog methods const billia_sdk_communication_1 = require("./services/billia-sdk-communication"); const billia_sdk_customer_1 = require("./services/billia-sdk-customer"); const billia_sdk_customer_product_1 = require("./services/billia-sdk-customer-product"); // Include Billia customer product methods const billia_sdk_customer_notification_1 = require("./services/billia-sdk-customer-notification"); // Include Billia customer notification methods const billia_sdk_document_1 = require("./services/billia-sdk-document"); const billia_sdk_domain_1 = require("./services/billia-sdk-domain"); const billia_sdk_marketing_1 = require("./services/billia-sdk-marketing"); const billia_sdk_migration_1 = require("./services/billia-sdk-migration"); const billia_sdk_orders_1 = require("./services/billia-sdk-orders"); const billia_sdk_payment_1 = require("./services/billia-sdk-payment"); const billia_sdk_reseller_1 = require("./services/billia-sdk-reseller"); const billia_sdk_search_1 = require("./services/billia-sdk-search"); const billia_sdk_system_1 = require("./services/billia-sdk-system"); const billia_sdk_user_1 = require("./services/billia-sdk-user"); const billia_sdk_wallet_1 = require("./services/billia-sdk-wallet"); const billia_sdk_vault_1 = require("./services/billia-sdk-vault"); __export(require("./lib/billia-sdk-base")); __export(require("./lib/billia-sdk-service-base")); __export(require("./services/common/to-rest-resource")); __export(require("./services/common/query-builder")); __export(require("./types")); class BilliaSDK extends billia_sdk_base_1.BilliaSDKBase { constructor(init, connection) { super(init, connection); // Load all services this.billiaSDKSystem = new billia_sdk_system_1.BilliaSDKSystem(this.connection); this.billiaSDKAuthentication = new billia_sdk_authentication_1.BilliaSDKAuthentication(this.connection); this.billiaSDKAppCell = new billia_sdk_appcell_1.BilliaSDKAppCell(this.connection); this.billiaSDKCart = new billia_sdk_cart_1.BilliaSDKCart(this.connection); this.billiaSDKCatalog = new billia_sdk_catalog_1.BilliaSDKCatalog(this.connection); this.billiaSDKCustomer = new billia_sdk_customer_1.BilliaSDKCustomer(this.connection); this.billiaSDKUser = new billia_sdk_user_1.BilliaSDKUser(this.connection); this.billiaSDKWallet = new billia_sdk_wallet_1.BilliaSDKWallet(this.connection); this.billiaSDKVault = new billia_sdk_vault_1.BilliaSDKVault(this.connection); this.billiaSDKMigration = new billia_sdk_migration_1.BilliaSDKMigration(this.connection); this.billiaSDKMarketing = new billia_sdk_marketing_1.BilliaSDKMarketing(this.connection); this.billiaSDKPayment = new billia_sdk_payment_1.BilliaSDKPayment(this.connection); this.billiaSDKDomain = new billia_sdk_domain_1.BilliaSDKDomain(this.connection); this.billiaSDKAffiliate = new billia_sdk_affiliate_1.BilliaSDKAffiliate(this.connection); this.billiaSDKCommunication = new billia_sdk_communication_1.BilliaSDKCommunication(this.connection); this.billiaSDKCustomerProduct = new billia_sdk_customer_product_1.BilliaSDKCustomerProduct(this.connection); this.billiaSDKCustomerNotification = new billia_sdk_customer_notification_1.BilliaSDKCustomerNotification(this.connection); this.billiaSDKDocument = new billia_sdk_document_1.BilliaSDKDocument(this.connection); this.billiaSDKOrders = new billia_sdk_orders_1.BilliaSDKOrders(this.connection, this.billiaSDKPayment, this.billiaSDKCatalog); this.billiaSDKReseller = new billia_sdk_reseller_1.BilliaSDKReseller(this.connection); this.billiaSDKSearch = new billia_sdk_search_1.BilliaSDKSearch(this.connection); } get AppCell() { return this.billiaSDKAppCell; } get System() { return this.billiaSDKSystem; } get Affiliate() { return this.billiaSDKAffiliate; } get Authentication() { return this.billiaSDKAuthentication; } get Cart() { return this.billiaSDKCart; } get Catalog() { return this.billiaSDKCatalog; } get Communication() { return this.billiaSDKCommunication; } get Customer() { return this.billiaSDKCustomer; } get User() { return this.billiaSDKUser; } get Wallet() { return this.billiaSDKWallet; } get Vault() { return this.billiaSDKVault; } get Migration() { return this.billiaSDKMigration; } get Orders() { return this.billiaSDKOrders; } get Domain() { return this.billiaSDKDomain; } get Marketing() { return this.billiaSDKMarketing; } get Payment() { return this.billiaSDKPayment; } get CustomerProduct() { return this.billiaSDKCustomerProduct; } get CustomerNotification() { return this.billiaSDKCustomerNotification; } get Document() { return this.billiaSDKDocument; } get Reseller() { return this.billiaSDKReseller; } get Search() { return this.billiaSDKSearch; } } exports.BilliaSDK = BilliaSDK;