119a9ef5a1956d426416ac84e47efed0011cfd8b
[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 _0xe48c=['util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./cmCustomField.attributes','define','CmCustomField','lodash'];(function(_0x4a0ba6,_0x1c1502){var _0x121ac0=function(_0x558076){while(--_0x558076){_0x4a0ba6['push'](_0x4a0ba6['shift']());}};_0x121ac0(++_0x1c1502);}(_0xe48c,0xd7));var _0xce48=function(_0x538ea3,_0x2afd41){_0x538ea3=_0x538ea3-0x0;var _0x37cc86=_0xe48c[_0x538ea3];return _0x37cc86;};'use strict';var _=require(_0xce48('0x0'));var util=require(_0xce48('0x1'));var logger=require(_0xce48('0x2'))('api');var moment=require(_0xce48('0x3'));var BPromise=require(_0xce48('0x4'));var rp=require(_0xce48('0x5'));var fs=require('fs');var path=require(_0xce48('0x6'));var rimraf=require(_0xce48('0x7'));var config=require(_0xce48('0x8'));var attributes=require(_0xce48('0x9'));module['exports']=function(_0xe3cfa3,_0x447a0a){return _0xe3cfa3[_0xce48('0xa')](_0xce48('0xb'),attributes,{'tableName':'cm_custom_fields','paranoid':!![],'indexes':[],'timestamps':!![]});};