Built motion from commit (unavailable).|2.3.1
[motion2.git] / server / api / chatInteraction / chatInteraction.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 _0xb265=['bluebird','request-promise','exports','define','chat_interactions','utf8mb4','util','../../config/logger','api'];(function(_0x44d382,_0x2e724b){var _0xa97b01=function(_0x502173){while(--_0x502173){_0x44d382['push'](_0x44d382['shift']());}};_0xa97b01(++_0x2e724b);}(_0xb265,0x165));var _0x5b26=function(_0x5ef9d2,_0x16db81){_0x5ef9d2=_0x5ef9d2-0x0;var _0x493486=_0xb265[_0x5ef9d2];return _0x493486;};'use strict';var _=require('lodash');var util=require(_0x5b26('0x0'));var logger=require(_0x5b26('0x1'))(_0x5b26('0x2'));var moment=require('moment');var BPromise=require(_0x5b26('0x3'));var rp=require(_0x5b26('0x4'));var attributes=require('./chatInteraction.attributes');module[_0x5b26('0x5')]=function(_0x3ef45a,_0x423210){return _0x3ef45a[_0x5b26('0x6')]('ChatInteraction',attributes,{'tableName':_0x5b26('0x7'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x5b26('0x8'),'collate':'utf8mb4_unicode_ci'});};