@arrowsphere/api-client 3.198.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,18 @@
|
|
|
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
|
+
|
|
12
|
+
## [3.199.0] - 2025.05.30
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- [program] add field clickToAccept on entity Program for GraphQL
|
|
17
|
+
|
|
6
18
|
## [3.198.0] - 2025.05.27
|
|
7
19
|
|
|
8
20
|
### 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 =
|
|
10
|
-
|
|
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 {};
|
|
@@ -61,6 +61,10 @@ export declare type SubscriptionCreationData = {
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
export declare type CreateSubscriptionData = {
|
|
65
|
+
reference: string;
|
|
66
|
+
subscription: SubscriptionData;
|
|
67
|
+
};
|
|
64
68
|
export declare class SubscriptionsClient extends AbstractRestfulClient {
|
|
65
69
|
/**
|
|
66
70
|
* The base path of the API
|
|
@@ -96,5 +100,5 @@ export declare class SubscriptionsClient extends AbstractRestfulClient {
|
|
|
96
100
|
*/
|
|
97
101
|
list(filters?: SubscriptionsListPayload): Promise<PartnerSubscriptionsListData>;
|
|
98
102
|
listAdmin(filters?: SubscriptionsListPayload, perPage?: number, page?: number): Promise<SubscriptionsListResult>;
|
|
99
|
-
addSubscription(filters: SubscriptionCreationData): Promise<
|
|
103
|
+
addSubscription(filters: SubscriptionCreationData): Promise<CreateSubscriptionData>;
|
|
100
104
|
}
|
package/package.json
CHANGED