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 _0x692e=['request-promise','rimraf','../../config/environment','exports','define','SAProforma','lodash','../../config/logger','moment'];(function(_0x1261ad,_0x616968){var _0x5ac02c=function(_0x241e37){while(--_0x241e37){_0x1261ad['push'](_0x1261ad['shift']());}};_0x5ac02c(++_0x616968);}(_0x692e,0x96));var _0xe692=function(_0x16bff0,_0x3a777a){_0x16bff0=_0x16bff0-0x0;var _0x378812=_0x692e[_0x16bff0];return _0x378812;};'use strict';var _=require(_0xe692('0x0'));var util=require('util');var logger=require(_0xe692('0x1'))('api');var moment=require(_0xe692('0x2'));var BPromise=require('bluebird');var rp=require(_0xe692('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe692('0x4'));var config=require(_0xe692('0x5'));var attributes=require('./saProforma.attributes');module[_0xe692('0x6')]=function(_0x40399e,_0x29cd91){return _0x40399e[_0xe692('0x7')](_0xe692('0x8'),attributes,{'tableName':'sa_proformas','paranoid':![],'indexes':[],'timestamps':!![]});};