@adtrackify/at-tracking-event-types 4.66.39 → 4.66.40

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.
@@ -25,8 +25,8 @@ export interface AdTrackifySendlaneDestination extends Destination {
25
25
  export interface AdTrackifyOutboxDestination extends Destination {
26
26
  configuration: OutbrainConfiguration;
27
27
  }
28
- export interface AdTrackifyGoogleAdsV2Destination extends Destination {
29
- configuration: GoogleAdsV2Configuration;
28
+ export interface AdTrackifyGoogleAdsDestination extends Destination {
29
+ configuration: GoogleAdsConfiguration;
30
30
  }
31
31
  export interface AdTrackifyOmnisendDestination extends Destination {
32
32
  configuration: OmnisendConfiguration;
@@ -74,9 +74,26 @@ export interface GoogleAnalytics4Configuration extends UserDestinationConfigurat
74
74
  apiSecret: string;
75
75
  measurementId: string;
76
76
  }
77
+ export declare enum GOOGLE_ADS_CONFIG_MODE {
78
+ LEGACY = "legacy",
79
+ OAUTH = "oauth"
80
+ }
81
+ export interface GoogleAdsEventConversionMapping {
82
+ eventName: string;
83
+ conversionActionResourceName: string;
84
+ conversionLabel: string;
85
+ enabled: boolean;
86
+ displayName?: string;
87
+ }
77
88
  export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
78
- pixelId: string;
79
- conversionID: string;
89
+ pixelId?: string;
90
+ conversionId?: string;
91
+ mode?: GOOGLE_ADS_CONFIG_MODE;
92
+ customerId?: string;
93
+ refreshToken?: string;
94
+ oAuthConnectedAt?: string;
95
+ loginCustomerId?: string;
96
+ eventConversionMappings?: GoogleAdsEventConversionMapping[];
80
97
  }
81
98
  export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
82
99
  hubspotId: string;
@@ -128,11 +145,6 @@ export interface AttentiveConfiguration extends UserDestinationConfiguration {
128
145
  export interface OutbrainConfiguration extends UserDestinationConfiguration {
129
146
  pixelId: string;
130
147
  }
131
- export interface GoogleAdsV2Configuration extends UserDestinationConfiguration {
132
- accountId: string;
133
- merchantCenterId: string;
134
- conversionId: string;
135
- }
136
148
  export interface YotpoConfiguration extends UserDestinationConfiguration {
137
149
  appKey: string;
138
150
  secretKey: string;
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomHTMLLocation = exports.POSTHOG_EVENT = exports.POSTHOG_REGION = void 0;
3
+ exports.CustomHTMLLocation = exports.POSTHOG_EVENT = exports.POSTHOG_REGION = exports.GOOGLE_ADS_CONFIG_MODE = void 0;
4
+ var GOOGLE_ADS_CONFIG_MODE;
5
+ (function (GOOGLE_ADS_CONFIG_MODE) {
6
+ GOOGLE_ADS_CONFIG_MODE["LEGACY"] = "legacy";
7
+ GOOGLE_ADS_CONFIG_MODE["OAUTH"] = "oauth";
8
+ })(GOOGLE_ADS_CONFIG_MODE = exports.GOOGLE_ADS_CONFIG_MODE || (exports.GOOGLE_ADS_CONFIG_MODE = {}));
4
9
  var POSTHOG_REGION;
5
10
  (function (POSTHOG_REGION) {
6
11
  POSTHOG_REGION["US"] = "us";
@@ -1 +1 @@
1
- {"version":3,"file":"third-party-destination-configs.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/third-party-destination-configs.ts"],"names":[],"mappings":";;;AAkNA,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2BAAS,CAAA;IACT,2BAAS,CAAA;AACX,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AA4BD,IAAY,aAYX;AAZD,WAAY,aAAa;IACvB,uCAAsB,CAAA;IACtB,yCAAwB,CAAA;IACxB,uCAAsB,CAAA;IACtB,4CAA2B,CAAA;IAC3B,wCAAuB,CAAA;IACvB,gDAA+B,CAAA;IAC/B,wDAAuC,CAAA;IACvC,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;AACf,CAAC,EAZW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAYxB;AAkDD,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,mCAAa,CAAA;AACf,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
1
+ {"version":3,"file":"third-party-destination-configs.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/third-party-destination-configs.ts"],"names":[],"mappings":";;;AAqHA,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,2CAAiB,CAAA;IACjB,yCAAe,CAAA;AACjB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAoHD,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2BAAS,CAAA;IACT,2BAAS,CAAA;AACX,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AA4BD,IAAY,aAYX;AAZD,WAAY,aAAa;IACvB,uCAAsB,CAAA;IACtB,yCAAwB,CAAA;IACxB,uCAAsB,CAAA;IACtB,4CAA2B,CAAA;IAC3B,wCAAuB,CAAA;IACvB,gDAA+B,CAAA;IAC/B,wDAAuC,CAAA;IACvC,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;AACf,CAAC,EAZW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAYxB;AAkDD,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,mCAAa,CAAA;AACf,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
@@ -25,8 +25,8 @@ export interface AdTrackifySendlaneDestination extends Destination {
25
25
  export interface AdTrackifyOutboxDestination extends Destination {
26
26
  configuration: OutbrainConfiguration;
27
27
  }
28
- export interface AdTrackifyGoogleAdsV2Destination extends Destination {
29
- configuration: GoogleAdsV2Configuration;
28
+ export interface AdTrackifyGoogleAdsDestination extends Destination {
29
+ configuration: GoogleAdsConfiguration;
30
30
  }
31
31
  export interface AdTrackifyOmnisendDestination extends Destination {
32
32
  configuration: OmnisendConfiguration;
@@ -74,9 +74,26 @@ export interface GoogleAnalytics4Configuration extends UserDestinationConfigurat
74
74
  apiSecret: string;
75
75
  measurementId: string;
76
76
  }
77
+ export declare enum GOOGLE_ADS_CONFIG_MODE {
78
+ LEGACY = "legacy",
79
+ OAUTH = "oauth"
80
+ }
81
+ export interface GoogleAdsEventConversionMapping {
82
+ eventName: string;
83
+ conversionActionResourceName: string;
84
+ conversionLabel: string;
85
+ enabled: boolean;
86
+ displayName?: string;
87
+ }
77
88
  export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
78
- pixelId: string;
79
- conversionID: string;
89
+ pixelId?: string;
90
+ conversionId?: string;
91
+ mode?: GOOGLE_ADS_CONFIG_MODE;
92
+ customerId?: string;
93
+ refreshToken?: string;
94
+ oAuthConnectedAt?: string;
95
+ loginCustomerId?: string;
96
+ eventConversionMappings?: GoogleAdsEventConversionMapping[];
80
97
  }
81
98
  export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
82
99
  hubspotId: string;
@@ -128,11 +145,6 @@ export interface AttentiveConfiguration extends UserDestinationConfiguration {
128
145
  export interface OutbrainConfiguration extends UserDestinationConfiguration {
129
146
  pixelId: string;
130
147
  }
131
- export interface GoogleAdsV2Configuration extends UserDestinationConfiguration {
132
- accountId: string;
133
- merchantCenterId: string;
134
- conversionId: string;
135
- }
136
148
  export interface YotpoConfiguration extends UserDestinationConfiguration {
137
149
  appKey: string;
138
150
  secretKey: string;
@@ -1,3 +1,8 @@
1
+ export var GOOGLE_ADS_CONFIG_MODE;
2
+ (function (GOOGLE_ADS_CONFIG_MODE) {
3
+ GOOGLE_ADS_CONFIG_MODE["LEGACY"] = "legacy";
4
+ GOOGLE_ADS_CONFIG_MODE["OAUTH"] = "oauth";
5
+ })(GOOGLE_ADS_CONFIG_MODE || (GOOGLE_ADS_CONFIG_MODE = {}));
1
6
  export var POSTHOG_REGION;
2
7
  (function (POSTHOG_REGION) {
3
8
  POSTHOG_REGION["US"] = "us";
@@ -1 +1 @@
1
- {"version":3,"file":"third-party-destination-configs.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/third-party-destination-configs.ts"],"names":[],"mappings":"AAkNA,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2BAAS,CAAA;IACT,2BAAS,CAAA;AACX,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AA4BD,MAAM,CAAN,IAAY,aAYX;AAZD,WAAY,aAAa;IACvB,uCAAsB,CAAA;IACtB,yCAAwB,CAAA;IACxB,uCAAsB,CAAA;IACtB,4CAA2B,CAAA;IAC3B,wCAAuB,CAAA;IACvB,gDAA+B,CAAA;IAC/B,wDAAuC,CAAA;IACvC,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;AACf,CAAC,EAZW,aAAa,KAAb,aAAa,QAYxB;AAkDD,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,mCAAa,CAAA;AACf,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B"}
1
+ {"version":3,"file":"third-party-destination-configs.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/third-party-destination-configs.ts"],"names":[],"mappings":"AAqHA,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,2CAAiB,CAAA;IACjB,yCAAe,CAAA;AACjB,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC;AAoHD,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2BAAS,CAAA;IACT,2BAAS,CAAA;AACX,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AA4BD,MAAM,CAAN,IAAY,aAYX;AAZD,WAAY,aAAa;IACvB,uCAAsB,CAAA;IACtB,yCAAwB,CAAA;IACxB,uCAAsB,CAAA;IACtB,4CAA2B,CAAA;IAC3B,wCAAuB,CAAA;IACvB,gDAA+B,CAAA;IAC/B,wDAAuC,CAAA;IACvC,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;AACf,CAAC,EAZW,aAAa,KAAb,aAAa,QAYxB;AAkDD,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,mCAAa,CAAA;AACf,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adtrackify/at-tracking-event-types",
3
- "version": "4.66.39",
3
+ "version": "4.66.40",
4
4
  "description": "",
5
5
  "files": [
6
6
  "dist/*"