@arrowsphere/api-client 3.199.0 → 3.201.0-rc-bdj-1

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,18 +1,35 @@
1
1
  import { PartnerType } from './company';
2
2
  import { ContactsType } from './contact';
3
+ import { PartnertagType } from './partnertag';
3
4
  import { GraphqlApiProgramLevelType, GraphqlApiProgramType } from './program';
4
5
  export declare type SubscriptionType = {
5
6
  id?: number;
7
+ agreement?: GraphqlApiSubscriptionAgreementType;
6
8
  autoReporting?: boolean;
9
+ clicktoAccept?: boolean;
7
10
  company?: PartnerType;
11
+ demandedAt?: string;
12
+ enabled?: boolean;
8
13
  endedAt?: string;
9
14
  level?: GraphqlApiProgramLevelType;
10
15
  localContact?: ContactsType;
11
16
  orderId?: string;
12
17
  partnerContact?: ContactsType;
13
18
  partnerId?: string;
19
+ partnerTags?: PartnertagType[];
14
20
  program?: GraphqlApiProgramType;
15
21
  startedAt?: string;
22
+ status?: GraphqlApiSubscriptionStatusType;
23
+ updatedAt?: string;
16
24
  userNote?: string;
17
25
  validatedAt?: string;
18
26
  };
27
+ export declare type GraphqlApiSubscriptionStatusType = {
28
+ id?: number;
29
+ name?: string;
30
+ };
31
+ export declare type GraphqlApiSubscriptionAgreementType = {
32
+ id?: number;
33
+ lastVersion?: number;
34
+ total?: number;
35
+ };
@@ -137,10 +137,13 @@ declare type MissingFieldsOfStaffSchema = {
137
137
  };
138
138
  export declare type GraphqlApiStaffSchema = Merge<Schema<GraphqlApiStaffType, boolean>, MissingFieldsOfStaffSchema>;
139
139
  export declare type GraphqlApiContributorRoleSchema = Schema<GraphqlApiContributorRoleType, boolean>;
140
+ declare type MissingFieldsOfSubscriptionSchema = {
141
+ partnerTags?: PartnertagSchema;
142
+ };
143
+ export declare type SubscriptionSchema = Merge<Schema<SubscriptionType, boolean>, MissingFieldsOfSubscriptionSchema>;
140
144
  export declare type ReportStatusSchema = Schema<GraphqlApiReportStatusType, boolean>;
141
145
  export declare type SpecialPriceRateSchema = Schema<SpecialPriceRateType, boolean>;
142
146
  export declare type SubscribedProgramSchema = Schema<SubscribedProgramType, boolean>;
143
- export declare type SubscriptionSchema = Schema<SubscriptionType, boolean>;
144
147
  export declare type UserHistorySchema = Schema<UserHistoryType, boolean>;
145
148
  export declare type WorkgroupSchema = Schema<WorkgroupType, boolean>;
146
149
  export declare type SelectAllResultSchema = {
@@ -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.201.0-rc-bdj-1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",