@livechat/developer-studio-api 1.0.10 → 1.0.11
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1820,7 +1820,7 @@ declare const api: {
|
|
|
1820
1820
|
};
|
|
1821
1821
|
deployment: {
|
|
1822
1822
|
get(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppDeployment>;
|
|
1823
|
-
link(payload: LinkAppDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<
|
|
1823
|
+
link(payload: LinkAppDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<LinkAppDeploymentResult>;
|
|
1824
1824
|
unlink(payload: UnlinkAppDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
1825
1825
|
installSentry(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
1826
1826
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1820,7 +1820,7 @@ declare const api: {
|
|
|
1820
1820
|
};
|
|
1821
1821
|
deployment: {
|
|
1822
1822
|
get(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppDeployment>;
|
|
1823
|
-
link(payload: LinkAppDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<
|
|
1823
|
+
link(payload: LinkAppDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<LinkAppDeploymentResult>;
|
|
1824
1824
|
unlink(payload: UnlinkAppDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
1825
1825
|
installSentry(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
1826
1826
|
};
|
package/dist/index.js
CHANGED
|
@@ -4549,7 +4549,7 @@ var platformAdapterAppDeploymentApi = {
|
|
|
4549
4549
|
},
|
|
4550
4550
|
link(payload, authorization) {
|
|
4551
4551
|
return __async(this, null, function* () {
|
|
4552
|
-
|
|
4552
|
+
const response = yield platformAdapterClientInstance.post(
|
|
4553
4553
|
`/console/app/${payload.appId}/blocks/deployment/link`,
|
|
4554
4554
|
payload,
|
|
4555
4555
|
getPlatformAdapterClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
@@ -4560,6 +4560,7 @@ var platformAdapterAppDeploymentApi = {
|
|
|
4560
4560
|
}
|
|
4561
4561
|
}))
|
|
4562
4562
|
);
|
|
4563
|
+
return response.data;
|
|
4563
4564
|
});
|
|
4564
4565
|
},
|
|
4565
4566
|
unlink(payload, authorization) {
|
package/dist/index.mjs
CHANGED
|
@@ -4465,7 +4465,7 @@ var platformAdapterAppDeploymentApi = {
|
|
|
4465
4465
|
},
|
|
4466
4466
|
link(payload, authorization) {
|
|
4467
4467
|
return __async(this, null, function* () {
|
|
4468
|
-
|
|
4468
|
+
const response = yield platformAdapterClientInstance.post(
|
|
4469
4469
|
`/console/app/${payload.appId}/blocks/deployment/link`,
|
|
4470
4470
|
payload,
|
|
4471
4471
|
getPlatformAdapterClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
@@ -4476,6 +4476,7 @@ var platformAdapterAppDeploymentApi = {
|
|
|
4476
4476
|
}
|
|
4477
4477
|
}))
|
|
4478
4478
|
);
|
|
4479
|
+
return response.data;
|
|
4479
4480
|
});
|
|
4480
4481
|
},
|
|
4481
4482
|
unlink(payload, authorization) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
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,10 +17,10 @@
|
|
|
17
17
|
"@types/node": "^17.0.12",
|
|
18
18
|
"tsup": "^7.1.0",
|
|
19
19
|
"typescript": "^5.1.6",
|
|
20
|
-
"
|
|
21
|
-
"tsconfig": "0.0.0",
|
|
20
|
+
"config": "0.0.0",
|
|
22
21
|
"types": "0.0.1",
|
|
23
|
-
"config": "0.0.
|
|
22
|
+
"eslint-config-custom-lib": "0.0.1",
|
|
23
|
+
"tsconfig": "0.0.0"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|