Built motion from commit a61a4a20.|2.5.46
[motion2.git] / server / api / cmCustomField / cmCustomField.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 _0xa8c8=['CmCustomField','cm_custom_fields','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','define'];(function(_0xebf63c,_0x37c4af){var _0x5e7b7d=function(_0x5b1bda){while(--_0x5b1bda){_0xebf63c['push'](_0xebf63c['shift']());}};_0x5e7b7d(++_0x37c4af);}(_0xa8c8,0x1b2));var _0x8a8c=function(_0x3bd2ef,_0x11f54a){_0x3bd2ef=_0x3bd2ef-0x0;var _0x24de9a=_0xa8c8[_0x3bd2ef];return _0x24de9a;};'use strict';var _=require(_0x8a8c('0x0'));var util=require(_0x8a8c('0x1'));var logger=require(_0x8a8c('0x2'))(_0x8a8c('0x3'));var moment=require(_0x8a8c('0x4'));var BPromise=require('bluebird');var rp=require(_0x8a8c('0x5'));var fs=require('fs');var path=require(_0x8a8c('0x6'));var rimraf=require(_0x8a8c('0x7'));var config=require(_0x8a8c('0x8'));var attributes=require('./cmCustomField.attributes');module['exports']=function(_0x3e466c,_0x4fc810){return _0x3e466c[_0x8a8c('0x9')](_0x8a8c('0xa'),attributes,{'tableName':_0x8a8c('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};