Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / squareOdbc / squareOdbc.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 _0x0ec0=['bluebird','request-promise','path','rimraf','../../config/environment','./squareOdbc.attributes','exports','square_odbc','util','../../config/logger','api'];(function(_0x34fcd3,_0xdf931c){var _0x59218c=function(_0xb742b6){while(--_0xb742b6){_0x34fcd3['push'](_0x34fcd3['shift']());}};_0x59218c(++_0xdf931c);}(_0x0ec0,0xb8));var _0x00ec=function(_0x1f0d7e,_0x126e50){_0x1f0d7e=_0x1f0d7e-0x0;var _0x3b5f9c=_0x0ec0[_0x1f0d7e];return _0x3b5f9c;};'use strict';var _=require('lodash');var util=require(_0x00ec('0x0'));var logger=require(_0x00ec('0x1'))(_0x00ec('0x2'));var moment=require('moment');var BPromise=require(_0x00ec('0x3'));var rp=require(_0x00ec('0x4'));var fs=require('fs');var path=require(_0x00ec('0x5'));var rimraf=require(_0x00ec('0x6'));var config=require(_0x00ec('0x7'));var attributes=require(_0x00ec('0x8'));module[_0x00ec('0x9')]=function(_0x3bc3a3,_0x329f43){return _0x3bc3a3['define']('SquareOdbc',attributes,{'tableName':_0x00ec('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};