@livechat/developer-studio-api 2.3.69 → 2.3.70
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 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -0
- package/dist/index.mjs +8 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -2456,6 +2456,7 @@ declare const api: {
|
|
|
2456
2456
|
blocks: {
|
|
2457
2457
|
getBlocks(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<AppInfrastructureBlocks>;
|
|
2458
2458
|
updateBlocks(appId: string, payload: UpdateAppInfrastructureBlocksPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2459
|
+
deleteBlock(appId: string, block: keyof UpdateAppInfrastructureBlocksPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2459
2460
|
updateRepository(appId: string, payload: {
|
|
2460
2461
|
provider: AppRepositoryProvider;
|
|
2461
2462
|
}, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2456,6 +2456,7 @@ declare const api: {
|
|
|
2456
2456
|
blocks: {
|
|
2457
2457
|
getBlocks(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<AppInfrastructureBlocks>;
|
|
2458
2458
|
updateBlocks(appId: string, payload: UpdateAppInfrastructureBlocksPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2459
|
+
deleteBlock(appId: string, block: keyof UpdateAppInfrastructureBlocksPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2459
2460
|
updateRepository(appId: string, payload: {
|
|
2460
2461
|
provider: AppRepositoryProvider;
|
|
2461
2462
|
}, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
package/dist/index.js
CHANGED
|
@@ -4175,6 +4175,14 @@ var platformDpsApplicationInfrastructureBlocksApi = {
|
|
|
4175
4175
|
);
|
|
4176
4176
|
});
|
|
4177
4177
|
},
|
|
4178
|
+
deleteBlock(appId, block, authorization) {
|
|
4179
|
+
return __async(this, null, function* () {
|
|
4180
|
+
yield platformDpsClientInstance.delete(
|
|
4181
|
+
`/v2/applications/${appId}/infrastructure/blocks/${block}`,
|
|
4182
|
+
getPlatformDpsClientConfig(authorization)
|
|
4183
|
+
);
|
|
4184
|
+
});
|
|
4185
|
+
},
|
|
4178
4186
|
updateRepository(appId, payload, authorization) {
|
|
4179
4187
|
return __async(this, null, function* () {
|
|
4180
4188
|
yield platformDpsClientInstance.patch(
|
package/dist/index.mjs
CHANGED
|
@@ -4080,6 +4080,14 @@ var platformDpsApplicationInfrastructureBlocksApi = {
|
|
|
4080
4080
|
);
|
|
4081
4081
|
});
|
|
4082
4082
|
},
|
|
4083
|
+
deleteBlock(appId, block, authorization) {
|
|
4084
|
+
return __async(this, null, function* () {
|
|
4085
|
+
yield platformDpsClientInstance.delete(
|
|
4086
|
+
`/v2/applications/${appId}/infrastructure/blocks/${block}`,
|
|
4087
|
+
getPlatformDpsClientConfig(authorization)
|
|
4088
|
+
);
|
|
4089
|
+
});
|
|
4090
|
+
},
|
|
4083
4091
|
updateRepository(appId, payload, authorization) {
|
|
4084
4092
|
return __async(this, null, function* () {
|
|
4085
4093
|
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.70",
|
|
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,8 +18,8 @@
|
|
|
18
18
|
"tsup": "^7.1.0",
|
|
19
19
|
"typescript": "^5.1.6",
|
|
20
20
|
"eslint-config-custom": "0.0.3",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
21
|
+
"tsconfig": "0.0.1",
|
|
22
|
+
"config": "0.0.1"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|