@livechat/developer-studio-api 2.3.36 → 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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -2192,7 +2192,7 @@ declare const api: {
|
|
|
2192
2192
|
createStatus(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
|
|
2193
2193
|
};
|
|
2194
2194
|
conductor: {
|
|
2195
|
-
request(config: axios.AxiosRequestConfig, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<
|
|
2195
|
+
request<TData>(config: axios.AxiosRequestConfig, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<TData>;
|
|
2196
2196
|
};
|
|
2197
2197
|
};
|
|
2198
2198
|
dps: {
|
|
@@ -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<
|
|
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
|
@@ -2192,7 +2192,7 @@ declare const api: {
|
|
|
2192
2192
|
createStatus(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
|
|
2193
2193
|
};
|
|
2194
2194
|
conductor: {
|
|
2195
|
-
request(config: axios.AxiosRequestConfig, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<
|
|
2195
|
+
request<TData>(config: axios.AxiosRequestConfig, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<TData>;
|
|
2196
2196
|
};
|
|
2197
2197
|
};
|
|
2198
2198
|
dps: {
|
|
@@ -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<
|
|
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.
|
|
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",
|
|
@@ -17,9 +17,9 @@
|
|
|
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
20
|
"config": "0.0.1",
|
|
22
|
-
"eslint-config-custom": "0.0.2"
|
|
21
|
+
"eslint-config-custom": "0.0.2",
|
|
22
|
+
"tsconfig": "0.0.1"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|