@aranova/tracking-react 1.14.0 → 1.15.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/dist/{bookings-Bw2ImtPd.d.ts → bookings-CkfA5XOM.d.ts} +283 -8
- package/dist/{bookings-CDGNZUaH.d.mts → bookings-DFz3BUiP.d.mts} +283 -8
- package/dist/client.d.mts +10 -9
- package/dist/client.d.ts +10 -9
- package/dist/client.js +157 -141
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +157 -141
- package/dist/client.mjs.map +1 -1
- package/dist/index.d.mts +5 -6
- package/dist/index.d.ts +5 -6
- package/dist/index.js +365 -203
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +365 -203
- package/dist/index.mjs.map +1 -1
- package/dist/{submit-DuvP5AGN.d.ts → ingest-typed-BO6Arbw-.d.mts} +2 -252
- package/dist/{submit-rqgXl-Wg.d.mts → ingest-typed-D7I4aQ7p.d.ts} +2 -252
- package/dist/{phone-utils-Cfdx474X.d.mts → phone-utils-CYr6AmEP.d.mts} +55 -2
- package/dist/{phone-utils-D2TGPCQW.d.ts → phone-utils-CYr6AmEP.d.ts} +55 -2
- package/dist/phone.d.mts +1 -2
- package/dist/phone.d.ts +1 -2
- package/dist/{sales-DkdrGIUS.d.ts → sales-C0FMkN4m.d.ts} +1 -1
- package/dist/{sales-D4aU73mR.d.mts → sales-KbTcowYa.d.mts} +1 -1
- package/dist/sales.d.mts +3 -3
- package/dist/sales.d.ts +3 -3
- package/dist/sales.js +1205 -170
- package/dist/sales.js.map +1 -1
- package/dist/sales.mjs +1205 -170
- package/dist/sales.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/form-submit-C_vJXCxh.d.mts +0 -57
- package/dist/form-submit-C_vJXCxh.d.ts +0 -57
package/package.json
CHANGED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* JSON-serializable value accepted by `form_submit.fields[].value`.
|
|
5
|
-
*
|
|
6
|
-
* This intentionally excludes `undefined`, functions, symbols, `Date`
|
|
7
|
-
* instances, and non-finite numbers. Values are stored in PostgreSQL JSONB, so
|
|
8
|
-
* consumers should send only data that has a stable JSON representation.
|
|
9
|
-
*/
|
|
10
|
-
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
11
|
-
[key: string]: JsonValue;
|
|
12
|
-
};
|
|
13
|
-
/** What the SDK's ladder found wrong with a submit it sent anyway (ADR-0024 §6). */
|
|
14
|
-
declare const contractViolationSchema: z.ZodMiniObject<{
|
|
15
|
-
role: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
16
|
-
rule: z.ZodMiniString<string>;
|
|
17
|
-
}, z.core.$strict>;
|
|
18
|
-
type FormContractViolation = z.infer<typeof contractViolationSchema>;
|
|
19
|
-
declare const formSubmitMetadataSchema: z.ZodMiniObject<{
|
|
20
|
-
form: z.ZodMiniObject<{
|
|
21
|
-
id: z.ZodMiniString<string>;
|
|
22
|
-
action: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
23
|
-
fields: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
24
|
-
name: z.ZodMiniString<string>;
|
|
25
|
-
type: z.ZodMiniString<string>;
|
|
26
|
-
label: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
27
|
-
value: z.ZodMiniType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
28
|
-
role: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
29
|
-
}, z.core.$strict>>>;
|
|
30
|
-
kind: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
31
|
-
contract_version: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniInt>>;
|
|
32
|
-
contract_hash: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
33
|
-
extra: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
|
|
34
|
-
key: z.ZodMiniString<string>;
|
|
35
|
-
label: z.ZodMiniString<string>;
|
|
36
|
-
value: z.ZodMiniType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
37
|
-
}, z.core.$strict>>>>;
|
|
38
|
-
contract_violations: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
|
|
39
|
-
role: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
40
|
-
rule: z.ZodMiniString<string>;
|
|
41
|
-
}, z.core.$strict>>>>;
|
|
42
|
-
}, z.core.$strict>;
|
|
43
|
-
page: z.ZodMiniObject<{
|
|
44
|
-
path: z.ZodMiniString<string>;
|
|
45
|
-
}, z.core.$strict>;
|
|
46
|
-
}, z.core.$strict>;
|
|
47
|
-
type FormSubmitMetadata = z.infer<typeof formSubmitMetadataSchema>;
|
|
48
|
-
/**
|
|
49
|
-
* Registration config for `form_submit`.
|
|
50
|
-
*
|
|
51
|
-
* This event is manual-only and currently has no registration options. The
|
|
52
|
-
* empty object enables typed `trackEvent('form_submit', ...)` calls.
|
|
53
|
-
*/
|
|
54
|
-
declare const formSubmitConfigSchema: z.ZodMiniObject<{}, z.core.$strict>;
|
|
55
|
-
type FormSubmitConfig = z.infer<typeof formSubmitConfigSchema>;
|
|
56
|
-
|
|
57
|
-
export type { FormContractViolation as F, JsonValue as J, FormSubmitConfig as a, FormSubmitMetadata as b };
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* JSON-serializable value accepted by `form_submit.fields[].value`.
|
|
5
|
-
*
|
|
6
|
-
* This intentionally excludes `undefined`, functions, symbols, `Date`
|
|
7
|
-
* instances, and non-finite numbers. Values are stored in PostgreSQL JSONB, so
|
|
8
|
-
* consumers should send only data that has a stable JSON representation.
|
|
9
|
-
*/
|
|
10
|
-
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
11
|
-
[key: string]: JsonValue;
|
|
12
|
-
};
|
|
13
|
-
/** What the SDK's ladder found wrong with a submit it sent anyway (ADR-0024 §6). */
|
|
14
|
-
declare const contractViolationSchema: z.ZodMiniObject<{
|
|
15
|
-
role: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
16
|
-
rule: z.ZodMiniString<string>;
|
|
17
|
-
}, z.core.$strict>;
|
|
18
|
-
type FormContractViolation = z.infer<typeof contractViolationSchema>;
|
|
19
|
-
declare const formSubmitMetadataSchema: z.ZodMiniObject<{
|
|
20
|
-
form: z.ZodMiniObject<{
|
|
21
|
-
id: z.ZodMiniString<string>;
|
|
22
|
-
action: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
23
|
-
fields: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
24
|
-
name: z.ZodMiniString<string>;
|
|
25
|
-
type: z.ZodMiniString<string>;
|
|
26
|
-
label: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
27
|
-
value: z.ZodMiniType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
28
|
-
role: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
29
|
-
}, z.core.$strict>>>;
|
|
30
|
-
kind: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
31
|
-
contract_version: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniInt>>;
|
|
32
|
-
contract_hash: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
33
|
-
extra: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
|
|
34
|
-
key: z.ZodMiniString<string>;
|
|
35
|
-
label: z.ZodMiniString<string>;
|
|
36
|
-
value: z.ZodMiniType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
37
|
-
}, z.core.$strict>>>>;
|
|
38
|
-
contract_violations: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
|
|
39
|
-
role: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
40
|
-
rule: z.ZodMiniString<string>;
|
|
41
|
-
}, z.core.$strict>>>>;
|
|
42
|
-
}, z.core.$strict>;
|
|
43
|
-
page: z.ZodMiniObject<{
|
|
44
|
-
path: z.ZodMiniString<string>;
|
|
45
|
-
}, z.core.$strict>;
|
|
46
|
-
}, z.core.$strict>;
|
|
47
|
-
type FormSubmitMetadata = z.infer<typeof formSubmitMetadataSchema>;
|
|
48
|
-
/**
|
|
49
|
-
* Registration config for `form_submit`.
|
|
50
|
-
*
|
|
51
|
-
* This event is manual-only and currently has no registration options. The
|
|
52
|
-
* empty object enables typed `trackEvent('form_submit', ...)` calls.
|
|
53
|
-
*/
|
|
54
|
-
declare const formSubmitConfigSchema: z.ZodMiniObject<{}, z.core.$strict>;
|
|
55
|
-
type FormSubmitConfig = z.infer<typeof formSubmitConfigSchema>;
|
|
56
|
-
|
|
57
|
-
export type { FormContractViolation as F, JsonValue as J, FormSubmitConfig as a, FormSubmitMetadata as b };
|