@livechat/developer-studio-api 3.0.3 → 3.0.5
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
|
@@ -2457,7 +2457,7 @@ declare const api: {
|
|
|
2457
2457
|
push(payload: PushAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<PushAppResult, any>>;
|
|
2458
2458
|
pull(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppManifest, any>>;
|
|
2459
2459
|
verify(payload: VerifyAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<VerifyAppResult, any>>;
|
|
2460
|
-
status<TSaga>(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<SagaOutput<TSaga
|
|
2460
|
+
status<TSaga>(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<SagaOutput<TSaga> | undefined, any>>;
|
|
2461
2461
|
};
|
|
2462
2462
|
conductor: {
|
|
2463
2463
|
request<TData>(config: axios.AxiosRequestConfig<any>, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<TData>;
|
|
@@ -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<
|
|
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
|
@@ -2457,7 +2457,7 @@ declare const api: {
|
|
|
2457
2457
|
push(payload: PushAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<PushAppResult, any>>;
|
|
2458
2458
|
pull(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppManifest, any>>;
|
|
2459
2459
|
verify(payload: VerifyAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<VerifyAppResult, any>>;
|
|
2460
|
-
status<TSaga>(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<SagaOutput<TSaga
|
|
2460
|
+
status<TSaga>(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<SagaOutput<TSaga> | undefined, any>>;
|
|
2461
2461
|
};
|
|
2462
2462
|
conductor: {
|
|
2463
2463
|
request<TData>(config: axios.AxiosRequestConfig<any>, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<TData>;
|
|
@@ -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<
|
|
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
|
-
|
|
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
|
-
|
|
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
|
+
"version": "3.0.5",
|
|
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
|
-
"
|
|
21
|
-
"
|
|
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",
|