@livechat/developer-studio-api 3.0.26 → 3.0.27
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2637,7 +2637,7 @@ declare const api: {
|
|
|
2637
2637
|
getEvents(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<AppEventDto[]>;
|
|
2638
2638
|
};
|
|
2639
2639
|
install: {
|
|
2640
|
-
|
|
2640
|
+
getInstallationsCount(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<{
|
|
2641
2641
|
installations: number;
|
|
2642
2642
|
}, any>>;
|
|
2643
2643
|
install(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2637,7 +2637,7 @@ declare const api: {
|
|
|
2637
2637
|
getEvents(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<AppEventDto[]>;
|
|
2638
2638
|
};
|
|
2639
2639
|
install: {
|
|
2640
|
-
|
|
2640
|
+
getInstallationsCount(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<{
|
|
2641
2641
|
installations: number;
|
|
2642
2642
|
}, any>>;
|
|
2643
2643
|
install(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
package/dist/index.js
CHANGED
|
@@ -3900,14 +3900,14 @@ var platformDpsApplicationInfrastructureApi = {
|
|
|
3900
3900
|
|
|
3901
3901
|
// src/apis/platform/dps/applications/application/install/api.ts
|
|
3902
3902
|
var platformDpsApplicationInstallApi = {
|
|
3903
|
-
|
|
3903
|
+
getInstallationsCount(appId, authorization) {
|
|
3904
3904
|
return __async(this, null, function* () {
|
|
3905
3905
|
return platformDpsClientInstance.get(
|
|
3906
|
-
`/v2/applications/${appId}/installations`,
|
|
3906
|
+
`/v2/applications/${appId}/installations/count`,
|
|
3907
3907
|
getPlatformDpsClientConfig(authorization)
|
|
3908
3908
|
).catch((error) => {
|
|
3909
3909
|
throw error.withCustomMessage(
|
|
3910
|
-
`Couldn't get app
|
|
3910
|
+
`Couldn't get app installation count. [${error.message}]`
|
|
3911
3911
|
);
|
|
3912
3912
|
});
|
|
3913
3913
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -3798,14 +3798,14 @@ var platformDpsApplicationInfrastructureApi = {
|
|
|
3798
3798
|
|
|
3799
3799
|
// src/apis/platform/dps/applications/application/install/api.ts
|
|
3800
3800
|
var platformDpsApplicationInstallApi = {
|
|
3801
|
-
|
|
3801
|
+
getInstallationsCount(appId, authorization) {
|
|
3802
3802
|
return __async(this, null, function* () {
|
|
3803
3803
|
return platformDpsClientInstance.get(
|
|
3804
|
-
`/v2/applications/${appId}/installations`,
|
|
3804
|
+
`/v2/applications/${appId}/installations/count`,
|
|
3805
3805
|
getPlatformDpsClientConfig(authorization)
|
|
3806
3806
|
).catch((error) => {
|
|
3807
3807
|
throw error.withCustomMessage(
|
|
3808
|
-
`Couldn't get app
|
|
3808
|
+
`Couldn't get app installation count. [${error.message}]`
|
|
3809
3809
|
);
|
|
3810
3810
|
});
|
|
3811
3811
|
});
|