1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x42e7=['define','SquareProject','square_projects','util','../../config/logger','moment','./squareProject.attributes','exports'];(function(_0x584291,_0x24b5b3){var _0x4e7d08=function(_0x59e0b1){while(--_0x59e0b1){_0x584291['push'](_0x584291['shift']());}};_0x4e7d08(++_0x24b5b3);}(_0x42e7,0x12b));var _0x742e=function(_0x2ab6b8,_0x24cfea){_0x2ab6b8=_0x2ab6b8-0x0;var _0x48813c=_0x42e7[_0x2ab6b8];return _0x48813c;};'use strict';var _=require('lodash');var util=require(_0x742e('0x0'));var logger=require(_0x742e('0x1'))('api');var moment=require(_0x742e('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var attributes=require(_0x742e('0x3'));module[_0x742e('0x4')]=function(_0x16033a,_0x12d302){return _0x16033a[_0x742e('0x5')](_0x742e('0x6'),attributes,{'tableName':_0x742e('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};