@arrowsphere/api-client 3.193.0 → 3.194.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 +5 -0
- package/build/customers/customersClient.d.ts +2 -0
- package/build/customers/customersClient.js +5 -0
- package/build/customers/entities/dataUnknownLicenses.d.ts +14 -0
- package/build/customers/entities/dataUnknownLicenses.js +39 -0
- package/build/customers/entities/unknownLicenses/relation.d.ts +19 -0
- package/build/customers/entities/unknownLicenses/relation.js +53 -0
- package/build/customers/entities/unknownLicenses/unknownLicense.d.ts +56 -0
- package/build/customers/entities/unknownLicenses/unknownLicense.js +142 -0
- package/build/customers/index.d.ts +3 -0
- package/build/customers/index.js +3 -0
- package/package.json +1 -1
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.194.0] - 2025.05.12
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- [customers] Add unknown licenses endpoint for reconciliation
|
|
10
|
+
|
|
6
11
|
## [3.193.0] - 2025.05.09
|
|
7
12
|
|
|
8
13
|
### Added
|
|
@@ -2,6 +2,7 @@ import { AbstractRestfulClient, Parameters } from '../abstractRestfulClient';
|
|
|
2
2
|
import { GetResult } from '../getResult';
|
|
3
3
|
import { DataCustomers } from './entities/dataCustomers';
|
|
4
4
|
import { DataInvitation } from './entities/dataInvitation';
|
|
5
|
+
import { DataUnknownLicenses } from './entities/dataUnknownLicenses';
|
|
5
6
|
import { DataListOrders } from '../orders';
|
|
6
7
|
import { CustomerContactList } from './entities/customers/customerContact/customerContactList';
|
|
7
8
|
import { CustomerContact, CustomerContactRoleType, CustomerContactTypeType } from './entities/customers/customerContact/customerContact';
|
|
@@ -135,4 +136,5 @@ export declare class CustomersClient extends AbstractRestfulClient {
|
|
|
135
136
|
cancelCustomerMigration(customerReference: string, program: string): Promise<void | APIResponseError>;
|
|
136
137
|
postCustomerProvision(customerReference: string, payload: PostCustomerMigrationPayload): Promise<void>;
|
|
137
138
|
getCustomerProvision(customerReference: string, program: string): Promise<GetResult<CustomerProvision>>;
|
|
139
|
+
getUnknownLicenses(customerReference: string, parameters?: Parameters): Promise<GetResult<DataUnknownLicenses>>;
|
|
138
140
|
}
|
|
@@ -5,6 +5,7 @@ const abstractRestfulClient_1 = require("../abstractRestfulClient");
|
|
|
5
5
|
const getResult_1 = require("../getResult");
|
|
6
6
|
const dataCustomers_1 = require("./entities/dataCustomers");
|
|
7
7
|
const dataInvitation_1 = require("./entities/dataInvitation");
|
|
8
|
+
const dataUnknownLicenses_1 = require("./entities/dataUnknownLicenses");
|
|
8
9
|
const orders_1 = require("../orders");
|
|
9
10
|
const customerContactList_1 = require("./entities/customers/customerContact/customerContactList");
|
|
10
11
|
const customerContact_1 = require("./entities/customers/customerContact/customerContact");
|
|
@@ -123,6 +124,10 @@ class CustomersClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
123
124
|
this.path = `/${customerReference}/provision`;
|
|
124
125
|
return new getResult_1.GetResult(customerProvision_1.CustomerProvision, await this.get({ program }));
|
|
125
126
|
}
|
|
127
|
+
async getUnknownLicenses(customerReference, parameters = {}) {
|
|
128
|
+
this.path = `/${customerReference}/unknownlicenses`;
|
|
129
|
+
return new getResult_1.GetResult(dataUnknownLicenses_1.DataUnknownLicenses, await this.get(parameters));
|
|
130
|
+
}
|
|
126
131
|
}
|
|
127
132
|
exports.CustomersClient = CustomersClient;
|
|
128
133
|
//# sourceMappingURL=customersClient.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../abstractEntity';
|
|
2
|
+
import { UnknownLicense, UnknownLicenseType } from './unknownLicenses/unknownLicense';
|
|
3
|
+
export declare enum DataUnknownLicensesFields {
|
|
4
|
+
COLUMN_UNKNOWN_LICENSES = "unknownLicenses"
|
|
5
|
+
}
|
|
6
|
+
export declare type DataUnknownLicenseType = {
|
|
7
|
+
[DataUnknownLicensesFields.COLUMN_UNKNOWN_LICENSES]: UnknownLicenseType[];
|
|
8
|
+
};
|
|
9
|
+
export declare class DataUnknownLicenses extends AbstractEntity<DataUnknownLicenseType> {
|
|
10
|
+
#private;
|
|
11
|
+
constructor(dataUnknownLicenseDataInput: DataUnknownLicenseType);
|
|
12
|
+
get unknownLicenses(): UnknownLicense[];
|
|
13
|
+
toJSON(): DataUnknownLicenseType;
|
|
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 _DataUnknownLicenses_unknownLicenses;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.DataUnknownLicenses = exports.DataUnknownLicensesFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../abstractEntity");
|
|
17
|
+
const unknownLicense_1 = require("./unknownLicenses/unknownLicense");
|
|
18
|
+
var DataUnknownLicensesFields;
|
|
19
|
+
(function (DataUnknownLicensesFields) {
|
|
20
|
+
DataUnknownLicensesFields["COLUMN_UNKNOWN_LICENSES"] = "unknownLicenses";
|
|
21
|
+
})(DataUnknownLicensesFields = exports.DataUnknownLicensesFields || (exports.DataUnknownLicensesFields = {}));
|
|
22
|
+
class DataUnknownLicenses extends abstractEntity_1.AbstractEntity {
|
|
23
|
+
constructor(dataUnknownLicenseDataInput) {
|
|
24
|
+
super(dataUnknownLicenseDataInput);
|
|
25
|
+
_DataUnknownLicenses_unknownLicenses.set(this, void 0);
|
|
26
|
+
__classPrivateFieldSet(this, _DataUnknownLicenses_unknownLicenses, dataUnknownLicenseDataInput[DataUnknownLicensesFields.COLUMN_UNKNOWN_LICENSES].map((result) => new unknownLicense_1.UnknownLicense(result)), "f");
|
|
27
|
+
}
|
|
28
|
+
get unknownLicenses() {
|
|
29
|
+
return __classPrivateFieldGet(this, _DataUnknownLicenses_unknownLicenses, "f");
|
|
30
|
+
}
|
|
31
|
+
toJSON() {
|
|
32
|
+
return {
|
|
33
|
+
[DataUnknownLicensesFields.COLUMN_UNKNOWN_LICENSES]: this.unknownLicenses.map((result) => result.toJSON()),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.DataUnknownLicenses = DataUnknownLicenses;
|
|
38
|
+
_DataUnknownLicenses_unknownLicenses = new WeakMap();
|
|
39
|
+
//# sourceMappingURL=dataUnknownLicenses.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
|
+
export declare enum RelationFields {
|
|
3
|
+
COLUMN_TYPE = "type",
|
|
4
|
+
COLUMN_PARTNER_REF = "partnerRef",
|
|
5
|
+
COLUMN_SCOPE = "scope"
|
|
6
|
+
}
|
|
7
|
+
export declare type RelationType = {
|
|
8
|
+
[RelationFields.COLUMN_TYPE]: string;
|
|
9
|
+
[RelationFields.COLUMN_PARTNER_REF]?: string;
|
|
10
|
+
[RelationFields.COLUMN_SCOPE]: string;
|
|
11
|
+
};
|
|
12
|
+
export declare class Relation extends AbstractEntity<RelationType> {
|
|
13
|
+
#private;
|
|
14
|
+
constructor(relationDataInput: RelationType);
|
|
15
|
+
get type(): string;
|
|
16
|
+
get partnerRef(): string | undefined;
|
|
17
|
+
get scope(): string;
|
|
18
|
+
toJSON(): RelationType;
|
|
19
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 _Relation_type, _Relation_partnerRef, _Relation_scope;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.Relation = exports.RelationFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
17
|
+
var RelationFields;
|
|
18
|
+
(function (RelationFields) {
|
|
19
|
+
RelationFields["COLUMN_TYPE"] = "type";
|
|
20
|
+
RelationFields["COLUMN_PARTNER_REF"] = "partnerRef";
|
|
21
|
+
RelationFields["COLUMN_SCOPE"] = "scope";
|
|
22
|
+
})(RelationFields = exports.RelationFields || (exports.RelationFields = {}));
|
|
23
|
+
class Relation extends abstractEntity_1.AbstractEntity {
|
|
24
|
+
constructor(relationDataInput) {
|
|
25
|
+
var _a;
|
|
26
|
+
super(relationDataInput);
|
|
27
|
+
_Relation_type.set(this, void 0);
|
|
28
|
+
_Relation_partnerRef.set(this, void 0);
|
|
29
|
+
_Relation_scope.set(this, void 0);
|
|
30
|
+
__classPrivateFieldSet(this, _Relation_type, relationDataInput[RelationFields.COLUMN_TYPE], "f");
|
|
31
|
+
__classPrivateFieldSet(this, _Relation_partnerRef, (_a = relationDataInput[RelationFields.COLUMN_PARTNER_REF]) !== null && _a !== void 0 ? _a : undefined, "f");
|
|
32
|
+
__classPrivateFieldSet(this, _Relation_scope, relationDataInput[RelationFields.COLUMN_SCOPE], "f");
|
|
33
|
+
}
|
|
34
|
+
get type() {
|
|
35
|
+
return __classPrivateFieldGet(this, _Relation_type, "f");
|
|
36
|
+
}
|
|
37
|
+
get partnerRef() {
|
|
38
|
+
return __classPrivateFieldGet(this, _Relation_partnerRef, "f");
|
|
39
|
+
}
|
|
40
|
+
get scope() {
|
|
41
|
+
return __classPrivateFieldGet(this, _Relation_scope, "f");
|
|
42
|
+
}
|
|
43
|
+
toJSON() {
|
|
44
|
+
return {
|
|
45
|
+
[RelationFields.COLUMN_TYPE]: this.type,
|
|
46
|
+
[RelationFields.COLUMN_PARTNER_REF]: this.partnerRef,
|
|
47
|
+
[RelationFields.COLUMN_SCOPE]: this.scope,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.Relation = Relation;
|
|
52
|
+
_Relation_type = new WeakMap(), _Relation_partnerRef = new WeakMap(), _Relation_scope = new WeakMap();
|
|
53
|
+
//# sourceMappingURL=relation.js.map
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
|
+
import { Relation, RelationType } from './relation';
|
|
3
|
+
export declare enum UnknownLicenseFields {
|
|
4
|
+
COLUMN_VENDOR_REFERENCE_ID = "vendorReferenceId",
|
|
5
|
+
COLUMN_OFFER_NAME = "offerName",
|
|
6
|
+
COLUMN_OFFER_SKU = "offerSku",
|
|
7
|
+
COLUMN_PRICEBAND_ARROWSPHERE_SKU = "pricebandArrowsphereSku",
|
|
8
|
+
COLUMN_QUANTITY = "quantity",
|
|
9
|
+
COLUMN_SUBSCRIPTION_START_DATE = "subscriptionStartDate",
|
|
10
|
+
COLUMN_FRIENDLY_NAME = "friendlyName",
|
|
11
|
+
COLUMN_IS_RECONCILABLE = "isReconcilable",
|
|
12
|
+
COLUMN_RECONCILABLE_MESSAGE = "reconcilableMessage",
|
|
13
|
+
COLUMN_IS_ADDON = "isAddon",
|
|
14
|
+
COLUMN_PARENT_SUBSCRIPTION_VENDOR_REFERENCE_ID = "parentSubscriptionVendorReferenceId",
|
|
15
|
+
COLUMN_PARENT_PARTNER_REF = "parentPartnerRef",
|
|
16
|
+
COLUMN_STATUS = "status",
|
|
17
|
+
COLUMN_GROUP = "group",
|
|
18
|
+
COLUMN_RELATIONS = "relations"
|
|
19
|
+
}
|
|
20
|
+
export declare type UnknownLicenseType = {
|
|
21
|
+
[UnknownLicenseFields.COLUMN_VENDOR_REFERENCE_ID]: string;
|
|
22
|
+
[UnknownLicenseFields.COLUMN_OFFER_NAME]: string | null;
|
|
23
|
+
[UnknownLicenseFields.COLUMN_OFFER_SKU]: string | null;
|
|
24
|
+
[UnknownLicenseFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU]: string | null;
|
|
25
|
+
[UnknownLicenseFields.COLUMN_QUANTITY]: number | null;
|
|
26
|
+
[UnknownLicenseFields.COLUMN_SUBSCRIPTION_START_DATE]: string | null;
|
|
27
|
+
[UnknownLicenseFields.COLUMN_FRIENDLY_NAME]: string;
|
|
28
|
+
[UnknownLicenseFields.COLUMN_IS_RECONCILABLE]: boolean;
|
|
29
|
+
[UnknownLicenseFields.COLUMN_RECONCILABLE_MESSAGE]: string;
|
|
30
|
+
[UnknownLicenseFields.COLUMN_IS_ADDON]: boolean;
|
|
31
|
+
[UnknownLicenseFields.COLUMN_PARENT_SUBSCRIPTION_VENDOR_REFERENCE_ID]: string | undefined;
|
|
32
|
+
[UnknownLicenseFields.COLUMN_PARENT_PARTNER_REF]: string | undefined;
|
|
33
|
+
[UnknownLicenseFields.COLUMN_STATUS]: string | null;
|
|
34
|
+
[UnknownLicenseFields.COLUMN_GROUP]: string | null;
|
|
35
|
+
[UnknownLicenseFields.COLUMN_RELATIONS]: RelationType[];
|
|
36
|
+
};
|
|
37
|
+
export declare class UnknownLicense extends AbstractEntity<UnknownLicenseType> {
|
|
38
|
+
#private;
|
|
39
|
+
constructor(UnknownLicenseDataInput: UnknownLicenseType);
|
|
40
|
+
get vendorReferenceId(): string;
|
|
41
|
+
get offerName(): string | null;
|
|
42
|
+
get offerSku(): string | null;
|
|
43
|
+
get pricebandArrowsphereSku(): string | null;
|
|
44
|
+
get quantity(): number | null;
|
|
45
|
+
get subscriptionStartDate(): string | null;
|
|
46
|
+
get friendlyName(): string;
|
|
47
|
+
get isReconcilable(): boolean;
|
|
48
|
+
get reconcilableMessage(): string;
|
|
49
|
+
get isAddon(): boolean;
|
|
50
|
+
get parentSubscriptionVendorReferenceId(): string | undefined;
|
|
51
|
+
get parentPartnerRef(): string | undefined;
|
|
52
|
+
get status(): string | null;
|
|
53
|
+
get group(): string | null;
|
|
54
|
+
get relations(): Relation[];
|
|
55
|
+
toJSON(): UnknownLicenseType;
|
|
56
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
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 _UnknownLicense_vendorReferenceId, _UnknownLicense_offerName, _UnknownLicense_offerSku, _UnknownLicense_pricebandArrowsphereSku, _UnknownLicense_quantity, _UnknownLicense_subscriptionStartDate, _UnknownLicense_friendlyName, _UnknownLicense_isReconcilable, _UnknownLicense_reconcilableMessage, _UnknownLicense_isAddon, _UnknownLicense_parentSubscriptionVendorReferenceId, _UnknownLicense_parentPartnerRef, _UnknownLicense_status, _UnknownLicense_group, _UnknownLicense_relations;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UnknownLicense = exports.UnknownLicenseFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
17
|
+
const relation_1 = require("./relation");
|
|
18
|
+
var UnknownLicenseFields;
|
|
19
|
+
(function (UnknownLicenseFields) {
|
|
20
|
+
UnknownLicenseFields["COLUMN_VENDOR_REFERENCE_ID"] = "vendorReferenceId";
|
|
21
|
+
UnknownLicenseFields["COLUMN_OFFER_NAME"] = "offerName";
|
|
22
|
+
UnknownLicenseFields["COLUMN_OFFER_SKU"] = "offerSku";
|
|
23
|
+
UnknownLicenseFields["COLUMN_PRICEBAND_ARROWSPHERE_SKU"] = "pricebandArrowsphereSku";
|
|
24
|
+
UnknownLicenseFields["COLUMN_QUANTITY"] = "quantity";
|
|
25
|
+
UnknownLicenseFields["COLUMN_SUBSCRIPTION_START_DATE"] = "subscriptionStartDate";
|
|
26
|
+
UnknownLicenseFields["COLUMN_FRIENDLY_NAME"] = "friendlyName";
|
|
27
|
+
UnknownLicenseFields["COLUMN_IS_RECONCILABLE"] = "isReconcilable";
|
|
28
|
+
UnknownLicenseFields["COLUMN_RECONCILABLE_MESSAGE"] = "reconcilableMessage";
|
|
29
|
+
UnknownLicenseFields["COLUMN_IS_ADDON"] = "isAddon";
|
|
30
|
+
UnknownLicenseFields["COLUMN_PARENT_SUBSCRIPTION_VENDOR_REFERENCE_ID"] = "parentSubscriptionVendorReferenceId";
|
|
31
|
+
UnknownLicenseFields["COLUMN_PARENT_PARTNER_REF"] = "parentPartnerRef";
|
|
32
|
+
UnknownLicenseFields["COLUMN_STATUS"] = "status";
|
|
33
|
+
UnknownLicenseFields["COLUMN_GROUP"] = "group";
|
|
34
|
+
UnknownLicenseFields["COLUMN_RELATIONS"] = "relations";
|
|
35
|
+
})(UnknownLicenseFields = exports.UnknownLicenseFields || (exports.UnknownLicenseFields = {}));
|
|
36
|
+
class UnknownLicense extends abstractEntity_1.AbstractEntity {
|
|
37
|
+
constructor(UnknownLicenseDataInput) {
|
|
38
|
+
var _a;
|
|
39
|
+
super(UnknownLicenseDataInput);
|
|
40
|
+
_UnknownLicense_vendorReferenceId.set(this, void 0);
|
|
41
|
+
_UnknownLicense_offerName.set(this, void 0);
|
|
42
|
+
_UnknownLicense_offerSku.set(this, void 0);
|
|
43
|
+
_UnknownLicense_pricebandArrowsphereSku.set(this, void 0);
|
|
44
|
+
_UnknownLicense_quantity.set(this, void 0);
|
|
45
|
+
_UnknownLicense_subscriptionStartDate.set(this, void 0);
|
|
46
|
+
_UnknownLicense_friendlyName.set(this, void 0);
|
|
47
|
+
_UnknownLicense_isReconcilable.set(this, void 0);
|
|
48
|
+
_UnknownLicense_reconcilableMessage.set(this, void 0);
|
|
49
|
+
_UnknownLicense_isAddon.set(this, void 0);
|
|
50
|
+
_UnknownLicense_parentSubscriptionVendorReferenceId.set(this, void 0);
|
|
51
|
+
_UnknownLicense_parentPartnerRef.set(this, void 0);
|
|
52
|
+
_UnknownLicense_status.set(this, void 0);
|
|
53
|
+
_UnknownLicense_group.set(this, void 0);
|
|
54
|
+
_UnknownLicense_relations.set(this, void 0);
|
|
55
|
+
__classPrivateFieldSet(this, _UnknownLicense_vendorReferenceId, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_VENDOR_REFERENCE_ID], "f");
|
|
56
|
+
__classPrivateFieldSet(this, _UnknownLicense_offerName, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_OFFER_NAME], "f");
|
|
57
|
+
__classPrivateFieldSet(this, _UnknownLicense_offerSku, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_OFFER_SKU], "f");
|
|
58
|
+
__classPrivateFieldSet(this, _UnknownLicense_pricebandArrowsphereSku, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU], "f");
|
|
59
|
+
__classPrivateFieldSet(this, _UnknownLicense_quantity, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_QUANTITY], "f");
|
|
60
|
+
__classPrivateFieldSet(this, _UnknownLicense_subscriptionStartDate, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_SUBSCRIPTION_START_DATE], "f");
|
|
61
|
+
__classPrivateFieldSet(this, _UnknownLicense_friendlyName, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_FRIENDLY_NAME], "f");
|
|
62
|
+
__classPrivateFieldSet(this, _UnknownLicense_isReconcilable, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_IS_RECONCILABLE], "f");
|
|
63
|
+
__classPrivateFieldSet(this, _UnknownLicense_reconcilableMessage, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_RECONCILABLE_MESSAGE], "f");
|
|
64
|
+
__classPrivateFieldSet(this, _UnknownLicense_isAddon, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_IS_ADDON], "f");
|
|
65
|
+
__classPrivateFieldSet(this, _UnknownLicense_parentSubscriptionVendorReferenceId, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_PARENT_SUBSCRIPTION_VENDOR_REFERENCE_ID], "f");
|
|
66
|
+
__classPrivateFieldSet(this, _UnknownLicense_parentPartnerRef, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_PARENT_PARTNER_REF], "f");
|
|
67
|
+
__classPrivateFieldSet(this, _UnknownLicense_status, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_STATUS], "f");
|
|
68
|
+
__classPrivateFieldSet(this, _UnknownLicense_group, UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_GROUP], "f");
|
|
69
|
+
__classPrivateFieldSet(this, _UnknownLicense_relations, ((_a = UnknownLicenseDataInput[UnknownLicenseFields.COLUMN_RELATIONS]) !== null && _a !== void 0 ? _a : []).map((result) => new relation_1.Relation(result)), "f");
|
|
70
|
+
}
|
|
71
|
+
get vendorReferenceId() {
|
|
72
|
+
return __classPrivateFieldGet(this, _UnknownLicense_vendorReferenceId, "f");
|
|
73
|
+
}
|
|
74
|
+
get offerName() {
|
|
75
|
+
return __classPrivateFieldGet(this, _UnknownLicense_offerName, "f");
|
|
76
|
+
}
|
|
77
|
+
get offerSku() {
|
|
78
|
+
return __classPrivateFieldGet(this, _UnknownLicense_offerSku, "f");
|
|
79
|
+
}
|
|
80
|
+
get pricebandArrowsphereSku() {
|
|
81
|
+
return __classPrivateFieldGet(this, _UnknownLicense_pricebandArrowsphereSku, "f");
|
|
82
|
+
}
|
|
83
|
+
get quantity() {
|
|
84
|
+
return __classPrivateFieldGet(this, _UnknownLicense_quantity, "f");
|
|
85
|
+
}
|
|
86
|
+
get subscriptionStartDate() {
|
|
87
|
+
return __classPrivateFieldGet(this, _UnknownLicense_subscriptionStartDate, "f");
|
|
88
|
+
}
|
|
89
|
+
get friendlyName() {
|
|
90
|
+
return __classPrivateFieldGet(this, _UnknownLicense_friendlyName, "f");
|
|
91
|
+
}
|
|
92
|
+
get isReconcilable() {
|
|
93
|
+
return __classPrivateFieldGet(this, _UnknownLicense_isReconcilable, "f");
|
|
94
|
+
}
|
|
95
|
+
get reconcilableMessage() {
|
|
96
|
+
return __classPrivateFieldGet(this, _UnknownLicense_reconcilableMessage, "f");
|
|
97
|
+
}
|
|
98
|
+
get isAddon() {
|
|
99
|
+
return __classPrivateFieldGet(this, _UnknownLicense_isAddon, "f");
|
|
100
|
+
}
|
|
101
|
+
get parentSubscriptionVendorReferenceId() {
|
|
102
|
+
return __classPrivateFieldGet(this, _UnknownLicense_parentSubscriptionVendorReferenceId, "f");
|
|
103
|
+
}
|
|
104
|
+
get parentPartnerRef() {
|
|
105
|
+
return __classPrivateFieldGet(this, _UnknownLicense_parentPartnerRef, "f");
|
|
106
|
+
}
|
|
107
|
+
get status() {
|
|
108
|
+
return __classPrivateFieldGet(this, _UnknownLicense_status, "f");
|
|
109
|
+
}
|
|
110
|
+
get group() {
|
|
111
|
+
return __classPrivateFieldGet(this, _UnknownLicense_group, "f");
|
|
112
|
+
}
|
|
113
|
+
get relations() {
|
|
114
|
+
return __classPrivateFieldGet(this, _UnknownLicense_relations, "f");
|
|
115
|
+
}
|
|
116
|
+
toJSON() {
|
|
117
|
+
return {
|
|
118
|
+
[UnknownLicenseFields.COLUMN_VENDOR_REFERENCE_ID]: this.vendorReferenceId,
|
|
119
|
+
[UnknownLicenseFields.COLUMN_OFFER_NAME]: this.offerName,
|
|
120
|
+
[UnknownLicenseFields.COLUMN_OFFER_SKU]: this.offerSku,
|
|
121
|
+
[UnknownLicenseFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU]: this
|
|
122
|
+
.pricebandArrowsphereSku,
|
|
123
|
+
[UnknownLicenseFields.COLUMN_QUANTITY]: this.quantity,
|
|
124
|
+
[UnknownLicenseFields.COLUMN_SUBSCRIPTION_START_DATE]: this
|
|
125
|
+
.subscriptionStartDate,
|
|
126
|
+
[UnknownLicenseFields.COLUMN_FRIENDLY_NAME]: this.friendlyName,
|
|
127
|
+
[UnknownLicenseFields.COLUMN_IS_RECONCILABLE]: this.isReconcilable,
|
|
128
|
+
[UnknownLicenseFields.COLUMN_RECONCILABLE_MESSAGE]: this
|
|
129
|
+
.reconcilableMessage,
|
|
130
|
+
[UnknownLicenseFields.COLUMN_IS_ADDON]: this.isAddon,
|
|
131
|
+
[UnknownLicenseFields.COLUMN_PARENT_SUBSCRIPTION_VENDOR_REFERENCE_ID]: this
|
|
132
|
+
.parentSubscriptionVendorReferenceId,
|
|
133
|
+
[UnknownLicenseFields.COLUMN_PARENT_PARTNER_REF]: this.parentPartnerRef,
|
|
134
|
+
[UnknownLicenseFields.COLUMN_STATUS]: this.status,
|
|
135
|
+
[UnknownLicenseFields.COLUMN_GROUP]: this.group,
|
|
136
|
+
[UnknownLicenseFields.COLUMN_RELATIONS]: this.relations.map((result) => result.toJSON()),
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.UnknownLicense = UnknownLicense;
|
|
141
|
+
_UnknownLicense_vendorReferenceId = new WeakMap(), _UnknownLicense_offerName = new WeakMap(), _UnknownLicense_offerSku = new WeakMap(), _UnknownLicense_pricebandArrowsphereSku = new WeakMap(), _UnknownLicense_quantity = new WeakMap(), _UnknownLicense_subscriptionStartDate = new WeakMap(), _UnknownLicense_friendlyName = new WeakMap(), _UnknownLicense_isReconcilable = new WeakMap(), _UnknownLicense_reconcilableMessage = new WeakMap(), _UnknownLicense_isAddon = new WeakMap(), _UnknownLicense_parentSubscriptionVendorReferenceId = new WeakMap(), _UnknownLicense_parentPartnerRef = new WeakMap(), _UnknownLicense_status = new WeakMap(), _UnknownLicense_group = new WeakMap(), _UnknownLicense_relations = new WeakMap();
|
|
142
|
+
//# sourceMappingURL=unknownLicense.js.map
|
|
@@ -6,5 +6,8 @@ export * from './entities/customers/customer';
|
|
|
6
6
|
export * from './entities/customers/details/details';
|
|
7
7
|
export * from './entities/dataCustomers';
|
|
8
8
|
export * from './entities/dataInvitation';
|
|
9
|
+
export * from './entities/dataUnknownLicenses';
|
|
9
10
|
export * from './entities/invitations/company/company';
|
|
10
11
|
export * from './entities/invitations/contact/invitationContact';
|
|
12
|
+
export * from './entities/unknownLicenses/relation';
|
|
13
|
+
export * from './entities/unknownLicenses/unknownLicense';
|
package/build/customers/index.js
CHANGED
|
@@ -22,6 +22,9 @@ __exportStar(require("./entities/customers/customer"), exports);
|
|
|
22
22
|
__exportStar(require("./entities/customers/details/details"), exports);
|
|
23
23
|
__exportStar(require("./entities/dataCustomers"), exports);
|
|
24
24
|
__exportStar(require("./entities/dataInvitation"), exports);
|
|
25
|
+
__exportStar(require("./entities/dataUnknownLicenses"), exports);
|
|
25
26
|
__exportStar(require("./entities/invitations/company/company"), exports);
|
|
26
27
|
__exportStar(require("./entities/invitations/contact/invitationContact"), exports);
|
|
28
|
+
__exportStar(require("./entities/unknownLicenses/relation"), exports);
|
|
29
|
+
__exportStar(require("./entities/unknownLicenses/unknownLicense"), exports);
|
|
27
30
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED