Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / chatOfflineMessage / chatOfflineMessage.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 _0x8908=['./chatOfflineMessage.attributes','define','ChatOfflineMessage','chat_offline_messages','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment'];(function(_0x1558ab,_0x39d1de){var _0x53b64a=function(_0x4771ed){while(--_0x4771ed){_0x1558ab['push'](_0x1558ab['shift']());}};_0x53b64a(++_0x39d1de);}(_0x8908,0x84));var _0x8890=function(_0x3799f4,_0x28edf7){_0x3799f4=_0x3799f4-0x0;var _0x5116c0=_0x8908[_0x3799f4];return _0x5116c0;};'use strict';var _=require(_0x8890('0x0'));var util=require(_0x8890('0x1'));var logger=require(_0x8890('0x2'))(_0x8890('0x3'));var moment=require('moment');var BPromise=require(_0x8890('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8890('0x5'));var rimraf=require(_0x8890('0x6'));var config=require(_0x8890('0x7'));var attributes=require(_0x8890('0x8'));module['exports']=function(_0x253de0,_0xcb8f73){return _0x253de0[_0x8890('0x9')](_0x8890('0xa'),attributes,{'tableName':_0x8890('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x8890('0xc'),'collate':_0x8890('0xd')});};