@arrowsphere/api-client 3.24.0 → 3.24.1-rc.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,7 +3,13 @@
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.24.0] - 2023-04-07
6
+ ## [3.24.1] - 2023-04-13
7
+
8
+ ### Changed
9
+
10
+ - Fix Extra information type
11
+
12
+ ## [3.24.0] - 2023-04-13
7
13
 
8
14
  ### Changed
9
15
 
@@ -26,7 +26,9 @@ export declare type ConfigurationsClient = {
26
26
  [ParameterKeys.URL]?: string;
27
27
  [ParameterKeys.HEADERS]?: Headers;
28
28
  };
29
- export declare type ExtraInformationType = Record<string, unknown>;
29
+ export declare type ExtraInformationType = {
30
+ [ExtraInformationFields.COLUMN_EXTRA_INFORMATION]?: Record<string, unknown>;
31
+ };
30
32
  export declare abstract class AbstractClient {
31
33
  /**
32
34
  * Base path for HTTP calls
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Class LicensesClient
3
3
  */
4
- import { AbstractClient, ExtraInformationFields, ExtraInformationType, Parameters } from '../abstractClient';
4
+ import { AbstractClient, ExtraInformationType, Parameters } from '../abstractClient';
5
5
  import { FindConfig, FindData, FindResult } from './entities/findResult';
6
6
  import { ConfigFindResult, ConfigFindResultData, ConfigFindResultDataKeywords, ConfigFindResultDataSortParameters } from './entities/license/configFindResult';
7
7
  import { LicenceFindDataFiltersParameters, LicenceFindDataKeywords, LicenceFindDataSortParameters } from './entities/license/licenseFindResult';
@@ -190,27 +190,15 @@ export declare type LicenseFindRawPayload = {
190
190
  };
191
191
  export declare type UpdateSeatsData = {
192
192
  [LicenseGetFields.COLUMN_SEATS]: number;
193
- [ExtraInformationFields.COLUMN_EXTRA_INFORMATION]?: ExtraInformationType;
194
- };
193
+ } & ExtraInformationType;
195
194
  export declare type PutFriendlyName = {
196
195
  [LicenseGetFields.COLUMN_FRIENDLY_NAME]: string;
197
- [ExtraInformationFields.COLUMN_EXTRA_INFORMATION]?: ExtraInformationType;
198
- };
199
- export declare type PutReactivate = {
200
- [ExtraInformationFields.COLUMN_EXTRA_INFORMATION]?: ExtraInformationType;
201
- };
202
- export declare type PutSuspend = {
203
- [ExtraInformationFields.COLUMN_EXTRA_INFORMATION]?: ExtraInformationType;
204
- };
205
- export declare type PutCancel = {
206
- [ExtraInformationFields.COLUMN_EXTRA_INFORMATION]?: ExtraInformationType;
207
- };
208
- export declare type PutCancelAutoRenew = {
209
- [ExtraInformationFields.COLUMN_EXTRA_INFORMATION]?: ExtraInformationType;
210
- };
211
- export declare type PutReactivateAutoRenew = {
212
- [ExtraInformationFields.COLUMN_EXTRA_INFORMATION]?: ExtraInformationType;
213
- };
196
+ } & ExtraInformationType;
197
+ export declare type PutReactivate = ExtraInformationType;
198
+ export declare type PutSuspend = ExtraInformationType;
199
+ export declare type PutCancel = ExtraInformationType;
200
+ export declare type PutCancelAutoRenew = ExtraInformationType;
201
+ export declare type PutReactivateAutoRenew = ExtraInformationType;
214
202
  export declare class LicensesClient extends AbstractClient {
215
203
  /**
216
204
  * The base path of the API
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.24.0",
7
+ "version": "3.24.1-rc.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",