Built motion from commit (unavailable).|2.2.2
[motion2.git] / server / api / squareRecording / squareRecording.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 _0x3eea=['api','moment','bluebird','request-promise','./squareRecording.attributes','exports','define','SquareRecording','lodash','../../config/logger'];(function(_0x1cfb6e,_0x33de88){var _0x12d65c=function(_0x398e76){while(--_0x398e76){_0x1cfb6e['push'](_0x1cfb6e['shift']());}};_0x12d65c(++_0x33de88);}(_0x3eea,0x1ca));var _0xa3ee=function(_0x5c5a2c,_0xdb36a8){_0x5c5a2c=_0x5c5a2c-0x0;var _0x4309d7=_0x3eea[_0x5c5a2c];return _0x4309d7;};'use strict';var _=require(_0xa3ee('0x0'));var util=require('util');var logger=require(_0xa3ee('0x1'))(_0xa3ee('0x2'));var moment=require(_0xa3ee('0x3'));var BPromise=require(_0xa3ee('0x4'));var rp=require(_0xa3ee('0x5'));var attributes=require(_0xa3ee('0x6'));module[_0xa3ee('0x7')]=function(_0x35ed7d,_0x23c42d){return _0x35ed7d[_0xa3ee('0x8')](_0xa3ee('0x9'),attributes,{'tableName':'square_recordings','paranoid':![],'indexes':[],'timestamps':!![]});};