@livechat/developer-studio-api 3.0.3 → 3.0.4

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
@@ -2563,7 +2563,7 @@ declare const api: {
2563
2563
  cancelSubmission(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
2564
2564
  };
2565
2565
  stats: {
2566
- getStats(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2566
+ getStats(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppStatsDto, any>>;
2567
2567
  };
2568
2568
  webhooks: {
2569
2569
  updateAppWebhooks(appId: string, payload: UpdateApplicationWebhookPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
package/dist/index.d.ts CHANGED
@@ -2563,7 +2563,7 @@ declare const api: {
2563
2563
  cancelSubmission(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
2564
2564
  };
2565
2565
  stats: {
2566
- getStats(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2566
+ getStats(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppStatsDto, any>>;
2567
2567
  };
2568
2568
  webhooks: {
2569
2569
  updateAppWebhooks(appId: string, payload: UpdateApplicationWebhookPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
package/dist/index.js CHANGED
@@ -4135,7 +4135,7 @@ var platformDpsApplicationReviewApi = {
4135
4135
  var platformDpsApplicationStatsApi = {
4136
4136
  getStats(appId, authorization) {
4137
4137
  return __async(this, null, function* () {
4138
- yield platformDpsClientInstance.get(
4138
+ return platformDpsClientInstance.get(
4139
4139
  `/v2/applications/${appId}/stats`,
4140
4140
  getPlatformDpsClientConfig(authorization)
4141
4141
  ).catch((error) => {
package/dist/index.mjs CHANGED
@@ -4034,7 +4034,7 @@ var platformDpsApplicationReviewApi = {
4034
4034
  var platformDpsApplicationStatsApi = {
4035
4035
  getStats(appId, authorization) {
4036
4036
  return __async(this, null, function* () {
4037
- yield platformDpsClientInstance.get(
4037
+ return platformDpsClientInstance.get(
4038
4038
  `/v2/applications/${appId}/stats`,
4039
4039
  getPlatformDpsClientConfig(authorization)
4040
4040
  ).catch((error) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
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,8 +17,8 @@
17
17
  "@types/node": "^17.0.12",
18
18
  "tsup": "^7.1.0",
19
19
  "typescript": "^5.1.6",
20
- "tsconfig": "0.0.1",
21
- "eslint-config-custom": "0.0.6"
20
+ "eslint-config-custom": "0.0.6",
21
+ "tsconfig": "0.0.1"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "tsup src/index.ts --format esm,cjs --dts",