@walkeros/web-destination-meta 0.2.1 → 0.3.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/examples/index.js +12581 -5040
- package/dist/examples/index.mjs +12581 -5040
- package/dist/index.browser.js +1 -1
- package/dist/index.d.mts +101 -96
- package/dist/index.d.ts +101 -96
- package/dist/index.es5.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _walkeros_core from '@walkeros/core';
|
|
2
|
+
import { Destination as Destination$1, Mapping as Mapping$2, z } from '@walkeros/core';
|
|
2
3
|
import { DestinationWeb } from '@walkeros/web-core';
|
|
3
4
|
|
|
4
5
|
declare global {
|
|
@@ -7,10 +8,10 @@ declare global {
|
|
|
7
8
|
fbq?: facebook.Pixel.Event;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
|
-
interface Settings {
|
|
11
|
-
pixelId
|
|
11
|
+
interface Settings$1 {
|
|
12
|
+
pixelId: string;
|
|
12
13
|
}
|
|
13
|
-
interface Mapping {
|
|
14
|
+
interface Mapping$1 {
|
|
14
15
|
track?: StandardEventNames;
|
|
15
16
|
trackCustom?: string;
|
|
16
17
|
}
|
|
@@ -26,24 +27,22 @@ interface Env extends DestinationWeb.Env {
|
|
|
26
27
|
};
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
|
-
type Types = Destination$1.Types<Settings, Mapping, Env>;
|
|
30
|
+
type Types = Destination$1.Types<Settings$1, Mapping$1, Env>;
|
|
30
31
|
type Destination = DestinationWeb.Destination<Types>;
|
|
31
32
|
type Config = DestinationWeb.Config<Types>;
|
|
32
|
-
type Rule = Mapping$
|
|
33
|
-
type Rules = Mapping$
|
|
33
|
+
type Rule = Mapping$2.Rule<Mapping$1>;
|
|
34
|
+
type Rules = Mapping$2.Rules<Rule>;
|
|
34
35
|
type StandardEventNames = 'PageView' | 'AddPaymentInfo' | 'AddToCart' | 'AddToWishlist' | 'CompleteRegistration' | 'Contact' | 'CustomizeProduct' | 'Donate' | 'FindLocation' | 'InitiateCheckout' | 'Lead' | 'Purchase' | 'Schedule' | 'Search' | 'StartTrial' | 'SubmitApplication' | 'Subscribe' | 'ViewContent' | string;
|
|
35
36
|
|
|
36
|
-
type index$
|
|
37
|
-
type index$
|
|
38
|
-
type index$
|
|
39
|
-
type index$
|
|
40
|
-
type index$
|
|
41
|
-
type index$
|
|
42
|
-
type index$
|
|
43
|
-
|
|
44
|
-
type index$
|
|
45
|
-
declare namespace index$1 {
|
|
46
|
-
export type { index$1_Config as Config, index$1_Destination as Destination, index$1_Env as Env, index$1_Mapping as Mapping, index$1_Rule as Rule, index$1_Rules as Rules, index$1_Settings as Settings, index$1_StandardEventNames as StandardEventNames, index$1_Types as Types };
|
|
37
|
+
type index$2_Config = Config;
|
|
38
|
+
type index$2_Destination = Destination;
|
|
39
|
+
type index$2_Env = Env;
|
|
40
|
+
type index$2_Rule = Rule;
|
|
41
|
+
type index$2_Rules = Rules;
|
|
42
|
+
type index$2_StandardEventNames = StandardEventNames;
|
|
43
|
+
type index$2_Types = Types;
|
|
44
|
+
declare namespace index$2 {
|
|
45
|
+
export type { index$2_Config as Config, index$2_Destination as Destination, index$2_Env as Env, Mapping$1 as Mapping, index$2_Rule as Rule, index$2_Rules as Rules, Settings$1 as Settings, index$2_StandardEventNames as StandardEventNames, index$2_Types as Types };
|
|
47
46
|
}
|
|
48
47
|
|
|
49
48
|
declare const init: Env | undefined;
|
|
@@ -81,96 +80,102 @@ declare const config: {
|
|
|
81
80
|
};
|
|
82
81
|
};
|
|
83
82
|
|
|
84
|
-
declare const
|
|
85
|
-
declare const
|
|
86
|
-
declare const
|
|
87
|
-
declare const
|
|
88
|
-
declare const
|
|
89
|
-
declare namespace mapping {
|
|
90
|
-
export {
|
|
83
|
+
declare const mapping$1_AddToCart: typeof AddToCart;
|
|
84
|
+
declare const mapping$1_InitiateCheckout: typeof InitiateCheckout;
|
|
85
|
+
declare const mapping$1_Purchase: typeof Purchase;
|
|
86
|
+
declare const mapping$1_ViewContent: typeof ViewContent;
|
|
87
|
+
declare const mapping$1_config: typeof config;
|
|
88
|
+
declare namespace mapping$1 {
|
|
89
|
+
export { mapping$1_AddToCart as AddToCart, mapping$1_InitiateCheckout as InitiateCheckout, mapping$1_Purchase as Purchase, mapping$1_ViewContent as ViewContent, mapping$1_config as config };
|
|
91
90
|
}
|
|
92
91
|
|
|
93
|
-
declare const
|
|
94
|
-
declare const
|
|
95
|
-
declare
|
|
96
|
-
|
|
97
|
-
export { index_env as env, index_events as events, index_mapping as mapping };
|
|
92
|
+
declare const index$1_env: typeof env;
|
|
93
|
+
declare const index$1_events: typeof events;
|
|
94
|
+
declare namespace index$1 {
|
|
95
|
+
export { index$1_env as env, index$1_events as events, mapping$1 as mapping };
|
|
98
96
|
}
|
|
99
97
|
|
|
100
|
-
type UiSchema$1 = Record<string, unknown>;
|
|
101
|
-
/**
|
|
102
|
-
* RJSF schema for Meta Pixel config-level settings
|
|
103
|
-
* Matches Settings interface in types/index.ts
|
|
104
|
-
*
|
|
105
|
-
* @see {@link Settings} in types/index.ts
|
|
106
|
-
*/
|
|
107
|
-
declare const settingsSchema: JSONSchema;
|
|
108
98
|
/**
|
|
109
|
-
*
|
|
110
|
-
*
|
|
99
|
+
* Meta Pixel ID
|
|
100
|
+
* Must be a numeric string (Facebook Pixel IDs are numeric)
|
|
111
101
|
*/
|
|
112
|
-
declare const
|
|
102
|
+
declare const PixelId: z.ZodString;
|
|
113
103
|
/**
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
* @see {@link Mapping} in types/index.ts
|
|
104
|
+
* Meta Pixel Standard Event Names
|
|
105
|
+
* https://developers.facebook.com/docs/meta-pixel/reference
|
|
118
106
|
*/
|
|
119
|
-
declare const
|
|
107
|
+
declare const StandardEventName: z.ZodEnum<{
|
|
108
|
+
PageView: "PageView";
|
|
109
|
+
AddPaymentInfo: "AddPaymentInfo";
|
|
110
|
+
AddToCart: "AddToCart";
|
|
111
|
+
AddToWishlist: "AddToWishlist";
|
|
112
|
+
CompleteRegistration: "CompleteRegistration";
|
|
113
|
+
Contact: "Contact";
|
|
114
|
+
CustomizeProduct: "CustomizeProduct";
|
|
115
|
+
Donate: "Donate";
|
|
116
|
+
FindLocation: "FindLocation";
|
|
117
|
+
InitiateCheckout: "InitiateCheckout";
|
|
118
|
+
Lead: "Lead";
|
|
119
|
+
Purchase: "Purchase";
|
|
120
|
+
Schedule: "Schedule";
|
|
121
|
+
Search: "Search";
|
|
122
|
+
StartTrial: "StartTrial";
|
|
123
|
+
SubmitApplication: "SubmitApplication";
|
|
124
|
+
Subscribe: "Subscribe";
|
|
125
|
+
ViewContent: "ViewContent";
|
|
126
|
+
}>;
|
|
120
127
|
/**
|
|
121
|
-
*
|
|
128
|
+
* Custom Event Name
|
|
129
|
+
* Any string for custom tracking
|
|
122
130
|
*/
|
|
123
|
-
declare const
|
|
124
|
-
/**
|
|
125
|
-
* RJSF schema for Meta Pixel event data properties
|
|
126
|
-
* Describes the expected data structure for Meta Pixel events
|
|
127
|
-
*
|
|
128
|
-
* @see https://developers.facebook.com/docs/meta-pixel/reference
|
|
129
|
-
*/
|
|
130
|
-
declare const dataSchema: JSONSchema;
|
|
131
|
-
/**
|
|
132
|
-
* UI Schema for Meta Pixel data
|
|
133
|
-
* Customizes visual presentation
|
|
134
|
-
*/
|
|
135
|
-
declare const dataUiSchema: UiSchema$1;
|
|
136
|
-
|
|
137
|
-
declare const schema_dataSchema: typeof dataSchema;
|
|
138
|
-
declare const schema_dataUiSchema: typeof dataUiSchema;
|
|
139
|
-
declare const schema_mappingSchema: typeof mappingSchema;
|
|
140
|
-
declare const schema_mappingUiSchema: typeof mappingUiSchema;
|
|
141
|
-
declare const schema_settingsSchema: typeof settingsSchema;
|
|
142
|
-
declare const schema_settingsUiSchema: typeof settingsUiSchema;
|
|
143
|
-
declare namespace schema {
|
|
144
|
-
export { type UiSchema$1 as UiSchema, schema_dataSchema as dataSchema, schema_dataUiSchema as dataUiSchema, schema_mappingSchema as mappingSchema, schema_mappingUiSchema as mappingUiSchema, schema_settingsSchema as settingsSchema, schema_settingsUiSchema as settingsUiSchema };
|
|
145
|
-
}
|
|
131
|
+
declare const CustomEventName: z.ZodString;
|
|
146
132
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
* No Zod dependency needed!
|
|
152
|
-
*
|
|
153
|
-
* Comparison:
|
|
154
|
-
* - Old: 92 lines of hand-written JSON Schema
|
|
155
|
-
* - New: ~40 lines using schema builder
|
|
156
|
-
* - Savings: 57% less code!
|
|
157
|
-
*/
|
|
133
|
+
declare const SettingsSchema: z.ZodObject<{
|
|
134
|
+
pixelId: z.ZodString;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
type Settings = z.infer<typeof SettingsSchema>;
|
|
158
137
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
138
|
+
declare const MappingSchema: z.ZodObject<{
|
|
139
|
+
track: z.ZodOptional<z.ZodEnum<{
|
|
140
|
+
PageView: "PageView";
|
|
141
|
+
AddPaymentInfo: "AddPaymentInfo";
|
|
142
|
+
AddToCart: "AddToCart";
|
|
143
|
+
AddToWishlist: "AddToWishlist";
|
|
144
|
+
CompleteRegistration: "CompleteRegistration";
|
|
145
|
+
Contact: "Contact";
|
|
146
|
+
CustomizeProduct: "CustomizeProduct";
|
|
147
|
+
Donate: "Donate";
|
|
148
|
+
FindLocation: "FindLocation";
|
|
149
|
+
InitiateCheckout: "InitiateCheckout";
|
|
150
|
+
Lead: "Lead";
|
|
151
|
+
Purchase: "Purchase";
|
|
152
|
+
Schedule: "Schedule";
|
|
153
|
+
Search: "Search";
|
|
154
|
+
StartTrial: "StartTrial";
|
|
155
|
+
SubmitApplication: "SubmitApplication";
|
|
156
|
+
Subscribe: "Subscribe";
|
|
157
|
+
ViewContent: "ViewContent";
|
|
158
|
+
}>>;
|
|
159
|
+
trackCustom: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
type Mapping = z.infer<typeof MappingSchema>;
|
|
162
|
+
|
|
163
|
+
declare const settings: _walkeros_core.JSONSchema;
|
|
164
|
+
declare const mapping: _walkeros_core.JSONSchema;
|
|
165
|
+
|
|
166
|
+
declare const index_CustomEventName: typeof CustomEventName;
|
|
167
|
+
type index_Mapping = Mapping;
|
|
168
|
+
declare const index_MappingSchema: typeof MappingSchema;
|
|
169
|
+
declare const index_PixelId: typeof PixelId;
|
|
170
|
+
type index_Settings = Settings;
|
|
171
|
+
declare const index_SettingsSchema: typeof SettingsSchema;
|
|
172
|
+
declare const index_StandardEventName: typeof StandardEventName;
|
|
173
|
+
declare const index_mapping: typeof mapping;
|
|
174
|
+
declare const index_settings: typeof settings;
|
|
175
|
+
declare namespace index {
|
|
176
|
+
export { index_CustomEventName as CustomEventName, type index_Mapping as Mapping, index_MappingSchema as MappingSchema, index_PixelId as PixelId, type index_Settings as Settings, index_SettingsSchema as SettingsSchema, index_StandardEventName as StandardEventName, index_mapping as mapping, index_settings as settings };
|
|
177
|
+
}
|
|
173
178
|
|
|
174
179
|
declare const destinationMeta: Destination;
|
|
175
180
|
|
|
176
|
-
export { index$
|
|
181
|
+
export { index$2 as DestinationMeta, destinationMeta as default, destinationMeta, index$1 as examples, index as schemas };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _walkeros_core from '@walkeros/core';
|
|
2
|
+
import { Destination as Destination$1, Mapping as Mapping$2, z } from '@walkeros/core';
|
|
2
3
|
import { DestinationWeb } from '@walkeros/web-core';
|
|
3
4
|
|
|
4
5
|
declare global {
|
|
@@ -7,10 +8,10 @@ declare global {
|
|
|
7
8
|
fbq?: facebook.Pixel.Event;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
|
-
interface Settings {
|
|
11
|
-
pixelId
|
|
11
|
+
interface Settings$1 {
|
|
12
|
+
pixelId: string;
|
|
12
13
|
}
|
|
13
|
-
interface Mapping {
|
|
14
|
+
interface Mapping$1 {
|
|
14
15
|
track?: StandardEventNames;
|
|
15
16
|
trackCustom?: string;
|
|
16
17
|
}
|
|
@@ -26,24 +27,22 @@ interface Env extends DestinationWeb.Env {
|
|
|
26
27
|
};
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
|
-
type Types = Destination$1.Types<Settings, Mapping, Env>;
|
|
30
|
+
type Types = Destination$1.Types<Settings$1, Mapping$1, Env>;
|
|
30
31
|
type Destination = DestinationWeb.Destination<Types>;
|
|
31
32
|
type Config = DestinationWeb.Config<Types>;
|
|
32
|
-
type Rule = Mapping$
|
|
33
|
-
type Rules = Mapping$
|
|
33
|
+
type Rule = Mapping$2.Rule<Mapping$1>;
|
|
34
|
+
type Rules = Mapping$2.Rules<Rule>;
|
|
34
35
|
type StandardEventNames = 'PageView' | 'AddPaymentInfo' | 'AddToCart' | 'AddToWishlist' | 'CompleteRegistration' | 'Contact' | 'CustomizeProduct' | 'Donate' | 'FindLocation' | 'InitiateCheckout' | 'Lead' | 'Purchase' | 'Schedule' | 'Search' | 'StartTrial' | 'SubmitApplication' | 'Subscribe' | 'ViewContent' | string;
|
|
35
36
|
|
|
36
|
-
type index$
|
|
37
|
-
type index$
|
|
38
|
-
type index$
|
|
39
|
-
type index$
|
|
40
|
-
type index$
|
|
41
|
-
type index$
|
|
42
|
-
type index$
|
|
43
|
-
|
|
44
|
-
type index$
|
|
45
|
-
declare namespace index$1 {
|
|
46
|
-
export type { index$1_Config as Config, index$1_Destination as Destination, index$1_Env as Env, index$1_Mapping as Mapping, index$1_Rule as Rule, index$1_Rules as Rules, index$1_Settings as Settings, index$1_StandardEventNames as StandardEventNames, index$1_Types as Types };
|
|
37
|
+
type index$2_Config = Config;
|
|
38
|
+
type index$2_Destination = Destination;
|
|
39
|
+
type index$2_Env = Env;
|
|
40
|
+
type index$2_Rule = Rule;
|
|
41
|
+
type index$2_Rules = Rules;
|
|
42
|
+
type index$2_StandardEventNames = StandardEventNames;
|
|
43
|
+
type index$2_Types = Types;
|
|
44
|
+
declare namespace index$2 {
|
|
45
|
+
export type { index$2_Config as Config, index$2_Destination as Destination, index$2_Env as Env, Mapping$1 as Mapping, index$2_Rule as Rule, index$2_Rules as Rules, Settings$1 as Settings, index$2_StandardEventNames as StandardEventNames, index$2_Types as Types };
|
|
47
46
|
}
|
|
48
47
|
|
|
49
48
|
declare const init: Env | undefined;
|
|
@@ -81,96 +80,102 @@ declare const config: {
|
|
|
81
80
|
};
|
|
82
81
|
};
|
|
83
82
|
|
|
84
|
-
declare const
|
|
85
|
-
declare const
|
|
86
|
-
declare const
|
|
87
|
-
declare const
|
|
88
|
-
declare const
|
|
89
|
-
declare namespace mapping {
|
|
90
|
-
export {
|
|
83
|
+
declare const mapping$1_AddToCart: typeof AddToCart;
|
|
84
|
+
declare const mapping$1_InitiateCheckout: typeof InitiateCheckout;
|
|
85
|
+
declare const mapping$1_Purchase: typeof Purchase;
|
|
86
|
+
declare const mapping$1_ViewContent: typeof ViewContent;
|
|
87
|
+
declare const mapping$1_config: typeof config;
|
|
88
|
+
declare namespace mapping$1 {
|
|
89
|
+
export { mapping$1_AddToCart as AddToCart, mapping$1_InitiateCheckout as InitiateCheckout, mapping$1_Purchase as Purchase, mapping$1_ViewContent as ViewContent, mapping$1_config as config };
|
|
91
90
|
}
|
|
92
91
|
|
|
93
|
-
declare const
|
|
94
|
-
declare const
|
|
95
|
-
declare
|
|
96
|
-
|
|
97
|
-
export { index_env as env, index_events as events, index_mapping as mapping };
|
|
92
|
+
declare const index$1_env: typeof env;
|
|
93
|
+
declare const index$1_events: typeof events;
|
|
94
|
+
declare namespace index$1 {
|
|
95
|
+
export { index$1_env as env, index$1_events as events, mapping$1 as mapping };
|
|
98
96
|
}
|
|
99
97
|
|
|
100
|
-
type UiSchema$1 = Record<string, unknown>;
|
|
101
|
-
/**
|
|
102
|
-
* RJSF schema for Meta Pixel config-level settings
|
|
103
|
-
* Matches Settings interface in types/index.ts
|
|
104
|
-
*
|
|
105
|
-
* @see {@link Settings} in types/index.ts
|
|
106
|
-
*/
|
|
107
|
-
declare const settingsSchema: JSONSchema;
|
|
108
98
|
/**
|
|
109
|
-
*
|
|
110
|
-
*
|
|
99
|
+
* Meta Pixel ID
|
|
100
|
+
* Must be a numeric string (Facebook Pixel IDs are numeric)
|
|
111
101
|
*/
|
|
112
|
-
declare const
|
|
102
|
+
declare const PixelId: z.ZodString;
|
|
113
103
|
/**
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
* @see {@link Mapping} in types/index.ts
|
|
104
|
+
* Meta Pixel Standard Event Names
|
|
105
|
+
* https://developers.facebook.com/docs/meta-pixel/reference
|
|
118
106
|
*/
|
|
119
|
-
declare const
|
|
107
|
+
declare const StandardEventName: z.ZodEnum<{
|
|
108
|
+
PageView: "PageView";
|
|
109
|
+
AddPaymentInfo: "AddPaymentInfo";
|
|
110
|
+
AddToCart: "AddToCart";
|
|
111
|
+
AddToWishlist: "AddToWishlist";
|
|
112
|
+
CompleteRegistration: "CompleteRegistration";
|
|
113
|
+
Contact: "Contact";
|
|
114
|
+
CustomizeProduct: "CustomizeProduct";
|
|
115
|
+
Donate: "Donate";
|
|
116
|
+
FindLocation: "FindLocation";
|
|
117
|
+
InitiateCheckout: "InitiateCheckout";
|
|
118
|
+
Lead: "Lead";
|
|
119
|
+
Purchase: "Purchase";
|
|
120
|
+
Schedule: "Schedule";
|
|
121
|
+
Search: "Search";
|
|
122
|
+
StartTrial: "StartTrial";
|
|
123
|
+
SubmitApplication: "SubmitApplication";
|
|
124
|
+
Subscribe: "Subscribe";
|
|
125
|
+
ViewContent: "ViewContent";
|
|
126
|
+
}>;
|
|
120
127
|
/**
|
|
121
|
-
*
|
|
128
|
+
* Custom Event Name
|
|
129
|
+
* Any string for custom tracking
|
|
122
130
|
*/
|
|
123
|
-
declare const
|
|
124
|
-
/**
|
|
125
|
-
* RJSF schema for Meta Pixel event data properties
|
|
126
|
-
* Describes the expected data structure for Meta Pixel events
|
|
127
|
-
*
|
|
128
|
-
* @see https://developers.facebook.com/docs/meta-pixel/reference
|
|
129
|
-
*/
|
|
130
|
-
declare const dataSchema: JSONSchema;
|
|
131
|
-
/**
|
|
132
|
-
* UI Schema for Meta Pixel data
|
|
133
|
-
* Customizes visual presentation
|
|
134
|
-
*/
|
|
135
|
-
declare const dataUiSchema: UiSchema$1;
|
|
136
|
-
|
|
137
|
-
declare const schema_dataSchema: typeof dataSchema;
|
|
138
|
-
declare const schema_dataUiSchema: typeof dataUiSchema;
|
|
139
|
-
declare const schema_mappingSchema: typeof mappingSchema;
|
|
140
|
-
declare const schema_mappingUiSchema: typeof mappingUiSchema;
|
|
141
|
-
declare const schema_settingsSchema: typeof settingsSchema;
|
|
142
|
-
declare const schema_settingsUiSchema: typeof settingsUiSchema;
|
|
143
|
-
declare namespace schema {
|
|
144
|
-
export { type UiSchema$1 as UiSchema, schema_dataSchema as dataSchema, schema_dataUiSchema as dataUiSchema, schema_mappingSchema as mappingSchema, schema_mappingUiSchema as mappingUiSchema, schema_settingsSchema as settingsSchema, schema_settingsUiSchema as settingsUiSchema };
|
|
145
|
-
}
|
|
131
|
+
declare const CustomEventName: z.ZodString;
|
|
146
132
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
* No Zod dependency needed!
|
|
152
|
-
*
|
|
153
|
-
* Comparison:
|
|
154
|
-
* - Old: 92 lines of hand-written JSON Schema
|
|
155
|
-
* - New: ~40 lines using schema builder
|
|
156
|
-
* - Savings: 57% less code!
|
|
157
|
-
*/
|
|
133
|
+
declare const SettingsSchema: z.ZodObject<{
|
|
134
|
+
pixelId: z.ZodString;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
type Settings = z.infer<typeof SettingsSchema>;
|
|
158
137
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
138
|
+
declare const MappingSchema: z.ZodObject<{
|
|
139
|
+
track: z.ZodOptional<z.ZodEnum<{
|
|
140
|
+
PageView: "PageView";
|
|
141
|
+
AddPaymentInfo: "AddPaymentInfo";
|
|
142
|
+
AddToCart: "AddToCart";
|
|
143
|
+
AddToWishlist: "AddToWishlist";
|
|
144
|
+
CompleteRegistration: "CompleteRegistration";
|
|
145
|
+
Contact: "Contact";
|
|
146
|
+
CustomizeProduct: "CustomizeProduct";
|
|
147
|
+
Donate: "Donate";
|
|
148
|
+
FindLocation: "FindLocation";
|
|
149
|
+
InitiateCheckout: "InitiateCheckout";
|
|
150
|
+
Lead: "Lead";
|
|
151
|
+
Purchase: "Purchase";
|
|
152
|
+
Schedule: "Schedule";
|
|
153
|
+
Search: "Search";
|
|
154
|
+
StartTrial: "StartTrial";
|
|
155
|
+
SubmitApplication: "SubmitApplication";
|
|
156
|
+
Subscribe: "Subscribe";
|
|
157
|
+
ViewContent: "ViewContent";
|
|
158
|
+
}>>;
|
|
159
|
+
trackCustom: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
type Mapping = z.infer<typeof MappingSchema>;
|
|
162
|
+
|
|
163
|
+
declare const settings: _walkeros_core.JSONSchema;
|
|
164
|
+
declare const mapping: _walkeros_core.JSONSchema;
|
|
165
|
+
|
|
166
|
+
declare const index_CustomEventName: typeof CustomEventName;
|
|
167
|
+
type index_Mapping = Mapping;
|
|
168
|
+
declare const index_MappingSchema: typeof MappingSchema;
|
|
169
|
+
declare const index_PixelId: typeof PixelId;
|
|
170
|
+
type index_Settings = Settings;
|
|
171
|
+
declare const index_SettingsSchema: typeof SettingsSchema;
|
|
172
|
+
declare const index_StandardEventName: typeof StandardEventName;
|
|
173
|
+
declare const index_mapping: typeof mapping;
|
|
174
|
+
declare const index_settings: typeof settings;
|
|
175
|
+
declare namespace index {
|
|
176
|
+
export { index_CustomEventName as CustomEventName, type index_Mapping as Mapping, index_MappingSchema as MappingSchema, index_PixelId as PixelId, type index_Settings as Settings, index_SettingsSchema as SettingsSchema, index_StandardEventName as StandardEventName, index_mapping as mapping, index_settings as settings };
|
|
177
|
+
}
|
|
173
178
|
|
|
174
179
|
declare const destinationMeta: Destination;
|
|
175
180
|
|
|
176
|
-
export { index$
|
|
181
|
+
export { index$2 as DestinationMeta, destinationMeta as default, destinationMeta, index$1 as examples, index as schemas };
|