6e03c23f700de40da6907ecb3e29a4a0343c56de
[motion2.git] / server / services / routing / rpc / smsInteraction.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 _0x0b78=['updateSmsInteraction','../client','update','Request'];(function(_0x1ae5ab,_0xc5d441){var _0x1ce001=function(_0x5ef96d){while(--_0x5ef96d){_0x1ae5ab['push'](_0x1ae5ab['shift']());}};_0x1ce001(++_0xc5d441);}(_0x0b78,0x1ad));var _0x80b7=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x0b78[_0x57b54c];return _0x59cc19;};'use strict';var client=require(_0x80b7('0x0'));exports[_0x80b7('0x1')]=function(_0x5d450f,_0x10e644){return client[_0x80b7('0x2')]('UpdateSmsInteraction',{'body':_0x10e644,'options':{'where':{'id':_0x5d450f}},'log':_0x80b7('0x3')});};exports['addTags']=function(_0x6a187e,_0x89d4d7){return client[_0x80b7('0x2')]('AddTagsToSmsInteraction',{'body':_0x89d4d7,'options':{'where':{'id':_0x6a187e}},'log':'addTagsToSmsInteraction'});};