@livechat/developer-studio-api 2.3.69 → 2.3.71
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 +1762 -1760
- package/dist/index.d.ts +1762 -1760
- package/dist/index.js +14 -0
- package/dist/index.mjs +14 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2064,6 +2064,12 @@ var textPlatformDashboardApi = {
|
|
|
2064
2064
|
value.forEach((innerValue) => {
|
|
2065
2065
|
searchParams.append(key, innerValue);
|
|
2066
2066
|
});
|
|
2067
|
+
} else if (key === "is_source_private") {
|
|
2068
|
+
const value = params[key];
|
|
2069
|
+
if (typeof value !== "boolean") {
|
|
2070
|
+
return;
|
|
2071
|
+
}
|
|
2072
|
+
searchParams.append(key, value.toString());
|
|
2067
2073
|
} else {
|
|
2068
2074
|
const value = params[key];
|
|
2069
2075
|
if (!value) {
|
|
@@ -4175,6 +4181,14 @@ var platformDpsApplicationInfrastructureBlocksApi = {
|
|
|
4175
4181
|
);
|
|
4176
4182
|
});
|
|
4177
4183
|
},
|
|
4184
|
+
deleteBlock(appId, block, authorization) {
|
|
4185
|
+
return __async(this, null, function* () {
|
|
4186
|
+
yield platformDpsClientInstance.delete(
|
|
4187
|
+
`/v2/applications/${appId}/infrastructure/blocks/${block}`,
|
|
4188
|
+
getPlatformDpsClientConfig(authorization)
|
|
4189
|
+
);
|
|
4190
|
+
});
|
|
4191
|
+
},
|
|
4178
4192
|
updateRepository(appId, payload, authorization) {
|
|
4179
4193
|
return __async(this, null, function* () {
|
|
4180
4194
|
yield platformDpsClientInstance.patch(
|
package/dist/index.mjs
CHANGED
|
@@ -1969,6 +1969,12 @@ var textPlatformDashboardApi = {
|
|
|
1969
1969
|
value.forEach((innerValue) => {
|
|
1970
1970
|
searchParams.append(key, innerValue);
|
|
1971
1971
|
});
|
|
1972
|
+
} else if (key === "is_source_private") {
|
|
1973
|
+
const value = params[key];
|
|
1974
|
+
if (typeof value !== "boolean") {
|
|
1975
|
+
return;
|
|
1976
|
+
}
|
|
1977
|
+
searchParams.append(key, value.toString());
|
|
1972
1978
|
} else {
|
|
1973
1979
|
const value = params[key];
|
|
1974
1980
|
if (!value) {
|
|
@@ -4080,6 +4086,14 @@ var platformDpsApplicationInfrastructureBlocksApi = {
|
|
|
4080
4086
|
);
|
|
4081
4087
|
});
|
|
4082
4088
|
},
|
|
4089
|
+
deleteBlock(appId, block, authorization) {
|
|
4090
|
+
return __async(this, null, function* () {
|
|
4091
|
+
yield platformDpsClientInstance.delete(
|
|
4092
|
+
`/v2/applications/${appId}/infrastructure/blocks/${block}`,
|
|
4093
|
+
getPlatformDpsClientConfig(authorization)
|
|
4094
|
+
);
|
|
4095
|
+
});
|
|
4096
|
+
},
|
|
4083
4097
|
updateRepository(appId, payload, authorization) {
|
|
4084
4098
|
return __async(this, null, function* () {
|
|
4085
4099
|
yield platformDpsClientInstance.patch(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.71",
|
|
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
|
-
"eslint-config-custom": "0.0.3",
|
|
21
20
|
"config": "0.0.1",
|
|
21
|
+
"eslint-config-custom": "0.0.3",
|
|
22
22
|
"tsconfig": "0.0.1"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|