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 _0x4dfd=['moment','request-promise','path','../../config/environment','./cmCustomField.attributes','define','CmCustomField','lodash','util','../../config/logger'];(function(_0x527adf,_0x108774){var _0x458f47=function(_0x5ac932){while(--_0x5ac932){_0x527adf['push'](_0x527adf['shift']());}};_0x458f47(++_0x108774);}(_0x4dfd,0xed));var _0xd4df=function(_0x310a35,_0x352b1d){_0x310a35=_0x310a35-0x0;var _0xa1dd18=_0x4dfd[_0x310a35];return _0xa1dd18;};'use strict';var _=require(_0xd4df('0x0'));var util=require(_0xd4df('0x1'));var logger=require(_0xd4df('0x2'))('api');var moment=require(_0xd4df('0x3'));var BPromise=require('bluebird');var rp=require(_0xd4df('0x4'));var fs=require('fs');var path=require(_0xd4df('0x5'));var rimraf=require('rimraf');var config=require(_0xd4df('0x6'));var attributes=require(_0xd4df('0x7'));module['exports']=function(_0x5de15e,_0x18a9dd){return _0x5de15e[_0xd4df('0x8')](_0xd4df('0x9'),attributes,{'tableName':'cm_custom_fields','paranoid':!![],'indexes':[],'timestamps':!![]});};