PluginProbe
Yatra – Travel Booking & Tour Operator Software / 3.0.17
Yatra – Travel Booking & Tour Operator Software v3.0.17
3.0.17 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 All 85 releases
← All changes | assets/admin/dist/js/Whatsapp.js +6 -6 3.0.5 → 3.0.17 View file →
@@ -1,8 +1,8 @@
1 -import { t as useQueryClient, r as reactExports, u as useQuery, v as useMutation, j as jsxRuntimeExports, bh as Send, k as FileText, M as MessageCircle, U as Users, V as ExternalLink, bq as Settings2, a5 as React, aF as Info, bQ as KeyRound, g as CircleUser, by as ShieldCheck, ar as Clock, D as Loader2, aV as Save, aD as CheckCircle2, b6 as XCircle, bt as EyeOff, aQ as Eye, w as Webhook, aA as Check, aG as Copy, z as ArrowLeft, Z as Zap, x as ChevronDown, br as Code, aw as Plus, bA as Pencil, bF as History, aN as Trash2, R as RotateCcw } from "../../../dist/js/react-vendor-CqkbFEvK.js";
2 -import { a as apiClient, u as useToast, _ as __, s as sprintf } from "../../../dist/js/index-DRAt5dnR.js";
3 -import { P as PageHeader, C as Card, d as CardContent, f as CardHeader, g as CardTitle, h as CardDescription, B as Button, w as Label, I as Input, t as CardFooter, S as Select, a5 as Table, a6 as TableHeader, a7 as TableRow, a8 as TableHead, a9 as TableBody, aa as TableCell, e as Badge, W as Pagination, k as ConfirmationDialog, M as Modal, A as Alert } from "./app.js";
4 -import { M as ModulePageSkeleton, a as ModuleFormSkeleton } from "../../../dist/js/module-skeleton-DUioukJc.js";
1 +import { v as useQueryClient, r as reactExports, u as useQuery, w as useMutation, j as jsxRuntimeExports, bk as Send, k as FileText, M as MessageCircle, U as Users, X as ExternalLink, bv as Settings2, a6 as React, aG as Info, bW as KeyRound, g as CircleUser, bD as ShieldCheck, as as Clock, E as Loader2, aW as Save, aE as CheckCircle2, b9 as XCircle, by as EyeOff, aR as Eye, x as Webhook, aB as Check, aH as Copy, D as ArrowLeft, Z as Zap, y as ChevronDown, bw as Code, ax as Plus, bF as Pencil, bK as History, aO as Trash2, R as RotateCcw } from "../../../dist/js/react-vendor-CithbthY.js";
2 +import { a as apiClient, u as useToast, _ as __, I as Input, g as todayYmd, s as sprintf } from "../../../dist/js/index-Dec_weLB.js";
3 +import { P as PageHeader, C as Card, d as CardContent, f as CardHeader, g as CardTitle, h as CardDescription, B as Button, s as Label, E as CardFooter, S as Select, a9 as Table, aa as TableHeader, ab as TableRow, ac as TableHead, ad as TableBody, ae as TableCell, e as Badge, _ as Pagination, k as ConfirmationDialog, M as Modal, A as Alert } from "./app.js";
4 +import { M as ModulePageSkeleton, a as ModuleFormSkeleton } from "../../../dist/js/module-skeleton-CpoAoviJ.js";
5 5 const whatsappApi = {
6 6 getMeta: () => apiClient.get("/whatsapp/meta"),
7 7 getSettings: () => apiClient.get("/whatsapp/settings"),
8 8 updateSettings: (patch) => apiClient.put("/whatsapp/settings", { settings: patch }),
@@ -196,9 +196,9 @@
196 196 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "rounded-md bg-green-100 p-2 text-green-600 dark:bg-green-900/30 dark:text-green-400", children: /* @__PURE__ */ jsxRuntimeExports.jsx(MessageCircle, { className: "h-5 w-5" }) }),
197 197 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1", children: [
198 198 /* @__PURE__ */ jsxRuntimeExports.jsx(CardTitle, { children: __("WhatsApp Notifications", "yatra") }),
199 199 /* @__PURE__ */ jsxRuntimeExports.jsx(CardDescription, { className: "mt-1", children: __(
200 - "Available on the Growth plan (or Agency). Send booking + payment + reminder messages — bring your own Meta Cloud API credentials.",
200 + "Available on the Growth plan (or Scale). Send booking + payment + reminder messages — bring your own Meta Cloud API credentials.",
201 201 "yatra"
202 202 ) })
203 203 ] })
204 204 ] }) }),
@@ -2065,9 +2065,9 @@
2065 2065 const blob = new Blob([csv], { type: "text/csv;charset=utf-8;" });
2066 2066 const url = URL.createObjectURL(blob);
2067 2067 const a = document.createElement("a");
2068 2068 a.href = url;
2069 - a.download = `whatsapp-opt-ins-${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.csv`;
2069 + a.download = `whatsapp-opt-ins-${todayYmd()}.csv`;
2070 2070 document.body.appendChild(a);
2071 2071 a.click();
2072 2072 document.body.removeChild(a);
2073 2073 URL.revokeObjectURL(url);