@livechat/developer-studio-api 3.0.33 → 3.0.34

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,6 +2754,7 @@ declare const api: {
2754
2754
  getApps({ filter }?: {
2755
2755
  filter?: string | undefined;
2756
2756
  }): Promise<ApplicationDto[] | null>;
2757
+ getAppsInstallations(): Promise<ApplicationDto[] | null>;
2757
2758
  };
2758
2759
  user: {
2759
2760
  getUser(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<UserDto>;
package/dist/index.d.ts CHANGED
@@ -2754,6 +2754,7 @@ declare const api: {
2754
2754
  getApps({ filter }?: {
2755
2755
  filter?: string | undefined;
2756
2756
  }): Promise<ApplicationDto[] | null>;
2757
+ getAppsInstallations(): Promise<ApplicationDto[] | null>;
2757
2758
  };
2758
2759
  user: {
2759
2760
  getUser(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<UserDto>;
package/dist/index.js CHANGED
@@ -4498,6 +4498,17 @@ var platformDpsApplicationsApi = {
4498
4498
  );
4499
4499
  });
4500
4500
  });
4501
+ },
4502
+ getAppsInstallations() {
4503
+ return __async(this, null, function* () {
4504
+ return platformDpsClientInstance.get(
4505
+ `/v2/applications/installations/counters/my`
4506
+ ).then(({ data }) => data).catch((error) => {
4507
+ throw error.withCustomMessage(
4508
+ `Apps installations couldn't be fetched. [${error.message}]`
4509
+ );
4510
+ });
4511
+ });
4501
4512
  }
4502
4513
  };
4503
4514
 
package/dist/index.mjs CHANGED
@@ -4396,6 +4396,17 @@ var platformDpsApplicationsApi = {
4396
4396
  );
4397
4397
  });
4398
4398
  });
4399
+ },
4400
+ getAppsInstallations() {
4401
+ return __async(this, null, function* () {
4402
+ return platformDpsClientInstance.get(
4403
+ `/v2/applications/installations/counters/my`
4404
+ ).then(({ data }) => data).catch((error) => {
4405
+ throw error.withCustomMessage(
4406
+ `Apps installations couldn't be fetched. [${error.message}]`
4407
+ );
4408
+ });
4409
+ });
4399
4410
  }
4400
4411
  };
4401
4412
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.0.33",
3
+ "version": "3.0.34",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",