@aranova/tracking-next 1.0.0 → 1.2.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 +48 -1
- package/dist/blog-server.js.map +1 -1
- package/dist/blog-server.mjs.map +1 -1
- package/dist/blog.js.map +1 -1
- package/dist/blog.mjs.map +1 -1
- package/dist/calendar-server.d.mts +1 -1
- package/dist/calendar-server.d.ts +1 -1
- package/dist/calendar-server.js.map +1 -1
- package/dist/calendar-server.mjs.map +1 -1
- package/dist/calendar.d.mts +14 -3
- package/dist/calendar.d.ts +14 -3
- package/dist/calendar.js +212 -18
- package/dist/calendar.js.map +1 -1
- package/dist/calendar.mjs +211 -18
- package/dist/calendar.mjs.map +1 -1
- package/dist/client.d.mts +9 -3
- package/dist/client.d.ts +9 -3
- package/dist/client.js +550 -194
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +550 -194
- package/dist/client.mjs.map +1 -1
- package/dist/index.d.mts +10 -9
- package/dist/index.d.ts +10 -9
- package/dist/index.js +491 -284
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +490 -284
- package/dist/index.mjs.map +1 -1
- package/dist/{ingest-typed-BdKmlouW.d.ts → ingest-typed-MBuMe9Pn.d.ts} +94 -2
- package/dist/{ingest-typed-Bo7WPmpU.d.mts → ingest-typed-UA13xTfI.d.mts} +94 -2
- package/dist/{phone-utils-CubQif9Z.d.mts → phone-utils-C0ds6cqZ.d.mts} +6 -0
- package/dist/{phone-utils-CubQif9Z.d.ts → phone-utils-C0ds6cqZ.d.ts} +6 -0
- package/dist/phone.d.mts +1 -1
- package/dist/phone.d.ts +1 -1
- package/dist/{sales-DG150g3o.d.ts → sales-DQC815f3.d.ts} +1 -1
- package/dist/{sales-D7KstKA-.d.mts → sales-w1reW_Y3.d.mts} +1 -1
- package/dist/sales.d.mts +2 -2
- package/dist/sales.d.ts +2 -2
- package/dist/sales.js +17 -1
- package/dist/sales.js.map +1 -1
- package/dist/sales.mjs +17 -1
- package/dist/sales.mjs.map +1 -1
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/{tracking-config-runtime-D7prdTE1.d.mts → tracking-config-runtime-C6H7ofmo.d.mts} +6 -0
- package/dist/{tracking-config-runtime-D7prdTE1.d.ts → tracking-config-runtime-C6H7ofmo.d.ts} +6 -0
- package/dist/{transport-I_cMSFQ6.d.mts → transport-BlXQZs9Z.d.mts} +120 -50
- package/dist/{transport-CDmGOiCq.d.ts → transport-CAZYrZbB.d.ts} +120 -50
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import * as src from 'src';
|
|
|
2
2
|
import * as zod_v4_core from 'zod/v4/core';
|
|
3
3
|
import { $ZodType } from 'zod/v4/core';
|
|
4
4
|
import * as z from 'zod/mini';
|
|
5
|
-
import { F as FormSubmitConfig, j as FormSubmitMetadata } from './phone-utils-
|
|
5
|
+
import { F as FormSubmitConfig, j as FormSubmitMetadata } from './phone-utils-C0ds6cqZ.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Metadata for a manually fired `cta_click` event.
|
|
@@ -269,6 +269,41 @@ declare const specificPageVisitConfigSchema: z.ZodMiniObject<{
|
|
|
269
269
|
}, z.core.$strict>;
|
|
270
270
|
type SpecificPageVisitConfig = z.infer<typeof specificPageVisitConfigSchema>;
|
|
271
271
|
|
|
272
|
+
/** Metadata for `site_link_click`: a decorated hop to a sibling site (`destination_url` sans token). */
|
|
273
|
+
declare const siteLinkClickMetadataSchema: z.ZodMiniObject<{
|
|
274
|
+
destination_host: z.ZodMiniString<string>;
|
|
275
|
+
destination_url: z.ZodMiniString<string>;
|
|
276
|
+
page: z.ZodMiniObject<{
|
|
277
|
+
path: z.ZodMiniString<string>;
|
|
278
|
+
}, z.core.$strict>;
|
|
279
|
+
}, z.core.$strict>;
|
|
280
|
+
type SiteLinkClickMetadata = z.infer<typeof siteLinkClickMetadataSchema>;
|
|
281
|
+
/** `site_link_click` is SDK-internal; no consumer options. */
|
|
282
|
+
declare const siteLinkClickConfigSchema: z.ZodMiniObject<{}, z.core.$strict>;
|
|
283
|
+
type SiteLinkClickConfig = z.infer<typeof siteLinkClickConfigSchema>;
|
|
284
|
+
/**
|
|
285
|
+
* Metadata for `site_link_arrival`: this page load carried a linker token.
|
|
286
|
+
* `stale` / `invalid` are reported but never adopted; origin ids only for `linked`.
|
|
287
|
+
*/
|
|
288
|
+
declare const siteLinkArrivalMetadataSchema: z.ZodMiniObject<{
|
|
289
|
+
outcome: z.ZodMiniEnum<{
|
|
290
|
+
linked: "linked";
|
|
291
|
+
stale: "stale";
|
|
292
|
+
invalid: "invalid";
|
|
293
|
+
}>;
|
|
294
|
+
origin_session_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
295
|
+
origin_visitor_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
296
|
+
transit_ms: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
|
|
297
|
+
adopted_visitor: z.ZodMiniBoolean<boolean>;
|
|
298
|
+
page: z.ZodMiniObject<{
|
|
299
|
+
path: z.ZodMiniString<string>;
|
|
300
|
+
}, z.core.$strict>;
|
|
301
|
+
}, z.core.$strict>;
|
|
302
|
+
type SiteLinkArrivalMetadata = z.infer<typeof siteLinkArrivalMetadataSchema>;
|
|
303
|
+
/** `site_link_arrival` is SDK-internal; no consumer options. */
|
|
304
|
+
declare const siteLinkArrivalConfigSchema: z.ZodMiniObject<{}, z.core.$strict>;
|
|
305
|
+
type SiteLinkArrivalConfig = z.infer<typeof siteLinkArrivalConfigSchema>;
|
|
306
|
+
|
|
272
307
|
/**
|
|
273
308
|
* Metadata for the automatic `time_on_site` event.
|
|
274
309
|
*
|
|
@@ -371,6 +406,18 @@ declare const EVENT_SEMANTICS: {
|
|
|
371
406
|
readonly outcomeRole: "engagement";
|
|
372
407
|
readonly clientVisibility: "simple";
|
|
373
408
|
};
|
|
409
|
+
readonly site_link_click: {
|
|
410
|
+
readonly label: "Left for sibling site";
|
|
411
|
+
readonly category: "page";
|
|
412
|
+
readonly outcomeRole: "navigation";
|
|
413
|
+
readonly clientVisibility: "detailed";
|
|
414
|
+
};
|
|
415
|
+
readonly site_link_arrival: {
|
|
416
|
+
readonly label: "Arrived from sibling site";
|
|
417
|
+
readonly category: "page";
|
|
418
|
+
readonly outcomeRole: "navigation";
|
|
419
|
+
readonly clientVisibility: "simple";
|
|
420
|
+
};
|
|
374
421
|
};
|
|
375
422
|
type EventName = keyof typeof EVENT_SEMANTICS;
|
|
376
423
|
declare function getEventSemantics(eventName: string): EventSemantics | null;
|
|
@@ -540,6 +587,47 @@ declare const EVENT_REGISTRY: {
|
|
|
540
587
|
}, zod_v4_core.$strict>;
|
|
541
588
|
readonly configSchema: z.ZodMiniObject<{}, zod_v4_core.$strict>;
|
|
542
589
|
};
|
|
590
|
+
readonly site_link_click: {
|
|
591
|
+
readonly kind: "automatic";
|
|
592
|
+
readonly semantics: {
|
|
593
|
+
readonly label: "Left for sibling site";
|
|
594
|
+
readonly category: "page";
|
|
595
|
+
readonly outcomeRole: "navigation";
|
|
596
|
+
readonly clientVisibility: "detailed";
|
|
597
|
+
};
|
|
598
|
+
readonly metadataSchema: z.ZodMiniObject<{
|
|
599
|
+
destination_host: z.ZodMiniString<string>;
|
|
600
|
+
destination_url: z.ZodMiniString<string>;
|
|
601
|
+
page: z.ZodMiniObject<{
|
|
602
|
+
path: z.ZodMiniString<string>;
|
|
603
|
+
}, zod_v4_core.$strict>;
|
|
604
|
+
}, zod_v4_core.$strict>;
|
|
605
|
+
readonly configSchema: z.ZodMiniObject<{}, zod_v4_core.$strict>;
|
|
606
|
+
};
|
|
607
|
+
readonly site_link_arrival: {
|
|
608
|
+
readonly kind: "automatic";
|
|
609
|
+
readonly semantics: {
|
|
610
|
+
readonly label: "Arrived from sibling site";
|
|
611
|
+
readonly category: "page";
|
|
612
|
+
readonly outcomeRole: "navigation";
|
|
613
|
+
readonly clientVisibility: "simple";
|
|
614
|
+
};
|
|
615
|
+
readonly metadataSchema: z.ZodMiniObject<{
|
|
616
|
+
outcome: z.ZodMiniEnum<{
|
|
617
|
+
linked: "linked";
|
|
618
|
+
stale: "stale";
|
|
619
|
+
invalid: "invalid";
|
|
620
|
+
}>;
|
|
621
|
+
origin_session_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
622
|
+
origin_visitor_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
623
|
+
transit_ms: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
|
|
624
|
+
adopted_visitor: z.ZodMiniBoolean<boolean>;
|
|
625
|
+
page: z.ZodMiniObject<{
|
|
626
|
+
path: z.ZodMiniString<string>;
|
|
627
|
+
}, zod_v4_core.$strict>;
|
|
628
|
+
}, zod_v4_core.$strict>;
|
|
629
|
+
readonly configSchema: z.ZodMiniObject<{}, zod_v4_core.$strict>;
|
|
630
|
+
};
|
|
543
631
|
readonly form_submit: {
|
|
544
632
|
readonly kind: "manual";
|
|
545
633
|
readonly semantics: {
|
|
@@ -634,6 +722,8 @@ type MetadataByName = {
|
|
|
634
722
|
form_start: FormStartMetadata;
|
|
635
723
|
sdk_heartbeat: SdkHeartbeatMetadata;
|
|
636
724
|
page_exit: PageExitMetadata;
|
|
725
|
+
site_link_click: SiteLinkClickMetadata;
|
|
726
|
+
site_link_arrival: SiteLinkArrivalMetadata;
|
|
637
727
|
form_submit: FormSubmitMetadata;
|
|
638
728
|
phone_click: PhoneClickMetadata;
|
|
639
729
|
cta_click: CtaClickMetadata;
|
|
@@ -647,6 +737,8 @@ type ConfigByName = {
|
|
|
647
737
|
form_start: FormStartConfig;
|
|
648
738
|
sdk_heartbeat: SdkHeartbeatConfig;
|
|
649
739
|
page_exit: PageExitConfig;
|
|
740
|
+
site_link_click: SiteLinkClickConfig;
|
|
741
|
+
site_link_arrival: SiteLinkArrivalConfig;
|
|
650
742
|
form_submit: FormSubmitConfig;
|
|
651
743
|
phone_click: PhoneClickConfig;
|
|
652
744
|
cta_click: CtaClickConfig;
|
|
@@ -788,4 +880,4 @@ interface TypedTrackingClient<TRegistry extends TriggerRegistryConfig> {
|
|
|
788
880
|
getVisitorId(): string;
|
|
789
881
|
}
|
|
790
882
|
|
|
791
|
-
export {
|
|
883
|
+
export { formStartMetadataSchema as $, ALL_AUTOMATIC_EVENT_NAMES as A, type ScrollDepthMetadata as B, type CtaClickConfig as C, type SdkHeartbeatConfig as D, EVENT_REGISTRY as E, type FormStartConfig as F, type SdkHeartbeatMetadata as G, type SiteLinkArrivalConfig as H, type SiteLinkArrivalMetadata as I, type SiteLinkClickConfig as J, type SiteLinkClickMetadata as K, type SpecificPageName as L, type ManualEventName as M, type SpecificPageVisitConfig as N, type SpecificPageVisitMetadata as O, PAGE_IDENTITY_MAX_LENGTH as P, type TimeOnSiteMetadata as Q, type RegisteredAutomaticEvents as R, SPECIFIC_PAGE_NAMES as S, type TimeOnSiteConfig as T, type TrackableEvent as U, type TriggerRegistryConfig as V, type TypedTrackEventOptions as W, type TypedTrackingClient as X, ctaClickConfigSchema as Y, ctaClickMetadataSchema as Z, formStartConfigSchema as _, ALL_LEAD_EVENT_NAMES as a, getEventDefinition as a0, getEventSemantics as a1, multiPageSessionConfigSchema as a2, multiPageSessionMetadataSchema as a3, pageExitConfigSchema as a4, pageExitMetadataSchema as a5, pageIdentitySchema as a6, pageViewConfigSchema as a7, pageViewMetadataSchema as a8, phoneClickConfigSchema as a9, phoneClickMetadataSchema as aa, scrollDepthConfigSchema as ab, scrollDepthMetadataSchema as ac, sdkHeartbeatConfigSchema as ad, sdkHeartbeatMetadataSchema as ae, sdkHeartbeatTriggersSchema as af, siteLinkArrivalConfigSchema as ag, siteLinkArrivalMetadataSchema as ah, siteLinkClickConfigSchema as ai, siteLinkClickMetadataSchema as aj, specificPageNameSchema as ak, specificPageVisitConfigSchema as al, specificPageVisitMetadataSchema as am, timeOnSiteConfigSchema as an, timeOnSiteMetadataSchema as ao, ALL_MANUAL_EVENT_NAMES as b, type AutomaticEventName as c, type CtaClickMetadata as d, EVENT_SEMANTICS as e, type EventCategory as f, type EventClientVisibility as g, type EventConfig as h, type EventKind as i, type EventMetadata as j, type EventName as k, type EventOutcomeRole as l, type EventSemantics as m, type FormStartMetadata as n, type MultiPageSessionConfig as o, type MultiPageSessionMetadata as p, PAGE_IDENTITY_PATTERN as q, type PageExitConfig as r, type PageExitMetadata as s, type PageIdentity as t, type PageViewConfig as u, type PageViewMetadata as v, type PhoneClickConfig as w, type PhoneClickMetadata as x, type RegisteredManualEvents as y, type ScrollDepthConfig as z };
|
|
@@ -2,7 +2,7 @@ import * as src from 'src';
|
|
|
2
2
|
import * as zod_v4_core from 'zod/v4/core';
|
|
3
3
|
import { $ZodType } from 'zod/v4/core';
|
|
4
4
|
import * as z from 'zod/mini';
|
|
5
|
-
import { F as FormSubmitConfig, j as FormSubmitMetadata } from './phone-utils-
|
|
5
|
+
import { F as FormSubmitConfig, j as FormSubmitMetadata } from './phone-utils-C0ds6cqZ.mjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Metadata for a manually fired `cta_click` event.
|
|
@@ -269,6 +269,41 @@ declare const specificPageVisitConfigSchema: z.ZodMiniObject<{
|
|
|
269
269
|
}, z.core.$strict>;
|
|
270
270
|
type SpecificPageVisitConfig = z.infer<typeof specificPageVisitConfigSchema>;
|
|
271
271
|
|
|
272
|
+
/** Metadata for `site_link_click`: a decorated hop to a sibling site (`destination_url` sans token). */
|
|
273
|
+
declare const siteLinkClickMetadataSchema: z.ZodMiniObject<{
|
|
274
|
+
destination_host: z.ZodMiniString<string>;
|
|
275
|
+
destination_url: z.ZodMiniString<string>;
|
|
276
|
+
page: z.ZodMiniObject<{
|
|
277
|
+
path: z.ZodMiniString<string>;
|
|
278
|
+
}, z.core.$strict>;
|
|
279
|
+
}, z.core.$strict>;
|
|
280
|
+
type SiteLinkClickMetadata = z.infer<typeof siteLinkClickMetadataSchema>;
|
|
281
|
+
/** `site_link_click` is SDK-internal; no consumer options. */
|
|
282
|
+
declare const siteLinkClickConfigSchema: z.ZodMiniObject<{}, z.core.$strict>;
|
|
283
|
+
type SiteLinkClickConfig = z.infer<typeof siteLinkClickConfigSchema>;
|
|
284
|
+
/**
|
|
285
|
+
* Metadata for `site_link_arrival`: this page load carried a linker token.
|
|
286
|
+
* `stale` / `invalid` are reported but never adopted; origin ids only for `linked`.
|
|
287
|
+
*/
|
|
288
|
+
declare const siteLinkArrivalMetadataSchema: z.ZodMiniObject<{
|
|
289
|
+
outcome: z.ZodMiniEnum<{
|
|
290
|
+
linked: "linked";
|
|
291
|
+
stale: "stale";
|
|
292
|
+
invalid: "invalid";
|
|
293
|
+
}>;
|
|
294
|
+
origin_session_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
295
|
+
origin_visitor_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
296
|
+
transit_ms: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
|
|
297
|
+
adopted_visitor: z.ZodMiniBoolean<boolean>;
|
|
298
|
+
page: z.ZodMiniObject<{
|
|
299
|
+
path: z.ZodMiniString<string>;
|
|
300
|
+
}, z.core.$strict>;
|
|
301
|
+
}, z.core.$strict>;
|
|
302
|
+
type SiteLinkArrivalMetadata = z.infer<typeof siteLinkArrivalMetadataSchema>;
|
|
303
|
+
/** `site_link_arrival` is SDK-internal; no consumer options. */
|
|
304
|
+
declare const siteLinkArrivalConfigSchema: z.ZodMiniObject<{}, z.core.$strict>;
|
|
305
|
+
type SiteLinkArrivalConfig = z.infer<typeof siteLinkArrivalConfigSchema>;
|
|
306
|
+
|
|
272
307
|
/**
|
|
273
308
|
* Metadata for the automatic `time_on_site` event.
|
|
274
309
|
*
|
|
@@ -371,6 +406,18 @@ declare const EVENT_SEMANTICS: {
|
|
|
371
406
|
readonly outcomeRole: "engagement";
|
|
372
407
|
readonly clientVisibility: "simple";
|
|
373
408
|
};
|
|
409
|
+
readonly site_link_click: {
|
|
410
|
+
readonly label: "Left for sibling site";
|
|
411
|
+
readonly category: "page";
|
|
412
|
+
readonly outcomeRole: "navigation";
|
|
413
|
+
readonly clientVisibility: "detailed";
|
|
414
|
+
};
|
|
415
|
+
readonly site_link_arrival: {
|
|
416
|
+
readonly label: "Arrived from sibling site";
|
|
417
|
+
readonly category: "page";
|
|
418
|
+
readonly outcomeRole: "navigation";
|
|
419
|
+
readonly clientVisibility: "simple";
|
|
420
|
+
};
|
|
374
421
|
};
|
|
375
422
|
type EventName = keyof typeof EVENT_SEMANTICS;
|
|
376
423
|
declare function getEventSemantics(eventName: string): EventSemantics | null;
|
|
@@ -540,6 +587,47 @@ declare const EVENT_REGISTRY: {
|
|
|
540
587
|
}, zod_v4_core.$strict>;
|
|
541
588
|
readonly configSchema: z.ZodMiniObject<{}, zod_v4_core.$strict>;
|
|
542
589
|
};
|
|
590
|
+
readonly site_link_click: {
|
|
591
|
+
readonly kind: "automatic";
|
|
592
|
+
readonly semantics: {
|
|
593
|
+
readonly label: "Left for sibling site";
|
|
594
|
+
readonly category: "page";
|
|
595
|
+
readonly outcomeRole: "navigation";
|
|
596
|
+
readonly clientVisibility: "detailed";
|
|
597
|
+
};
|
|
598
|
+
readonly metadataSchema: z.ZodMiniObject<{
|
|
599
|
+
destination_host: z.ZodMiniString<string>;
|
|
600
|
+
destination_url: z.ZodMiniString<string>;
|
|
601
|
+
page: z.ZodMiniObject<{
|
|
602
|
+
path: z.ZodMiniString<string>;
|
|
603
|
+
}, zod_v4_core.$strict>;
|
|
604
|
+
}, zod_v4_core.$strict>;
|
|
605
|
+
readonly configSchema: z.ZodMiniObject<{}, zod_v4_core.$strict>;
|
|
606
|
+
};
|
|
607
|
+
readonly site_link_arrival: {
|
|
608
|
+
readonly kind: "automatic";
|
|
609
|
+
readonly semantics: {
|
|
610
|
+
readonly label: "Arrived from sibling site";
|
|
611
|
+
readonly category: "page";
|
|
612
|
+
readonly outcomeRole: "navigation";
|
|
613
|
+
readonly clientVisibility: "simple";
|
|
614
|
+
};
|
|
615
|
+
readonly metadataSchema: z.ZodMiniObject<{
|
|
616
|
+
outcome: z.ZodMiniEnum<{
|
|
617
|
+
linked: "linked";
|
|
618
|
+
stale: "stale";
|
|
619
|
+
invalid: "invalid";
|
|
620
|
+
}>;
|
|
621
|
+
origin_session_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
622
|
+
origin_visitor_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
623
|
+
transit_ms: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
|
|
624
|
+
adopted_visitor: z.ZodMiniBoolean<boolean>;
|
|
625
|
+
page: z.ZodMiniObject<{
|
|
626
|
+
path: z.ZodMiniString<string>;
|
|
627
|
+
}, zod_v4_core.$strict>;
|
|
628
|
+
}, zod_v4_core.$strict>;
|
|
629
|
+
readonly configSchema: z.ZodMiniObject<{}, zod_v4_core.$strict>;
|
|
630
|
+
};
|
|
543
631
|
readonly form_submit: {
|
|
544
632
|
readonly kind: "manual";
|
|
545
633
|
readonly semantics: {
|
|
@@ -634,6 +722,8 @@ type MetadataByName = {
|
|
|
634
722
|
form_start: FormStartMetadata;
|
|
635
723
|
sdk_heartbeat: SdkHeartbeatMetadata;
|
|
636
724
|
page_exit: PageExitMetadata;
|
|
725
|
+
site_link_click: SiteLinkClickMetadata;
|
|
726
|
+
site_link_arrival: SiteLinkArrivalMetadata;
|
|
637
727
|
form_submit: FormSubmitMetadata;
|
|
638
728
|
phone_click: PhoneClickMetadata;
|
|
639
729
|
cta_click: CtaClickMetadata;
|
|
@@ -647,6 +737,8 @@ type ConfigByName = {
|
|
|
647
737
|
form_start: FormStartConfig;
|
|
648
738
|
sdk_heartbeat: SdkHeartbeatConfig;
|
|
649
739
|
page_exit: PageExitConfig;
|
|
740
|
+
site_link_click: SiteLinkClickConfig;
|
|
741
|
+
site_link_arrival: SiteLinkArrivalConfig;
|
|
650
742
|
form_submit: FormSubmitConfig;
|
|
651
743
|
phone_click: PhoneClickConfig;
|
|
652
744
|
cta_click: CtaClickConfig;
|
|
@@ -788,4 +880,4 @@ interface TypedTrackingClient<TRegistry extends TriggerRegistryConfig> {
|
|
|
788
880
|
getVisitorId(): string;
|
|
789
881
|
}
|
|
790
882
|
|
|
791
|
-
export {
|
|
883
|
+
export { formStartMetadataSchema as $, ALL_AUTOMATIC_EVENT_NAMES as A, type ScrollDepthMetadata as B, type CtaClickConfig as C, type SdkHeartbeatConfig as D, EVENT_REGISTRY as E, type FormStartConfig as F, type SdkHeartbeatMetadata as G, type SiteLinkArrivalConfig as H, type SiteLinkArrivalMetadata as I, type SiteLinkClickConfig as J, type SiteLinkClickMetadata as K, type SpecificPageName as L, type ManualEventName as M, type SpecificPageVisitConfig as N, type SpecificPageVisitMetadata as O, PAGE_IDENTITY_MAX_LENGTH as P, type TimeOnSiteMetadata as Q, type RegisteredAutomaticEvents as R, SPECIFIC_PAGE_NAMES as S, type TimeOnSiteConfig as T, type TrackableEvent as U, type TriggerRegistryConfig as V, type TypedTrackEventOptions as W, type TypedTrackingClient as X, ctaClickConfigSchema as Y, ctaClickMetadataSchema as Z, formStartConfigSchema as _, ALL_LEAD_EVENT_NAMES as a, getEventDefinition as a0, getEventSemantics as a1, multiPageSessionConfigSchema as a2, multiPageSessionMetadataSchema as a3, pageExitConfigSchema as a4, pageExitMetadataSchema as a5, pageIdentitySchema as a6, pageViewConfigSchema as a7, pageViewMetadataSchema as a8, phoneClickConfigSchema as a9, phoneClickMetadataSchema as aa, scrollDepthConfigSchema as ab, scrollDepthMetadataSchema as ac, sdkHeartbeatConfigSchema as ad, sdkHeartbeatMetadataSchema as ae, sdkHeartbeatTriggersSchema as af, siteLinkArrivalConfigSchema as ag, siteLinkArrivalMetadataSchema as ah, siteLinkClickConfigSchema as ai, siteLinkClickMetadataSchema as aj, specificPageNameSchema as ak, specificPageVisitConfigSchema as al, specificPageVisitMetadataSchema as am, timeOnSiteConfigSchema as an, timeOnSiteMetadataSchema as ao, ALL_MANUAL_EVENT_NAMES as b, type AutomaticEventName as c, type CtaClickMetadata as d, EVENT_SEMANTICS as e, type EventCategory as f, type EventClientVisibility as g, type EventConfig as h, type EventKind as i, type EventMetadata as j, type EventName as k, type EventOutcomeRole as l, type EventSemantics as m, type FormStartMetadata as n, type MultiPageSessionConfig as o, type MultiPageSessionMetadata as p, PAGE_IDENTITY_PATTERN as q, type PageExitConfig as r, type PageExitMetadata as s, type PageIdentity as t, type PageViewConfig as u, type PageViewMetadata as v, type PhoneClickConfig as w, type PhoneClickMetadata as x, type RegisteredManualEvents as y, type ScrollDepthConfig as z };
|
|
@@ -285,6 +285,10 @@ interface TrackingSessionUpsertPayload {
|
|
|
285
285
|
landing_utm_campaign?: string | null;
|
|
286
286
|
landing_utm_term?: string | null;
|
|
287
287
|
landing_utm_content?: string | null;
|
|
288
|
+
/** The sibling-site session this one arrived from (fresh linker token); first-wins server-side. */
|
|
289
|
+
origin_session_id?: string | null;
|
|
290
|
+
origin_visitor_id?: string | null;
|
|
291
|
+
origin_linked_at?: string | null;
|
|
288
292
|
first_page: string | null;
|
|
289
293
|
consent_state: Record<string, unknown> | null;
|
|
290
294
|
context: TrackingClientContext;
|
|
@@ -366,6 +370,8 @@ declare global {
|
|
|
366
370
|
optOut: (options?: SetConsentOptions) => void;
|
|
367
371
|
resetConsent: () => void;
|
|
368
372
|
trackEvent: (eventType: string, metadata: Record<string, unknown>) => void;
|
|
373
|
+
/** Append the cross-site identity token to a sibling-site URL. */
|
|
374
|
+
decorateUrl: (url: string) => string;
|
|
369
375
|
};
|
|
370
376
|
}
|
|
371
377
|
}
|
|
@@ -285,6 +285,10 @@ interface TrackingSessionUpsertPayload {
|
|
|
285
285
|
landing_utm_campaign?: string | null;
|
|
286
286
|
landing_utm_term?: string | null;
|
|
287
287
|
landing_utm_content?: string | null;
|
|
288
|
+
/** The sibling-site session this one arrived from (fresh linker token); first-wins server-side. */
|
|
289
|
+
origin_session_id?: string | null;
|
|
290
|
+
origin_visitor_id?: string | null;
|
|
291
|
+
origin_linked_at?: string | null;
|
|
288
292
|
first_page: string | null;
|
|
289
293
|
consent_state: Record<string, unknown> | null;
|
|
290
294
|
context: TrackingClientContext;
|
|
@@ -366,6 +370,8 @@ declare global {
|
|
|
366
370
|
optOut: (options?: SetConsentOptions) => void;
|
|
367
371
|
resetConsent: () => void;
|
|
368
372
|
trackEvent: (eventType: string, metadata: Record<string, unknown>) => void;
|
|
373
|
+
/** Append the cross-site identity token to a sibling-site URL. */
|
|
374
|
+
decorateUrl: (url: string) => string;
|
|
369
375
|
};
|
|
370
376
|
}
|
|
371
377
|
}
|
package/dist/phone.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { i as DEFAULT_PHONE_COUNTRY, P as ParsedPhone, k as PhoneConfig, l as PhoneDisplayFormat, m as TrackedField, q as formatPhone, r as formatPhoneAsTyped, y as parsePhone, z as phoneField, E as toE164 } from './phone-utils-
|
|
1
|
+
export { i as DEFAULT_PHONE_COUNTRY, P as ParsedPhone, k as PhoneConfig, l as PhoneDisplayFormat, m as TrackedField, q as formatPhone, r as formatPhoneAsTyped, y as parsePhone, z as phoneField, E as toE164 } from './phone-utils-C0ds6cqZ.mjs';
|
|
2
2
|
export { CountryCode } from 'libphonenumber-js';
|
|
3
3
|
import 'zod/mini';
|
package/dist/phone.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { i as DEFAULT_PHONE_COUNTRY, P as ParsedPhone, k as PhoneConfig, l as PhoneDisplayFormat, m as TrackedField, q as formatPhone, r as formatPhoneAsTyped, y as parsePhone, z as phoneField, E as toE164 } from './phone-utils-
|
|
1
|
+
export { i as DEFAULT_PHONE_COUNTRY, P as ParsedPhone, k as PhoneConfig, l as PhoneDisplayFormat, m as TrackedField, q as formatPhone, r as formatPhoneAsTyped, y as parsePhone, z as phoneField, E as toE164 } from './phone-utils-C0ds6cqZ.js';
|
|
2
2
|
export { CountryCode } from 'libphonenumber-js';
|
|
3
3
|
import 'zod/mini';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod/mini';
|
|
2
|
-
import { a as ConversionConfigStore, c as TrackingConfigRuntime } from './tracking-config-runtime-
|
|
2
|
+
import { a as ConversionConfigStore, c as TrackingConfigRuntime } from './tracking-config-runtime-C6H7ofmo.js';
|
|
3
3
|
import { CountryCode } from 'libphonenumber-js';
|
|
4
4
|
import { A as ApiTransportConfig, a as apiRequest } from './request-Doq36Rt0.js';
|
|
5
5
|
import './date-BHetnL7s.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod/mini';
|
|
2
|
-
import { a as ConversionConfigStore, c as TrackingConfigRuntime } from './tracking-config-runtime-
|
|
2
|
+
import { a as ConversionConfigStore, c as TrackingConfigRuntime } from './tracking-config-runtime-C6H7ofmo.mjs';
|
|
3
3
|
import { CountryCode } from 'libphonenumber-js';
|
|
4
4
|
import { A as ApiTransportConfig, a as apiRequest } from './request-Doq36Rt0.mjs';
|
|
5
5
|
import './date-BHetnL7s.mjs';
|
package/dist/sales.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { B as BusinessConfig, a as BusinessConfigFeatures, b as BusinessConfigService, C as CompareTo, d as CurrencyRevenue, e as CustomerCurrencyDelta, f as CustomerCurrencyTotal, g as CustomerGetOptions, h as CustomerGetResult, i as CustomerKpis, j as CustomerKpisDeltas, k as CustomerKpisPrevious, l as CustomerListPage, m as CustomerListQuery, n as CustomerProfile, o as CustomerSegment, p as CustomerSegmentCount, q as CustomerSortField, r as CustomerSummary, s as CustomerSummaryQuery, D as DistinctCustomersByCurrency, E as EffectiveSaleProperty, G as Granularity, N as NAMED_RANGES, t as NamedRange, P as PublicServiceItem, S as SUPPORTED_CURRENCIES, u as Sale, v as SaleBuiltinRequirableField, w as SaleCursorPage, x as SaleFilters, y as SaleInput, z as SaleItem, A as SaleItemInput, F as SaleKeysetSortField, H as SaleListPage, I as SaleListQuery, J as SaleListQueryV2, K as SalePropertyOption, L as SalePropertyType, M as SaleService, O as SaleServiceInput, Q as SaleSortField, R as SaleSortOrder, T as SaleSummary, U as SaleSummaryPrevious, V as SaleSummaryQuery, W as SaleSummaryQueryV2, X as SaleSummaryV2, Y as SaleUpdateInput, Z as SalesBusinessClient, _ as SalesCategoryBreakdown, $ as SalesClient, a0 as SalesClientConfig, a1 as SalesCustomersClient, a2 as SalesServiceBreakdown, a3 as SalesTransportConfig, a4 as SalesTrendPoint, a5 as SummaryCurrencyDelta, a6 as SummaryDeltas, a7 as SummaryWindow, a8 as SupportedCurrency, a9 as TRACKING_RANGES, aa as TrackingOverviewRange, ac as createSalesClient, ad as currencySchema, ae as fetchServices, af as formatMoney, ag as fromMinor, ah as saleCreateSchema, ai as saleItemSchema, aj as saleServiceSchema, ak as saleUpdateSchema, al as salesRequest, an as toMinor } from './sales-
|
|
1
|
+
export { B as BusinessConfig, a as BusinessConfigFeatures, b as BusinessConfigService, C as CompareTo, d as CurrencyRevenue, e as CustomerCurrencyDelta, f as CustomerCurrencyTotal, g as CustomerGetOptions, h as CustomerGetResult, i as CustomerKpis, j as CustomerKpisDeltas, k as CustomerKpisPrevious, l as CustomerListPage, m as CustomerListQuery, n as CustomerProfile, o as CustomerSegment, p as CustomerSegmentCount, q as CustomerSortField, r as CustomerSummary, s as CustomerSummaryQuery, D as DistinctCustomersByCurrency, E as EffectiveSaleProperty, G as Granularity, N as NAMED_RANGES, t as NamedRange, P as PublicServiceItem, S as SUPPORTED_CURRENCIES, u as Sale, v as SaleBuiltinRequirableField, w as SaleCursorPage, x as SaleFilters, y as SaleInput, z as SaleItem, A as SaleItemInput, F as SaleKeysetSortField, H as SaleListPage, I as SaleListQuery, J as SaleListQueryV2, K as SalePropertyOption, L as SalePropertyType, M as SaleService, O as SaleServiceInput, Q as SaleSortField, R as SaleSortOrder, T as SaleSummary, U as SaleSummaryPrevious, V as SaleSummaryQuery, W as SaleSummaryQueryV2, X as SaleSummaryV2, Y as SaleUpdateInput, Z as SalesBusinessClient, _ as SalesCategoryBreakdown, $ as SalesClient, a0 as SalesClientConfig, a1 as SalesCustomersClient, a2 as SalesServiceBreakdown, a3 as SalesTransportConfig, a4 as SalesTrendPoint, a5 as SummaryCurrencyDelta, a6 as SummaryDeltas, a7 as SummaryWindow, a8 as SupportedCurrency, a9 as TRACKING_RANGES, aa as TrackingOverviewRange, ac as createSalesClient, ad as currencySchema, ae as fetchServices, af as formatMoney, ag as fromMinor, ah as saleCreateSchema, ai as saleItemSchema, aj as saleServiceSchema, ak as saleUpdateSchema, al as salesRequest, an as toMinor } from './sales-w1reW_Y3.mjs';
|
|
2
2
|
export { A as AranovaApiError, f as formatDateInTz } from './date-BHetnL7s.mjs';
|
|
3
3
|
import 'zod/mini';
|
|
4
|
-
import './tracking-config-runtime-
|
|
4
|
+
import './tracking-config-runtime-C6H7ofmo.mjs';
|
|
5
5
|
import 'libphonenumber-js';
|
|
6
6
|
import './request-Doq36Rt0.mjs';
|
package/dist/sales.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { B as BusinessConfig, a as BusinessConfigFeatures, b as BusinessConfigService, C as CompareTo, d as CurrencyRevenue, e as CustomerCurrencyDelta, f as CustomerCurrencyTotal, g as CustomerGetOptions, h as CustomerGetResult, i as CustomerKpis, j as CustomerKpisDeltas, k as CustomerKpisPrevious, l as CustomerListPage, m as CustomerListQuery, n as CustomerProfile, o as CustomerSegment, p as CustomerSegmentCount, q as CustomerSortField, r as CustomerSummary, s as CustomerSummaryQuery, D as DistinctCustomersByCurrency, E as EffectiveSaleProperty, G as Granularity, N as NAMED_RANGES, t as NamedRange, P as PublicServiceItem, S as SUPPORTED_CURRENCIES, u as Sale, v as SaleBuiltinRequirableField, w as SaleCursorPage, x as SaleFilters, y as SaleInput, z as SaleItem, A as SaleItemInput, F as SaleKeysetSortField, H as SaleListPage, I as SaleListQuery, J as SaleListQueryV2, K as SalePropertyOption, L as SalePropertyType, M as SaleService, O as SaleServiceInput, Q as SaleSortField, R as SaleSortOrder, T as SaleSummary, U as SaleSummaryPrevious, V as SaleSummaryQuery, W as SaleSummaryQueryV2, X as SaleSummaryV2, Y as SaleUpdateInput, Z as SalesBusinessClient, _ as SalesCategoryBreakdown, $ as SalesClient, a0 as SalesClientConfig, a1 as SalesCustomersClient, a2 as SalesServiceBreakdown, a3 as SalesTransportConfig, a4 as SalesTrendPoint, a5 as SummaryCurrencyDelta, a6 as SummaryDeltas, a7 as SummaryWindow, a8 as SupportedCurrency, a9 as TRACKING_RANGES, aa as TrackingOverviewRange, ac as createSalesClient, ad as currencySchema, ae as fetchServices, af as formatMoney, ag as fromMinor, ah as saleCreateSchema, ai as saleItemSchema, aj as saleServiceSchema, ak as saleUpdateSchema, al as salesRequest, an as toMinor } from './sales-
|
|
1
|
+
export { B as BusinessConfig, a as BusinessConfigFeatures, b as BusinessConfigService, C as CompareTo, d as CurrencyRevenue, e as CustomerCurrencyDelta, f as CustomerCurrencyTotal, g as CustomerGetOptions, h as CustomerGetResult, i as CustomerKpis, j as CustomerKpisDeltas, k as CustomerKpisPrevious, l as CustomerListPage, m as CustomerListQuery, n as CustomerProfile, o as CustomerSegment, p as CustomerSegmentCount, q as CustomerSortField, r as CustomerSummary, s as CustomerSummaryQuery, D as DistinctCustomersByCurrency, E as EffectiveSaleProperty, G as Granularity, N as NAMED_RANGES, t as NamedRange, P as PublicServiceItem, S as SUPPORTED_CURRENCIES, u as Sale, v as SaleBuiltinRequirableField, w as SaleCursorPage, x as SaleFilters, y as SaleInput, z as SaleItem, A as SaleItemInput, F as SaleKeysetSortField, H as SaleListPage, I as SaleListQuery, J as SaleListQueryV2, K as SalePropertyOption, L as SalePropertyType, M as SaleService, O as SaleServiceInput, Q as SaleSortField, R as SaleSortOrder, T as SaleSummary, U as SaleSummaryPrevious, V as SaleSummaryQuery, W as SaleSummaryQueryV2, X as SaleSummaryV2, Y as SaleUpdateInput, Z as SalesBusinessClient, _ as SalesCategoryBreakdown, $ as SalesClient, a0 as SalesClientConfig, a1 as SalesCustomersClient, a2 as SalesServiceBreakdown, a3 as SalesTransportConfig, a4 as SalesTrendPoint, a5 as SummaryCurrencyDelta, a6 as SummaryDeltas, a7 as SummaryWindow, a8 as SupportedCurrency, a9 as TRACKING_RANGES, aa as TrackingOverviewRange, ac as createSalesClient, ad as currencySchema, ae as fetchServices, af as formatMoney, ag as fromMinor, ah as saleCreateSchema, ai as saleItemSchema, aj as saleServiceSchema, ak as saleUpdateSchema, al as salesRequest, an as toMinor } from './sales-DQC815f3.js';
|
|
2
2
|
export { A as AranovaApiError, f as formatDateInTz } from './date-BHetnL7s.js';
|
|
3
3
|
import 'zod/mini';
|
|
4
|
-
import './tracking-config-runtime-
|
|
4
|
+
import './tracking-config-runtime-C6H7ofmo.js';
|
|
5
5
|
import 'libphonenumber-js';
|
|
6
6
|
import './request-Doq36Rt0.js';
|
package/dist/sales.js
CHANGED
|
@@ -517,9 +517,19 @@ var zErrorCode = z.enum([
|
|
|
517
517
|
"bad_request",
|
|
518
518
|
"not_found",
|
|
519
519
|
"conflict",
|
|
520
|
+
"gone",
|
|
520
521
|
"incompatible_payload",
|
|
521
522
|
"repeat_confirmation_required",
|
|
522
523
|
"idempotency_conflict",
|
|
524
|
+
"slot_unavailable",
|
|
525
|
+
"calendar_not_connected",
|
|
526
|
+
"calendar_disconnected",
|
|
527
|
+
"booking_not_found",
|
|
528
|
+
"booking_not_cancellable",
|
|
529
|
+
"booking_not_reschedulable",
|
|
530
|
+
"manage_token_invalid",
|
|
531
|
+
"google_error",
|
|
532
|
+
"calendar_not_owned",
|
|
523
533
|
"validation_error",
|
|
524
534
|
"unknown_service",
|
|
525
535
|
"invalid_sale_properties",
|
|
@@ -581,7 +591,13 @@ var zSmsWithheldReason = z.enum([
|
|
|
581
591
|
"sender_not_ready",
|
|
582
592
|
"missing_review_url",
|
|
583
593
|
"no_handler",
|
|
584
|
-
"dispatch_already_recorded"
|
|
594
|
+
"dispatch_already_recorded",
|
|
595
|
+
"text_back_disabled",
|
|
596
|
+
"number_text_back_disabled",
|
|
597
|
+
"number_not_active",
|
|
598
|
+
"a2p_registration_required",
|
|
599
|
+
"alert_recipient_cannot_receive_sms",
|
|
600
|
+
"line_type_unresolved"
|
|
585
601
|
]);
|
|
586
602
|
var zSaleSmsStatusSchema = z.object({
|
|
587
603
|
can_send_now: z._default(z.boolean(), false),
|