@livechat/developer-studio-api 2.1.2 → 2.1.4

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
@@ -211,6 +211,10 @@ interface PlanetScaleOrganization {
211
211
  id: string;
212
212
  type: string;
213
213
  name: string;
214
+ free_databases_remaining: number;
215
+ has_card: boolean;
216
+ payment_info_required: boolean;
217
+ valid_billing_info: boolean;
214
218
  }
215
219
 
216
220
  type GetPlanetScaleOrganizationsResult = PlanetScalePaginatedResult & {
package/dist/index.d.ts CHANGED
@@ -211,6 +211,10 @@ interface PlanetScaleOrganization {
211
211
  id: string;
212
212
  type: string;
213
213
  name: string;
214
+ free_databases_remaining: number;
215
+ has_card: boolean;
216
+ payment_info_required: boolean;
217
+ valid_billing_info: boolean;
214
218
  }
215
219
 
216
220
  type GetPlanetScaleOrganizationsResult = PlanetScalePaginatedResult & {
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.2",
3
+ "version": "2.1.4",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,9 +18,9 @@
18
18
  "tsup": "^7.1.0",
19
19
  "typescript": "^5.1.6",
20
20
  "config": "0.0.0",
21
- "eslint-config-custom-lib": "0.0.1",
22
21
  "tsconfig": "0.0.0",
23
- "types": "0.0.1"
22
+ "types": "0.0.1",
23
+ "eslint-config-custom-lib": "0.0.1"
24
24
  },
25
25
  "scripts": {
26
26
  "build": "tsup src/index.ts --format esm,cjs --dts",