@arrowsphere/api-client 3.199.0 → 3.200.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
4
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [3.200.0] - 2025.06.02
7
+
8
+ ### Fix
9
+
10
+ - [licenses] fix type of filters values
11
+
6
12
  ## [3.199.0] - 2025.05.30
7
13
 
8
14
  ### Added
@@ -1,22 +1,22 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
2
  import { LicenseFindResultFields } from './license/licenseFindResult';
3
- declare type FilterFindResultDataIterable = {
4
- [field in LicenseFindResultFields]?: unknown;
5
- };
6
3
  /**
4
+ * @deprecated prefer using directly FilterValue[]
7
5
  * Filter data values
8
6
  */
9
- export declare type FilterFindResultDataValues = FilterFindResultDataIterable | LicenseFilterAggregationType[];
10
- export declare type LicenseFilterAggregationType = {
7
+ export declare type FilterFindResultDataValues = {
8
+ [field in LicenseFindResultFields]?: unknown;
9
+ };
10
+ export declare type FilterValue = {
11
+ value: string | number;
11
12
  count: number;
12
- values: string[];
13
13
  };
14
14
  /**
15
15
  * Filter data
16
16
  */
17
17
  export declare type FilterFindResultData = {
18
18
  [FilterFindFields.COLUMN_NAME]: string;
19
- [FilterFindFields.COLUMN_VALUES]: FilterFindResultDataValues;
19
+ [FilterFindFields.COLUMN_VALUES]: FilterFindResultDataValues | FilterValue[];
20
20
  };
21
21
  /**
22
22
  * Filter data fields
@@ -42,11 +42,10 @@ export declare class FilterFindResult extends AbstractEntity<FilterFindResultDat
42
42
  */
43
43
  constructor(data: FilterFindResultData);
44
44
  get name(): string;
45
- get values(): FilterFindResultDataValues;
45
+ get values(): FilterFindResultDataValues | FilterValue[];
46
46
  /**
47
47
  * Plain JSON object representation of the filter entity.
48
48
  * @returns {@link FilterFindResultData}
49
49
  */
50
50
  toJSON(): FilterFindResultData;
51
51
  }
52
- export {};
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.199.0",
7
+ "version": "3.200.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",