Built motion from commit (unavailable).|2.5.21
[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 _0x66fd=['define','square_messages','lodash','util','api','moment','bluebird','request-promise','path','rimraf','./squareMessage.attributes','exports'];(function(_0x398db6,_0x16f227){var _0x11befd=function(_0x13cb40){while(--_0x13cb40){_0x398db6['push'](_0x398db6['shift']());}};_0x11befd(++_0x16f227);}(_0x66fd,0xfe));var _0xd66f=function(_0x4eb5ac,_0x1d9d74){_0x4eb5ac=_0x4eb5ac-0x0;var _0x2651de=_0x66fd[_0x4eb5ac];return _0x2651de;};'use strict';var _=require(_0xd66f('0x0'));var util=require(_0xd66f('0x1'));var logger=require('../../config/logger')(_0xd66f('0x2'));var moment=require(_0xd66f('0x3'));var BPromise=require(_0xd66f('0x4'));var rp=require(_0xd66f('0x5'));var fs=require('fs');var path=require(_0xd66f('0x6'));var rimraf=require(_0xd66f('0x7'));var config=require('../../config/environment');var attributes=require(_0xd66f('0x8'));module[_0xd66f('0x9')]=function(_0x208d2e,_0xbe645f){return _0x208d2e[_0xd66f('0xa')]('SquareMessage',attributes,{'tableName':_0xd66f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};