Built motion from commit 092f8824.|2.5.49
[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 _0x1baf=['api','moment','bluebird','request-promise','path','rimraf','./cmCustomField.attributes','exports','define','CmCustomField','lodash','util','../../config/logger'];(function(_0x253e49,_0x16549e){var _0x59b8aa=function(_0x550eb6){while(--_0x550eb6){_0x253e49['push'](_0x253e49['shift']());}};_0x59b8aa(++_0x16549e);}(_0x1baf,0xa6));var _0xf1ba=function(_0x32bc5d,_0x160cb9){_0x32bc5d=_0x32bc5d-0x0;var _0x4a8b17=_0x1baf[_0x32bc5d];return _0x4a8b17;};'use strict';var _=require(_0xf1ba('0x0'));var util=require(_0xf1ba('0x1'));var logger=require(_0xf1ba('0x2'))(_0xf1ba('0x3'));var moment=require(_0xf1ba('0x4'));var BPromise=require(_0xf1ba('0x5'));var rp=require(_0xf1ba('0x6'));var fs=require('fs');var path=require(_0xf1ba('0x7'));var rimraf=require(_0xf1ba('0x8'));var config=require('../../config/environment');var attributes=require(_0xf1ba('0x9'));module[_0xf1ba('0xa')]=function(_0x5ad4d2,_0x3b6883){return _0x5ad4d2[_0xf1ba('0xb')](_0xf1ba('0xc'),attributes,{'tableName':'cm_custom_fields','paranoid':!![],'indexes':[],'timestamps':!![]});};