@aranova/tracking-react 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/{bookings-CqCuuyP6.d.mts → bookings-CGWiBxnC.d.mts} +4 -0
- package/dist/{bookings-DIu1ho6v.d.ts → bookings-aJuXoVwX.d.ts} +4 -0
- package/dist/client.d.mts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +15 -3
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +15 -3
- package/dist/client.mjs.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +26 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{ingest-typed-D7UZr0EM.d.mts → ingest-typed-CytXGVw4.d.mts} +16 -2
- package/dist/{ingest-typed-D2S3Kb8m.d.ts → ingest-typed-DpT-uFme.d.ts} +16 -2
- package/dist/{sales-CxJVthx_.d.mts → sales-BdU9BRdG.d.mts} +1 -1
- package/dist/{sales-hlcVTJSS.d.ts → sales-Dvh-tPsk.d.ts} +1 -1
- package/dist/sales.d.mts +2 -2
- package/dist/sales.d.ts +2 -2
- package/dist/sales.js +7 -1
- package/dist/sales.js.map +1 -1
- package/dist/sales.mjs +7 -1
- package/dist/sales.mjs.map +1 -1
- package/package.json +1 -1
package/dist/sales.mjs
CHANGED
|
@@ -189,7 +189,12 @@ function getBookingIntegration(integrations) {
|
|
|
189
189
|
timezone: booking.timezone,
|
|
190
190
|
configVersion: booking.config_version,
|
|
191
191
|
rules,
|
|
192
|
-
options: booking.options.map((option) => ({
|
|
192
|
+
options: booking.options.map((option) => ({
|
|
193
|
+
key: option.key,
|
|
194
|
+
label: option.label,
|
|
195
|
+
group: option.group,
|
|
196
|
+
description: option.description
|
|
197
|
+
})),
|
|
193
198
|
mode: booking.mode ?? "live"
|
|
194
199
|
};
|
|
195
200
|
}
|
|
@@ -812,6 +817,7 @@ var zErrorCode = z.enum([
|
|
|
812
817
|
"booking_not_found",
|
|
813
818
|
"booking_not_cancellable",
|
|
814
819
|
"booking_not_reschedulable",
|
|
820
|
+
"booking_not_synced",
|
|
815
821
|
"manage_token_invalid",
|
|
816
822
|
"google_error",
|
|
817
823
|
"booking_unavailable",
|