From d21188b8150eb583d1630072a3b54fbfbf9febd0 Mon Sep 17 00:00:00 2001 From: wix-docs-feds <87931637+wix-docs-feds@users.noreply.github.com> Date: Wed, 13 Sep 2023 17:15:20 +0300 Subject: [PATCH] Fixed typo in example changes: Service wix-events-frontend.Tickets operation checkout.examples[1] has changed body Service wix-events-frontend.Tickets operation reserve.examples[1] has changed body Service wix-events-frontend.Tickets operation updateOrder.examples[1] has changed body Service wix-events-frontend.Tickets operation verifyCoupon.examples[2] has changed body Service wix-events-frontend property tickets.examples[0] has changed body Co-authored-by: ievakr --- .../wix-events-frontend.service.json | 8 +-- .../wix-events-frontend/Form.service.json | 9 +-- .../wix-events-frontend/Tickets.service.json | 56 ++++++++----------- 3 files changed, 31 insertions(+), 42 deletions(-) diff --git a/wix-events-frontend/wix-events-frontend.service.json b/wix-events-frontend/wix-events-frontend.service.json index 8ad0f4103e..1adea5a2c1 100644 --- a/wix-events-frontend/wix-events-frontend.service.json +++ b/wix-events-frontend/wix-events-frontend.service.json @@ -167,9 +167,9 @@ " $w(\"#ticketRepeater\").data = tickets;", "", " // Define button click actions", - " $w(\"reservationButton\").onClick(reserveTickets);", - " $w(\"checkoutButton\").onClick(checkoutTickets);", - " $w(\"updateButton\").onClick(updateTickets);", + " $w(\"#reservationButton\").onClick(reserveTickets);", + " $w(\"#checkoutButton\").onClick(checkoutTickets);", + " $w(\"#updateButton\").onClick(updateTickets);", "", " // Verify coupon code when it is entered", " $w(\"#couponCode\").onCustomValidation(verifyCouponCode);", @@ -243,7 +243,7 @@ " orderNumber = order.orderNumber", " wixPayFrontend.startPayment(order.paymentId);", " // Note that PDF tickets are available before payment is complete", - " $w(\"ticketsPdfLink\").value = order.ticketsPdf;", + " $w(\"#ticketsPdfLink\").value = order.ticketsPdf;", " })", " .catch((error) => {", " console.log(\"Error\", error.message)", diff --git a/wix-events-frontend/wix-events-frontend/Form.service.json b/wix-events-frontend/wix-events-frontend/Form.service.json index 9840a70adb..d0ed35ee10 100644 --- a/wix-events-frontend/wix-events-frontend/Form.service.json +++ b/wix-events-frontend/wix-events-frontend/Form.service.json @@ -1,8 +1,7 @@ { "name": "Form", "memberOf": "wix-events-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "form.js" }, @@ -17,8 +16,7 @@ { } }, "properties": [ { "name": "formData", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "wix-events-frontend.Form.FormData", @@ -1041,8 +1039,7 @@ "doc": "Whether the event is a ticketed event." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "FormValue", "locations": [ { "lineno": 138, diff --git a/wix-events-frontend/wix-events-frontend/Tickets.service.json b/wix-events-frontend/wix-events-frontend/Tickets.service.json index d08f528adf..fa966da494 100644 --- a/wix-events-frontend/wix-events-frontend/Tickets.service.json +++ b/wix-events-frontend/wix-events-frontend/Tickets.service.json @@ -373,9 +373,9 @@ " $w(\"#ticketRepeater\").data = tickets;", "", " // Define button click actions", - " $w(\"reservationButton\").onClick(reserveTickets);", - " $w(\"checkoutButton\").onClick(checkoutTickets);", - " $w(\"updateButton\").onClick(updateTickets);", + " $w(\"#reservationButton\").onClick(reserveTickets);", + " $w(\"#checkoutButton\").onClick(checkoutTickets);", + " $w(\"#updateButton\").onClick(updateTickets);", "", " // Verify coupon code when it is entered", " $w(\"#couponCode\").onCustomValidation(verifyCouponCode);", @@ -449,7 +449,7 @@ " orderNumber = order.orderNumber", " wixPayFrontend.startPayment(order.paymentId);", " // Note that PDF tickets are available before payment is complete", - " $w(\"ticketsPdfLink\").value = order.ticketsPdf;", + " $w(\"#ticketsPdfLink\").value = order.ticketsPdf;", " })", " .catch((error) => {", " console.log(\"Error\", error.message)", @@ -798,9 +798,9 @@ " $w(\"#ticketRepeater\").data = tickets;", "", " // Define button click actions", - " $w(\"reservationButton\").onClick(reserveTickets);", - " $w(\"checkoutButton\").onClick(checkoutTickets);", - " $w(\"updateButton\").onClick(updateTickets);", + " $w(\"#reservationButton\").onClick(reserveTickets);", + " $w(\"#checkoutButton\").onClick(checkoutTickets);", + " $w(\"#updateButton\").onClick(updateTickets);", "", " // Verify coupon code when it is entered", " $w(\"#couponCode\").onCustomValidation(verifyCouponCode);", @@ -874,7 +874,7 @@ " orderNumber = order.orderNumber", " wixPayFrontend.startPayment(order.paymentId);", " // Note that PDF tickets are available before payment is complete", - " $w(\"ticketsPdfLink\").value = order.ticketsPdf;", + " $w(\"#ticketsPdfLink\").value = order.ticketsPdf;", " })", " .catch((error) => {", " console.log(\"Error\", error.message)", @@ -1231,9 +1231,9 @@ " $w(\"#ticketRepeater\").data = tickets;", "", " // Define button click actions", - " $w(\"reservationButton\").onClick(reserveTickets);", - " $w(\"checkoutButton\").onClick(checkoutTickets);", - " $w(\"updateButton\").onClick(updateTickets);", + " $w(\"#reservationButton\").onClick(reserveTickets);", + " $w(\"#checkoutButton\").onClick(checkoutTickets);", + " $w(\"#updateButton\").onClick(updateTickets);", "", " // Verify coupon code when it is entered", " $w(\"#couponCode\").onCustomValidation(verifyCouponCode);", @@ -1307,7 +1307,7 @@ " orderNumber = order.orderNumber", " wixPayFrontend.startPayment(order.paymentId);", " // Note that PDF tickets are available before payment is complete", - " $w(\"ticketsPdfLink\").value = order.ticketsPdf;", + " $w(\"#ticketsPdfLink\").value = order.ticketsPdf;", " })", " .catch((error) => {", " console.log(\"Error\", error.message)", @@ -1681,9 +1681,9 @@ " $w(\"#ticketRepeater\").data = tickets;", "", " // Define button click actions", - " $w(\"reservationButton\").onClick(reserveTickets);", - " $w(\"checkoutButton\").onClick(checkoutTickets);", - " $w(\"updateButton\").onClick(updateTickets);", + " $w(\"#reservationButton\").onClick(reserveTickets);", + " $w(\"#checkoutButton\").onClick(checkoutTickets);", + " $w(\"#updateButton\").onClick(updateTickets);", "", " // Verify coupon code when it is entered", " $w(\"#couponCode\").onCustomValidation(verifyCouponCode);", @@ -1757,7 +1757,7 @@ " orderNumber = order.orderNumber", " wixPayFrontend.startPayment(order.paymentId);", " // Note that PDF tickets are available before payment is complete", - " $w(\"ticketsPdfLink\").value = order.ticketsPdf;", + " $w(\"#ticketsPdfLink\").value = order.ticketsPdf;", " })", " .catch((error) => {", " console.log(\"Error\", error.message)", @@ -2129,8 +2129,7 @@ "optional": true } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "CheckoutResponse", "locations": [ { "lineno": 168, @@ -2419,8 +2418,7 @@ "doc": "Time the reservations expire." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "Discount", "locations": [ { "lineno": 349, @@ -2906,8 +2904,7 @@ "doc": "ID of the coupon used in the discount." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "DiscountError", "locations": [ { "lineno": 203, @@ -3815,8 +3812,7 @@ "doc": "Total amount of fee charges." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "Invoice", "locations": [ { "lineno": 309, @@ -4319,8 +4315,7 @@ "doc": "Total revenue with taxes, excluding fees. Payment provider fees are not deducted." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "InvoiceItem", "locations": [ { "lineno": 332, @@ -4820,8 +4815,7 @@ "doc": "Invoice item applied fee charges." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "Money", "locations": [ { "lineno": 245, @@ -5409,8 +5403,7 @@ "doc": "Transaction ID." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "Reservation", "locations": [ { "lineno": 219, @@ -6371,8 +6364,7 @@ "doc": "Total tax amount." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "Ticket", "locations": [ { "lineno": 228,