@livechat/developer-studio-api 3.0.25 → 3.0.26

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
@@ -2637,7 +2637,9 @@ declare const api: {
2637
2637
  getEvents(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<AppEventDto[]>;
2638
2638
  };
2639
2639
  install: {
2640
- getInstallations(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2640
+ getInstallations(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<{
2641
+ installations: number;
2642
+ }, any>>;
2641
2643
  install(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2642
2644
  uninstall(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2643
2645
  updateDirectInstallationUrl(appId: string, payload: UpdateApplicationDirectInstallUrlPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
package/dist/index.d.ts CHANGED
@@ -2637,7 +2637,9 @@ declare const api: {
2637
2637
  getEvents(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<AppEventDto[]>;
2638
2638
  };
2639
2639
  install: {
2640
- getInstallations(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2640
+ getInstallations(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<{
2641
+ installations: number;
2642
+ }, any>>;
2641
2643
  install(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2642
2644
  uninstall(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2643
2645
  updateDirectInstallationUrl(appId: string, payload: UpdateApplicationDirectInstallUrlPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
package/dist/index.js CHANGED
@@ -3902,7 +3902,7 @@ var platformDpsApplicationInfrastructureApi = {
3902
3902
  var platformDpsApplicationInstallApi = {
3903
3903
  getInstallations(appId, authorization) {
3904
3904
  return __async(this, null, function* () {
3905
- yield platformDpsClientInstance.get(
3905
+ return platformDpsClientInstance.get(
3906
3906
  `/v2/applications/${appId}/installations`,
3907
3907
  getPlatformDpsClientConfig(authorization)
3908
3908
  ).catch((error) => {
package/dist/index.mjs CHANGED
@@ -3800,7 +3800,7 @@ var platformDpsApplicationInfrastructureApi = {
3800
3800
  var platformDpsApplicationInstallApi = {
3801
3801
  getInstallations(appId, authorization) {
3802
3802
  return __async(this, null, function* () {
3803
- yield platformDpsClientInstance.get(
3803
+ return platformDpsClientInstance.get(
3804
3804
  `/v2/applications/${appId}/installations`,
3805
3805
  getPlatformDpsClientConfig(authorization)
3806
3806
  ).catch((error) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.0.25",
3
+ "version": "3.0.26",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",