@livechat/developer-studio-api 3.1.60 → 3.1.62

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
@@ -5558,8 +5558,17 @@ interface LivechatWebhookDto {
5558
5558
  filters?: {
5559
5559
  author_type?: "agent" | "customer";
5560
5560
  only_my_chats?: boolean;
5561
+ chat_presence: {
5562
+ user_ids?: {
5563
+ values?: string[];
5564
+ exclude_values?: string[];
5565
+ };
5566
+ my_bots?: boolean;
5567
+ };
5568
+ source_type?: string[];
5561
5569
  };
5562
5570
  url: string;
5571
+ additional_data?: string[];
5563
5572
  }
5564
5573
  interface LivechatWebhook {
5565
5574
  url: string;
@@ -5572,7 +5581,16 @@ interface LivechatWebhook {
5572
5581
  filters?: {
5573
5582
  author_type?: "agent" | "customer";
5574
5583
  only_my_chats?: boolean;
5584
+ chat_presence: {
5585
+ user_ids?: {
5586
+ values?: string[];
5587
+ exclude_values?: string[];
5588
+ };
5589
+ my_bots?: boolean;
5590
+ };
5591
+ source_type?: string[];
5575
5592
  };
5593
+ additional_data?: string[];
5576
5594
  }
5577
5595
  declare enum LivechatWebhookActions {
5578
5596
  IncomingChat = "incoming_chat",
package/dist/index.d.ts CHANGED
@@ -5558,8 +5558,17 @@ interface LivechatWebhookDto {
5558
5558
  filters?: {
5559
5559
  author_type?: "agent" | "customer";
5560
5560
  only_my_chats?: boolean;
5561
+ chat_presence: {
5562
+ user_ids?: {
5563
+ values?: string[];
5564
+ exclude_values?: string[];
5565
+ };
5566
+ my_bots?: boolean;
5567
+ };
5568
+ source_type?: string[];
5561
5569
  };
5562
5570
  url: string;
5571
+ additional_data?: string[];
5563
5572
  }
5564
5573
  interface LivechatWebhook {
5565
5574
  url: string;
@@ -5572,7 +5581,16 @@ interface LivechatWebhook {
5572
5581
  filters?: {
5573
5582
  author_type?: "agent" | "customer";
5574
5583
  only_my_chats?: boolean;
5584
+ chat_presence: {
5585
+ user_ids?: {
5586
+ values?: string[];
5587
+ exclude_values?: string[];
5588
+ };
5589
+ my_bots?: boolean;
5590
+ };
5591
+ source_type?: string[];
5575
5592
  };
5593
+ additional_data?: string[];
5576
5594
  }
5577
5595
  declare enum LivechatWebhookActions {
5578
5596
  IncomingChat = "incoming_chat",
package/dist/index.js CHANGED
@@ -5085,7 +5085,8 @@ var livechatWebhookApi = {
5085
5085
  owner_client_id: webhook.owner_client_id,
5086
5086
  type: webhook.type,
5087
5087
  description: webhook.description,
5088
- filters: webhook.filters
5088
+ filters: webhook.filters,
5089
+ additional_data: webhook.additional_data
5089
5090
  },
5090
5091
  getLiveChatClientConfig(authorization)
5091
5092
  ).catch((error) => {
@@ -5110,7 +5111,8 @@ var livechatWebhookApi = {
5110
5111
  owner_client_id: webhook.owner_client_id,
5111
5112
  type: webhook.type,
5112
5113
  description: webhook.description,
5113
- filters: webhook.filters
5114
+ filters: webhook.filters,
5115
+ additional_data: webhook.additional_data
5114
5116
  },
5115
5117
  getLiveChatClientConfig(authorization)
5116
5118
  );
package/dist/index.mjs CHANGED
@@ -4932,7 +4932,8 @@ var livechatWebhookApi = {
4932
4932
  owner_client_id: webhook.owner_client_id,
4933
4933
  type: webhook.type,
4934
4934
  description: webhook.description,
4935
- filters: webhook.filters
4935
+ filters: webhook.filters,
4936
+ additional_data: webhook.additional_data
4936
4937
  },
4937
4938
  getLiveChatClientConfig(authorization)
4938
4939
  ).catch((error) => {
@@ -4957,7 +4958,8 @@ var livechatWebhookApi = {
4957
4958
  owner_client_id: webhook.owner_client_id,
4958
4959
  type: webhook.type,
4959
4960
  description: webhook.description,
4960
- filters: webhook.filters
4961
+ filters: webhook.filters,
4962
+ additional_data: webhook.additional_data
4961
4963
  },
4962
4964
  getLiveChatClientConfig(authorization)
4963
4965
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.1.60",
3
+ "version": "3.1.62",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -20,8 +20,8 @@
20
20
  "@types/node": "^17.0.12",
21
21
  "tsup": "^7.1.0",
22
22
  "typescript": "^5.1.6",
23
- "tsconfig": "0.0.1",
24
23
  "eslint-config-custom": "0.0.8",
24
+ "tsconfig": "0.0.1",
25
25
  "utils": "0.0.4"
26
26
  },
27
27
  "scripts": {