@agenus-io/pixel-backend-sdk 1.0.25 → 1.1.0
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/Class/interface.d.ts +7 -9
- package/dist/types.d.ts +1 -1
- package/dist/types.js +8 -3
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ interface CreatePixel {
|
|
|
31
31
|
token: string;
|
|
32
32
|
customerId: string;
|
|
33
33
|
}[];
|
|
34
|
-
pixelGoogleTags
|
|
34
|
+
pixelGoogleTags?: {
|
|
35
35
|
id: string;
|
|
36
36
|
title?: string;
|
|
37
37
|
token: string;
|
|
@@ -119,14 +119,12 @@ export declare namespace IGetOnePixelDTO {
|
|
|
119
119
|
externalId: string;
|
|
120
120
|
}[];
|
|
121
121
|
pixelGoogle: {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
};
|
|
129
|
-
};
|
|
122
|
+
id: true;
|
|
123
|
+
title?: string;
|
|
124
|
+
token: true;
|
|
125
|
+
customerId: true;
|
|
126
|
+
resourceName: true;
|
|
127
|
+
}[];
|
|
130
128
|
pixelMeta: {
|
|
131
129
|
id: string;
|
|
132
130
|
title?: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type InitiateCheckoutDetection = "AUTOMATIC" | "
|
|
1
|
+
export type InitiateCheckoutDetection = "AUTOMATIC" | "CLASS" | "ID" | "ATTRIBUTE" | "DATA_ATTRIBUTE" | "TAG" | "URL" | "CUSTOM" | "TEXT";
|
|
2
2
|
export type PurchaseSendType = "SALES_APPROVED" | "SALES_APPROVED_AND_PENDING";
|
|
3
3
|
export type PurchaseEventType = "PURCHASE_PENDING" | "PURCHASE_COMPLETED";
|
|
4
4
|
export type SendIp = "IPV6_AND_IPV4" | "ONLY_IPV6" | "DONT_SEND";
|
package/dist/types.js
CHANGED
|
@@ -3,9 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PurchaseEventTypeEnum = exports.MarketingPlatformEnum = exports.SendIpEnum = exports.PurchaseValueTypeEnum = exports.PurchaseSendTypeEnum = exports.InitiateCheckoutDetectionEnum = void 0;
|
|
4
4
|
exports.InitiateCheckoutDetectionEnum = {
|
|
5
5
|
AUTOMATIC: "AUTOMATIC",
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
CLASS: "CLASS",
|
|
7
|
+
ID: "ID",
|
|
8
|
+
ATTRIBUTE: "ATTRIBUTE",
|
|
9
|
+
DATA_ATTRIBUTE: "DATA_ATTRIBUTE",
|
|
10
|
+
TAG: "TAG",
|
|
11
|
+
URL: "URL",
|
|
12
|
+
CUSTOM: "CUSTOM",
|
|
13
|
+
TEXT: "TEXT",
|
|
9
14
|
};
|
|
10
15
|
exports.PurchaseSendTypeEnum = {
|
|
11
16
|
SALES_APPROVED: "SALES_APPROVED",
|