@aranova/tracking-next 1.2.0 → 1.2.1
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/dist/calendar-server.d.mts +1 -1
- package/dist/calendar-server.d.ts +1 -1
- package/dist/calendar.d.mts +6 -3
- package/dist/calendar.d.ts +6 -3
- package/dist/calendar.js +6 -0
- package/dist/calendar.js.map +1 -1
- package/dist/calendar.mjs +6 -0
- package/dist/calendar.mjs.map +1 -1
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +1 -1
- package/dist/client.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +1 -1
- package/dist/sales.js +4 -0
- package/dist/sales.js.map +1 -1
- package/dist/sales.mjs +4 -0
- package/dist/sales.mjs.map +1 -1
- package/dist/{transport-CAZYrZbB.d.ts → transport-ChCL6vPv.d.ts} +2 -0
- package/dist/{transport-BlXQZs9Z.d.mts → transport-DvAEZ1xf.d.mts} +2 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -7,8 +7,8 @@ export { A as AranovaApiError, f as formatDateInTz } from './date-BHetnL7s.mjs';
|
|
|
7
7
|
export { AdPlatformTracking, AdPlatformTrackingProps, ConsentBanner, ConsentBannerProps, CreateTrackingOptions, CreateTrackingResult, GoogleAdsTracking, GoogleAdsTrackingProps, PhoneField, PhoneFieldApi, PhoneFieldProps, PhoneInputProps, TrackingProviderProps, UseConsentResult, UseCookiePreferencesOptions, UseCookiePreferencesResult, UsePhoneFieldOptions, createTracking, useConsent, useConsentState, useCookiePreferences, useGclid, usePhoneConfig, usePhoneField, useTrackingParams } from '@aranova/tracking-next/client';
|
|
8
8
|
import { CalendarReadClient, ComputeSlotsOptions, OpeningHours, Slot } from './calendar.mjs';
|
|
9
9
|
export { BookingAttribution, BusyQuery, CalendarReadClientConfig, ComputeSlotsResult, OpeningInterval, computeSlots, createCalendarReadClient, durationMinutes, endOfDayInTz, formatSlotRange, getBookingAttribution, groupSlotsByDay, instantFromWallClock, isCalendarError, localDateKey, offsetMinutesAt, resolveBrowserTimeZone, startOfDayInTz } from './calendar.mjs';
|
|
10
|
-
import { a as Booking, B as BookingCreateInput, d as BusyInterval } from './transport-
|
|
11
|
-
export { e as BOOKING_SOURCES, f as BOOKING_STATUSES, g as BookingAttendee, c as BookingCancelInput, h as BookingCustomer, i as BookingLocation, j as BookingMetadata, k as BookingReminders, b as BookingRescheduleInput, l as BookingStatus, m as BusyResponse, n as CALENDAR_ERROR_CODES, o as CALENDAR_METADATA_SCHEMA_VERSION, p as CALENDAR_SYNC_STATUSES, q as CalendarErrorCode, r as CalendarSummary, s as CalendarSyncStatus, C as CalendarTransportConfig, G as GOOGLE_SYNC_STATES, t as GoogleSyncState, J as JsonScalar, M as MAX_ATTENDEES, u as MAX_BOOKING_MINUTES, v as MAX_REMINDER_MINUTES, w as MAX_REMINDER_OVERRIDES, x as bookingAttendeeSchema, y as bookingCancelSchema, z as bookingCreateSchema, A as bookingCustomerSchema, D as bookingLocationNullableSchema, E as bookingLocationSchema, F as bookingMetadataSchema, H as bookingReminderSchema, I as bookingRemindersSchema, K as bookingRescheduleSchema } from './transport-
|
|
10
|
+
import { a as Booking, B as BookingCreateInput, d as BusyInterval } from './transport-DvAEZ1xf.mjs';
|
|
11
|
+
export { e as BOOKING_SOURCES, f as BOOKING_STATUSES, g as BookingAttendee, c as BookingCancelInput, h as BookingCustomer, i as BookingLocation, j as BookingMetadata, k as BookingReminders, b as BookingRescheduleInput, l as BookingStatus, m as BusyResponse, n as CALENDAR_ERROR_CODES, o as CALENDAR_METADATA_SCHEMA_VERSION, p as CALENDAR_SYNC_STATUSES, q as CalendarErrorCode, r as CalendarSummary, s as CalendarSyncStatus, C as CalendarTransportConfig, G as GOOGLE_SYNC_STATES, t as GoogleSyncState, J as JsonScalar, M as MAX_ATTENDEES, u as MAX_BOOKING_MINUTES, v as MAX_REMINDER_MINUTES, w as MAX_REMINDER_OVERRIDES, x as bookingAttendeeSchema, y as bookingCancelSchema, z as bookingCreateSchema, A as bookingCustomerSchema, D as bookingLocationNullableSchema, E as bookingLocationSchema, F as bookingMetadataSchema, H as bookingReminderSchema, I as bookingRemindersSchema, K as bookingRescheduleSchema } from './transport-DvAEZ1xf.mjs';
|
|
12
12
|
import { ReactNode } from 'react';
|
|
13
13
|
export { CountryCode } from 'libphonenumber-js';
|
|
14
14
|
import 'zod/mini';
|
package/dist/index.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ export { A as AranovaApiError, f as formatDateInTz } from './date-BHetnL7s.js';
|
|
|
7
7
|
export { AdPlatformTracking, AdPlatformTrackingProps, ConsentBanner, ConsentBannerProps, CreateTrackingOptions, CreateTrackingResult, GoogleAdsTracking, GoogleAdsTrackingProps, PhoneField, PhoneFieldApi, PhoneFieldProps, PhoneInputProps, TrackingProviderProps, UseConsentResult, UseCookiePreferencesOptions, UseCookiePreferencesResult, UsePhoneFieldOptions, createTracking, useConsent, useConsentState, useCookiePreferences, useGclid, usePhoneConfig, usePhoneField, useTrackingParams } from '@aranova/tracking-next/client';
|
|
8
8
|
import { CalendarReadClient, ComputeSlotsOptions, OpeningHours, Slot } from './calendar.js';
|
|
9
9
|
export { BookingAttribution, BusyQuery, CalendarReadClientConfig, ComputeSlotsResult, OpeningInterval, computeSlots, createCalendarReadClient, durationMinutes, endOfDayInTz, formatSlotRange, getBookingAttribution, groupSlotsByDay, instantFromWallClock, isCalendarError, localDateKey, offsetMinutesAt, resolveBrowserTimeZone, startOfDayInTz } from './calendar.js';
|
|
10
|
-
import { a as Booking, B as BookingCreateInput, d as BusyInterval } from './transport-
|
|
11
|
-
export { e as BOOKING_SOURCES, f as BOOKING_STATUSES, g as BookingAttendee, c as BookingCancelInput, h as BookingCustomer, i as BookingLocation, j as BookingMetadata, k as BookingReminders, b as BookingRescheduleInput, l as BookingStatus, m as BusyResponse, n as CALENDAR_ERROR_CODES, o as CALENDAR_METADATA_SCHEMA_VERSION, p as CALENDAR_SYNC_STATUSES, q as CalendarErrorCode, r as CalendarSummary, s as CalendarSyncStatus, C as CalendarTransportConfig, G as GOOGLE_SYNC_STATES, t as GoogleSyncState, J as JsonScalar, M as MAX_ATTENDEES, u as MAX_BOOKING_MINUTES, v as MAX_REMINDER_MINUTES, w as MAX_REMINDER_OVERRIDES, x as bookingAttendeeSchema, y as bookingCancelSchema, z as bookingCreateSchema, A as bookingCustomerSchema, D as bookingLocationNullableSchema, E as bookingLocationSchema, F as bookingMetadataSchema, H as bookingReminderSchema, I as bookingRemindersSchema, K as bookingRescheduleSchema } from './transport-
|
|
10
|
+
import { a as Booking, B as BookingCreateInput, d as BusyInterval } from './transport-ChCL6vPv.js';
|
|
11
|
+
export { e as BOOKING_SOURCES, f as BOOKING_STATUSES, g as BookingAttendee, c as BookingCancelInput, h as BookingCustomer, i as BookingLocation, j as BookingMetadata, k as BookingReminders, b as BookingRescheduleInput, l as BookingStatus, m as BusyResponse, n as CALENDAR_ERROR_CODES, o as CALENDAR_METADATA_SCHEMA_VERSION, p as CALENDAR_SYNC_STATUSES, q as CalendarErrorCode, r as CalendarSummary, s as CalendarSyncStatus, C as CalendarTransportConfig, G as GOOGLE_SYNC_STATES, t as GoogleSyncState, J as JsonScalar, M as MAX_ATTENDEES, u as MAX_BOOKING_MINUTES, v as MAX_REMINDER_MINUTES, w as MAX_REMINDER_OVERRIDES, x as bookingAttendeeSchema, y as bookingCancelSchema, z as bookingCreateSchema, A as bookingCustomerSchema, D as bookingLocationNullableSchema, E as bookingLocationSchema, F as bookingMetadataSchema, H as bookingReminderSchema, I as bookingRemindersSchema, K as bookingRescheduleSchema } from './transport-ChCL6vPv.js';
|
|
12
12
|
import { ReactNode } from 'react';
|
|
13
13
|
export { CountryCode } from 'libphonenumber-js';
|
|
14
14
|
import 'zod/mini';
|
package/dist/index.js
CHANGED
|
@@ -1818,6 +1818,10 @@ var zErrorCode = z2.enum([
|
|
|
1818
1818
|
"manage_token_invalid",
|
|
1819
1819
|
"google_error",
|
|
1820
1820
|
"calendar_not_owned",
|
|
1821
|
+
"calendar_is_sandbox",
|
|
1822
|
+
"sandbox_exists",
|
|
1823
|
+
"sandbox_key_too_long",
|
|
1824
|
+
"sandbox_not_found",
|
|
1821
1825
|
"validation_error",
|
|
1822
1826
|
"unknown_service",
|
|
1823
1827
|
"invalid_sale_properties",
|
|
@@ -2317,7 +2321,9 @@ var zCalendarSummary = z4.strictObject({
|
|
|
2317
2321
|
connected_at: z4.nullable(z4.iso.datetime({ offset: true })),
|
|
2318
2322
|
google_account_email: z4.nullable(z4.string()),
|
|
2319
2323
|
granted_scopes: z4.nullable(z4.array(z4.string())),
|
|
2324
|
+
is_sandbox: z4.boolean(),
|
|
2320
2325
|
label: z4.string(),
|
|
2326
|
+
sandbox_key: z4.nullable(z4.string()),
|
|
2321
2327
|
status: z4.enum([
|
|
2322
2328
|
"pending_invite",
|
|
2323
2329
|
"awaiting_calendar_selection",
|
|
@@ -2360,6 +2366,10 @@ var zErrorCode2 = z4.enum([
|
|
|
2360
2366
|
"manage_token_invalid",
|
|
2361
2367
|
"google_error",
|
|
2362
2368
|
"calendar_not_owned",
|
|
2369
|
+
"calendar_is_sandbox",
|
|
2370
|
+
"sandbox_exists",
|
|
2371
|
+
"sandbox_key_too_long",
|
|
2372
|
+
"sandbox_not_found",
|
|
2363
2373
|
"validation_error",
|
|
2364
2374
|
"unknown_service",
|
|
2365
2375
|
"invalid_sale_properties",
|