@fluxo-dev/api-client-base 25.3.2 → 25.3.3

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/index.cjs.js CHANGED
@@ -4322,14 +4322,6 @@ class ConfigurationService {
4322
4322
  getAllDomainRoleFrontends() {
4323
4323
  return HttpClient$1.Instance().client.get(`client/frontend`);
4324
4324
  }
4325
- getMultisessionUserState() {
4326
- return HttpClient$1.Instance().client.get('client/multisession');
4327
- }
4328
- setMultisessionUserState(state) {
4329
- return HttpClient$1.Instance().client.post('client/multisession', {
4330
- state
4331
- });
4332
- }
4333
4325
  }
4334
4326
 
4335
4327
  class UserService {
@@ -5242,6 +5234,9 @@ class ReportingService {
5242
5234
  print(command) {
5243
5235
  return HttpClient$1.Instance().client.post('reports/print', command);
5244
5236
  }
5237
+ updateReport(reportId, command) {
5238
+ return HttpClient$1.Instance().client.put(`reports/${reportId}`, command);
5239
+ }
5245
5240
  }
5246
5241
 
5247
5242
  exports.PrinterType = void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxo-dev/api-client-base",
3
- "version": "25.3.2",
3
+ "version": "25.3.3",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "react": "^18.3.1",
@@ -8,7 +8,7 @@
8
8
  "react-router-dom": "^6.11.2",
9
9
  "react-redux": "^8.0.5",
10
10
  "@reduxjs/toolkit": "^1.9.1",
11
- "@fluxo-dev/state": "^25.3.2"
11
+ "@fluxo-dev/state": "^25.3.3"
12
12
  },
13
13
  "main": "./index.cjs.js",
14
14
  "types": "./index.cjs.d.ts"
@@ -1,4 +1,4 @@
1
1
  export interface DashboardCategory {
2
- id: string;
2
+ id: number;
3
3
  description: string;
4
4
  }
@@ -55,6 +55,4 @@ export declare class ConfigurationService {
55
55
  domainRoleId: number;
56
56
  frontends: string[];
57
57
  }[]>;
58
- getMultisessionUserState(): Promise<string>;
59
- setMultisessionUserState(state: string): Promise<void>;
60
58
  }
@@ -0,0 +1,8 @@
1
+ export interface CreateReportCommand {
2
+ name: string;
3
+ scope: string;
4
+ packageName: string;
5
+ namespace: string;
6
+ id: string;
7
+ annotations: string;
8
+ }
@@ -10,4 +10,8 @@ export declare class ReportingService {
10
10
  deleteReport(id: number): Promise<void>;
11
11
  getParametersSchema(fullScope: string): Promise<ParametersSchema>;
12
12
  print(command: PrintReportCommand): Promise<void>;
13
+ updateReport(reportId: number, command: {
14
+ name: string;
15
+ annotations: string;
16
+ }): Promise<void>;
13
17
  }