@arrowsphere/api-client 3.218.0 → 3.219.0-rc-abo-2
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 +4 -0
- package/build/licenses/entities/license/dynamicMappingResult.d.ts +8 -0
- package/build/licenses/entities/license/dynamicMappingResult.js +14 -0
- package/build/licenses/index.d.ts +1 -0
- package/build/licenses/index.js +1 -0
- package/build/licenses/licensesClient.d.ts +2 -0
- package/build/licenses/licensesClient.js +5 -0
- package/package.json +1 -1
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.219.0] - 2025.09.03
|
|
7
|
+
### Added
|
|
8
|
+
- [license] add endpoint to get license dynamic attributes mapping
|
|
9
|
+
|
|
6
10
|
## [3.218.0] - 2025.08.27
|
|
7
11
|
### Added
|
|
8
12
|
- [license] add field endDate on license
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
|
+
export declare type DynamicAttributesMappingResultData = {
|
|
3
|
+
[key: string]: string;
|
|
4
|
+
};
|
|
5
|
+
export declare class DynamicAttributesMappingResult extends AbstractEntity<DynamicAttributesMappingResultData> {
|
|
6
|
+
constructor(data: DynamicAttributesMappingResultData);
|
|
7
|
+
toJSON(): DynamicAttributesMappingResultData;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynamicAttributesMappingResult = void 0;
|
|
4
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
5
|
+
class DynamicAttributesMappingResult extends abstractEntity_1.AbstractEntity {
|
|
6
|
+
constructor(data) {
|
|
7
|
+
super(data);
|
|
8
|
+
}
|
|
9
|
+
toJSON() {
|
|
10
|
+
return this.entityDataInput;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.DynamicAttributesMappingResult = DynamicAttributesMappingResult;
|
|
14
|
+
//# sourceMappingURL=dynamicMappingResult.js.map
|
package/build/licenses/index.js
CHANGED
|
@@ -65,4 +65,5 @@ __exportStar(require("./licenseRequestClient"), exports);
|
|
|
65
65
|
__exportStar(require("./licensesClient"), exports);
|
|
66
66
|
__exportStar(require("./licensesEventClient"), exports);
|
|
67
67
|
__exportStar(require("./types/bulkArguments"), exports);
|
|
68
|
+
__exportStar(require("./entities/license/dynamicMappingResult"), exports);
|
|
68
69
|
//# sourceMappingURL=index.js.map
|
|
@@ -28,6 +28,7 @@ import { ConsumptionDailyPrediction } from '../consumption';
|
|
|
28
28
|
import { GetScheduledTasksResult } from './entities/schedule/getScheduledTasksResult';
|
|
29
29
|
import { GetScheduleTaskResult } from './entities/schedule/getScheduleTaskResult';
|
|
30
30
|
import { LicenceCouponCodeHistoryResult } from './entities/history/licenceCouponCodeHistoryResult';
|
|
31
|
+
import { DynamicAttributesMappingResult } from './entities/license/dynamicMappingResult';
|
|
31
32
|
/**
|
|
32
33
|
* Parameters passable to the request for refining search.
|
|
33
34
|
*/
|
|
@@ -432,4 +433,5 @@ export declare class LicensesClient extends AbstractRestfulClient {
|
|
|
432
433
|
rewriteRateHistory(licenseReference: string, payload: RewriteRateHistoryInputType, parameters?: Parameters): Promise<void>;
|
|
433
434
|
private createFilters;
|
|
434
435
|
private createKeywords;
|
|
436
|
+
getLicenseDynamicAttributesMapping(parameters?: Parameters): Promise<GetResult<DynamicAttributesMappingResult>>;
|
|
435
437
|
}
|
|
@@ -22,6 +22,7 @@ const consumption_1 = require("../consumption");
|
|
|
22
22
|
const getScheduledTasksResult_1 = require("./entities/schedule/getScheduledTasksResult");
|
|
23
23
|
const getScheduleTaskResult_1 = require("./entities/schedule/getScheduleTaskResult");
|
|
24
24
|
const licenceCouponCodeHistoryResult_1 = require("./entities/history/licenceCouponCodeHistoryResult");
|
|
25
|
+
const dynamicMappingResult_1 = require("./entities/license/dynamicMappingResult");
|
|
25
26
|
/**
|
|
26
27
|
* Parameters passable to the request for refining search.
|
|
27
28
|
*/
|
|
@@ -570,6 +571,10 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
570
571
|
return acc;
|
|
571
572
|
}, {});
|
|
572
573
|
}
|
|
574
|
+
async getLicenseDynamicAttributesMapping(parameters = {}) {
|
|
575
|
+
this.path = '/license-mapping';
|
|
576
|
+
return new getResult_1.GetResult(dynamicMappingResult_1.DynamicAttributesMappingResult, await this.get(parameters));
|
|
577
|
+
}
|
|
573
578
|
}
|
|
574
579
|
exports.LicensesClient = LicensesClient;
|
|
575
580
|
//# sourceMappingURL=licensesClient.js.map
|
package/package.json
CHANGED