@livechat/developer-studio-api 2.1.3 → 2.1.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 CHANGED
@@ -1342,6 +1342,7 @@ interface AppVercelStorageConfig {
1342
1342
  interface AppPlanetScaleStorageConfig {
1343
1343
  organization: string;
1344
1344
  databaseName: string;
1345
+ isSeeded: boolean;
1345
1346
  }
1346
1347
  interface AppSentryLoggerConfig {
1347
1348
  name: string;
package/dist/index.d.ts CHANGED
@@ -1342,6 +1342,7 @@ interface AppVercelStorageConfig {
1342
1342
  interface AppPlanetScaleStorageConfig {
1343
1343
  organization: string;
1344
1344
  databaseName: string;
1345
+ isSeeded: boolean;
1345
1346
  }
1346
1347
  interface AppSentryLoggerConfig {
1347
1348
  name: string;
package/dist/index.js CHANGED
@@ -4947,8 +4947,8 @@ var platformAdapterAppVariablesApi = {
4947
4947
  },
4948
4948
  editVariable(appId, data, authorization) {
4949
4949
  return __async(this, null, function* () {
4950
- const response = yield platformAdapterClientInstance.put(
4951
- `/console/app/${appId}/variables/${data.key}`,
4950
+ const response = yield platformAdapterClientInstance.post(
4951
+ `/console/app/${appId}/variables/${data.key}/edit`,
4952
4952
  data,
4953
4953
  getPlatformAdapterClientConfig(authorization)
4954
4954
  );
package/dist/index.mjs CHANGED
@@ -4859,8 +4859,8 @@ var platformAdapterAppVariablesApi = {
4859
4859
  },
4860
4860
  editVariable(appId, data, authorization) {
4861
4861
  return __async(this, null, function* () {
4862
- const response = yield platformAdapterClientInstance.put(
4863
- `/console/app/${appId}/variables/${data.key}`,
4862
+ const response = yield platformAdapterClientInstance.post(
4863
+ `/console/app/${appId}/variables/${data.key}/edit`,
4864
4864
  data,
4865
4865
  getPlatformAdapterClientConfig(authorization)
4866
4866
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "2.1.3",
3
+ "version": "2.1.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",