Built motion from commit (unavailable).|2.5.27
[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 _0x54da=['path','rimraf','../../config/environment','./openchannelAccount.attributes','define','lodash','../../config/logger','bluebird'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0x54da,0x9d));var _0xa54d=function(_0xa43082,_0x24156b){_0xa43082=_0xa43082-0x0;var _0x64a0c6=_0x54da[_0xa43082];return _0x64a0c6;};'use strict';var _=require(_0xa54d('0x0'));var util=require('util');var logger=require(_0xa54d('0x1'))('api');var moment=require('moment');var BPromise=require(_0xa54d('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa54d('0x3'));var rimraf=require(_0xa54d('0x4'));var config=require(_0xa54d('0x5'));var attributes=require(_0xa54d('0x6'));module['exports']=function(_0x57f10a,_0x63ca18){return _0x57f10a[_0xa54d('0x7')]('OpenchannelAccount',attributes,{'tableName':'openchannel_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};