1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xb285=['rimraf','../../config/environment','exports','define','SACompanyRelationship','lodash','util','bluebird','request-promise','path'];(function(_0x30ac8d,_0x2922e5){var _0x3bebd0=function(_0x21076b){while(--_0x21076b){_0x30ac8d['push'](_0x30ac8d['shift']());}};_0x3bebd0(++_0x2922e5);}(_0xb285,0x195));var _0x5b28=function(_0x3bab09,_0x217c29){_0x3bab09=_0x3bab09-0x0;var _0x164376=_0xb285[_0x3bab09];return _0x164376;};'use strict';var _=require(_0x5b28('0x0'));var util=require(_0x5b28('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x5b28('0x2'));var rp=require(_0x5b28('0x3'));var fs=require('fs');var path=require(_0x5b28('0x4'));var rimraf=require(_0x5b28('0x5'));var config=require(_0x5b28('0x6'));var attributes=require('./saCompanyRelationship.attributes');module[_0x5b28('0x7')]=function(_0x139953,_0x36e08a){return _0x139953[_0x5b28('0x8')](_0x5b28('0x9'),attributes,{'tableName':'sa_company_relationships','paranoid':![],'indexes':[],'timestamps':!![]});};