Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / openchannelAccount / openchannelAccount.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x48d5=['request-promise','../../config/environment','./openchannelAccount.attributes','exports','define','openchannel_accounts','lodash','api','bluebird'];(function(_0xec1043,_0x2a0be1){var _0x2bbb3e=function(_0x16f50b){while(--_0x16f50b){_0xec1043['push'](_0xec1043['shift']());}};_0x2bbb3e(++_0x2a0be1);}(_0x48d5,0xa8));var _0x548d=function(_0x45c48f,_0x4aa891){_0x45c48f=_0x45c48f-0x0;var _0xaf5037=_0x48d5[_0x45c48f];return _0xaf5037;};'use strict';var _=require(_0x548d('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x548d('0x1'));var moment=require('moment');var BPromise=require(_0x548d('0x2'));var rp=require(_0x548d('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x548d('0x4'));var attributes=require(_0x548d('0x5'));module[_0x548d('0x6')]=function(_0x230d89,_0x340cc5){return _0x230d89[_0x548d('0x7')]('OpenchannelAccount',attributes,{'tableName':_0x548d('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};