@arrowsphere/api-client 3.201.0 → 3.202.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,11 @@
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.202.0] - 2025.07.02
7
+
8
+ ### Added
9
+ - [license] Add field quantity on license relations
10
+
6
11
  ## [3.201.0] - 2025.06.26
7
12
 
8
13
  ### Added
@@ -1,15 +1,18 @@
1
1
  import { AbstractEntity } from '../../../abstractEntity';
2
2
  export declare enum RelationGetDataFields {
3
3
  COLUMN_PARTNER_REF = "partnerRef",
4
+ COLUMN_QUANTITY = "quantity",
4
5
  COLUMN_TYPE = "type"
5
6
  }
6
7
  export declare type RelationGetData = {
7
8
  [RelationGetDataFields.COLUMN_PARTNER_REF]: string;
9
+ [RelationGetDataFields.COLUMN_QUANTITY]: number;
8
10
  [RelationGetDataFields.COLUMN_TYPE]: string;
9
11
  };
10
12
  export declare class RelationGetResult extends AbstractEntity<RelationGetData> {
11
13
  #private;
12
14
  constructor(data: RelationGetData);
15
+ get quantity(): number;
13
16
  get rate(): string;
14
17
  get type(): string;
15
18
  toJSON(): RelationGetData;
@@ -10,23 +10,29 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _RelationGetResult_rate, _RelationGetResult_type;
13
+ var _RelationGetResult_quantity, _RelationGetResult_rate, _RelationGetResult_type;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.RelationGetResult = exports.RelationGetDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../../abstractEntity");
17
17
  var RelationGetDataFields;
18
18
  (function (RelationGetDataFields) {
19
19
  RelationGetDataFields["COLUMN_PARTNER_REF"] = "partnerRef";
20
+ RelationGetDataFields["COLUMN_QUANTITY"] = "quantity";
20
21
  RelationGetDataFields["COLUMN_TYPE"] = "type";
21
22
  })(RelationGetDataFields = exports.RelationGetDataFields || (exports.RelationGetDataFields = {}));
22
23
  class RelationGetResult extends abstractEntity_1.AbstractEntity {
23
24
  constructor(data) {
24
25
  super(data);
26
+ _RelationGetResult_quantity.set(this, void 0);
25
27
  _RelationGetResult_rate.set(this, void 0);
26
28
  _RelationGetResult_type.set(this, void 0);
29
+ __classPrivateFieldSet(this, _RelationGetResult_quantity, data[RelationGetDataFields.COLUMN_QUANTITY], "f");
27
30
  __classPrivateFieldSet(this, _RelationGetResult_rate, data[RelationGetDataFields.COLUMN_PARTNER_REF], "f");
28
31
  __classPrivateFieldSet(this, _RelationGetResult_type, data[RelationGetDataFields.COLUMN_TYPE], "f");
29
32
  }
33
+ get quantity() {
34
+ return __classPrivateFieldGet(this, _RelationGetResult_quantity, "f");
35
+ }
30
36
  get rate() {
31
37
  return __classPrivateFieldGet(this, _RelationGetResult_rate, "f");
32
38
  }
@@ -36,10 +42,11 @@ class RelationGetResult extends abstractEntity_1.AbstractEntity {
36
42
  toJSON() {
37
43
  return {
38
44
  [RelationGetDataFields.COLUMN_PARTNER_REF]: this.rate,
45
+ [RelationGetDataFields.COLUMN_QUANTITY]: this.quantity,
39
46
  [RelationGetDataFields.COLUMN_TYPE]: this.type,
40
47
  };
41
48
  }
42
49
  }
43
50
  exports.RelationGetResult = RelationGetResult;
44
- _RelationGetResult_rate = new WeakMap(), _RelationGetResult_type = new WeakMap();
51
+ _RelationGetResult_quantity = new WeakMap(), _RelationGetResult_rate = new WeakMap(), _RelationGetResult_type = new WeakMap();
45
52
  //# sourceMappingURL=relationGetResult.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.201.0",
7
+ "version": "3.202.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",