Built motion from commit 9d1906d1.|2.5.40
[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 _0xc60b=['./intDeskAccount.attributes','../../components/integrations/configuration','define','int_desk_accounts','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x172cd0,_0x507144){var _0x18b2eb=function(_0x442888){while(--_0x442888){_0x172cd0['push'](_0x172cd0['shift']());}};_0x18b2eb(++_0x507144);}(_0xc60b,0x1a8));var _0xbc60=function(_0x2f25fd,_0x552fc5){_0x2f25fd=_0x2f25fd-0x0;var _0x3c172f=_0xc60b[_0x2f25fd];return _0x3c172f;};'use strict';var _=require(_0xbc60('0x0'));var util=require(_0xbc60('0x1'));var logger=require(_0xbc60('0x2'))('api');var moment=require(_0xbc60('0x3'));var BPromise=require(_0xbc60('0x4'));var rp=require(_0xbc60('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbc60('0x6'));var config=require(_0xbc60('0x7'));var attributes=require(_0xbc60('0x8'));var integrations=require(_0xbc60('0x9'));module['exports']=function(_0x249f2d,_0xb8c566){return _0x249f2d[_0xbc60('0xa')]('DeskAccount',attributes,{'tableName':_0xbc60('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};