bab347707dc36c1a4b75eae25b41295dcc737971
[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 _0xf5df=['util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','int_desk_accounts','lodash'];(function(_0xb4da9a,_0x4a987c){var _0x4770ce=function(_0x102f20){while(--_0x102f20){_0xb4da9a['push'](_0xb4da9a['shift']());}};_0x4770ce(++_0x4a987c);}(_0xf5df,0xb5));var _0xff5d=function(_0x5b751b,_0x538d5e){_0x5b751b=_0x5b751b-0x0;var _0x22f23f=_0xf5df[_0x5b751b];return _0x22f23f;};'use strict';var _=require(_0xff5d('0x0'));var util=require(_0xff5d('0x1'));var logger=require(_0xff5d('0x2'))(_0xff5d('0x3'));var moment=require(_0xff5d('0x4'));var BPromise=require(_0xff5d('0x5'));var rp=require(_0xff5d('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xff5d('0x7'));var config=require(_0xff5d('0x8'));var attributes=require(_0xff5d('0x9'));var integrations=require(_0xff5d('0xa'));module[_0xff5d('0xb')]=function(_0x180dac,_0x1a7c1c){return _0x180dac[_0xff5d('0xc')]('DeskAccount',attributes,{'tableName':_0xff5d('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};