Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / api / squareMessage / squareMessage.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 _0x704f=['bluebird','path','rimraf','../../config/environment','./squareMessage.attributes','exports','define','square_messages','util','../../config/logger','api','moment'];(function(_0x40121d,_0x13bbdd){var _0x47e2cc=function(_0x574309){while(--_0x574309){_0x40121d['push'](_0x40121d['shift']());}};_0x47e2cc(++_0x13bbdd);}(_0x704f,0x1c4));var _0xf704=function(_0x39e164,_0x2cb93b){_0x39e164=_0x39e164-0x0;var _0x13fa6b=_0x704f[_0x39e164];return _0x13fa6b;};'use strict';var _=require('lodash');var util=require(_0xf704('0x0'));var logger=require(_0xf704('0x1'))(_0xf704('0x2'));var moment=require(_0xf704('0x3'));var BPromise=require(_0xf704('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf704('0x5'));var rimraf=require(_0xf704('0x6'));var config=require(_0xf704('0x7'));var attributes=require(_0xf704('0x8'));module[_0xf704('0x9')]=function(_0x42ac99,_0x235900){return _0x42ac99[_0xf704('0xa')]('SquareMessage',attributes,{'tableName':_0xf704('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};