@arrowsphere/api-client 3.73.0 → 3.75.0-rc.bdj.1

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.74.0] - 2023-11-23
7
+
8
+ ### Changed
9
+ - [Customers Contact] Add xcp invitation data in customer contact call
10
+
6
11
  ## [3.73.0] - 2023-12-06
7
12
 
8
13
  ### Changed
@@ -77,13 +82,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
82
  ### Changed
78
83
  - Add the isLocked key in the RegisterCheckReturnData.
79
84
 
80
-
81
85
  ## [3.69.1] - 2023-11-23
82
86
 
83
87
  ### Fixed
84
88
  - Fixed the bad schema for ExtraDataType
85
89
 
86
-
87
90
  ## [3.69.0] - 2023-11-23
88
91
 
89
92
  ### Changed
@@ -96,7 +99,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
96
99
  - [Well Architected] Add Status type to Standard
97
100
  - [Well Architected] Pass a header with getVendorStatus for the register/check endpoint
98
101
 
99
-
100
102
  ## [3.67.0] - 2023-11-17
101
103
 
102
104
  ### Changed
@@ -1,4 +1,5 @@
1
1
  import { AbstractEntity } from '../../../../abstractEntity';
2
+ import { CustomerContactXcpInvitationType } from './customerContactXcpInvitation';
2
3
  export declare type CustomerContactRoleType = CustomerContactRoleEnum | string;
