@arrowsphere/api-client 3.391.0 → 3.392.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,10 @@
|
|
|
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.392.0] - 2026.08.14
|
|
7
|
+
### Added
|
|
8
|
+
- [licenses] Add filters `rates` support to the `find` endpoint's
|
|
9
|
+
|
|
6
10
|
## [3.391.0] - 2026.08.13
|
|
7
11
|
### Added
|
|
8
12
|
- [licenses] Add `getPriceRatesHistory` endpoint to retrieving historical price rate data
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { DataKeywords, FiltersParameters, SortParameters } from '../../licensesClient';
|
|
2
|
+
export declare enum RateFindResultFields {
|
|
3
|
+
COLUMN_TYPE = "type",
|
|
4
|
+
COLUMN_RATE = "rate",
|
|
5
|
+
COLUMN_LAST_UPDATE = "lastUpdate"
|
|
6
|
+
}
|
|
7
|
+
export declare type RateFindResultDataFiltersParameters = {
|
|
8
|
+
[RateFindResultFields.COLUMN_TYPE]?: FiltersParameters;
|
|
9
|
+
[RateFindResultFields.COLUMN_RATE]?: FiltersParameters;
|
|
10
|
+
[RateFindResultFields.COLUMN_LAST_UPDATE]?: FiltersParameters;
|
|
11
|
+
};
|
|
12
|
+
export declare type RateFindResultDataKeywords = {
|
|
13
|
+
[RateFindResultFields.COLUMN_TYPE]?: DataKeywords;
|
|
14
|
+
[RateFindResultFields.COLUMN_RATE]?: DataKeywords;
|
|
15
|
+
[RateFindResultFields.COLUMN_LAST_UPDATE]?: DataKeywords;
|
|
16
|
+
};
|
|
17
|
+
export declare enum RatesFindResultFields {
|
|
18
|
+
COLUMN_ARROW_BUY_RATE = "arrowBuyRate",
|
|
19
|
+
COLUMN_ARROW_SELL_RATE = "arrowSellRate",
|
|
20
|
+
COLUMN_MSP_SELL_RATE = "mspSellRate",
|
|
21
|
+
COLUMN_MSP_OFFER_RATE = "mspOfferRate"
|
|
22
|
+
}
|
|
23
|
+
export declare type RatesFiltersParameters = {
|
|
24
|
+
[RatesFindResultFields.COLUMN_ARROW_BUY_RATE]?: RateFindResultDataFiltersParameters;
|
|
25
|
+
[RatesFindResultFields.COLUMN_ARROW_SELL_RATE]?: RateFindResultDataFiltersParameters;
|
|
26
|
+
[RatesFindResultFields.COLUMN_MSP_SELL_RATE]?: RateFindResultDataFiltersParameters;
|
|
27
|
+
[RatesFindResultFields.COLUMN_MSP_OFFER_RATE]?: RateFindResultDataFiltersParameters;
|
|
28
|
+
};
|
|
29
|
+
export declare type RatesDataKeywords = {
|
|
30
|
+
[RatesFindResultFields.COLUMN_ARROW_BUY_RATE]?: RateFindResultDataKeywords;
|
|
31
|
+
[RatesFindResultFields.COLUMN_ARROW_SELL_RATE]?: RateFindResultDataKeywords;
|
|
32
|
+
[RatesFindResultFields.COLUMN_MSP_SELL_RATE]?: RateFindResultDataKeywords;
|
|
33
|
+
[RatesFindResultFields.COLUMN_MSP_OFFER_RATE]?: RateFindResultDataKeywords;
|
|
34
|
+
};
|
|
35
|
+
export declare type RateFindResultDataSortParameters = {
|
|
36
|
+
[RateFindResultFields.COLUMN_TYPE]?: SortParameters;
|
|
37
|
+
[RateFindResultFields.COLUMN_RATE]?: SortParameters;
|
|
38
|
+
[RateFindResultFields.COLUMN_LAST_UPDATE]?: SortParameters;
|
|
39
|
+
};
|
|
40
|
+
export declare type RatesSortParameters = {
|
|
41
|
+
[RatesFindResultFields.COLUMN_MSP_SELL_RATE]?: RateFindResultDataSortParameters;
|
|
42
|
+
[RatesFindResultFields.COLUMN_MSP_OFFER_RATE]?: RateFindResultDataSortParameters;
|
|
43
|
+
[RatesFindResultFields.COLUMN_ARROW_BUY_RATE]?: RateFindResultDataSortParameters;
|
|
44
|
+
[RatesFindResultFields.COLUMN_ARROW_SELL_RATE]?: RateFindResultDataSortParameters;
|
|
45
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RatesFindResultFields = exports.RateFindResultFields = void 0;
|
|
4
|
+
var RateFindResultFields;
|
|
5
|
+
(function (RateFindResultFields) {
|
|
6
|
+
RateFindResultFields["COLUMN_TYPE"] = "type";
|
|
7
|
+
RateFindResultFields["COLUMN_RATE"] = "rate";
|
|
8
|
+
RateFindResultFields["COLUMN_LAST_UPDATE"] = "lastUpdate";
|
|
9
|
+
})(RateFindResultFields = exports.RateFindResultFields || (exports.RateFindResultFields = {}));
|
|
10
|
+
var RatesFindResultFields;
|
|
11
|
+
(function (RatesFindResultFields) {
|
|
12
|
+
RatesFindResultFields["COLUMN_ARROW_BUY_RATE"] = "arrowBuyRate";
|
|
13
|
+
RatesFindResultFields["COLUMN_ARROW_SELL_RATE"] = "arrowSellRate";
|
|
14
|
+
RatesFindResultFields["COLUMN_MSP_SELL_RATE"] = "mspSellRate";
|
|
15
|
+
RatesFindResultFields["COLUMN_MSP_OFFER_RATE"] = "mspOfferRate";
|
|
16
|
+
})(RatesFindResultFields = exports.RatesFindResultFields || (exports.RatesFindResultFields = {}));
|
|
17
|
+
//# sourceMappingURL=rateFindResult.js.map
|
|
@@ -24,6 +24,7 @@ import { CompanyTypeEnum, RateTypeEnum } from './entities/pricingRate/getPricing
|
|
|
24
24
|
import { PartialResponse } from '../partialResponse';
|
|
25
25
|
import { BulkBodyArgument, SpecialPriceRateActive } from './types/bulkArguments';
|
|
26
26
|
import { EndCustomerOrganisationUnitDataKeywords, EndCustomerOrganizationUnitFiltersParameters, EndCustomerOrganizationUnitSortParameters } from './entities/endCustomerOrganizationUnit/endCustomerOrganizationUnitFindResult';
|
|
27
|
+
import { RatesDataKeywords, RatesFiltersParameters, RatesSortParameters } from './entities/rates/rateFindResult';
|
|
27
28
|
import { GetLicensePricingRateParameters, GetLicensePricingRateResponse } from './types/pricingRate';
|
|
28
29
|
import { ConsumptionDailyPrediction } from '../consumption';
|
|
29
30
|
import { GetScheduledTasksResult } from './entities/schedule/getScheduledTasksResult';
|
|
@@ -139,20 +140,21 @@ export declare enum LicenseFindParameters {
|
|
|
139
140
|
*/
|
|
140
141
|
FILTERS_LTE = "lte"
|
|
141
142
|
}
|
|
142
|
-
export declare type BaseParameters<LicenseType, OfferType, endCustomerOrganizationUnitType> = {
|
|
143
|
+
export declare type BaseParameters<LicenseType, OfferType, endCustomerOrganizationUnitType, RatesType> = {
|
|
143
144
|
license?: LicenseType;
|
|
144
145
|
offer?: OfferType;
|
|
145
146
|
endCustomerOrganizationUnit?: endCustomerOrganizationUnitType;
|
|
147
|
+
rates?: RatesType;
|
|
146
148
|
};
|
|
147
149
|
export declare type AttachFileToLicenseParameters = {
|
|
148
150
|
name: string;
|
|
149
151
|
fileEncoded: string;
|
|
150
152
|
};
|
|
151
|
-
export declare type LicenseSortParameters = BaseParameters<LicenceFindDataSortParameters, OfferFindResultDataSortParameters, EndCustomerOrganizationUnitSortParameters>;
|
|
153
|
+
export declare type LicenseSortParameters = BaseParameters<LicenceFindDataSortParameters, OfferFindResultDataSortParameters, EndCustomerOrganizationUnitSortParameters, RatesSortParameters>;
|
|
152
154
|
export declare type LicenseCompareParameters = {
|
|
153
155
|
[field: string]: unknown;
|
|
154
156
|
};
|
|
155
|
-
export declare type LicenseFiltersParameters = BaseParameters<LicenceFindDataFiltersParameters, OfferFindResultDataFiltersParameters, EndCustomerOrganizationUnitFiltersParameters>;
|
|
157
|
+
export declare type LicenseFiltersParameters = BaseParameters<LicenceFindDataFiltersParameters, OfferFindResultDataFiltersParameters, EndCustomerOrganizationUnitFiltersParameters, RatesFiltersParameters>;
|
|
156
158
|
/**
|
|
157
159
|
* List of keywords to search with.
|
|
158
160
|
*/
|
|
@@ -167,6 +169,7 @@ export declare type LicenseKeywordsParameters = {
|
|
|
167
169
|
license?: LicenceFindDataKeywords;
|
|
168
170
|
offer?: OfferFindResultDataKeywords;
|
|
169
171
|
endCustomerOrganizationUnit?: EndCustomerOrganisationUnitDataKeywords;
|
|
172
|
+
rates?: RatesDataKeywords;
|
|
170
173
|
};
|
|
171
174
|
export declare type LicenseRawKeywordsParametersLicence = {
|
|
172
175
|
[field: string]: DataKeywords | ActiveSeatsFindResultDataKeywords | ConfigFindResultDataKeywords | WarningFindResultDataKeywords | PriceFindResultDataKeywords | SecurityFindResultDataKeywords | undefined;
|
|
@@ -312,6 +312,7 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
312
312
|
...this.createFilters(postData.filters, 'license'),
|
|
313
313
|
...this.createFilters(postData.filters, 'offer'),
|
|
314
314
|
...this.createFilters(postData.filters, 'endCustomerOrganizationUnit'),
|
|
315
|
+
...this.createFilters(postData.filters, 'rates'),
|
|
315
316
|
};
|
|
316
317
|
}
|
|
317
318
|
if (postData.exclusionFilters) {
|
|
@@ -320,6 +321,7 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
320
321
|
...this.createFilters(postData.exclusionFilters, 'license'),
|
|
321
322
|
...this.createFilters(postData.exclusionFilters, 'offer'),
|
|
322
323
|
...this.createFilters(postData.exclusionFilters, 'endCustomerOrganizationUnit'),
|
|
324
|
+
...this.createFilters(postData.exclusionFilters, 'rates'),
|
|
323
325
|
};
|
|
324
326
|
}
|
|
325
327
|
if (postData.sort) {
|
|
@@ -328,6 +330,7 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
328
330
|
...this.createFilters(postData.sort, 'license'),
|
|
329
331
|
...this.createFilters(postData.sort, 'offer'),
|
|
330
332
|
...this.createFilters(postData.sort, 'endCustomerOrganizationUnit'),
|
|
333
|
+
...this.createFilters(postData.sort, 'rates'),
|
|
331
334
|
};
|
|
332
335
|
}
|
|
333
336
|
const response = await this.findRaw(rawLicensePayload, parameters);
|
package/package.json
CHANGED