@arrowsphere/api-client 3.389.0 → 3.391.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 +12 -0
- package/build/graphqlApi/types/entities/partnerCatalogItem.d.ts +2 -0
- package/build/graphqlApi/types/entities/softwareProduct.d.ts +1 -1
- package/build/licenses/index.d.ts +1 -0
- package/build/licenses/index.js +1 -0
- package/build/licenses/licensesClient.d.ts +11 -0
- package/build/licenses/licensesClient.js +16 -0
- package/build/licenses/types/pricingRate.d.ts +20 -0
- package/build/licenses/types/pricingRate.js +3 -0
- package/package.json +1 -1
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.391.0] - 2026.08.13
|
|
7
|
+
### Added
|
|
8
|
+
- [licenses] Add `getPriceRatesHistory` endpoint to retrieving historical price rate data
|
|
9
|
+
- [licenses] Add `getPriceRatesScheduled` endpoint to retrieving scheduled price rate data
|
|
10
|
+
|
|
11
|
+
## [3.390.0] - 2026.08.12
|
|
12
|
+
### Added
|
|
13
|
+
- [graphql-api] Add `programName` and `vendorName` fields to `PartnerCatalogItemType`
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
- [graphql-api] Fix `SoftwareProductType.id` type from `string` to `number`
|
|
17
|
+
|
|
6
18
|
## [3.389.0] - 2026.08.10
|
|
7
19
|
### Added
|
|
8
20
|
- [catalog] Add `offer` field of type `OfferLightType` to `PriceBandType`
|
|
@@ -4,6 +4,8 @@ import { SoftwareProductType } from './softwareProduct';
|
|
|
4
4
|
import { SubscriptionType } from './subscription';
|
|
5
5
|
export declare type PartnerCatalogItemType = {
|
|
6
6
|
id?: number;
|
|
7
|
+
programName?: string;
|
|
8
|
+
vendorName?: string;
|
|
7
9
|
sid?: number;
|
|
8
10
|
sellPrice?: number;
|
|
9
11
|
price?: number;
|
package/build/licenses/index.js
CHANGED
|
@@ -66,5 +66,6 @@ __exportStar(require("./licenseRequestClient"), exports);
|
|
|
66
66
|
__exportStar(require("./licensesClient"), exports);
|
|
67
67
|
__exportStar(require("./licensesEventClient"), exports);
|
|
68
68
|
__exportStar(require("./types/bulkArguments"), exports);
|
|
69
|
+
__exportStar(require("./types/pricingRate"), exports);
|
|
69
70
|
__exportStar(require("./entities/license/dynamicMappingResult"), exports);
|
|
70
71
|
//# sourceMappingURL=index.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 { GetLicensePricingRateParameters, GetLicensePricingRateResponse } from './types/pricingRate';
|
|
27
28
|
import { ConsumptionDailyPrediction } from '../consumption';
|
|
28
29
|
import { GetScheduledTasksResult } from './entities/schedule/getScheduledTasksResult';
|
|
29
30
|
import { GetScheduleTaskResult } from './entities/schedule/getScheduleTaskResult';
|
|
@@ -391,6 +392,14 @@ export declare class LicensesClient extends AbstractRestfulClient {
|
|
|
391
392
|
* The path to get/set pricing rate on a license
|
|
392
393
|
*/
|
|
393
394
|
private PRICING_RATE_PATH;
|
|
395
|
+
/**
|
|
396
|
+
* The path to get the pricing rate history on a license
|
|
397
|
+
*/
|
|
398
|
+
private PRICING_RATE_HISTORY_PATH;
|
|
399
|
+
/**
|
|
400
|
+
* The path to get the pricing rate scheduled on a license
|
|
401
|
+
*/
|
|
402
|
+
private PRICING_RATE_SCHEDULED_PATH;
|
|
394
403
|
/**
|
|
395
404
|
* The path to apply bulk action on license(s)
|
|
396
405
|
*/
|
|
@@ -449,6 +458,8 @@ export declare class LicensesClient extends AbstractRestfulClient {
|
|
|
449
458
|
getExistingConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
|
|
450
459
|
getCredentials(licenseReference: string, parameters?: Parameters): Promise<GetResult<CredentialsResult>>;
|
|
451
460
|
setPricingRate(licenseReference: string, payload: LicensePricingRate, parameters?: Parameters): Promise<void>;
|
|
461
|
+
getPriceRatesHistory(licenseReference: string, params?: GetLicensePricingRateParameters): Promise<GetLicensePricingRateResponse>;
|
|
462
|
+
getPriceRatesScheduled(licenseReference: string, params?: GetLicensePricingRateParameters): Promise<GetLicensePricingRateResponse>;
|
|
452
463
|
scheduleTasks(licenseReference: string, payload: ScheduleTasks, parameters?: Parameters): Promise<GetResult<ScheduleTasksResult>>;
|
|
453
464
|
updateScheduledTask(licenseReference: string, scheduledTaskId: number, payload: UpdateScheduledTaskRequestType, parameters?: Parameters): Promise<void>;
|
|
454
465
|
getScheduledTask(licenseReference: string, scheduledTaskId: number, parameters?: Parameters): Promise<GetResult<GetScheduleTaskResult>>;
|
|
@@ -242,6 +242,14 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
242
242
|
* The path to get/set pricing rate on a license
|
|
243
243
|
*/
|
|
244
244
|
this.PRICING_RATE_PATH = '/pricing-rate';
|
|
245
|
+
/**
|
|
246
|
+
* The path to get the pricing rate history on a license
|
|
247
|
+
*/
|
|
248
|
+
this.PRICING_RATE_HISTORY_PATH = '/pricing-rate/history';
|
|
249
|
+
/**
|
|
250
|
+
* The path to get the pricing rate scheduled on a license
|
|
251
|
+
*/
|
|
252
|
+
this.PRICING_RATE_SCHEDULED_PATH = '/pricing-rate/scheduled';
|
|
245
253
|
/**
|
|
246
254
|
* The path to apply bulk action on license(s)
|
|
247
255
|
*/
|
|
@@ -508,6 +516,14 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
508
516
|
this.path = `/${licenseReference}${this.PRICING_RATE_PATH}`;
|
|
509
517
|
return await this.post(payload, parameters);
|
|
510
518
|
}
|
|
519
|
+
async getPriceRatesHistory(licenseReference, params = {}) {
|
|
520
|
+
this.path = `/${licenseReference}${this.PRICING_RATE_HISTORY_PATH}`;
|
|
521
|
+
return this.get(params);
|
|
522
|
+
}
|
|
523
|
+
async getPriceRatesScheduled(licenseReference, params = {}) {
|
|
524
|
+
this.path = `/${licenseReference}${this.PRICING_RATE_SCHEDULED_PATH}`;
|
|
525
|
+
return this.get(params);
|
|
526
|
+
}
|
|
511
527
|
async scheduleTasks(licenseReference, payload, parameters = {}) {
|
|
512
528
|
this.path = `/${licenseReference}${this.SCHEDULE_TASKS_PATH}`;
|
|
513
529
|
return new getResult_1.GetResult(scheduleTasksResult_1.ScheduleTasksResult, await this.post(payload, parameters));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare type GetLicensePricingRateParameters = {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
perPage?: number;
|
|
4
|
+
};
|
|
5
|
+
export declare type LicensePricingRateItem = {
|
|
6
|
+
rateType: string;
|
|
7
|
+
value: string;
|
|
8
|
+
changeRequestDate: string;
|
|
9
|
+
effectiveDate: string;
|
|
10
|
+
source: string;
|
|
11
|
+
};
|
|
12
|
+
export declare type LicensePricingRatePagination = {
|
|
13
|
+
perPage: number;
|
|
14
|
+
continuationToken: string | null;
|
|
15
|
+
};
|
|
16
|
+
export declare type GetLicensePricingRateResponse = {
|
|
17
|
+
status: number;
|
|
18
|
+
data: LicensePricingRateItem[];
|
|
19
|
+
pagination: LicensePricingRatePagination;
|
|
20
|
+
};
|
package/package.json
CHANGED