@livechat/developer-studio-api 2.3.17 → 2.3.19
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 +4 -3
- package/dist/index.d.ts +4 -3
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -606,7 +606,7 @@ interface ProductDto {
|
|
|
606
606
|
interface ClientScopeDto {
|
|
607
607
|
scope: string;
|
|
608
608
|
required: boolean;
|
|
609
|
-
description
|
|
609
|
+
description?: string;
|
|
610
610
|
}
|
|
611
611
|
interface ClientDto {
|
|
612
612
|
client_id: string;
|
|
@@ -1905,9 +1905,10 @@ interface AgentDto {
|
|
|
1905
1905
|
account_id: string;
|
|
1906
1906
|
}
|
|
1907
1907
|
|
|
1908
|
+
type AccessLevel = "read" | "write";
|
|
1908
1909
|
interface PropertyAccessItemDto {
|
|
1909
|
-
agent
|
|
1910
|
-
customer
|
|
1910
|
+
agent?: [AccessLevel];
|
|
1911
|
+
customer?: [AccessLevel];
|
|
1911
1912
|
}
|
|
1912
1913
|
interface PropertyAccessDto {
|
|
1913
1914
|
chat?: PropertyAccessItemDto;
|
package/dist/index.d.ts
CHANGED
|
@@ -606,7 +606,7 @@ interface ProductDto {
|
|
|
606
606
|
interface ClientScopeDto {
|
|
607
607
|
scope: string;
|
|
608
608
|
required: boolean;
|
|
609
|
-
description
|
|
609
|
+
description?: string;
|
|
610
610
|
}
|
|
611
611
|
interface ClientDto {
|
|
612
612
|
client_id: string;
|
|
@@ -1905,9 +1905,10 @@ interface AgentDto {
|
|
|
1905
1905
|
account_id: string;
|
|
1906
1906
|
}
|
|
1907
1907
|
|
|
1908
|
+
type AccessLevel = "read" | "write";
|
|
1908
1909
|
interface PropertyAccessItemDto {
|
|
1909
|
-
agent
|
|
1910
|
-
customer
|
|
1910
|
+
agent?: [AccessLevel];
|
|
1911
|
+
customer?: [AccessLevel];
|
|
1911
1912
|
}
|
|
1912
1913
|
interface PropertyAccessDto {
|
|
1913
1914
|
chat?: PropertyAccessItemDto;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.19",
|
|
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
|
-
"config": "0.0.1",
|
|
21
20
|
"eslint-config-custom": "0.0.2",
|
|
22
|
-
"tsconfig": "0.0.1"
|
|
21
|
+
"tsconfig": "0.0.1",
|
|
22
|
+
"config": "0.0.1"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|