Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / intDeskAccount / intDeskAccount.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 _0x21f2=['lodash','util','api','moment','request-promise','path','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports','int_desk_accounts'];(function(_0x389ecc,_0x21e2d6){var _0x43ae1b=function(_0x44bed1){while(--_0x44bed1){_0x389ecc['push'](_0x389ecc['shift']());}};_0x43ae1b(++_0x21e2d6);}(_0x21f2,0xb0));var _0x221f=function(_0xdfbb22,_0x3ec1b4){_0xdfbb22=_0xdfbb22-0x0;var _0x2031c8=_0x21f2[_0xdfbb22];return _0x2031c8;};'use strict';var _=require(_0x221f('0x0'));var util=require(_0x221f('0x1'));var logger=require('../../config/logger')(_0x221f('0x2'));var moment=require(_0x221f('0x3'));var BPromise=require('bluebird');var rp=require(_0x221f('0x4'));var fs=require('fs');var path=require(_0x221f('0x5'));var rimraf=require('rimraf');var config=require(_0x221f('0x6'));var attributes=require(_0x221f('0x7'));var integrations=require(_0x221f('0x8'));module[_0x221f('0x9')]=function(_0x30422c,_0x11c223){return _0x30422c['define']('DeskAccount',attributes,{'tableName':_0x221f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};