26c9dbd7208b252819b1e0460e1bcd105aa765fd
[motion2.git] / server / api / chatGroup / chatGroup.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 _0x7935=['path','rimraf','../../config/environment','./chatGroup.attributes','exports','define','ChatGroup','chat_groups','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x25d386,_0x108d0d){var _0x857f4a=function(_0x3eb98d){while(--_0x3eb98d){_0x25d386['push'](_0x25d386['shift']());}};_0x857f4a(++_0x108d0d);}(_0x7935,0x107));var _0x5793=function(_0x741b9a,_0x44c670){_0x741b9a=_0x741b9a-0x0;var _0x4bf212=_0x7935[_0x741b9a];return _0x4bf212;};'use strict';var _=require(_0x5793('0x0'));var util=require(_0x5793('0x1'));var logger=require(_0x5793('0x2'))(_0x5793('0x3'));var moment=require(_0x5793('0x4'));var BPromise=require(_0x5793('0x5'));var rp=require(_0x5793('0x6'));var fs=require('fs');var path=require(_0x5793('0x7'));var rimraf=require(_0x5793('0x8'));var config=require(_0x5793('0x9'));var attributes=require(_0x5793('0xa'));module[_0x5793('0xb')]=function(_0x5129b0,_0x4256b0){return _0x5129b0[_0x5793('0xc')](_0x5793('0xd'),attributes,{'tableName':_0x5793('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};