Built motion from commit (unavailable).|2.4.19
[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 _0x2be1=['rimraf','../../config/environment','./cmCustomField.attributes','exports','define','CmCustomField','cm_custom_fields','lodash','util','../../config/logger','bluebird','request-promise'];(function(_0x4c304c,_0x41fc17){var _0x54ffe1=function(_0xe767d0){while(--_0xe767d0){_0x4c304c['push'](_0x4c304c['shift']());}};_0x54ffe1(++_0x41fc17);}(_0x2be1,0xd3));var _0x12be=function(_0x3653c7,_0xadb356){_0x3653c7=_0x3653c7-0x0;var _0x58a021=_0x2be1[_0x3653c7];return _0x58a021;};'use strict';var _=require(_0x12be('0x0'));var util=require(_0x12be('0x1'));var logger=require(_0x12be('0x2'))('api');var moment=require('moment');var BPromise=require(_0x12be('0x3'));var rp=require(_0x12be('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x12be('0x5'));var config=require(_0x12be('0x6'));var attributes=require(_0x12be('0x7'));module[_0x12be('0x8')]=function(_0x273f21,_0x54aa9c){return _0x273f21[_0x12be('0x9')](_0x12be('0xa'),attributes,{'tableName':_0x12be('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};