@arrowsphere/api-client 3.112.0-rc.bdj.1 → 3.112.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,16 @@
|
|
|
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.112.0] - 2024.04.24
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- [License find] Add keywords endCustomerOrganizationUnit to find licenses
|
|
10
|
+
|
|
11
|
+
## [3.111.0] - 2024.04.24
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- [Get License] Add fields price.total.init, price.unit.init
|
|
15
|
+
|
|
6
16
|
## [3.110.0] - 2024.04.18
|
|
7
17
|
|
|
8
18
|
### Added
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
|
-
import { FiltersParameters, SortParameters } from '../../licensesClient';
|
|
2
|
+
import { DataKeywords, FiltersParameters, SortParameters } from '../../licensesClient';
|
|
3
3
|
export declare enum EndCustomerOrganizationUnitFindResultFields {
|
|
4
4
|
COLUMN_ORGANIZATION_UNIT_REF = "organizationUnitRef",
|
|
5
5
|
COLUMN_NAME = "name",
|
|
@@ -10,6 +10,11 @@ export declare type EndCustomerOrganizationUnitFindResultType = {
|
|
|
10
10
|
[EndCustomerOrganizationUnitFindResultFields.COLUMN_NAME]: string;
|
|
11
11
|
[EndCustomerOrganizationUnitFindResultFields.COLUMN_LAST_UPDATE]: string;
|
|
12
12
|
};
|
|
13
|
+
export declare type EndCustomerOrganisationUnitDataKeywords = {
|
|
14
|
+
[EndCustomerOrganizationUnitFindResultFields.COLUMN_ORGANIZATION_UNIT_REF]?: DataKeywords;
|
|
15
|
+
[EndCustomerOrganizationUnitFindResultFields.COLUMN_NAME]?: DataKeywords;
|
|
16
|
+
[EndCustomerOrganizationUnitFindResultFields.COLUMN_LAST_UPDATE]?: DataKeywords;
|
|
17
|
+
};
|
|
13
18
|
export declare type EndCustomerOrganizationUnitSortParameters = {
|
|
14
19
|
[EndCustomerOrganizationUnitFindResultFields.COLUMN_ORGANIZATION_UNIT_REF]?: SortParameters;
|
|
15
20
|
[EndCustomerOrganizationUnitFindResultFields.COLUMN_NAME]?: SortParameters;
|
|
@@ -23,7 +23,7 @@ import { ScheduleTasksResult } from './entities/schedule/scheduleTasksResult';
|
|
|
23
23
|
import { CompanyTypeEnum, RateTypeEnum } from './entities/pricingRate/getPricingRateResult';
|
|
24
24
|
import { PartialResponse } from '../partialResponse';
|
|
25
25
|
import { BulkBodyArgument, SpecialPriceRateActive } from './types/bulkArguments';
|
|
26
|
-
import { EndCustomerOrganizationUnitFiltersParameters, EndCustomerOrganizationUnitSortParameters } from './entities/endCustomerOrganizationUnit/endCustomerOrganizationUnitFindResult';
|
|
26
|
+
import { EndCustomerOrganisationUnitDataKeywords, EndCustomerOrganizationUnitFiltersParameters, EndCustomerOrganizationUnitSortParameters } from './entities/endCustomerOrganizationUnit/endCustomerOrganizationUnitFindResult';
|
|
27
27
|
import { ConsumptionDailyPrediction } from '../consumption';
|
|
28
28
|
import { GetSchedulesTasksResult } from './entities/schedule/getSchedulesTasksResult';
|
|
29
29
|
import { GetScheduledTasksResult } from './entities/schedule/getScheduledTasksResult';
|
|
@@ -145,6 +145,7 @@ export declare type DataKeywords = {
|
|
|
145
145
|
export declare type LicenseKeywordsParameters = {
|
|
146
146
|
license?: LicenceFindDataKeywords;
|
|
147
147
|
offer?: OfferFindResultDataKeywords;
|
|
148
|
+
endCustomerOrganizationUnit?: EndCustomerOrganisationUnitDataKeywords;
|
|
148
149
|
};
|
|
149
150
|
export declare type LicenseRawKeywordsParametersLicence = {
|
|
150
151
|
[field: string]: DataKeywords | ActiveSeatsFindResultDataKeywords | ConfigFindResultDataKeywords | WarningFindResultDataKeywords | PriceFindResultDataKeywords | SecurityFindResultDataKeywords | undefined;
|
|
@@ -261,6 +261,7 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
261
261
|
rawLicensePayload.keywords = {
|
|
262
262
|
...this.createKeywords(postData.keywords, 'license'),
|
|
263
263
|
...this.createKeywords(postData.keywords, 'offer'),
|
|
264
|
+
...this.createKeywords(postData.keywords, 'endCustomerOrganizationUnit'),
|
|
264
265
|
};
|
|
265
266
|
}
|
|
266
267
|
if (postData.filters) {
|
|
@@ -524,8 +525,7 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
524
525
|
createKeywords(parameters, keyParent) {
|
|
525
526
|
let appropriateParameters;
|
|
526
527
|
if (typeof parameters === 'object') {
|
|
527
|
-
appropriateParameters =
|
|
528
|
-
keyParent === 'license' ? parameters.license : parameters.offer;
|
|
528
|
+
appropriateParameters = parameters[keyParent];
|
|
529
529
|
}
|
|
530
530
|
else {
|
|
531
531
|
appropriateParameters = parameters;
|
package/package.json
CHANGED