@livechat/developer-studio-api 2.3.17 → 2.3.18

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
@@ -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: ["read", "write"];
1910
- customer: ["read", "write"];
1910
+ agent?: [AccessLevel];
1911
+ customer?: [AccessLevel];
1911
1912
  }
1912
1913
  interface PropertyAccessDto {
1913
1914
  chat?: PropertyAccessItemDto;
package/dist/index.d.ts CHANGED
@@ -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: ["read", "write"];
1910
- customer: ["read", "write"];
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.17",
3
+ "version": "2.3.18",
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
+ "tsconfig": "0.0.1",
20
21
  "config": "0.0.1",
21
- "eslint-config-custom": "0.0.2",
22
- "tsconfig": "0.0.1"
22
+ "eslint-config-custom": "0.0.2"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsup src/index.ts --format esm,cjs --dts",