@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.
@@ -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
- select: {
123
- id: true;
124
- title?: string;
125
- token: true;
126
- customerId: true;
127
- resourceName: true;
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" | "CONTAINS_TEXT" | "CONTAINS_CSS" | "CONTAINS_URL";
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
- CONTAINS_TEXT: "CONTAINS_TEXT",
7
- CONTAINS_CSS: "CONTAINS_CSS",
8
- CONTAINS_URL: "CONTAINS_URL",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenus-io/pixel-backend-sdk",
3
- "version": "1.0.25",
3
+ "version": "1.1.0",
4
4
  "description": "SDK para envio de vendas para fila AWS SQS do micro-serviço de pixels",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",