3
4
  export declare enum CustomerContactRoleEnum {
4
5
  PRIMARY = "primary",
@@ -23,7 +24,8 @@ export declare enum CustomerContactFields {
23
24
  COLUMN_USERNAME = "username",
24
25
  COLUMN_TYPE = "type",
25
26
  COLUMN_ROLE = "role",
26
- COLUMN_IS_ACTIVE = "isActive"
27
+ COLUMN_IS_ACTIVE = "isActive",
28
+ COLUMN_XCP_INVITATION = "xcpInvitation"
27
29
  }
28
30
  export declare type CustomerContactType = {
29
31
  [CustomerContactFields.COLUMN_REFERENCE]: string;
@@ -35,6 +37,7 @@ export declare type CustomerContactType = {
35
37
  [CustomerContactFields.COLUMN_TYPE]: string;
36
38
  [CustomerContactFields.COLUMN_ROLE]: string;
37
39
  [CustomerContactFields.COLUMN_IS_ACTIVE]: boolean;
40
+ [CustomerContactFields.COLUMN_XCP_INVITATION]?: CustomerContactXcpInvitationType;
38
41
  };
39
42
  export declare class CustomerContact extends AbstractEntity<CustomerContactType> {
40
43
  #private;
@@ -48,5 +51,6 @@ export declare class CustomerContact extends AbstractEntity<CustomerContactType>
48
51
  get type(): string;
49
52
  get role(): string;
50
53
  get isActive(): boolean;
54
+ get xcpInvitation(): CustomerContactXcpInvitationType | undefined;
51
55
  toJSON(): CustomerContactType;
52
56
  }
@@ -10,10 +10,11 @@ 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 _CustomerContact_reference, _CustomerContact_firstName, _CustomerContact_lastName, _CustomerContact_email, _CustomerContact_phone, _CustomerContact_username, _CustomerContact_type, _CustomerContact_role, _CustomerContact_isActive;
13
+ var _CustomerContact_reference, _CustomerContact_firstName, _CustomerContact_lastName, _CustomerContact_email, _CustomerContact_phone, _CustomerContact_username, _CustomerContact_type, _CustomerContact_role, _CustomerContact_isActive, _CustomerContact_xcpInvitation;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.CustomerContact = exports.CustomerContactFields = exports.CustomerContactTypeEnum = exports.CustomerContactRoleEnum = void 0;
16
16
  const abstractEntity_1 = require("../../../../abstractEntity");
17
+ const customerContactXcpInvitation_1 = require("./customerContactXcpInvitation");
17
18
  var CustomerContactRoleEnum;
18
19
  (function (CustomerContactRoleEnum) {
19
20
  CustomerContactRoleEnum["PRIMARY"] = "primary";
@@ -40,6 +41,7 @@ var CustomerContactFields;
40
41
  CustomerContactFields["COLUMN_TYPE"] = "type";
41
42
  CustomerContactFields["COLUMN_ROLE"] = "role";
42
43
  CustomerContactFields["COLUMN_IS_ACTIVE"] = "isActive";
44
+ CustomerContactFields["COLUMN_XCP_INVITATION"] = "xcpInvitation";
43
45
  })(CustomerContactFields = exports.CustomerContactFields || (exports.CustomerContactFields = {}));
44
46
  class CustomerContact extends abstractEntity_1.AbstractEntity {
45
47
  constructor(getCustomerContactDataInput) {
@@ -53,6 +55,7 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
53
55
  _CustomerContact_type.set(this, void 0);
54
56
  _CustomerContact_role.set(this, void 0);
55
57
  _CustomerContact_isActive.set(this, void 0);
58
+ _CustomerContact_xcpInvitation.set(this, void 0);
56
59
  __classPrivateFieldSet(this, _CustomerContact_reference, getCustomerContactDataInput[CustomerContactFields.COLUMN_REFERENCE], "f");
57
60
  __classPrivateFieldSet(this, _CustomerContact_firstName, getCustomerContactDataInput[CustomerContactFields.COLUMN_FIRST_NAME], "f");
58
61
  __classPrivateFieldSet(this, _CustomerContact_lastName, getCustomerContactDataInput[CustomerContactFields.COLUMN_LAST_NAME], "f");
@@ -62,6 +65,9 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
62
65
  __classPrivateFieldSet(this, _CustomerContact_type, getCustomerContactDataInput[CustomerContactFields.COLUMN_TYPE], "f");
63
66
  __classPrivateFieldSet(this, _CustomerContact_role, getCustomerContactDataInput[CustomerContactFields.COLUMN_ROLE], "f");
64
67
  __classPrivateFieldSet(this, _CustomerContact_isActive, getCustomerContactDataInput[CustomerContactFields.COLUMN_IS_ACTIVE], "f");
68
+ __classPrivateFieldSet(this, _CustomerContact_xcpInvitation, getCustomerContactDataInput[CustomerContactFields.COLUMN_XCP_INVITATION]
69
+ ? new customerContactXcpInvitation_1.CustomerContactXcpInvitation(getCustomerContactDataInput[CustomerContactFields.COLUMN_XCP_INVITATION])
70
+ : undefined, "f");
65
71
  }
66
72
  get reference() {
67
73
  return __classPrivateFieldGet(this, _CustomerContact_reference, "f");
@@ -90,6 +96,9 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
90
96
  get isActive() {
91
97
  return __classPrivateFieldGet(this, _CustomerContact_isActive, "f");
92
98
  }
99
+ get xcpInvitation() {
100
+ return __classPrivateFieldGet(this, _CustomerContact_xcpInvitation, "f");
101
+ }
93
102
  toJSON() {
94
103
  return {
95
104
  [CustomerContactFields.COLUMN_REFERENCE]: this.reference,
@@ -101,9 +110,10 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
101
110
  [CustomerContactFields.COLUMN_TYPE]: this.type,
102
111
  [CustomerContactFields.COLUMN_ROLE]: this.role,
103
112
  [CustomerContactFields.COLUMN_IS_ACTIVE]: this.isActive,
113
+ [CustomerContactFields.COLUMN_XCP_INVITATION]: this.xcpInvitation,
104
114
  };
105
115
  }
106
116
  }
107
117
  exports.CustomerContact = CustomerContact;
108
- _CustomerContact_reference = new WeakMap(), _CustomerContact_firstName = new WeakMap(), _CustomerContact_lastName = new WeakMap(), _CustomerContact_email = new WeakMap(), _CustomerContact_phone = new WeakMap(), _CustomerContact_username = new WeakMap(), _CustomerContact_type = new WeakMap(), _CustomerContact_role = new WeakMap(), _CustomerContact_isActive = new WeakMap();
118
+ _CustomerContact_reference = new WeakMap(), _CustomerContact_firstName = new WeakMap(), _CustomerContact_lastName = new WeakMap(), _CustomerContact_email = new WeakMap(), _CustomerContact_phone = new WeakMap(), _CustomerContact_username = new WeakMap(), _CustomerContact_type = new WeakMap(), _CustomerContact_role = new WeakMap(), _CustomerContact_isActive = new WeakMap(), _CustomerContact_xcpInvitation = new WeakMap();
109
119
  //# sourceMappingURL=customerContact.js.map
@@ -0,0 +1,13 @@
1
+ import { AbstractEntity } from '../../../../abstractEntity';
2
+ export declare enum CustomerContactXcpInvitationFields {
3
+ COLUMN_POLICY = "policy"
4
+ }
5
+ export declare type CustomerContactXcpInvitationType = {
6
+ [CustomerContactXcpInvitationFields.COLUMN_POLICY]?: string;
7
+ };
8
+ export declare class CustomerContactXcpInvitation extends AbstractEntity<CustomerContactXcpInvitationType> {
9
+ #private;
10
+ constructor(getCustomerContactXcpInvitationDataInput: CustomerContactXcpInvitationType);
11
+ get policy(): string | undefined;
12
+ toJSON(): CustomerContactXcpInvitationType;
13
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _CustomerContactXcpInvitation_policy;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CustomerContactXcpInvitation = exports.CustomerContactXcpInvitationFields = void 0;
16
+ const abstractEntity_1 = require("../../../../abstractEntity");
17
+ var CustomerContactXcpInvitationFields;
18
+ (function (CustomerContactXcpInvitationFields) {
19
+ CustomerContactXcpInvitationFields["COLUMN_POLICY"] = "policy";
20
+ })(CustomerContactXcpInvitationFields = exports.CustomerContactXcpInvitationFields || (exports.CustomerContactXcpInvitationFields = {}));
21
+ class CustomerContactXcpInvitation extends abstractEntity_1.AbstractEntity {
22
+ constructor(getCustomerContactXcpInvitationDataInput) {
23
+ var _a;
24
+ super(getCustomerContactXcpInvitationDataInput);
25
+ _CustomerContactXcpInvitation_policy.set(this, void 0);
26
+ __classPrivateFieldSet(this, _CustomerContactXcpInvitation_policy, (_a = getCustomerContactXcpInvitationDataInput[CustomerContactXcpInvitationFields.COLUMN_POLICY]) !== null && _a !== void 0 ? _a : undefined, "f");
27
+ }
28
+ get policy() {
29
+ return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_policy, "f");
30
+ }
31
+ toJSON() {
32
+ return {
33
+ [CustomerContactXcpInvitationFields.COLUMN_POLICY]: this.policy,
34
+ };
35
+ }
36
+ }
37
+ exports.CustomerContactXcpInvitation = CustomerContactXcpInvitation;
38
+ _CustomerContactXcpInvitation_policy = new WeakMap();
39
+ //# sourceMappingURL=customerContactXcpInvitation.js.map
@@ -0,0 +1,34 @@
1
+ import { AbstractEntity } from '../../../abstractEntity';
2
+ export declare enum ConversionSkuResultFields {
3
+ COLUMN_BILLING_CYCLE = "billingCycle",
4
+ COLUMN_LICENSE_REFERENCE = "licenseReference",
5
+ COLUMN_NAME = "name",
6
+ COLUMN_SEATS = "seats",
7
+ COLUMN_SKU = "sku",
8
+ COLUMN_TERM = "term"
9
+ }
10
+ export declare type ConversionSkuExistingResultData = {
11
+ [ConversionSkuResultFields.COLUMN_BILLING_CYCLE]: number;
12
+ [ConversionSkuResultFields.COLUMN_LICENSE_REFERENCE]?: string;
13
+ [ConversionSkuResultFields.COLUMN_NAME]: string;
14
+ [ConversionSkuResultFields.COLUMN_SEATS]?: number;
15
+ [ConversionSkuResultFields.COLUMN_SKU]: string;
16
+ [ConversionSkuResultFields.COLUMN_TERM]: number;
17
+ };
18
+ export declare type ConversionSkuResultData = {
19
+ [ConversionSkuResultFields.COLUMN_BILLING_CYCLE]: number;
20
+ [ConversionSkuResultFields.COLUMN_NAME]: string;
21
+ [ConversionSkuResultFields.COLUMN_SKU]: string;
22
+ [ConversionSkuResultFields.COLUMN_TERM]: number;
23
+ };
24
+ export declare class ConversionSkuResult extends AbstractEntity<ConversionSkuExistingResultData> {
25
+ #private;
26
+ constructor(data: ConversionSkuExistingResultData);
27
+ get billingCycle(): number;
28
+ get licenseReference(): string | undefined;
29
+ get name(): string;
30
+ get seats(): number | undefined;
31
+ get sku(): string;
32
+ get term(): number;
33
+ toJSON(): ConversionSkuExistingResultData | ConversionSkuResultData;
34
+ }
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _ConversionSkuResult_billingCycle, _ConversionSkuResult_licenseReference, _ConversionSkuResult_name, _ConversionSkuResult_seats, _ConversionSkuResult_sku, _ConversionSkuResult_term;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ConversionSkuResult = exports.ConversionSkuResultFields = void 0;
16
+ const abstractEntity_1 = require("../../../abstractEntity");
17
+ var ConversionSkuResultFields;
18
+ (function (ConversionSkuResultFields) {
19
+ ConversionSkuResultFields["COLUMN_BILLING_CYCLE"] = "billingCycle";
20
+ ConversionSkuResultFields["COLUMN_LICENSE_REFERENCE"] = "licenseReference";
21
+ ConversionSkuResultFields["COLUMN_NAME"] = "name";
22
+ ConversionSkuResultFields["COLUMN_SEATS"] = "seats";
23
+ ConversionSkuResultFields["COLUMN_SKU"] = "sku";
24
+ ConversionSkuResultFields["COLUMN_TERM"] = "term";
25
+ })(ConversionSkuResultFields = exports.ConversionSkuResultFields || (exports.ConversionSkuResultFields = {}));
26
+ class ConversionSkuResult extends abstractEntity_1.AbstractEntity {
27
+ constructor(data) {
28
+ var _a, _b;
29
+ super(data);
30
+ _ConversionSkuResult_billingCycle.set(this, void 0);
31
+ _ConversionSkuResult_licenseReference.set(this, void 0);
32
+ _ConversionSkuResult_name.set(this, void 0);
33
+ _ConversionSkuResult_seats.set(this, void 0);
34
+ _ConversionSkuResult_sku.set(this, void 0);
35
+ _ConversionSkuResult_term.set(this, void 0);
36
+ __classPrivateFieldSet(this, _ConversionSkuResult_billingCycle, data[ConversionSkuResultFields.COLUMN_BILLING_CYCLE], "f");
37
+ __classPrivateFieldSet(this, _ConversionSkuResult_licenseReference, (_a = data[ConversionSkuResultFields.COLUMN_LICENSE_REFERENCE]) !== null && _a !== void 0 ? _a : undefined, "f");
38
+ __classPrivateFieldSet(this, _ConversionSkuResult_name, data[ConversionSkuResultFields.COLUMN_NAME], "f");
39
+ __classPrivateFieldSet(this, _ConversionSkuResult_seats, (_b = data[ConversionSkuResultFields.COLUMN_SEATS]) !== null && _b !== void 0 ? _b : undefined, "f");
40
+ __classPrivateFieldSet(this, _ConversionSkuResult_sku, data[ConversionSkuResultFields.COLUMN_SKU], "f");
41
+ __classPrivateFieldSet(this, _ConversionSkuResult_term, data[ConversionSkuResultFields.COLUMN_TERM], "f");
42
+ }
43
+ get billingCycle() {
44
+ return __classPrivateFieldGet(this, _ConversionSkuResult_billingCycle, "f");
45
+ }
46
+ get licenseReference() {
47
+ return __classPrivateFieldGet(this, _ConversionSkuResult_licenseReference, "f");
48
+ }
49
+ get name() {
50
+ return __classPrivateFieldGet(this, _ConversionSkuResult_name, "f");
51
+ }
52
+ get seats() {
53
+ return __classPrivateFieldGet(this, _ConversionSkuResult_seats, "f");
54
+ }
55
+ get sku() {
56
+ return __classPrivateFieldGet(this, _ConversionSkuResult_sku, "f");
57
+ }
58
+ get term() {
59
+ return __classPrivateFieldGet(this, _ConversionSkuResult_term, "f");
60
+ }
61
+ toJSON() {
62
+ if (!this.licenseReference && !this.seats) {
63
+ return {
64
+ [ConversionSkuResultFields.COLUMN_BILLING_CYCLE]: this.billingCycle,
65
+ [ConversionSkuResultFields.COLUMN_NAME]: this.name,
66
+ [ConversionSkuResultFields.COLUMN_SKU]: this.sku,
67
+ [ConversionSkuResultFields.COLUMN_TERM]: this.term,
68
+ };
69
+ }
70
+ return {
71
+ [ConversionSkuResultFields.COLUMN_BILLING_CYCLE]: this.billingCycle,
72
+ [ConversionSkuResultFields.COLUMN_LICENSE_REFERENCE]: this
73
+ .licenseReference,
74
+ [ConversionSkuResultFields.COLUMN_NAME]: this.name,
75
+ [ConversionSkuResultFields.COLUMN_SEATS]: this.seats,
76
+ [ConversionSkuResultFields.COLUMN_SKU]: this.sku,
77
+ [ConversionSkuResultFields.COLUMN_TERM]: this.term,
78
+ };
79
+ }
80
+ }
81
+ exports.ConversionSkuResult = ConversionSkuResult;
82
+ _ConversionSkuResult_billingCycle = new WeakMap(), _ConversionSkuResult_licenseReference = new WeakMap(), _ConversionSkuResult_name = new WeakMap(), _ConversionSkuResult_seats = new WeakMap(), _ConversionSkuResult_sku = new WeakMap(), _ConversionSkuResult_term = new WeakMap();
83
+ //# sourceMappingURL=conversionSkuResult.js.map
@@ -0,0 +1,14 @@
1
+ import { AbstractEntity } from '../../../abstractEntity';
2
+ import { ConversionSkuExistingResultData, ConversionSkuResult, ConversionSkuResultData } from './conversionSkuResult';
3
+ export declare enum LicenseConversionSkuFields {
4
+ COLUMN_OFFERS = "offers"
5
+ }
6
+ export declare type LicenseConversionSkuResultData = {
7
+ [LicenseConversionSkuFields.COLUMN_OFFERS]: ConversionSkuExistingResultData[] | ConversionSkuResultData[];
8
+ };
9
+ export declare class LicenseConversionSkuResult extends AbstractEntity<LicenseConversionSkuResultData> {
10
+ #private;
11
+ constructor(data: LicenseConversionSkuResultData);
12
+ get offers(): ConversionSkuResult[];
13
+ toJSON(): LicenseConversionSkuResultData;
14
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _LicenseConversionSkuResult_offers;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.LicenseConversionSkuResult = exports.LicenseConversionSkuFields = void 0;
16
+ const abstractEntity_1 = require("../../../abstractEntity");
17
+ const conversionSkuResult_1 = require("./conversionSkuResult");
18
+ var LicenseConversionSkuFields;
19
+ (function (LicenseConversionSkuFields) {
20
+ LicenseConversionSkuFields["COLUMN_OFFERS"] = "offers";
21
+ })(LicenseConversionSkuFields = exports.LicenseConversionSkuFields || (exports.LicenseConversionSkuFields = {}));
22
+ class LicenseConversionSkuResult extends abstractEntity_1.AbstractEntity {
23
+ constructor(data) {
24
+ super(data);
25
+ _LicenseConversionSkuResult_offers.set(this, void 0);
26
+ __classPrivateFieldSet(this, _LicenseConversionSkuResult_offers, data[LicenseConversionSkuFields.COLUMN_OFFERS].map((result) => new conversionSkuResult_1.ConversionSkuResult(result)), "f");
27
+ }
28
+ get offers() {
29
+ return __classPrivateFieldGet(this, _LicenseConversionSkuResult_offers, "f");
30
+ }
31
+ toJSON() {
32
+ return {
33
+ [LicenseConversionSkuFields.COLUMN_OFFERS]: this.offers.map((result) => result.toJSON()),
34
+ };
35
+ }
36
+ }
37
+ exports.LicenseConversionSkuResult = LicenseConversionSkuResult;
38
+ _LicenseConversionSkuResult_offers = new WeakMap();
39
+ //# sourceMappingURL=licenseConversionSkuResult.js.map
@@ -16,6 +16,8 @@ export * from './entities/history/actionHistoryResult';
16
16
  export * from './entities/history/licenceHistoryResult';
17
17
  export * from './entities/license/activeSeatsFindResult';
18
18
  export * from './entities/license/configFindResult';
19
+ export * from './entities/license/conversionSkuResult';
20
+ export * from './entities/license/licenseConversionSkuResult';
19
21
  export * from './entities/license/licenseFindResult';
20
22
  export * from './entities/request/licenseRequest';
21
23
  export * from './entities/license/priceFindResult';
@@ -32,6 +32,8 @@ __exportStar(require("./entities/history/actionHistoryResult"), exports);
32
32
  __exportStar(require("./entities/history/licenceHistoryResult"), exports);
33
33
  __exportStar(require("./entities/license/activeSeatsFindResult"), exports);
34
34
  __exportStar(require("./entities/license/configFindResult"), exports);
35
+ __exportStar(require("./entities/license/conversionSkuResult"), exports);
36
+ __exportStar(require("./entities/license/licenseConversionSkuResult"), exports);
35
37
  __exportStar(require("./entities/license/licenseFindResult"), exports);
36
38
  __exportStar(require("./entities/request/licenseRequest"), exports);
37
39
  __exportStar(require("./entities/license/priceFindResult"), exports);
@@ -17,6 +17,7 @@ import { LicenseGetFields } from './entities/getLicense/licenseGetResult';
17
17
  import { GetLicenseResult } from './entities/getResult/getLicenseResult';
18
18
  import { LicenceHistoryResult } from './entities/history/licenceHistoryResult';
19
19
  import { UpgradeResult } from './entities/license/upgradeResult';
20
+ import { LicenseConversionSkuResult } from './entities/license/licenseConversionSkuResult';
20
21
  /**
21
22
  * Parameters passable to the request for refining search.
22
23
  */
@@ -266,6 +267,14 @@ export declare class LicensesClient extends AbstractRestfulClient {
266
267
  * The path to save the license order eavs
267
268
  */
268
269
  private SAVE_ORDER_EAVS_PATH;
270
+ /**
271
+ * The path of license all available skus
272
+ */
273
+ private GET_LICENSE_CONVERSION_SKU;
274
+ /**
275
+ * The path of license all existing skus
276
+ */
277
+ private GET_LICENSE_CONVERSION_SKU_EXISTING;
269
278
  /**
270
279
  * Returns the raw result from the find endpoint call
271
280
  *
@@ -302,6 +311,8 @@ export declare class LicensesClient extends AbstractRestfulClient {
302
311
  reactivateAutoRenew(licenseReference: string, payload?: PutReactivateAutoRenew, parameters?: Parameters): Promise<void>;
303
312
  upgrade(licenseReference: string, payload: PostUpgrade, parameters?: Parameters): Promise<GetResult<UpgradeResult>>;
304
313
  saveOrderEavs(licenseReference: string, saveOrderEavsData: SaveOrderEavsInputType, parameters?: Parameters): Promise<void>;
314
+ getConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
315
+ getConversionSkuExisting(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
305
316
  private createFilters;
306
317
  private createKeywords;
307
318
  }
@@ -12,6 +12,7 @@ const licenseGetResult_1 = require("./entities/getLicense/licenseGetResult");
12
12
  const getLicenseResult_1 = require("./entities/getResult/getLicenseResult");
13
13
  const licenceHistoryResult_1 = require("./entities/history/licenceHistoryResult");
14
14
  const upgradeResult_1 = require("./entities/license/upgradeResult");
15
+ const licenseConversionSkuResult_1 = require("./entities/license/licenseConversionSkuResult");
15
16
  /**
16
17
  * Parameters passable to the request for refining search.
17
18
  */
@@ -172,6 +173,14 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
172
173
  * The path to save the license order eavs
173
174
  */
174
175
  this.SAVE_ORDER_EAVS_PATH = '/saveOrderEavs';
176
+ /**
177
+ * The path of license all available skus
178
+ */
179
+ this.GET_LICENSE_CONVERSION_SKU = '/conversion/sku';
180
+ /**
181
+ * The path of license all existing skus
182
+ */
183
+ this.GET_LICENSE_CONVERSION_SKU_EXISTING = '/conversion/existing';
175
184
  }
176
185
  /**
177
186
  * Returns the raw result from the find endpoint call
@@ -301,6 +310,14 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
301
310
  this.path = `/${licenseReference}${this.SAVE_ORDER_EAVS_PATH}`;
302
311
  await this.post(saveOrderEavsData, parameters);
303
312
  }
313
+ async getConversionSku(licenseReference, parameters = {}) {
314
+ this.path = `/${licenseReference}${this.GET_LICENSE_CONVERSION_SKU}`;
315
+ return new getResult_1.GetResult(licenseConversionSkuResult_1.LicenseConversionSkuResult, await this.get(parameters));
316
+ }
317
+ async getConversionSkuExisting(licenseReference, parameters = {}) {
318
+ this.path = `/${licenseReference}${this.GET_LICENSE_CONVERSION_SKU_EXISTING}`;
319
+ return new getResult_1.GetResult(licenseConversionSkuResult_1.LicenseConversionSkuResult, await this.get(parameters));
320
+ }
304
321
  createFilters(parameters, keyParent) {
305
322
  let appropriateParameters;
306
323
  if (typeof parameters === 'object') {
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.73.0",
7
+ "version": "3.75.0-rc.bdj.1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",