@maxzima/wa-communicator 1.0.43 → 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/dist/engine/AccountTracker/Types/TAccountTracker.d.ts +2 -2
- package/dist/engine/Communicator/Public/Communicator.js +1 -0
- package/dist/types/TCommunicator.d.ts +2 -0
- package/package.json +1 -1
- package/src/engine/AccountTracker/Types/TAccountTracker.ts +2 -2
- package/src/engine/Communicator/Public/Communicator.ts +1 -0
- package/src/types/TCommunicator.ts +2 -0
|
@@ -7,10 +7,10 @@ export type TAccountTrackerProps = {
|
|
|
7
7
|
lintrk?: (action: LintrkActionTypeEnum, options: TLintrkOptions) => void;
|
|
8
8
|
};
|
|
9
9
|
export type TAccountTrackerEventParams = {
|
|
10
|
-
|
|
10
|
+
gtm: TAccountTrackerGtmEventParamsMapping;
|
|
11
11
|
};
|
|
12
12
|
export type TAccountTrackerGtmEventParamsMapping = {
|
|
13
|
-
[event in GTMEventEnum]
|
|
13
|
+
[event in GTMEventEnum]?: TAccountTrackerGtmEventParams;
|
|
14
14
|
};
|
|
15
15
|
export type TAccountTrackerGtmEventParams = TAccountTrackerGtmSignUpEventParams | TAccountTrackerGtmSignUpOnlineEventParams | TAccountTrackerGtmVerifyPhoneOnlineEventParams | TAccountTrackerGtmVerifyEmailOnlineEventParams;
|
|
16
16
|
export type TAccountTrackerGtmSignUpEventParams = {
|
|
@@ -140,6 +140,7 @@ type TRegistrationRequestBodySource = {
|
|
|
140
140
|
utm_medium: string;
|
|
141
141
|
utm_campaign: string;
|
|
142
142
|
utm_term: string;
|
|
143
|
+
fbclid: string;
|
|
143
144
|
};
|
|
144
145
|
type TRegistrationRequestBody = {
|
|
145
146
|
name: string;
|
|
@@ -162,6 +163,7 @@ type TRegistrationRequestData = {
|
|
|
162
163
|
utmMedium: TRegistrationRequestBodySource['utm_medium'];
|
|
163
164
|
utmCampaign: TRegistrationRequestBodySource['utm_campaign'];
|
|
164
165
|
utmTerm: TRegistrationRequestBodySource['utm_term'];
|
|
166
|
+
fbclid: TRegistrationRequestBodySource['fbclid'];
|
|
165
167
|
};
|
|
166
168
|
type TStorageRequestData = {
|
|
167
169
|
accessToken: string;
|
package/package.json
CHANGED
|
@@ -14,11 +14,11 @@ export type TAccountTrackerProps = {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export type TAccountTrackerEventParams = {
|
|
17
|
-
|
|
17
|
+
gtm: TAccountTrackerGtmEventParamsMapping;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export type TAccountTrackerGtmEventParamsMapping = {
|
|
21
|
-
[event in GTMEventEnum]
|
|
21
|
+
[event in GTMEventEnum]?: TAccountTrackerGtmEventParams;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
export type TAccountTrackerGtmEventParams = TAccountTrackerGtmSignUpEventParams
|
|
@@ -189,6 +189,7 @@ type TRegistrationRequestBodySource = {
|
|
|
189
189
|
utm_medium: string,
|
|
190
190
|
utm_campaign: string,
|
|
191
191
|
utm_term: string,
|
|
192
|
+
fbclid: string,
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
type TRegistrationRequestBody = {
|
|
@@ -214,6 +215,7 @@ type TRegistrationRequestData = {
|
|
|
214
215
|
utmMedium: TRegistrationRequestBodySource['utm_medium'],
|
|
215
216
|
utmCampaign: TRegistrationRequestBodySource['utm_campaign'],
|
|
216
217
|
utmTerm: TRegistrationRequestBodySource['utm_term'],
|
|
218
|
+
fbclid: TRegistrationRequestBodySource['fbclid'],
|
|
217
219
|
}
|
|
218
220
|
/* endregion registration */
|
|
219
221
|
|