PluginProbe
Yatra – Travel Booking & Tour Operator Software / 3.0.16
Yatra – Travel Booking & Tour Operator Software v3.0.16
3.0.16 3.0.15 3.0.14 3.0.14.1 3.0.14.2 3.0.12 3.0.13 3.0.11 3.0.10 3.0.9 3.0.8 3.0.7 3.0.6 3.0.5 3.0.5.1 3.0.4 3.0.3 3.0.2.9 3.0.2.7 3.0.2.8 3.0.2.6 trunk 1.0.0 2.0.0 2.0.1 All 84 releases
← All changes | resources/js/lib/api-client.ts +7 -0 3.0.15 → 3.0.16 View file →
@@ -717,8 +717,15 @@
717 717 disconnectGoogleCalendar: () =>
718 718 apiClient.post(API_ENDPOINTS.GOOGLE_CALENDAR_DISCONNECT),
719 719 syncAllGoogleCalendar: () =>
720 720 apiClient.post(API_ENDPOINTS.GOOGLE_CALENDAR_SYNC_ALL),
721 + /**
722 + * One batch of a full resync. Repeat with the returned `next_cursor` until
723 + * `done` is true — the server processes a slice per call so a large calendar
724 + * can't time out and the UI can show progress.
725 + */
726 + resyncGoogleCalendar: (cursor = 0, limit = 25) =>
727 + apiClient.post(API_ENDPOINTS.GOOGLE_CALENDAR_RESYNC, { cursor, limit }),
721 728 updateGoogleCalendarSettings: (data: any) =>
722 729 apiClient.post(API_ENDPOINTS.GOOGLE_CALENDAR_SETTINGS, data),
723 730
724 731 // Signed Consents