@livechat/developer-studio-api 2.3.15 → 2.3.17

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
@@ -774,8 +774,8 @@ interface CreateAppPayload {
774
774
  app: CreateApplicationPayload;
775
775
  authorization?: AddAppAuthorizationData;
776
776
  widgets?: AddAppWidgetsData[];
777
- properties?: PropertyDto[];
778
- monetization?: ApplicationPaymentDto;
777
+ properties?: AddAppPropertiesData[];
778
+ monetization?: AddAppMonetizationData;
779
779
  repository?: LinkAppRepositoryData;
780
780
  deployment?: LinkAppDeploymentData;
781
781
  storage?: LinkAppStorageData;
@@ -820,6 +820,9 @@ interface CreateAppStatus {
820
820
  deployment?: CreateAppStepStatus<{
821
821
  needToBeInstalled?: boolean;
822
822
  }> | undefined;
823
+ widgets?: CreateAppStepStatus | undefined;
824
+ properties?: CreateAppStepStatus | undefined;
825
+ monetization?: CreateAppStepStatus | undefined;
823
826
  storage?: CreateAppStepStatus | undefined;
824
827
  }
825
828
  interface CreateAppResult {
@@ -1059,7 +1062,7 @@ interface AddAppAuthorizationData {
1059
1062
  type: "server_side_app" | "javascript_app";
1060
1063
  configurationUri: string;
1061
1064
  redirectUri: string;
1062
- scopes: ClientScopeDto[];
1065
+ scopes: Omit<ClientScopeDto, "description">[];
1063
1066
  visibility: string;
1064
1067
  }
1065
1068
  type AddAppAuthorizationPayload = {
@@ -1087,7 +1090,7 @@ interface AddAppMonetizationData {
1087
1090
 
1088
1091
  interface AddAppPropertiesData {
1089
1092
  name: string;
1090
- type: string;
1093
+ type: PropertyDto["type"];
1091
1094
  default_value: string;
1092
1095
  access: PropertyAccessDto;
1093
1096
  }
package/dist/index.d.ts CHANGED
@@ -774,8 +774,8 @@ interface CreateAppPayload {
774
774
  app: CreateApplicationPayload;
775
775
  authorization?: AddAppAuthorizationData;
776
776
  widgets?: AddAppWidgetsData[];
777
- properties?: PropertyDto[];
778
- monetization?: ApplicationPaymentDto;
777
+ properties?: AddAppPropertiesData[];
778
+ monetization?: AddAppMonetizationData;
779
779
  repository?: LinkAppRepositoryData;
780
780
  deployment?: LinkAppDeploymentData;
781
781
  storage?: LinkAppStorageData;
@@ -820,6 +820,9 @@ interface CreateAppStatus {
820
820
  deployment?: CreateAppStepStatus<{
821
821
  needToBeInstalled?: boolean;
822
822
  }> | undefined;
823
+ widgets?: CreateAppStepStatus | undefined;
824
+ properties?: CreateAppStepStatus | undefined;
825
+ monetization?: CreateAppStepStatus | undefined;
823
826
  storage?: CreateAppStepStatus | undefined;
824
827
  }
825
828
  interface CreateAppResult {
@@ -1059,7 +1062,7 @@ interface AddAppAuthorizationData {
1059
1062
  type: "server_side_app" | "javascript_app";
1060
1063
  configurationUri: string;
1061
1064
  redirectUri: string;
1062
- scopes: ClientScopeDto[];
1065
+ scopes: Omit<ClientScopeDto, "description">[];
1063
1066
  visibility: string;
1064
1067
  }
1065
1068
  type AddAppAuthorizationPayload = {
@@ -1087,7 +1090,7 @@ interface AddAppMonetizationData {
1087
1090
 
1088
1091
  interface AddAppPropertiesData {
1089
1092
  name: string;
1090
- type: string;
1093
+ type: PropertyDto["type"];
1091
1094
  default_value: string;
1092
1095
  access: PropertyAccessDto;
1093
1096
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "2.3.15",
3
+ "version": "2.3.17",
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
  "config": "0.0.1",
21
- "tsconfig": "0.0.1",
22
- "eslint-config-custom": "0.0.2"
21
+ "eslint-config-custom": "0.0.2",
22
+ "tsconfig": "0.0.1"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsup src/index.ts --format esm,cjs --dts",