Built motion from commit 4d4d9a88.|2.6.26
[motion2.git] / server / api / cannedAnswer / cannedAnswer.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 _0x233e=['api','moment','path','rimraf','../../config/environment','./cannedAnswer.attributes','exports','utf8mb4_unicode_ci','lodash','../../config/logger'];(function(_0x50bf5a,_0x807bba){var _0x4ddc1d=function(_0x349a61){while(--_0x349a61){_0x50bf5a['push'](_0x50bf5a['shift']());}};_0x4ddc1d(++_0x807bba);}(_0x233e,0x148));var _0xe233=function(_0x26f50f,_0x40f05b){_0x26f50f=_0x26f50f-0x0;var _0x17196d=_0x233e[_0x26f50f];return _0x17196d;};'use strict';var _=require(_0xe233('0x0'));var util=require('util');var logger=require(_0xe233('0x1'))(_0xe233('0x2'));var moment=require(_0xe233('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe233('0x4'));var rimraf=require(_0xe233('0x5'));var config=require(_0xe233('0x6'));var attributes=require(_0xe233('0x7'));module[_0xe233('0x8')]=function(_0x4d8b6a,_0x431d66){return _0x4d8b6a['define']('CannedAnswer',attributes,{'tableName':'tools_canned_answers','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0xe233('0x9')});};