Built motion from commit (unavailable).|2.5.18
[motion2.git] / server / api / smsApplication / smsApplication.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 _0xe958=['lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./smsApplication.attributes','exports','SmsApplication','sms_applications','utf8mb4','utf8mb4_unicode_ci'];(function(_0x47483d,_0x367d96){var _0x1dfdf4=function(_0x459e0f){while(--_0x459e0f){_0x47483d['push'](_0x47483d['shift']());}};_0x1dfdf4(++_0x367d96);}(_0xe958,0x1dc));var _0x8e95=function(_0x3f6f16,_0x38ef79){_0x3f6f16=_0x3f6f16-0x0;var _0x4048e8=_0xe958[_0x3f6f16];return _0x4048e8;};'use strict';var _=require(_0x8e95('0x0'));var util=require('util');var logger=require(_0x8e95('0x1'))(_0x8e95('0x2'));var moment=require(_0x8e95('0x3'));var BPromise=require(_0x8e95('0x4'));var rp=require(_0x8e95('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8e95('0x6'));var config=require(_0x8e95('0x7'));var attributes=require(_0x8e95('0x8'));module[_0x8e95('0x9')]=function(_0x2919f0,_0x6b005c){return _0x2919f0['define'](_0x8e95('0xa'),attributes,{'tableName':_0x8e95('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x8e95('0xc'),'collate':_0x8e95('0xd')});};