bbe57e5bfbc1e550bb52132c4ec10e4a5441baa5
[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 _0x180e=['lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsApplication.attributes','exports','SmsApplication','sms_applications'];(function(_0x3f3f40,_0x4e745f){var _0x32c366=function(_0x343f6a){while(--_0x343f6a){_0x3f3f40['push'](_0x3f3f40['shift']());}};_0x32c366(++_0x4e745f);}(_0x180e,0x15f));var _0xe180=function(_0x43b22b,_0xea722c){_0x43b22b=_0x43b22b-0x0;var _0xd4e124=_0x180e[_0x43b22b];return _0xd4e124;};'use strict';var _=require(_0xe180('0x0'));var util=require('util');var logger=require(_0xe180('0x1'))(_0xe180('0x2'));var moment=require(_0xe180('0x3'));var BPromise=require(_0xe180('0x4'));var rp=require(_0xe180('0x5'));var fs=require('fs');var path=require(_0xe180('0x6'));var rimraf=require(_0xe180('0x7'));var config=require(_0xe180('0x8'));var attributes=require(_0xe180('0x9'));module[_0xe180('0xa')]=function(_0x153120,_0x579596){return _0x153120['define'](_0xe180('0xb'),attributes,{'tableName':_0xe180('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':'utf8mb4_unicode_ci'});};