@livechat/developer-studio-api 2.3.57 → 2.3.59
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.js +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4517,6 +4517,7 @@ var platformDpsApplicationResourcesApi = {
|
|
|
4517
4517
|
try {
|
|
4518
4518
|
return yield platformDpsClientInstance.put(
|
|
4519
4519
|
`/v2/applications/${sourceAppId}/resources/copy?application=${destinationAppId}`,
|
|
4520
|
+
{},
|
|
4520
4521
|
getPlatformDpsClientConfig(authorization)
|
|
4521
4522
|
);
|
|
4522
4523
|
} catch (error) {
|
|
@@ -4774,6 +4775,7 @@ var platformDpsApplicationApi = {
|
|
|
4774
4775
|
try {
|
|
4775
4776
|
return yield platformDpsClientInstance.post(
|
|
4776
4777
|
`/v2/applications/${appId}/fork`,
|
|
4778
|
+
{},
|
|
4777
4779
|
getPlatformDpsClientConfig(authorization)
|
|
4778
4780
|
);
|
|
4779
4781
|
} catch (error) {
|
|
@@ -4787,8 +4789,9 @@ var platformDpsApplicationApi = {
|
|
|
4787
4789
|
publish(appId, authorization) {
|
|
4788
4790
|
return __async(this, null, function* () {
|
|
4789
4791
|
try {
|
|
4790
|
-
return yield platformDpsClientInstance.
|
|
4792
|
+
return yield platformDpsClientInstance.put(
|
|
4791
4793
|
`/v2/applications/${appId}/publish`,
|
|
4794
|
+
{},
|
|
4792
4795
|
getPlatformDpsClientConfig(authorization)
|
|
4793
4796
|
);
|
|
4794
4797
|
} catch (error) {
|
package/dist/index.mjs
CHANGED
|
@@ -4421,6 +4421,7 @@ var platformDpsApplicationResourcesApi = {
|
|
|
4421
4421
|
try {
|
|
4422
4422
|
return yield platformDpsClientInstance.put(
|
|
4423
4423
|
`/v2/applications/${sourceAppId}/resources/copy?application=${destinationAppId}`,
|
|
4424
|
+
{},
|
|
4424
4425
|
getPlatformDpsClientConfig(authorization)
|
|
4425
4426
|
);
|
|
4426
4427
|
} catch (error) {
|
|
@@ -4678,6 +4679,7 @@ var platformDpsApplicationApi = {
|
|
|
4678
4679
|
try {
|
|
4679
4680
|
return yield platformDpsClientInstance.post(
|
|
4680
4681
|
`/v2/applications/${appId}/fork`,
|
|
4682
|
+
{},
|
|
4681
4683
|
getPlatformDpsClientConfig(authorization)
|
|
4682
4684
|
);
|
|
4683
4685
|
} catch (error) {
|
|
@@ -4691,8 +4693,9 @@ var platformDpsApplicationApi = {
|
|
|
4691
4693
|
publish(appId, authorization) {
|
|
4692
4694
|
return __async(this, null, function* () {
|
|
4693
4695
|
try {
|
|
4694
|
-
return yield platformDpsClientInstance.
|
|
4696
|
+
return yield platformDpsClientInstance.put(
|
|
4695
4697
|
`/v2/applications/${appId}/publish`,
|
|
4698
|
+
{},
|
|
4696
4699
|
getPlatformDpsClientConfig(authorization)
|
|
4697
4700
|
);
|
|
4698
4701
|
} catch (error) {
|