@walkeros/web-destination-meta 0.0.0-next-20251219153324
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/LICENSE +21 -0
- package/README.md +96 -0
- package/dist/dev.d.mts +161 -0
- package/dist/dev.d.ts +161 -0
- package/dist/dev.js +1 -0
- package/dist/dev.js.map +1 -0
- package/dist/dev.mjs +1 -0
- package/dist/dev.mjs.map +1 -0
- package/dist/examples/index.d.mts +73 -0
- package/dist/examples/index.d.ts +73 -0
- package/dist/examples/index.js +308 -0
- package/dist/examples/index.mjs +285 -0
- package/dist/index.browser.js +1 -0
- package/dist/index.d.mts +53 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.es5.js +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +66 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 elbWalker GmbH
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
<p align="left">
|
|
2
|
+
<a href="https://www.walkeros.io">
|
|
3
|
+
<img title="elbwalker" src="https://www.walkeros.io/img/elbwalker_logo.png" width="256px"/>
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
# Meta Pixel Destination for walkerOS
|
|
8
|
+
|
|
9
|
+
[Source Code](https://github.com/elbwalker/walkerOS/tree/main/packages/web/destinations/meta)
|
|
10
|
+
•
|
|
11
|
+
[NPM Package](https://www.npmjs.com/package/@walkeros/web-destination-meta)
|
|
12
|
+
|
|
13
|
+
This package provides a Meta Pixel (formerly Facebook Pixel) destination for
|
|
14
|
+
walkerOS. It sends events to Meta Pixel to track visitor activity and
|
|
15
|
+
conversions for Facebook and Instagram advertising campaigns.
|
|
16
|
+
|
|
17
|
+
walkerOS follows a **source → collector → destination** architecture. This Meta
|
|
18
|
+
Pixel destination receives processed events from the walkerOS collector and
|
|
19
|
+
transforms them into Meta's Pixel API format, handling conversion events, custom
|
|
20
|
+
events, and audience building data to optimize your Meta advertising campaigns.
|
|
21
|
+
|
|
22
|
+
## Installation
|
|
23
|
+
|
|
24
|
+
```sh
|
|
25
|
+
npm install @walkeros/web-destination-meta
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Quick Start
|
|
29
|
+
|
|
30
|
+
Configure in your Flow JSON:
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"version": 1,
|
|
35
|
+
"flows": {
|
|
36
|
+
"default": {
|
|
37
|
+
"web": {},
|
|
38
|
+
"destinations": {
|
|
39
|
+
"meta": {
|
|
40
|
+
"package": "@walkeros/web-destination-meta",
|
|
41
|
+
"config": {
|
|
42
|
+
"settings": { "pixelId": "1234567890" },
|
|
43
|
+
"loadScript": true
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Or programmatically:
|
|
53
|
+
|
|
54
|
+
```typescript
|
|
55
|
+
import { startFlow } from '@walkeros/collector';
|
|
56
|
+
import { destinationMeta } from '@walkeros/web-destination-meta';
|
|
57
|
+
|
|
58
|
+
const { elb } = await startFlow({
|
|
59
|
+
destinations: [
|
|
60
|
+
{
|
|
61
|
+
destination: destinationMeta,
|
|
62
|
+
config: {
|
|
63
|
+
settings: { pixelId: '1234567890' },
|
|
64
|
+
loadScript: true,
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
});
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Configuration
|
|
72
|
+
|
|
73
|
+
| Name | Type | Description | Required | Example |
|
|
74
|
+
| ------------ | --------- | ----------------------------------------------------------------- | -------- | -------------- |
|
|
75
|
+
| `pixelId` | `string` | Your Meta Pixel ID from Facebook Business Manager | Yes | `'1234567890'` |
|
|
76
|
+
| `loadScript` | `boolean` | Whether to automatically load the Meta Pixel script (fbevents.js) | No | `true` |
|
|
77
|
+
|
|
78
|
+
## Type Definitions
|
|
79
|
+
|
|
80
|
+
See [src/types/](./src/types/) for TypeScript interfaces.
|
|
81
|
+
|
|
82
|
+
## Related
|
|
83
|
+
|
|
84
|
+
- [Website Documentation](https://www.walkeros.io/docs/destinations/web/meta/)
|
|
85
|
+
- [Destination Interface](../../../core/src/types/destination.ts)
|
|
86
|
+
|
|
87
|
+
## Contribute
|
|
88
|
+
|
|
89
|
+
Feel free to contribute by submitting an
|
|
90
|
+
[issue](https://github.com/elbwalker/walkerOS/issues), starting a
|
|
91
|
+
[discussion](https://github.com/elbwalker/walkerOS/discussions), or getting in
|
|
92
|
+
[contact](https://calendly.com/elb-alexander/30min).
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
This project is licensed under the MIT License.
|
package/dist/dev.d.mts
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as _walkeros_core_dev from '@walkeros/core/dev';
|
|
2
|
+
import { z } from '@walkeros/core/dev';
|
|
3
|
+
import { Mapping as Mapping$2 } from '@walkeros/core';
|
|
4
|
+
import { DestinationWeb } from '@walkeros/web-core';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Meta Pixel ID
|
|
8
|
+
* Must be a numeric string (Facebook Pixel IDs are numeric)
|
|
9
|
+
*/
|
|
10
|
+
declare const PixelId: z.ZodString;
|
|
11
|
+
/**
|
|
12
|
+
* Meta Pixel Standard Event Names
|
|
13
|
+
* https://developers.facebook.com/docs/meta-pixel/reference
|
|
14
|
+
*/
|
|
15
|
+
declare const StandardEventName: z.ZodEnum<{
|
|
16
|
+
PageView: "PageView";
|
|
17
|
+
AddPaymentInfo: "AddPaymentInfo";
|
|
18
|
+
AddToCart: "AddToCart";
|
|
19
|
+
AddToWishlist: "AddToWishlist";
|
|
20
|
+
CompleteRegistration: "CompleteRegistration";
|
|
21
|
+
Contact: "Contact";
|
|
22
|
+
CustomizeProduct: "CustomizeProduct";
|
|
23
|
+
Donate: "Donate";
|
|
24
|
+
FindLocation: "FindLocation";
|
|
25
|
+
InitiateCheckout: "InitiateCheckout";
|
|
26
|
+
Lead: "Lead";
|
|
27
|
+
Purchase: "Purchase";
|
|
28
|
+
Schedule: "Schedule";
|
|
29
|
+
Search: "Search";
|
|
30
|
+
StartTrial: "StartTrial";
|
|
31
|
+
SubmitApplication: "SubmitApplication";
|
|
32
|
+
Subscribe: "Subscribe";
|
|
33
|
+
ViewContent: "ViewContent";
|
|
34
|
+
}>;
|
|
35
|
+
/**
|
|
36
|
+
* Custom Event Name
|
|
37
|
+
* Any string for custom tracking
|
|
38
|
+
*/
|
|
39
|
+
declare const CustomEventName: z.ZodString;
|
|
40
|
+
|
|
41
|
+
declare const SettingsSchema: z.ZodObject<{
|
|
42
|
+
pixelId: z.ZodString;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
type Settings = z.infer<typeof SettingsSchema>;
|
|
45
|
+
|
|
46
|
+
declare const MappingSchema: z.ZodObject<{
|
|
47
|
+
track: z.ZodOptional<z.ZodEnum<{
|
|
48
|
+
PageView: "PageView";
|
|
49
|
+
AddPaymentInfo: "AddPaymentInfo";
|
|
50
|
+
AddToCart: "AddToCart";
|
|
51
|
+
AddToWishlist: "AddToWishlist";
|
|
52
|
+
CompleteRegistration: "CompleteRegistration";
|
|
53
|
+
Contact: "Contact";
|
|
54
|
+
CustomizeProduct: "CustomizeProduct";
|
|
55
|
+
Donate: "Donate";
|
|
56
|
+
FindLocation: "FindLocation";
|
|
57
|
+
InitiateCheckout: "InitiateCheckout";
|
|
58
|
+
Lead: "Lead";
|
|
59
|
+
Purchase: "Purchase";
|
|
60
|
+
Schedule: "Schedule";
|
|
61
|
+
Search: "Search";
|
|
62
|
+
StartTrial: "StartTrial";
|
|
63
|
+
SubmitApplication: "SubmitApplication";
|
|
64
|
+
Subscribe: "Subscribe";
|
|
65
|
+
ViewContent: "ViewContent";
|
|
66
|
+
}>>;
|
|
67
|
+
trackCustom: z.ZodOptional<z.ZodString>;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
type Mapping$1 = z.infer<typeof MappingSchema>;
|
|
70
|
+
|
|
71
|
+
declare const settings: _walkeros_core_dev.JSONSchema;
|
|
72
|
+
declare const mapping$1: _walkeros_core_dev.JSONSchema;
|
|
73
|
+
|
|
74
|
+
declare const index$1_CustomEventName: typeof CustomEventName;
|
|
75
|
+
declare const index$1_MappingSchema: typeof MappingSchema;
|
|
76
|
+
declare const index$1_PixelId: typeof PixelId;
|
|
77
|
+
type index$1_Settings = Settings;
|
|
78
|
+
declare const index$1_SettingsSchema: typeof SettingsSchema;
|
|
79
|
+
declare const index$1_StandardEventName: typeof StandardEventName;
|
|
80
|
+
declare const index$1_settings: typeof settings;
|
|
81
|
+
declare namespace index$1 {
|
|
82
|
+
export { index$1_CustomEventName as CustomEventName, type Mapping$1 as Mapping, index$1_MappingSchema as MappingSchema, index$1_PixelId as PixelId, type index$1_Settings as Settings, index$1_SettingsSchema as SettingsSchema, index$1_StandardEventName as StandardEventName, mapping$1 as mapping, index$1_settings as settings };
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
declare global {
|
|
86
|
+
interface Window {
|
|
87
|
+
_fbq?: facebook.Pixel.Event;
|
|
88
|
+
fbq?: facebook.Pixel.Event;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
interface Mapping {
|
|
92
|
+
track?: StandardEventNames;
|
|
93
|
+
trackCustom?: string;
|
|
94
|
+
}
|
|
95
|
+
interface Env extends DestinationWeb.Env {
|
|
96
|
+
window: {
|
|
97
|
+
fbq: facebook.Pixel.Event;
|
|
98
|
+
_fbq?: facebook.Pixel.Event;
|
|
99
|
+
};
|
|
100
|
+
document: {
|
|
101
|
+
createElement: (tagName: string) => Element;
|
|
102
|
+
head: {
|
|
103
|
+
appendChild: (node: unknown) => void;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
type Rule = Mapping$2.Rule<Mapping>;
|
|
108
|
+
type StandardEventNames = 'PageView' | 'AddPaymentInfo' | 'AddToCart' | 'AddToWishlist' | 'CompleteRegistration' | 'Contact' | 'CustomizeProduct' | 'Donate' | 'FindLocation' | 'InitiateCheckout' | 'Lead' | 'Purchase' | 'Schedule' | 'Search' | 'StartTrial' | 'SubmitApplication' | 'Subscribe' | 'ViewContent' | string;
|
|
109
|
+
|
|
110
|
+
declare const init: Env | undefined;
|
|
111
|
+
declare const push: Env;
|
|
112
|
+
|
|
113
|
+
declare const env_init: typeof init;
|
|
114
|
+
declare const env_push: typeof push;
|
|
115
|
+
declare namespace env {
|
|
116
|
+
export { env_init as init, env_push as push };
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
declare function Purchase$1(): unknown[];
|
|
120
|
+
declare function AddToCart$1(): unknown[];
|
|
121
|
+
declare function InitiateCheckout$1(): unknown[];
|
|
122
|
+
declare function ViewContent$1(): unknown[];
|
|
123
|
+
|
|
124
|
+
declare namespace events {
|
|
125
|
+
export { AddToCart$1 as AddToCart, InitiateCheckout$1 as InitiateCheckout, Purchase$1 as Purchase, ViewContent$1 as ViewContent };
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
declare const Purchase: Rule;
|
|
129
|
+
declare const AddToCart: Rule;
|
|
130
|
+
declare const InitiateCheckout: Rule;
|
|
131
|
+
declare const ViewContent: Rule;
|
|
132
|
+
declare const config: {
|
|
133
|
+
order: {
|
|
134
|
+
complete: Rule;
|
|
135
|
+
};
|
|
136
|
+
product: {
|
|
137
|
+
view: Rule;
|
|
138
|
+
add: Rule;
|
|
139
|
+
};
|
|
140
|
+
cart: {
|
|
141
|
+
view: Rule;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
declare const mapping_AddToCart: typeof AddToCart;
|
|
146
|
+
declare const mapping_InitiateCheckout: typeof InitiateCheckout;
|
|
147
|
+
declare const mapping_Purchase: typeof Purchase;
|
|
148
|
+
declare const mapping_ViewContent: typeof ViewContent;
|
|
149
|
+
declare const mapping_config: typeof config;
|
|
150
|
+
declare namespace mapping {
|
|
151
|
+
export { mapping_AddToCart as AddToCart, mapping_InitiateCheckout as InitiateCheckout, mapping_Purchase as Purchase, mapping_ViewContent as ViewContent, mapping_config as config };
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare const index_env: typeof env;
|
|
155
|
+
declare const index_events: typeof events;
|
|
156
|
+
declare const index_mapping: typeof mapping;
|
|
157
|
+
declare namespace index {
|
|
158
|
+
export { index_env as env, index_events as events, index_mapping as mapping };
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export { index as examples, index$1 as schemas };
|
package/dist/dev.d.ts
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as _walkeros_core_dev from '@walkeros/core/dev';
|
|
2
|
+
import { z } from '@walkeros/core/dev';
|
|
3
|
+
import { Mapping as Mapping$2 } from '@walkeros/core';
|
|
4
|
+
import { DestinationWeb } from '@walkeros/web-core';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Meta Pixel ID
|
|
8
|
+
* Must be a numeric string (Facebook Pixel IDs are numeric)
|
|
9
|
+
*/
|
|
10
|
+
declare const PixelId: z.ZodString;
|
|
11
|
+
/**
|
|
12
|
+
* Meta Pixel Standard Event Names
|
|
13
|
+
* https://developers.facebook.com/docs/meta-pixel/reference
|
|
14
|
+
*/
|
|
15
|
+
declare const StandardEventName: z.ZodEnum<{
|
|
16
|
+
PageView: "PageView";
|
|
17
|
+
AddPaymentInfo: "AddPaymentInfo";
|
|
18
|
+
AddToCart: "AddToCart";
|
|
19
|
+
AddToWishlist: "AddToWishlist";
|
|
20
|
+
CompleteRegistration: "CompleteRegistration";
|
|
21
|
+
Contact: "Contact";
|
|
22
|
+
CustomizeProduct: "CustomizeProduct";
|
|
23
|
+
Donate: "Donate";
|
|
24
|
+
FindLocation: "FindLocation";
|
|
25
|
+
InitiateCheckout: "InitiateCheckout";
|
|
26
|
+
Lead: "Lead";
|
|
27
|
+
Purchase: "Purchase";
|
|
28
|
+
Schedule: "Schedule";
|
|
29
|
+
Search: "Search";
|
|
30
|
+
StartTrial: "StartTrial";
|
|
31
|
+
SubmitApplication: "SubmitApplication";
|
|
32
|
+
Subscribe: "Subscribe";
|
|
33
|
+
ViewContent: "ViewContent";
|
|
34
|
+
}>;
|
|
35
|
+
/**
|
|
36
|
+
* Custom Event Name
|
|
37
|
+
* Any string for custom tracking
|
|
38
|
+
*/
|
|
39
|
+
declare const CustomEventName: z.ZodString;
|
|
40
|
+
|
|
41
|
+
declare const SettingsSchema: z.ZodObject<{
|
|
42
|
+
pixelId: z.ZodString;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
type Settings = z.infer<typeof SettingsSchema>;
|
|
45
|
+
|
|
46
|
+
declare const MappingSchema: z.ZodObject<{
|
|
47
|
+
track: z.ZodOptional<z.ZodEnum<{
|
|
48
|
+
PageView: "PageView";
|
|
49
|
+
AddPaymentInfo: "AddPaymentInfo";
|
|
50
|
+
AddToCart: "AddToCart";
|
|
51
|
+
AddToWishlist: "AddToWishlist";
|
|
52
|
+
CompleteRegistration: "CompleteRegistration";
|
|
53
|
+
Contact: "Contact";
|
|
54
|
+
CustomizeProduct: "CustomizeProduct";
|
|
55
|
+
Donate: "Donate";
|
|
56
|
+
FindLocation: "FindLocation";
|
|
57
|
+
InitiateCheckout: "InitiateCheckout";
|
|
58
|
+
Lead: "Lead";
|
|
59
|
+
Purchase: "Purchase";
|
|
60
|
+
Schedule: "Schedule";
|
|
61
|
+
Search: "Search";
|
|
62
|
+
StartTrial: "StartTrial";
|
|
63
|
+
SubmitApplication: "SubmitApplication";
|
|
64
|
+
Subscribe: "Subscribe";
|
|
65
|
+
ViewContent: "ViewContent";
|
|
66
|
+
}>>;
|
|
67
|
+
trackCustom: z.ZodOptional<z.ZodString>;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
type Mapping$1 = z.infer<typeof MappingSchema>;
|
|
70
|
+
|
|
71
|
+
declare const settings: _walkeros_core_dev.JSONSchema;
|
|
72
|
+
declare const mapping$1: _walkeros_core_dev.JSONSchema;
|
|
73
|
+
|
|
74
|
+
declare const index$1_CustomEventName: typeof CustomEventName;
|
|
75
|
+
declare const index$1_MappingSchema: typeof MappingSchema;
|
|
76
|
+
declare const index$1_PixelId: typeof PixelId;
|
|
77
|
+
type index$1_Settings = Settings;
|
|
78
|
+
declare const index$1_SettingsSchema: typeof SettingsSchema;
|
|
79
|
+
declare const index$1_StandardEventName: typeof StandardEventName;
|
|
80
|
+
declare const index$1_settings: typeof settings;
|
|
81
|
+
declare namespace index$1 {
|
|
82
|
+
export { index$1_CustomEventName as CustomEventName, type Mapping$1 as Mapping, index$1_MappingSchema as MappingSchema, index$1_PixelId as PixelId, type index$1_Settings as Settings, index$1_SettingsSchema as SettingsSchema, index$1_StandardEventName as StandardEventName, mapping$1 as mapping, index$1_settings as settings };
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
declare global {
|
|
86
|
+
interface Window {
|
|
87
|
+
_fbq?: facebook.Pixel.Event;
|
|
88
|
+
fbq?: facebook.Pixel.Event;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
interface Mapping {
|
|
92
|
+
track?: StandardEventNames;
|
|
93
|
+
trackCustom?: string;
|
|
94
|
+
}
|
|
95
|
+
interface Env extends DestinationWeb.Env {
|
|
96
|
+
window: {
|
|
97
|
+
fbq: facebook.Pixel.Event;
|
|
98
|
+
_fbq?: facebook.Pixel.Event;
|
|
99
|
+
};
|
|
100
|
+
document: {
|
|
101
|
+
createElement: (tagName: string) => Element;
|
|
102
|
+
head: {
|
|
103
|
+
appendChild: (node: unknown) => void;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
type Rule = Mapping$2.Rule<Mapping>;
|
|
108
|
+
type StandardEventNames = 'PageView' | 'AddPaymentInfo' | 'AddToCart' | 'AddToWishlist' | 'CompleteRegistration' | 'Contact' | 'CustomizeProduct' | 'Donate' | 'FindLocation' | 'InitiateCheckout' | 'Lead' | 'Purchase' | 'Schedule' | 'Search' | 'StartTrial' | 'SubmitApplication' | 'Subscribe' | 'ViewContent' | string;
|
|
109
|
+
|
|
110
|
+
declare const init: Env | undefined;
|
|
111
|
+
declare const push: Env;
|
|
112
|
+
|
|
113
|
+
declare const env_init: typeof init;
|
|
114
|
+
declare const env_push: typeof push;
|
|
115
|
+
declare namespace env {
|
|
116
|
+
export { env_init as init, env_push as push };
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
declare function Purchase$1(): unknown[];
|
|
120
|
+
declare function AddToCart$1(): unknown[];
|
|
121
|
+
declare function InitiateCheckout$1(): unknown[];
|
|
122
|
+
declare function ViewContent$1(): unknown[];
|
|
123
|
+
|
|
124
|
+
declare namespace events {
|
|
125
|
+
export { AddToCart$1 as AddToCart, InitiateCheckout$1 as InitiateCheckout, Purchase$1 as Purchase, ViewContent$1 as ViewContent };
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
declare const Purchase: Rule;
|
|
129
|
+
declare const AddToCart: Rule;
|
|
130
|
+
declare const InitiateCheckout: Rule;
|
|
131
|
+
declare const ViewContent: Rule;
|
|
132
|
+
declare const config: {
|
|
133
|
+
order: {
|
|
134
|
+
complete: Rule;
|
|
135
|
+
};
|
|
136
|
+
product: {
|
|
137
|
+
view: Rule;
|
|
138
|
+
add: Rule;
|
|
139
|
+
};
|
|
140
|
+
cart: {
|
|
141
|
+
view: Rule;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
declare const mapping_AddToCart: typeof AddToCart;
|
|
146
|
+
declare const mapping_InitiateCheckout: typeof InitiateCheckout;
|
|
147
|
+
declare const mapping_Purchase: typeof Purchase;
|
|
148
|
+
declare const mapping_ViewContent: typeof ViewContent;
|
|
149
|
+
declare const mapping_config: typeof config;
|
|
150
|
+
declare namespace mapping {
|
|
151
|
+
export { mapping_AddToCart as AddToCart, mapping_InitiateCheckout as InitiateCheckout, mapping_Purchase as Purchase, mapping_ViewContent as ViewContent, mapping_config as config };
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare const index_env: typeof env;
|
|
155
|
+
declare const index_events: typeof events;
|
|
156
|
+
declare const index_mapping: typeof mapping;
|
|
157
|
+
declare namespace index {
|
|
158
|
+
export { index_env as env, index_events as events, index_mapping as mapping };
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export { index as examples, index$1 as schemas };
|