@adtrackify/at-tracking-event-types 1.0.44 → 1.0.45

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/.editorconfig CHANGED
@@ -1,12 +1,12 @@
1
- root = true
2
-
3
- [*]
4
- end_of_line = lf
5
- charset = utf-8
6
- trim_trailing_whitespace = true
7
- insert_final_newline = false
8
- indent_style = space
9
- indent_size = 2
10
-
11
- [*.{diff,md}]
12
- trim_trailing_whitespace = false
1
+ root = true
2
+
3
+ [*]
4
+ end_of_line = lf
5
+ charset = utf-8
6
+ trim_trailing_whitespace = true
7
+ insert_final_newline = false
8
+ indent_style = space
9
+ indent_size = 2
10
+
11
+ [*.{diff,md}]
12
+ trim_trailing_whitespace = false
package/dist/index.d.ts CHANGED
@@ -271,7 +271,8 @@ declare module '@adtrackify/at-tracking-event-types/types/third-party-event-conf
271
271
  export interface DestinationEventSpecificConfiguration {
272
272
  enabled: boolean;
273
273
  sourceEventName: string;
274
- destinationEventName: string;
274
+ destinationEventName?: string;
275
+ excludeEvent?: boolean;
275
276
  }
276
277
 
277
278
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adtrackify/at-tracking-event-types",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "description": "",
5
5
  "module": "./dist/index.js",
6
6
  "main": "./dist/index.js",
@@ -1,56 +1,56 @@
1
- export interface Destination {
2
- id: string,
3
- accountId: string,
4
- pixelId: string,
5
- destination: string;
6
- displayName?: string,
7
- enabled: boolean;
8
- configuration?: any,
9
- createdAt: string,
10
- updatedAt: string;
11
- }
12
-
13
- export interface DestinationCatalogItem {
14
- id: string,
15
- active: boolean,
16
- destinationKey: string,
17
- destinationType: string,
18
- displayName?: string,
19
- shortName?: string;
20
- description?: string,
21
- url: string,
22
- fields?: any,
23
- createdAt: string,
24
- updatedAt: string;
25
- }
26
-
27
- export interface DestinationCatalogFields {
28
- component_type: string,
29
- name: string,
30
- description: string,
31
- label: string,
32
- type: string,
33
- required: boolean,
34
- order: number;
35
- }
36
-
37
- export interface AdTrackifyFacebookDestination extends Destination {
38
- configuration: FacebookPixelConfiguration;
39
- }
40
- export interface FacebookPixelConfiguration {
41
- apiAccessToken?: string;
42
- enableConversionAPI: boolean;
43
- pixelId: string;
44
- }
45
-
46
- export interface TiktokPixelConfiguration{
47
- pixelId: string
48
- }
49
- export interface GoogleAnalytics4Configuration {
50
- measurementId: string;
51
- }
52
-
53
- export interface GoogleAdsConfiguration {
54
- pixelId: string;
55
- conversionID: string;
56
- }
1
+ export interface Destination {
2
+ id: string,
3
+ accountId: string,
4
+ pixelId: string,
5
+ destination: string;
6
+ displayName?: string,
7
+ enabled: boolean;
8
+ configuration?: any,
9
+ createdAt: string,
10
+ updatedAt: string;
11
+ }
12
+
13
+ export interface DestinationCatalogItem {
14
+ id: string,
15
+ active: boolean,
16
+ destinationKey: string,
17
+ destinationType: string,
18
+ displayName?: string,
19
+ shortName?: string;
20
+ description?: string,
21
+ url: string,
22
+ fields?: any,
23
+ createdAt: string,
24
+ updatedAt: string;
25
+ }
26
+
27
+ export interface DestinationCatalogFields {
28
+ component_type: string,
29
+ name: string,
30
+ description: string,
31
+ label: string,
32
+ type: string,
33
+ required: boolean,
34
+ order: number;
35
+ }
36
+
37
+ export interface AdTrackifyFacebookDestination extends Destination {
38
+ configuration: FacebookPixelConfiguration;
39
+ }
40
+ export interface FacebookPixelConfiguration {
41
+ apiAccessToken?: string;
42
+ enableConversionAPI: boolean;
43
+ pixelId: string;
44
+ }
45
+
46
+ export interface TiktokPixelConfiguration{
47
+ pixelId: string
48
+ }
49
+ export interface GoogleAnalytics4Configuration {
50
+ measurementId: string;
51
+ }
52
+
53
+ export interface GoogleAdsConfiguration {
54
+ pixelId: string;
55
+ conversionID: string;
56
+ }
@@ -1,9 +1,10 @@
1
- export interface DestinationConfiguration {
2
- eventConfigurations: DestinationEventSpecificConfiguration[]
3
- }
4
-
5
- export interface DestinationEventSpecificConfiguration {
6
- enabled: boolean;
7
- sourceEventName: string;
8
- destinationEventName: string;
1
+ export interface DestinationConfiguration {
2
+ eventConfigurations: DestinationEventSpecificConfiguration[];
3
+ }
4
+
5
+ export interface DestinationEventSpecificConfiguration {
6
+ enabled: boolean;
7
+ sourceEventName: string;
8
+ destinationEventName?: string;
9
+ excludeEvent?: boolean;
9
10
  }