@arrowsphere/api-client 3.154.0-rc-cpe-1 → 3.154.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.154.0] - 2024.10.28
7
+
8
+ ### Added
9
+ - [License] Added new fields: eula, featurePictureUrl and pictureUrl
10
+
6
11
  ## [3.153.0] - 2024.10.24
7
12
 
8
13
  ### Added
@@ -115,7 +115,6 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
115
115
  return __classPrivateFieldGet(this, _CustomerContact_organizationUnits, "f");
116
116
  }
117
117
  toJSON() {
118
- var _a;
119
118
  return {
120
119
  [CustomerContactFields.COLUMN_REFERENCE]: this.reference,
121
120
  [CustomerContactFields.COLUMN_FIRST_NAME]: this.firstName,
@@ -126,7 +125,7 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
126
125
  [CustomerContactFields.COLUMN_TYPE]: this.type,
127
126
  [CustomerContactFields.COLUMN_ROLE]: this.role,
128
127
  [CustomerContactFields.COLUMN_IS_ACTIVE]: this.isActive,
129
- [CustomerContactFields.COLUMN_XCP_INVITATION]: (_a = this.xcpInvitation) === null || _a === void 0 ? void 0 : _a.toJSON(),
128
+ [CustomerContactFields.COLUMN_XCP_INVITATION]: this.xcpInvitation,
130
129
  [CustomerContactFields.COLUMN_ORGANIZATION_UNIT_ID]: this
131
130
  .organizationUnitId,
132
131
  [CustomerContactFields.COLUMN_ORGANIZATION_UNITS]: this.organizationUnits.map((organizationUnit) => {
@@ -1,16 +1,13 @@
1
1
  import { AbstractEntity } from '../../../../abstractEntity';
2
2
  export declare enum CustomerContactXcpInvitationFields {
3
- COLUMN_POLICY = "policy",
4
- COLUMN_CREATED_AT = "createdAt"
3
+ COLUMN_POLICY = "policy"
5
4
  }
6
5
  export declare type CustomerContactXcpInvitationType = {
7
6
  [CustomerContactXcpInvitationFields.COLUMN_POLICY]?: string;
8
- [CustomerContactXcpInvitationFields.COLUMN_CREATED_AT]?: string;
9
7
  };
10
8
  export declare class CustomerContactXcpInvitation extends AbstractEntity<CustomerContactXcpInvitationType> {
11
9
  #private;
12
10
  constructor(getCustomerContactXcpInvitationDataInput: CustomerContactXcpInvitationType);
13
11
  get policy(): string | undefined;
14
- get createdAt(): Date | undefined;
15
12
  toJSON(): CustomerContactXcpInvitationType;
16
13
  }
@@ -10,40 +10,30 @@ 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 _CustomerContactXcpInvitation_policy, _CustomerContactXcpInvitation_createdAt;
13
+ var _CustomerContactXcpInvitation_policy;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.CustomerContactXcpInvitation = exports.CustomerContactXcpInvitationFields = void 0;
16
16
  const abstractEntity_1 = require("../../../../abstractEntity");
17
17
  var CustomerContactXcpInvitationFields;
18
18
  (function (CustomerContactXcpInvitationFields) {
19
19
  CustomerContactXcpInvitationFields["COLUMN_POLICY"] = "policy";
20
- CustomerContactXcpInvitationFields["COLUMN_CREATED_AT"] = "createdAt";
21
20
  })(CustomerContactXcpInvitationFields = exports.CustomerContactXcpInvitationFields || (exports.CustomerContactXcpInvitationFields = {}));
22
21
  class CustomerContactXcpInvitation extends abstractEntity_1.AbstractEntity {
23
22
  constructor(getCustomerContactXcpInvitationDataInput) {
24
23
  var _a;
25
24
  super(getCustomerContactXcpInvitationDataInput);
26
25
  _CustomerContactXcpInvitation_policy.set(this, void 0);
27
- _CustomerContactXcpInvitation_createdAt.set(this, void 0);
28
26
  __classPrivateFieldSet(this, _CustomerContactXcpInvitation_policy, (_a = getCustomerContactXcpInvitationDataInput[CustomerContactXcpInvitationFields.COLUMN_POLICY]) !== null && _a !== void 0 ? _a : undefined, "f");
29
- __classPrivateFieldSet(this, _CustomerContactXcpInvitation_createdAt, getCustomerContactXcpInvitationDataInput[CustomerContactXcpInvitationFields.COLUMN_CREATED_AT]
30
- ? new Date(getCustomerContactXcpInvitationDataInput[CustomerContactXcpInvitationFields.COLUMN_CREATED_AT])
31
- : undefined, "f");
32
27
  }
33
28
  get policy() {
34
29
  return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_policy, "f");
35
30
  }
36
- get createdAt() {
37
- return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_createdAt, "f");
38
- }
39
31
  toJSON() {
40
- var _a;
41
32
  return {
42
33
  [CustomerContactXcpInvitationFields.COLUMN_POLICY]: this.policy,
43
- [CustomerContactXcpInvitationFields.COLUMN_CREATED_AT]: (_a = this.createdAt) === null || _a === void 0 ? void 0 : _a.toISOString(),
44
34
  };
45
35
  }
46
36
  }
47
37
  exports.CustomerContactXcpInvitation = CustomerContactXcpInvitation;
48
- _CustomerContactXcpInvitation_policy = new WeakMap(), _CustomerContactXcpInvitation_createdAt = new WeakMap();
38
+ _CustomerContactXcpInvitation_policy = new WeakMap();
49
39
  //# sourceMappingURL=customerContactXcpInvitation.js.map
@@ -1,10 +1,18 @@
1
1
  import { AbstractEntity } from '../../../abstractEntity';
2
2
  export declare type AssetsData = {
3
+ eula: string;
4
+ featurePictureUrl?: string;
3
5
  mainLogoUrl?: string;
6
+ pictureUrl?: string;
4
7
  squareLogoUrl?: string;
5
8
  };
6
9
  export declare class AssetsFindResult extends AbstractEntity<AssetsData> {
7
10
  #private;
8
11
  constructor(data: AssetsData);
12
+ get eula(): string;
13
+ get featurePictureUrl(): string | undefined;
14
+ get mainLogoUrl(): string | undefined;
15
+ get pictureUrl(): string | undefined;
16
+ get squareLogoUrl(): string | undefined;
9
17
  toJSON(): AssetsData;
10
18
  }
@@ -10,25 +10,49 @@ 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 _AssetsFindResult_mainLogoUrl, _AssetsFindResult_squareLogoUrl;
13
+ var _AssetsFindResult_eula, _AssetsFindResult_featurePictureUrl, _AssetsFindResult_mainLogoUrl, _AssetsFindResult_pictureUrl, _AssetsFindResult_squareLogoUrl;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.AssetsFindResult = void 0;
16
16
  const abstractEntity_1 = require("../../../abstractEntity");
17
17
  class AssetsFindResult extends abstractEntity_1.AbstractEntity {
18
18
  constructor(data) {
19
19
  super(data);
20
+ _AssetsFindResult_eula.set(this, void 0);
21
+ _AssetsFindResult_featurePictureUrl.set(this, void 0);
20
22
  _AssetsFindResult_mainLogoUrl.set(this, void 0);
23
+ _AssetsFindResult_pictureUrl.set(this, void 0);
21
24
  _AssetsFindResult_squareLogoUrl.set(this, void 0);
25
+ __classPrivateFieldSet(this, _AssetsFindResult_eula, data.eula, "f");
26
+ __classPrivateFieldSet(this, _AssetsFindResult_featurePictureUrl, data.featurePictureUrl, "f");
22
27
  __classPrivateFieldSet(this, _AssetsFindResult_mainLogoUrl, data.mainLogoUrl, "f");
28
+ __classPrivateFieldSet(this, _AssetsFindResult_pictureUrl, data.featurePictureUrl, "f");
23
29
  __classPrivateFieldSet(this, _AssetsFindResult_squareLogoUrl, data.squareLogoUrl, "f");
24
30
  }
31
+ get eula() {
32
+ return __classPrivateFieldGet(this, _AssetsFindResult_eula, "f");
33
+ }
34
+ get featurePictureUrl() {
35
+ return __classPrivateFieldGet(this, _AssetsFindResult_featurePictureUrl, "f");
36
+ }
37
+ get mainLogoUrl() {
38
+ return __classPrivateFieldGet(this, _AssetsFindResult_mainLogoUrl, "f");
39
+ }
40
+ get pictureUrl() {
41
+ return __classPrivateFieldGet(this, _AssetsFindResult_pictureUrl, "f");
42
+ }
43
+ get squareLogoUrl() {
44
+ return __classPrivateFieldGet(this, _AssetsFindResult_squareLogoUrl, "f");
45
+ }
25
46
  toJSON() {
26
47
  return {
27
- mainLogoUrl: __classPrivateFieldGet(this, _AssetsFindResult_mainLogoUrl, "f"),
28
- squareLogoUrl: __classPrivateFieldGet(this, _AssetsFindResult_squareLogoUrl, "f"),
48
+ eula: this.eula,
49
+ featurePictureUrl: this.featurePictureUrl,
50
+ mainLogoUrl: this.mainLogoUrl,
51
+ pictureUrl: this.pictureUrl,
52
+ squareLogoUrl: this.squareLogoUrl,
29
53
  };
30
54
  }
31
55
  }
32
56
  exports.AssetsFindResult = AssetsFindResult;
33
- _AssetsFindResult_mainLogoUrl = new WeakMap(), _AssetsFindResult_squareLogoUrl = new WeakMap();
57
+ _AssetsFindResult_eula = new WeakMap(), _AssetsFindResult_featurePictureUrl = new WeakMap(), _AssetsFindResult_mainLogoUrl = new WeakMap(), _AssetsFindResult_pictureUrl = new WeakMap(), _AssetsFindResult_squareLogoUrl = new WeakMap();
34
58
  //# sourceMappingURL=assetsFindResult.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.154.0-rc-cpe-1",
7
+ "version": "3.154.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",