@livechat/developer-studio-api 3.1.59 → 3.1.61
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 +18 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
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
|
@@ -6665,7 +6665,7 @@ var platformDpsApplicationsUsageApi = {
|
|
|
6665
6665
|
params += from ? `&from=${from}` : "";
|
|
6666
6666
|
params += to ? `&to=${to}` : "";
|
|
6667
6667
|
const singleResponse = yield platformDpsClientInstance.get(
|
|
6668
|
-
`/v2/applications/usage/
|
|
6668
|
+
`/v2/applications/usage/organization?${params}`,
|
|
6669
6669
|
getPlatformDpsClientConfig(authorization)
|
|
6670
6670
|
);
|
|
6671
6671
|
return singleResponse.data;
|
package/dist/index.mjs
CHANGED
|
@@ -6512,7 +6512,7 @@ var platformDpsApplicationsUsageApi = {
|
|
|
6512
6512
|
params += from ? `&from=${from}` : "";
|
|
6513
6513
|
params += to ? `&to=${to}` : "";
|
|
6514
6514
|
const singleResponse = yield platformDpsClientInstance.get(
|
|
6515
|
-
`/v2/applications/usage/
|
|
6515
|
+
`/v2/applications/usage/organization?${params}`,
|
|
6516
6516
|
getPlatformDpsClientConfig(authorization)
|
|
6517
6517
|
);
|
|
6518
6518
|
return singleResponse.data;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.61",
|
|
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,9 +20,9 @@
|
|
|
20
20
|
"@types/node": "^17.0.12",
|
|
21
21
|
"tsup": "^7.1.0",
|
|
22
22
|
"typescript": "^5.1.6",
|
|
23
|
-
"
|
|
23
|
+
"tsconfig": "0.0.1",
|
|
24
24
|
"utils": "0.0.4",
|
|
25
|
-
"
|
|
25
|
+
"eslint-config-custom": "0.0.8"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsup",
|