c1dd092cd1f014e5ba3acb1f148e1e58c3d7419b
[motion2.git] / server / api / chatInternalMessage / chatInternalMessage.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 _0x2936=['util','api','moment','request-promise','path','rimraf','../../config/environment','./chatInternalMessage.attributes','define','ChatInternalMessage','chat_internal_messages','lodash'];(function(_0x10f309,_0x5cd45e){var _0x196bd7=function(_0x388457){while(--_0x388457){_0x10f309['push'](_0x10f309['shift']());}};_0x196bd7(++_0x5cd45e);}(_0x2936,0x113));var _0x6293=function(_0xe31e2d,_0x2f50c4){_0xe31e2d=_0xe31e2d-0x0;var _0x29d908=_0x2936[_0xe31e2d];return _0x29d908;};'use strict';var _=require(_0x6293('0x0'));var util=require(_0x6293('0x1'));var logger=require('../../config/logger')(_0x6293('0x2'));var moment=require(_0x6293('0x3'));var BPromise=require('bluebird');var rp=require(_0x6293('0x4'));var fs=require('fs');var path=require(_0x6293('0x5'));var rimraf=require(_0x6293('0x6'));var config=require(_0x6293('0x7'));var attributes=require(_0x6293('0x8'));module['exports']=function(_0x1a80bd,_0x5e02bd){return _0x1a80bd[_0x6293('0x9')](_0x6293('0xa'),attributes,{'tableName':_0x6293('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':'utf8mb4_unicode_ci'});};