Built motion from commit (unavailable).|2.0.75
[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 _0x757a=['request-promise','./openchannelAccount.attributes','exports','define','openchannel_accounts','util','../../config/logger'];(function(_0x15c8e0,_0x332c04){var _0xcf223b=function(_0x1dbadb){while(--_0x1dbadb){_0x15c8e0['push'](_0x15c8e0['shift']());}};_0xcf223b(++_0x332c04);}(_0x757a,0xde));var _0xa757=function(_0x2f9416,_0x11175e){_0x2f9416=_0x2f9416-0x0;var _0x2b14c7=_0x757a[_0x2f9416];return _0x2b14c7;};'use strict';var _=require('lodash');var util=require(_0xa757('0x0'));var logger=require(_0xa757('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xa757('0x2'));var attributes=require(_0xa757('0x3'));module[_0xa757('0x4')]=function(_0x453d07,_0x32630d){return _0x453d07[_0xa757('0x5')]('OpenchannelAccount',attributes,{'tableName':_0xa757('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};