@arrowsphere/api-client 3.224.0 → 3.225.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.
@@ -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=dynamicAttributesMappingResult.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/dynamicAttributesMappingResult';
31
32
  /**
32
33
  * Parameters passable to the request for refining search.
33
34
  */
@@ -433,4 +434,5 @@ export declare class LicensesClient extends AbstractRestfulClient {
433
434
  rewriteRateHistory(licenseReference: string, payload: RewriteRateHistoryInputType, parameters?: Parameters): Promise<void>;
434
435
  private createFilters;
435
436
  private createKeywords;
437
+ getLicenseDynamicAttributesMapping(parameters?: Parameters): Promise<GetResult<DynamicAttributesMappingResult>>;
436
438
  }
@@ -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 dynamicAttributesMappingResult_1 = require("./entities/license/dynamicAttributesMappingResult");
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(dynamicAttributesMappingResult_1.DynamicAttributesMappingResult, await this.get(parameters));
577
+ }
573
578
  }
574
579
  exports.LicensesClient = LicensesClient;
575
580
  //# sourceMappingURL=licensesClient.js.map
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.224.0",
7
+ "version": "3.225.0-rc-abo-2",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",