@livechat/developer-studio-api 3.0.13 → 3.0.15

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/index.d.mts CHANGED
@@ -2574,6 +2574,11 @@ declare const api: {
2574
2574
  }>;
2575
2575
  };
2576
2576
  };
2577
+ log(payload: {
2578
+ userId: string;
2579
+ name: string;
2580
+ payload: Record<string, unknown>;
2581
+ }, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
2577
2582
  };
2578
2583
  dps: {
2579
2584
  applications: {
package/dist/index.d.ts CHANGED
@@ -2574,6 +2574,11 @@ declare const api: {
2574
2574
  }>;
2575
2575
  };
2576
2576
  };
2577
+ log(payload: {
2578
+ userId: string;
2579
+ name: string;
2580
+ payload: Record<string, unknown>;
2581
+ }, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
2577
2582
  };
2578
2583
  dps: {
2579
2584
  applications: {
package/dist/index.js CHANGED
@@ -3404,7 +3404,7 @@ var appTemplates = {
3404
3404
  widgets: {
3405
3405
  "chat-details": {
3406
3406
  placement: "plugin",
3407
- url: "/livechat/chat-details"
3407
+ url: "/livechat/details"
3408
3408
  },
3409
3409
  fullscreen: {
3410
3410
  placement: "fullscreen",
@@ -5490,7 +5490,16 @@ var platformAdapterIntegrationsProxyApi = {
5490
5490
  var platformAdapterApi = {
5491
5491
  app: platformAdapterAppApi,
5492
5492
  conductor: platformAdapterConductorApi,
5493
- proxy: platformAdapterIntegrationsProxyApi
5493
+ proxy: platformAdapterIntegrationsProxyApi,
5494
+ log(payload, authorization) {
5495
+ return __async(this, null, function* () {
5496
+ return platformAdapterClientInstance.post(
5497
+ `/log`,
5498
+ payload,
5499
+ getPlatformAdapterClientConfig(authorization)
5500
+ );
5501
+ });
5502
+ }
5494
5503
  };
5495
5504
 
5496
5505
  // src/apis/platform/billing/account/api.ts
package/dist/index.mjs CHANGED
@@ -3302,7 +3302,7 @@ var appTemplates = {
3302
3302
  widgets: {
3303
3303
  "chat-details": {
3304
3304
  placement: "plugin",
3305
- url: "/livechat/chat-details"
3305
+ url: "/livechat/details"
3306
3306
  },
3307
3307
  fullscreen: {
3308
3308
  placement: "fullscreen",
@@ -5388,7 +5388,16 @@ var platformAdapterIntegrationsProxyApi = {
5388
5388
  var platformAdapterApi = {
5389
5389
  app: platformAdapterAppApi,
5390
5390
  conductor: platformAdapterConductorApi,
5391
- proxy: platformAdapterIntegrationsProxyApi
5391
+ proxy: platformAdapterIntegrationsProxyApi,
5392
+ log(payload, authorization) {
5393
+ return __async(this, null, function* () {
5394
+ return platformAdapterClientInstance.post(
5395
+ `/log`,
5396
+ payload,
5397
+ getPlatformAdapterClientConfig(authorization)
5398
+ );
5399
+ });
5400
+ }
5392
5401
  };
5393
5402
 
5394
5403
  // src/apis/platform/billing/account/api.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.0.13",
3
+ "version": "3.0.15",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,9 +17,9 @@
17
17
  "@types/node": "^17.0.12",
18
18
  "tsup": "^7.1.0",
19
19
  "typescript": "^5.1.6",
20
- "eslint-config-custom": "0.0.6",
21
- "utils": "0.0.1",
22
- "tsconfig": "0.0.1"
20
+ "eslint-config-custom": "0.0.7",
21
+ "tsconfig": "0.0.1",
22
+ "utils": "0.0.1"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsup",