mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
Update the HTTP client param comment
This commit is contained in:
parent
07884d2096
commit
a364e777bf
2 changed files with 11 additions and 11 deletions
|
@ -28,7 +28,7 @@ App.Http.Calendar = (function () {
|
|||
* @param {Function} [successCallback] Optional, if defined, this function is going to be executed on post success.
|
||||
* @param {Function} [errorCallback] Optional, if defined, this function is going to be executed on post failure.
|
||||
*
|
||||
* @return {*|jQuery.jqXHR}
|
||||
* @return {*|jQuery}
|
||||
*/
|
||||
function saveAppointment(appointment, customer, successCallback, errorCallback) {
|
||||
const url = App.Utils.Url.siteUrl('calendar/save_appointment');
|
||||
|
@ -61,7 +61,7 @@ App.Http.Calendar = (function () {
|
|||
* @param {Number} appointmentId
|
||||
* @param {String} cancellationReason
|
||||
*
|
||||
* @return {*|jQuery.jqXHR}
|
||||
* @return {*|jQuery}
|
||||
*/
|
||||
function deleteAppointment(appointmentId, cancellationReason) {
|
||||
const url = App.Utils.Url.siteUrl('calendar/delete_appointment');
|
||||
|
@ -82,7 +82,7 @@ App.Http.Calendar = (function () {
|
|||
* @param {Function} [successCallback] The ajax success callback function.
|
||||
* @param {Function} [errorCallback] The ajax failure callback function.
|
||||
*
|
||||
* @return {*|jQuery.jqXHR}
|
||||
* @return {*|jQuery}
|
||||
*/
|
||||
function saveUnavailability(unavailability, successCallback, errorCallback) {
|
||||
const url = App.Utils.Url.siteUrl('calendar/save_unavailability');
|
||||
|
@ -110,7 +110,7 @@ App.Http.Calendar = (function () {
|
|||
*
|
||||
* @param {Number} unavailabilityId
|
||||
*
|
||||
* @return {*|jQuery.jqXHR}
|
||||
* @return {*|jQuery}
|
||||
*/
|
||||
function deleteUnavailability(unavailabilityId) {
|
||||
const url = App.Utils.Url.siteUrl('calendar/delete_unavailability');
|
||||
|
@ -132,7 +132,7 @@ App.Http.Calendar = (function () {
|
|||
* @param {Function} successCallback The ajax success callback function.
|
||||
* @param {Function} errorCallback The ajax failure callback function.
|
||||
*
|
||||
* @return {*|jQuery.jqXHR}
|
||||
* @return {*|jQuery}
|
||||
*/
|
||||
function saveWorkingPlanException(date, workingPlanException, providerId, successCallback, errorCallback) {
|
||||
const url = App.Utils.Url.siteUrl('calendar/save_working_plan_exception');
|
||||
|
@ -165,7 +165,7 @@ App.Http.Calendar = (function () {
|
|||
* @param {Function} [successCallback]
|
||||
* @param {Function} [errorCallback]
|
||||
*
|
||||
* @return {*|jQuery.jqXHR}
|
||||
* @return {*|jQuery}
|
||||
*/
|
||||
function deleteWorkingPlanException(date, providerId, successCallback, errorCallback) {
|
||||
const url = App.Utils.Url.siteUrl('calendar/delete_working_plan_exception');
|
||||
|
@ -219,7 +219,7 @@ App.Http.Calendar = (function () {
|
|||
* @param {Date} startDate
|
||||
* @param {Date} endDate
|
||||
*
|
||||
* @return {*|jQuery.jqXHR}
|
||||
* @return {*|jQuery}
|
||||
*/
|
||||
function getCalendarAppointmentsForTableView(startDate, endDate) {
|
||||
const url = App.Utils.Url.siteUrl('calendar/get_calendar_appointments_for_table_view');
|
||||
|
|
|
@ -21,7 +21,7 @@ App.Http.Google = (function () {
|
|||
* @param {Number} providerId
|
||||
* @param {String} googleCalendarId
|
||||
*
|
||||
* @return {*|jQuery.jqXHR}
|
||||
* @return {*|jQuery}
|
||||
*/
|
||||
function selectGoogleCalendar(providerId, googleCalendarId) {
|
||||
const url = App.Utils.Url.siteUrl('google/select_google_calendar');
|
||||
|
@ -40,7 +40,7 @@ App.Http.Google = (function () {
|
|||
*
|
||||
* @param {Number} providerId
|
||||
*
|
||||
* @return {*|jQuery.jqXHR}
|
||||
* @return {*|jQuery}
|
||||
*/
|
||||
function disableProviderSync(providerId) {
|
||||
const url = App.Utils.Url.siteUrl('google/disable_provider_sync');
|
||||
|
@ -58,7 +58,7 @@ App.Http.Google = (function () {
|
|||
*
|
||||
* @param {Number} providerId
|
||||
*
|
||||
* @return {*|jQuery.jqXHR}
|
||||
* @return {*|jQuery}
|
||||
*/
|
||||
function getGoogleCalendars(providerId) {
|
||||
const url = App.Utils.Url.siteUrl('google/get_google_calendars');
|
||||
|
@ -76,7 +76,7 @@ App.Http.Google = (function () {
|
|||
*
|
||||
* @param {Number} providerId
|
||||
*
|
||||
* @return {*|jQuery.jqXHR}
|
||||
* @return {*|jQuery}
|
||||
*/
|
||||
function syncWithGoogle(providerId) {
|
||||
const url = App.Utils.Url.siteUrl('google/sync/' + providerId);
|
||||
|
|
Loading…
Reference in a new issue