@livechat/developer-studio-api 2.3.37 → 2.3.38

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
@@ -2279,7 +2279,7 @@ declare const api: {
2279
2279
  };
2280
2280
  webhooks: {
2281
2281
  updateAppWebhooks(appId: string, payload: UpdateApplicationWebhookPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2282
- getChatWebhook(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2282
+ getChatWebhook(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
2283
2283
  updateChatWebhook(appId: string, payload: UpdateChatWebhookPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2284
2284
  deleteChatWebhook(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2285
2285
  };
package/dist/index.d.ts CHANGED
@@ -2279,7 +2279,7 @@ declare const api: {
2279
2279
  };
2280
2280
  webhooks: {
2281
2281
  updateAppWebhooks(appId: string, payload: UpdateApplicationWebhookPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2282
- getChatWebhook(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2282
+ getChatWebhook(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
2283
2283
  updateChatWebhook(appId: string, payload: UpdateChatWebhookPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2284
2284
  deleteChatWebhook(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2285
2285
  };
package/dist/index.js CHANGED
@@ -4271,7 +4271,7 @@ var platformDpsApplicationWebhooksApi = {
4271
4271
  getChatWebhook(appId, authorization) {
4272
4272
  return __async(this, null, function* () {
4273
4273
  try {
4274
- yield platformDpsClientInstance.get(
4274
+ return yield platformDpsClientInstance.get(
4275
4275
  `/v2/applications/${appId}/chat-webhooks`,
4276
4276
  getPlatformDpsClientConfig(authorization)
4277
4277
  );
package/dist/index.mjs CHANGED
@@ -4180,7 +4180,7 @@ var platformDpsApplicationWebhooksApi = {
4180
4180
  getChatWebhook(appId, authorization) {
4181
4181
  return __async(this, null, function* () {
4182
4182
  try {
4183
- yield platformDpsClientInstance.get(
4183
+ return yield platformDpsClientInstance.get(
4184
4184
  `/v2/applications/${appId}/chat-webhooks`,
4185
4185
  getPlatformDpsClientConfig(authorization)
4186
4186
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "2.3.37",
3
+ "version": "2.3.38",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",