@livechat/developer-studio-api 2.3.53 → 2.3.55

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
@@ -1867,6 +1867,7 @@ interface ApplicationPropertyDto {
1867
1867
  }
1868
1868
 
1869
1869
  interface AppResourceDto {
1870
+ items: unknown[];
1870
1871
  }
1871
1872
 
1872
1873
  interface UpsertAppResourcePayload {
@@ -2425,7 +2426,7 @@ declare const api: {
2425
2426
  updateProduct(appId: string, payload: UpdateApplicationProductPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2426
2427
  };
2427
2428
  resource: {
2428
- getAppUpgrades(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppResourceDto>>;
2429
+ getAppUpgrades(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppResourceDto | null>>;
2429
2430
  createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
2430
2431
  updateAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
2431
2432
  deleteAppUpgrade(appId: string, resourceId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
@@ -2451,7 +2452,12 @@ declare const api: {
2451
2452
  };
2452
2453
  getApp(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<ApplicationDto>;
2453
2454
  createApp(payload: CreateApplicationPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<CreateApplicationResponse>;
2454
- fork(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
2455
+ fork(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<{
2456
+ id: string;
2457
+ data: {
2458
+ id: string;
2459
+ };
2460
+ }>>;
2455
2461
  publish(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
2456
2462
  updateQL(appId: string): Promise<void>;
2457
2463
  deleteApp(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
package/dist/index.d.ts CHANGED
@@ -1867,6 +1867,7 @@ interface ApplicationPropertyDto {
1867
1867
  }
1868
1868
 
1869
1869
  interface AppResourceDto {
1870
+ items: unknown[];
1870
1871
  }
1871
1872
 
1872
1873
  interface UpsertAppResourcePayload {
@@ -2425,7 +2426,7 @@ declare const api: {
2425
2426
  updateProduct(appId: string, payload: UpdateApplicationProductPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2426
2427
  };
2427
2428
  resource: {
2428
- getAppUpgrades(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppResourceDto>>;
2429
+ getAppUpgrades(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppResourceDto | null>>;
2429
2430
  createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
2430
2431
  updateAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
2431
2432
  deleteAppUpgrade(appId: string, resourceId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
@@ -2451,7 +2452,12 @@ declare const api: {
2451
2452
  };
2452
2453
  getApp(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<ApplicationDto>;
2453
2454
  createApp(payload: CreateApplicationPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<CreateApplicationResponse>;
2454
- fork(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
2455
+ fork(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<{
2456
+ id: string;
2457
+ data: {
2458
+ id: string;
2459
+ };
2460
+ }>>;
2455
2461
  publish(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
2456
2462
  updateQL(appId: string): Promise<void>;
2457
2463
  deleteApp(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "2.3.53",
3
+ "version": "2.3.55",
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
- "eslint-config-custom": "0.0.2",
22
- "tsconfig": "0.0.1"
21
+ "tsconfig": "0.0.1",
22
+ "eslint-config-custom": "0.0.2"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsup src/index.ts --format esm,cjs --dts",