@agenus-io/pixel-backend-sdk 1.0.23 → 1.0.25

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.
@@ -224,7 +224,7 @@ class PixelSDK {
224
224
  secretToken: this.appToken,
225
225
  workSpaceId: workSpaceId,
226
226
  };
227
- const response = await axios_1.default.get(`${this.apiUrl}/metrics`, {
227
+ const response = await axios_1.default.get(`${this.apiUrl}/pixels/metrics`, {
228
228
  headers: { "app-id": token.appId, "app-secret-token": token.secretToken, "work-space-id": token.workSpaceId },
229
229
  params: { platform, productIds, offerIds, filter },
230
230
  });
@@ -31,6 +31,11 @@ interface CreatePixel {
31
31
  token: string;
32
32
  customerId: string;
33
33
  }[];
34
+ pixelGoogleTags: {
35
+ id: string;
36
+ title?: string;
37
+ token: string;
38
+ }[];
34
39
  }
35
40
  export declare namespace ICreatePixelDTO {
36
41
  type Params = {
@@ -102,6 +107,11 @@ export declare namespace IGetOnePixelDTO {
102
107
  data: {
103
108
  productIds: string[];
104
109
  offerIds: string[];
110
+ pixelGoogleTags: {
111
+ id: string;
112
+ title?: string;
113
+ token: string;
114
+ }[];
105
115
  pixelTikTok: {
106
116
  id: string;
107
117
  title?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenus-io/pixel-backend-sdk",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
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",