@livechat/developer-studio-api 3.0.34 → 3.0.35

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
@@ -2754,7 +2754,10 @@ declare const api: {
2754
2754
  getApps({ filter }?: {
2755
2755
  filter?: string | undefined;
2756
2756
  }): Promise<ApplicationDto[] | null>;
2757
- getAppsInstallations(): Promise<ApplicationDto[] | null>;
2757
+ getAppsInstallations(): Promise<{
2758
+ id: string;
2759
+ installations: number;
2760
+ }[] | null>;
2758
2761
  };
2759
2762
  user: {
2760
2763
  getUser(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<UserDto>;
package/dist/index.d.ts CHANGED
@@ -2754,7 +2754,10 @@ declare const api: {
2754
2754
  getApps({ filter }?: {
2755
2755
  filter?: string | undefined;
2756
2756
  }): Promise<ApplicationDto[] | null>;
2757
- getAppsInstallations(): Promise<ApplicationDto[] | null>;
2757
+ getAppsInstallations(): Promise<{
2758
+ id: string;
2759
+ installations: number;
2760
+ }[] | null>;
2758
2761
  };
2759
2762
  user: {
2760
2763
  getUser(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<UserDto>;
package/dist/index.js CHANGED
@@ -4501,9 +4501,7 @@ var platformDpsApplicationsApi = {
4501
4501
  },
4502
4502
  getAppsInstallations() {
4503
4503
  return __async(this, null, function* () {
4504
- return platformDpsClientInstance.get(
4505
- `/v2/applications/installations/counters/my`
4506
- ).then(({ data }) => data).catch((error) => {
4504
+ return platformDpsClientInstance.get(`/v2/applications/installations/counters/my`).then(({ data }) => data).catch((error) => {
4507
4505
  throw error.withCustomMessage(
4508
4506
  `Apps installations couldn't be fetched. [${error.message}]`
4509
4507
  );
package/dist/index.mjs CHANGED
@@ -4399,9 +4399,7 @@ var platformDpsApplicationsApi = {
4399
4399
  },
4400
4400
  getAppsInstallations() {
4401
4401
  return __async(this, null, function* () {
4402
- return platformDpsClientInstance.get(
4403
- `/v2/applications/installations/counters/my`
4404
- ).then(({ data }) => data).catch((error) => {
4402
+ return platformDpsClientInstance.get(`/v2/applications/installations/counters/my`).then(({ data }) => data).catch((error) => {
4405
4403
  throw error.withCustomMessage(
4406
4404
  `Apps installations couldn't be fetched. [${error.message}]`
4407
4405
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.0.34",
3
+ "version": "3.0.35",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "tsup": "^7.1.0",
19
19
  "typescript": "^5.1.6",
20
20
  "eslint-config-custom": "0.0.7",
21
- "utils": "0.0.3",
22
- "tsconfig": "0.0.1"
21
+ "tsconfig": "0.0.1",
22
+ "utils": "0.0.3"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsup",