@livechat/developer-studio-api 2.2.0 → 2.2.1
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 +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
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 & {
|
|
@@ -1338,6 +1342,7 @@ interface AppVercelStorageConfig {
|
|
|
1338
1342
|
interface AppPlanetScaleStorageConfig {
|
|
1339
1343
|
organization: string;
|
|
1340
1344
|
databaseName: string;
|
|
1345
|
+
isSeeded: boolean;
|
|
1341
1346
|
}
|
|
1342
1347
|
interface AppSentryLoggerConfig {
|
|
1343
1348
|
name: string;
|
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 & {
|
|
@@ -1338,6 +1342,7 @@ interface AppVercelStorageConfig {
|
|
|
1338
1342
|
interface AppPlanetScaleStorageConfig {
|
|
1339
1343
|
organization: string;
|
|
1340
1344
|
databaseName: string;
|
|
1345
|
+
isSeeded: boolean;
|
|
1341
1346
|
}
|
|
1342
1347
|
interface AppSentryLoggerConfig {
|
|
1343
1348
|
name: string;
|
package/dist/index.js
CHANGED
|
@@ -4960,8 +4960,8 @@ var platformAdapterAppVariablesApi = {
|
|
|
4960
4960
|
},
|
|
4961
4961
|
editVariable(appId, data, authorization) {
|
|
4962
4962
|
return __async(this, null, function* () {
|
|
4963
|
-
const response = yield platformAdapterClientInstance.
|
|
4964
|
-
`/console/app/${appId}/variables/${data.key}`,
|
|
4963
|
+
const response = yield platformAdapterClientInstance.post(
|
|
4964
|
+
`/console/app/${appId}/variables/${data.key}/edit`,
|
|
4965
4965
|
data,
|
|
4966
4966
|
getPlatformAdapterClientConfig(authorization)
|
|
4967
4967
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -4872,8 +4872,8 @@ var platformAdapterAppVariablesApi = {
|
|
|
4872
4872
|
},
|
|
4873
4873
|
editVariable(appId, data, authorization) {
|
|
4874
4874
|
return __async(this, null, function* () {
|
|
4875
|
-
const response = yield platformAdapterClientInstance.
|
|
4876
|
-
`/console/app/${appId}/variables/${data.key}`,
|
|
4875
|
+
const response = yield platformAdapterClientInstance.post(
|
|
4876
|
+
`/console/app/${appId}/variables/${data.key}/edit`,
|
|
4877
4877
|
data,
|
|
4878
4878
|
getPlatformAdapterClientConfig(authorization)
|
|
4879
4879
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
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
|
+
"tsconfig": "0.0.0",
|
|
21
22
|
"eslint-config-custom-lib": "0.0.1",
|
|
22
|
-
"types": "0.0.1"
|
|
23
|
-
"tsconfig": "0.0.0"
|
|
23
|
+
"types": "0.0.1"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|