@arrowsphere/api-client 3.90.0-rc.bdj.1 → 3.90.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/graphqlApi/index.d.ts +0 -1
- package/build/graphqlApi/index.js +0 -1
- package/build/graphqlApi/types/entities/company.d.ts +0 -2
- package/build/graphqlApi/types/entities/program.d.ts +0 -18
- package/build/graphqlApi/types/graphqlApiQueries.d.ts +0 -8
- package/build/graphqlApi/types/graphqlApiQueries.js +0 -2
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +0 -9
- package/build/licenses/entities/getLicense/licenseGetResult.d.ts +6 -0
- package/build/licenses/entities/getLicense/licenseGetResult.js +16 -2
- package/build/licenses/licensesClient.d.ts +7 -3
- package/build/licenses/licensesClient.js +0 -5
- package/build/licenses/types/bulkArguments.d.ts +5 -0
- package/build/licenses/types/bulkArguments.js +7 -1
- package/package.json +1 -1
- package/build/graphqlApi/types/entities/vendor.d.ts +0 -10
- package/build/graphqlApi/types/entities/vendor.js +0 -3
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.90.0] - 2024.01.11
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- [License] source marketplace and vendorSku during GET License
|
|
10
|
+
|
|
6
11
|
## [3.89.0] - 2024.01.11
|
|
7
12
|
|
|
8
13
|
### Added
|
|
@@ -7,6 +7,5 @@ export * from './types/entities/order';
|
|
|
7
7
|
export * from './types/entities/partnertag';
|
|
8
8
|
export * from './types/entities/subscription';
|
|
9
9
|
export * from './types/entities/specialPriceRate';
|
|
10
|
-
export * from './types/entities/vendor';
|
|
11
10
|
export * from './types/entities/workgroup';
|
|
12
11
|
export * from './graphqlApiClient';
|
|
@@ -23,7 +23,6 @@ __exportStar(require("./types/entities/order"), exports);
|
|
|
23
23
|
__exportStar(require("./types/entities/partnertag"), exports);
|
|
24
24
|
__exportStar(require("./types/entities/subscription"), exports);
|
|
25
25
|
__exportStar(require("./types/entities/specialPriceRate"), exports);
|
|
26
|
-
__exportStar(require("./types/entities/vendor"), exports);
|
|
27
26
|
__exportStar(require("./types/entities/workgroup"), exports);
|
|
28
27
|
__exportStar(require("./graphqlApiClient"), exports);
|
|
29
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { ContactsType } from './contact';
|
|
|
2
2
|
import { CountryType } from './country';
|
|
3
3
|
import { OrdersType } from './order';
|
|
4
4
|
import { PartnertagType } from './partnertag';
|
|
5
|
-
import { SubscribedProgramType } from './program';
|
|
6
5
|
import { SubscriptionType } from './subscription';
|
|
7
6
|
import { WorkgroupType } from './workgroup';
|
|
8
7
|
export declare type CompanyTypeType = {
|
|
@@ -59,7 +58,6 @@ export declare type PartnerType = BaseCompanyType & {
|
|
|
59
58
|
ordersCount?: CountableType;
|
|
60
59
|
ordersNeedCount?: CountableType;
|
|
61
60
|
reportsCount?: CountableType;
|
|
62
|
-
subscribedPrograms?: SubscribedProgramType[];
|
|
63
61
|
subscriptions?: SubscriptionType[];
|
|
64
62
|
subscriptionsCount?: CountableType;
|
|
65
63
|
subscriptionsPendingCount?: CountableType;
|
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
import { PartnerType } from './company';
|
|
2
|
-
import { SubscriptionType } from './subscription';
|
|
3
|
-
import { VendorsType } from './vendor';
|
|
4
1
|
export declare type ProgramType = {
|
|
5
2
|
id?: number;
|
|
6
3
|
internalName?: string;
|
|
7
4
|
name?: string;
|
|
8
|
-
vendor?: VendorsType;
|
|
9
|
-
};
|
|
10
|
-
export declare type SubscribedProgramType = {
|
|
11
|
-
id?: number;
|
|
12
|
-
availabilityEndedAt?: string;
|
|
13
|
-
availabilityStartedAt?: string;
|
|
14
|
-
companyId?: number;
|
|
15
|
-
internalName?: string;
|
|
16
|
-
subscriptionEndedAt?: string;
|
|
17
|
-
partner?: PartnerType;
|
|
18
|
-
program?: ProgramType;
|
|
19
|
-
subscription?: SubscriptionType;
|
|
20
|
-
vendor?: VendorsType;
|
|
21
|
-
vendorCode?: string;
|
|
22
|
-
vendorName?: string;
|
|
23
5
|
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ArrowCompanyType, EndCustomerType, PartnerType } from './entities/company';
|
|
2
2
|
import { ContinentType, CountryType } from './entities/country';
|
|
3
3
|
import { PartnertagType } from './entities/partnertag';
|
|
4
|
-
import { SubscribedProgramType } from './entities/program';
|
|
5
4
|
import { SubscriptionType } from './entities/subscription';
|
|
6
|
-
import { VendorsType } from './entities/vendor';
|
|
7
5
|
import { WorkgroupType } from './entities/workgroup';
|
|
8
6
|
import { ErrorsSchema, PageSchema, SelectAllResponseDataSchema, SelectOneResponseDataSchema } from './graphqlApiSchemas';
|
|
9
7
|
/**
|
|
@@ -116,9 +114,7 @@ export declare enum SelectDataField {
|
|
|
116
114
|
END_CUSTOMER = "endCustomer",
|
|
117
115
|
PARTNER = "partner",
|
|
118
116
|
PARTNERTAG = "partnertag",
|
|
119
|
-
SUBSCRIBED_PROGRAM = "subscribedProgram",
|
|
120
117
|
SUBSCRIPTION = "subscription",
|
|
121
|
-
VENDOR = "vendor",
|
|
122
118
|
WORKGROUP = "workgroup"
|
|
123
119
|
}
|
|
124
120
|
export declare type SelectAllResultType = {
|
|
@@ -135,9 +131,7 @@ export declare type SelectAllResponseDataType = {
|
|
|
135
131
|
[SelectDataField.END_CUSTOMER]?: EndCustomerType[];
|
|
136
132
|
[SelectDataField.PARTNER]?: PartnerType[];
|
|
137
133
|
[SelectDataField.PARTNERTAG]?: PartnertagType[];
|
|
138
|
-
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType[];
|
|
139
134
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType[];
|
|
140
|
-
[SelectDataField.VENDOR]?: VendorsType[];
|
|
141
135
|
[SelectDataField.WORKGROUP]?: WorkgroupType[];
|
|
142
136
|
};
|
|
143
137
|
export declare enum ErrorsField {
|
|
@@ -180,9 +174,7 @@ export declare type SelectOneResponseDataType = {
|
|
|
180
174
|
[SelectDataField.END_CUSTOMER]?: EndCustomerType;
|
|
181
175
|
[SelectDataField.PARTNER]?: PartnerType;
|
|
182
176
|
[SelectDataField.PARTNERTAG]?: PartnertagType;
|
|
183
|
-
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType;
|
|
184
177
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType;
|
|
185
|
-
[SelectDataField.VENDOR]?: VendorsType;
|
|
186
178
|
[SelectDataField.WORKGROUP]?: WorkgroupType;
|
|
187
179
|
};
|
|
188
180
|
export declare enum QueryVariablesField {
|
|
@@ -96,9 +96,7 @@ var SelectDataField;
|
|
|
96
96
|
SelectDataField["END_CUSTOMER"] = "endCustomer";
|
|
97
97
|
SelectDataField["PARTNER"] = "partner";
|
|
98
98
|
SelectDataField["PARTNERTAG"] = "partnertag";
|
|
99
|
-
SelectDataField["SUBSCRIBED_PROGRAM"] = "subscribedProgram";
|
|
100
99
|
SelectDataField["SUBSCRIPTION"] = "subscription";
|
|
101
|
-
SelectDataField["VENDOR"] = "vendor";
|
|
102
100
|
SelectDataField["WORKGROUP"] = "workgroup";
|
|
103
101
|
})(SelectDataField = exports.SelectDataField || (exports.SelectDataField = {}));
|
|
104
102
|
var ErrorsField;
|
|
@@ -9,15 +9,12 @@ import { ProgramType } from '../../catalog';
|
|
|
9
9
|
import { SubscriptionType } from './entities/subscription';
|
|
10
10
|
import { SpecialPriceRateType } from './entities/specialPriceRate';
|
|
11
11
|
import { OrderItemsType, OrdersType } from './entities/order';
|
|
12
|
-
import { VendorsType } from './entities/vendor';
|
|
13
|
-
import { SubscribedProgramType } from './entities/program';
|
|
14
12
|
export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
|
|
15
13
|
declare type MissingFieldsOfCompanySchema = {
|
|
16
14
|
contacts?: ContactsSchema;
|
|
17
15
|
extraInformations?: CompanyExtraInformationSchema;
|
|
18
16
|
orders?: OrdersSchema;
|
|
19
17
|
partnerTags?: PartnertagSchema;
|
|
20
|
-
subscribedPrograms?: SubscribedProgramSchema;
|
|
21
18
|
subscriptions?: SubscriptionSchema;
|
|
22
19
|
};
|
|
23
20
|
declare type MissingFieldsOfArrowCompanySchema = {
|
|
@@ -51,9 +48,7 @@ export declare type ErrorsSchema = Schema<ErrorsType, boolean>;
|
|
|
51
48
|
export declare type PageSchema = Schema<PageType, boolean>;
|
|
52
49
|
export declare type ProgramSchema = Schema<ProgramType, boolean>;
|
|
53
50
|
export declare type SpecialPriceRateSchema = Schema<SpecialPriceRateType, boolean>;
|
|
54
|
-
export declare type SubscribedProgramSchema = Schema<SubscribedProgramType, boolean>;
|
|
55
51
|
export declare type SubscriptionSchema = Schema<SubscriptionType, boolean>;
|
|
56
|
-
export declare type VendorSchema = Schema<VendorsType, boolean>;
|
|
57
52
|
export declare type WorkgroupSchema = Schema<WorkgroupType, boolean>;
|
|
58
53
|
export declare type SelectAllResultSchema = {
|
|
59
54
|
[SelectableField.DATA]?: SelectAllResponseDataSchema;
|
|
@@ -67,9 +62,7 @@ export declare type SelectAllResponseDataSchema = {
|
|
|
67
62
|
[SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
|
|
68
63
|
[SelectDataField.PARTNER]?: PartnerSchema;
|
|
69
64
|
[SelectDataField.PARTNERTAG]?: PartnertagSchema;
|
|
70
|
-
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
|
|
71
65
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
|
|
72
|
-
[SelectDataField.VENDOR]?: VendorSchema;
|
|
73
66
|
[SelectDataField.WORKGROUP]?: WorkgroupSchema;
|
|
74
67
|
};
|
|
75
68
|
export declare type SelectOneResultSchema = {
|
|
@@ -83,9 +76,7 @@ export declare type SelectOneResponseDataSchema = {
|
|
|
83
76
|
[SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
|
|
84
77
|
[SelectDataField.PARTNER]?: PartnerSchema;
|
|
85
78
|
[SelectDataField.PARTNERTAG]?: PartnertagSchema;
|
|
86
|
-
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
|
|
87
79
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
|
|
88
|
-
[SelectDataField.VENDOR]?: VendorSchema;
|
|
89
80
|
[SelectDataField.WORKGROUP]?: WorkgroupSchema;
|
|
90
81
|
};
|
|
91
82
|
export declare type SelectAllQuerySchema = {
|
|
@@ -28,6 +28,7 @@ export declare enum LicenseGetFields {
|
|
|
28
28
|
COLUMN_ACTIVATION_DATETIME = "activation_datetime",
|
|
29
29
|
COLUMN_EXPIRY_DATETIME = "expiry_datetime",
|
|
30
30
|
COLUMN_AUTO_RENEW = "autoRenew",
|
|
31
|
+
COLUMN_MARKETPLACE = "marketplace",
|
|
31
32
|
COLUMN_MESSAGE = "message",
|
|
32
33
|
COLUMN_ACTIONS = "actions",
|
|
33
34
|
COLUMN_ACTION_MESSAGES = "actionMessages",
|
|
@@ -51,6 +52,7 @@ export declare enum LicenseGetFields {
|
|
|
51
52
|
COLUMN_EXTRA_DATA = "extraData",
|
|
52
53
|
COLUMN_PRICE_BAND = "priceBand",
|
|
53
54
|
COLUMN_VENDOR_CODE = "vendorCode",
|
|
55
|
+
COLUMN_VENDOR_SKU = "vendorSku",
|
|
54
56
|
COLUMN_RATES = "rates",
|
|
55
57
|
COLUMN_ORGANIZATION_UNIT_ID = "organizationUnitId",
|
|
56
58
|
COLUMN_RELATION = "relation",
|
|
@@ -74,6 +76,7 @@ export declare type LicenseGetData = {
|
|
|
74
76
|
[LicenseGetFields.COLUMN_ACTIVATION_DATETIME]: string | null;
|
|
75
77
|
[LicenseGetFields.COLUMN_EXPIRY_DATETIME]: string | null;
|
|
76
78
|
[LicenseGetFields.COLUMN_AUTO_RENEW]?: boolean;
|
|
79
|
+
[LicenseGetFields.COLUMN_MARKETPLACE]: string;
|
|
77
80
|
[LicenseGetFields.COLUMN_MESSAGE]: string;
|
|
78
81
|
[LicenseGetFields.COLUMN_ACTIONS]?: ActionsGetData;
|
|
79
82
|
[LicenseGetFields.COLUMN_ACTION_MESSAGES]?: Array<ActionMessagesGetResultData>;
|
|
@@ -96,6 +99,7 @@ export declare type LicenseGetData = {
|
|
|
96
99
|
[LicenseGetFields.COLUMN_EXTRA_DATA]?: ExtraDataType[];
|
|
97
100
|
[LicenseGetFields.COLUMN_PRICE_BAND]?: PriceBandData;
|
|
98
101
|
[LicenseGetFields.COLUMN_VENDOR_CODE]?: string;
|
|
102
|
+
[LicenseGetFields.COLUMN_VENDOR_SKU]?: string;
|
|
99
103
|
[LicenseGetFields.COLUMN_RATES]?: RatesGetData;
|
|
100
104
|
[LicenseGetFields.COLUMN_ORGANIZATION_UNIT_ID]?: number;
|
|
101
105
|
[LicenseGetFields.COLUMN_RELATION]?: RelationGetData[];
|
|
@@ -121,6 +125,7 @@ export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
|
|
|
121
125
|
get activationDatetime(): string | null;
|
|
122
126
|
get expiryDatetime(): string | null;
|
|
123
127
|
get autoRenew(): boolean | undefined;
|
|
128
|
+
get marketplace(): string;
|
|
124
129
|
get message(): string;
|
|
125
130
|
get actions(): ActionsGetResult | undefined;
|
|
126
131
|
get actionMessages(): Array<ActionMessagesGetResult> | undefined;
|
|
@@ -143,6 +148,7 @@ export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
|
|
|
143
148
|
get extraData(): ExtraDataResult[] | undefined;
|
|
144
149
|
get priceBand(): PriceBandGetResult | undefined;
|
|
145
150
|
get vendorCode(): string | undefined;
|
|
151
|
+
get vendorSku(): string | undefined;
|
|
146
152
|
get rates(): RatesGetResult | undefined;
|
|
147
153
|
get organizationUnitId(): number | undefined;
|
|
148
154
|
get relation(): RelationGetResult[] | undefined;
|
|
@@ -10,7 +10,7 @@ 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 _LicenseGetResult_license_id, _LicenseGetResult_parent_license_id, _LicenseGetResult_friendlyName, _LicenseGetResult_customer_ref, _LicenseGetResult_state, _LicenseGetResult_statusCode, _LicenseGetResult_isTrial, _LicenseGetResult_isAddon, _LicenseGetResult_service_ref, _LicenseGetResult_sku, _LicenseGetResult_name, _LicenseGetResult_seats, _LicenseGetResult_activeSeats, _LicenseGetResult_security, _LicenseGetResult_activation_datetime, _LicenseGetResult_expiry_datetime, _LicenseGetResult_autoRenew, _LicenseGetResult_message, _LicenseGetResult_actions, _LicenseGetResult_actionMessages, _LicenseGetResult_order_reference, _LicenseGetResult_order, _LicenseGetResult_vendor_license_id, _LicenseGetResult_periodicity, _LicenseGetResult_periodicityCode, _LicenseGetResult_term, _LicenseGetResult_termCode, _LicenseGetResult_category, _LicenseGetResult_program, _LicenseGetResult_associatedSubscriptionProgram, _LicenseGetResult_price, _LicenseGetResult_arrowSubCategories, _LicenseGetResult_nextRenewalDate, _LicenseGetResult_promotion, _LicenseGetResult_assets, _LicenseGetResult_vendorBillingId, _LicenseGetResult_extraData, _LicenseGetResult_priceBand, _LicenseGetResult_vendorCode, _LicenseGetResult_rates, _LicenseGetResult_organizationUnitId, _LicenseGetResult_relation, _LicenseGetResult_marketSegment;
|
|
13
|
+
var _LicenseGetResult_license_id, _LicenseGetResult_parent_license_id, _LicenseGetResult_friendlyName, _LicenseGetResult_customer_ref, _LicenseGetResult_state, _LicenseGetResult_statusCode, _LicenseGetResult_isTrial, _LicenseGetResult_isAddon, _LicenseGetResult_service_ref, _LicenseGetResult_sku, _LicenseGetResult_name, _LicenseGetResult_seats, _LicenseGetResult_activeSeats, _LicenseGetResult_security, _LicenseGetResult_activation_datetime, _LicenseGetResult_expiry_datetime, _LicenseGetResult_autoRenew, _LicenseGetResult_marketplace, _LicenseGetResult_message, _LicenseGetResult_actions, _LicenseGetResult_actionMessages, _LicenseGetResult_order_reference, _LicenseGetResult_order, _LicenseGetResult_vendor_license_id, _LicenseGetResult_periodicity, _LicenseGetResult_periodicityCode, _LicenseGetResult_term, _LicenseGetResult_termCode, _LicenseGetResult_category, _LicenseGetResult_program, _LicenseGetResult_associatedSubscriptionProgram, _LicenseGetResult_price, _LicenseGetResult_arrowSubCategories, _LicenseGetResult_nextRenewalDate, _LicenseGetResult_promotion, _LicenseGetResult_assets, _LicenseGetResult_vendorBillingId, _LicenseGetResult_extraData, _LicenseGetResult_priceBand, _LicenseGetResult_vendorCode, _LicenseGetResult_vendorSku, _LicenseGetResult_rates, _LicenseGetResult_organizationUnitId, _LicenseGetResult_relation, _LicenseGetResult_marketSegment;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.LicenseGetResult = exports.LicenseGetFields = void 0;
|
|
16
16
|
const actionsGetResult_1 = require("./actionsGetResult");
|
|
@@ -44,6 +44,7 @@ var LicenseGetFields;
|
|
|
44
44
|
LicenseGetFields["COLUMN_ACTIVATION_DATETIME"] = "activation_datetime";
|
|
45
45
|
LicenseGetFields["COLUMN_EXPIRY_DATETIME"] = "expiry_datetime";
|
|
46
46
|
LicenseGetFields["COLUMN_AUTO_RENEW"] = "autoRenew";
|
|
47
|
+
LicenseGetFields["COLUMN_MARKETPLACE"] = "marketplace";
|
|
47
48
|
LicenseGetFields["COLUMN_MESSAGE"] = "message";
|
|
48
49
|
LicenseGetFields["COLUMN_ACTIONS"] = "actions";
|
|
49
50
|
LicenseGetFields["COLUMN_ACTION_MESSAGES"] = "actionMessages";
|
|
@@ -67,6 +68,7 @@ var LicenseGetFields;
|
|
|
67
68
|
LicenseGetFields["COLUMN_EXTRA_DATA"] = "extraData";
|
|
68
69
|
LicenseGetFields["COLUMN_PRICE_BAND"] = "priceBand";
|
|
69
70
|
LicenseGetFields["COLUMN_VENDOR_CODE"] = "vendorCode";
|
|
71
|
+
LicenseGetFields["COLUMN_VENDOR_SKU"] = "vendorSku";
|
|
70
72
|
LicenseGetFields["COLUMN_RATES"] = "rates";
|
|
71
73
|
LicenseGetFields["COLUMN_ORGANIZATION_UNIT_ID"] = "organizationUnitId";
|
|
72
74
|
LicenseGetFields["COLUMN_RELATION"] = "relation";
|
|
@@ -93,6 +95,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
93
95
|
_LicenseGetResult_activation_datetime.set(this, void 0);
|
|
94
96
|
_LicenseGetResult_expiry_datetime.set(this, void 0);
|
|
95
97
|
_LicenseGetResult_autoRenew.set(this, void 0);
|
|
98
|
+
_LicenseGetResult_marketplace.set(this, void 0);
|
|
96
99
|
_LicenseGetResult_message.set(this, void 0);
|
|
97
100
|
_LicenseGetResult_actions.set(this, void 0);
|
|
98
101
|
_LicenseGetResult_actionMessages.set(this, void 0);
|
|
@@ -115,6 +118,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
115
118
|
_LicenseGetResult_extraData.set(this, void 0);
|
|
116
119
|
_LicenseGetResult_priceBand.set(this, void 0);
|
|
117
120
|
_LicenseGetResult_vendorCode.set(this, void 0);
|
|
121
|
+
_LicenseGetResult_vendorSku.set(this, void 0);
|
|
118
122
|
_LicenseGetResult_rates.set(this, void 0);
|
|
119
123
|
_LicenseGetResult_organizationUnitId.set(this, void 0);
|
|
120
124
|
_LicenseGetResult_relation.set(this, void 0);
|
|
@@ -138,6 +142,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
138
142
|
__classPrivateFieldSet(this, _LicenseGetResult_activation_datetime, licenseGetDataInput[LicenseGetFields.COLUMN_ACTIVATION_DATETIME], "f");
|
|
139
143
|
__classPrivateFieldSet(this, _LicenseGetResult_expiry_datetime, licenseGetDataInput[LicenseGetFields.COLUMN_EXPIRY_DATETIME], "f");
|
|
140
144
|
__classPrivateFieldSet(this, _LicenseGetResult_autoRenew, licenseGetDataInput[LicenseGetFields.COLUMN_AUTO_RENEW], "f");
|
|
145
|
+
__classPrivateFieldSet(this, _LicenseGetResult_marketplace, licenseGetDataInput[LicenseGetFields.COLUMN_MARKETPLACE], "f");
|
|
141
146
|
__classPrivateFieldSet(this, _LicenseGetResult_message, licenseGetDataInput[LicenseGetFields.COLUMN_MESSAGE], "f");
|
|
142
147
|
__classPrivateFieldSet(this, _LicenseGetResult_actions, licenseGetDataInput[LicenseGetFields.COLUMN_ACTIONS]
|
|
143
148
|
? new actionsGetResult_1.ActionsGetResult(licenseGetDataInput[LicenseGetFields.COLUMN_ACTIONS])
|
|
@@ -168,6 +173,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
168
173
|
? new priceBandGetResult_1.PriceBandGetResult(licenseGetDataInput[LicenseGetFields.COLUMN_PRICE_BAND])
|
|
169
174
|
: undefined, "f");
|
|
170
175
|
__classPrivateFieldSet(this, _LicenseGetResult_vendorCode, licenseGetDataInput[LicenseGetFields.COLUMN_VENDOR_CODE], "f");
|
|
176
|
+
__classPrivateFieldSet(this, _LicenseGetResult_vendorSku, licenseGetDataInput[LicenseGetFields.COLUMN_VENDOR_SKU], "f");
|
|
171
177
|
__classPrivateFieldSet(this, _LicenseGetResult_rates, licenseGetDataInput[LicenseGetFields.COLUMN_RATES]
|
|
172
178
|
? new ratesGetResult_1.RatesGetResult(licenseGetDataInput[LicenseGetFields.COLUMN_RATES])
|
|
173
179
|
: undefined, "f");
|
|
@@ -228,6 +234,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
228
234
|
get autoRenew() {
|
|
229
235
|
return __classPrivateFieldGet(this, _LicenseGetResult_autoRenew, "f");
|
|
230
236
|
}
|
|
237
|
+
get marketplace() {
|
|
238
|
+
return __classPrivateFieldGet(this, _LicenseGetResult_marketplace, "f");
|
|
239
|
+
}
|
|
231
240
|
get message() {
|
|
232
241
|
return __classPrivateFieldGet(this, _LicenseGetResult_message, "f");
|
|
233
242
|
}
|
|
@@ -294,6 +303,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
294
303
|
get vendorCode() {
|
|
295
304
|
return __classPrivateFieldGet(this, _LicenseGetResult_vendorCode, "f");
|
|
296
305
|
}
|
|
306
|
+
get vendorSku() {
|
|
307
|
+
return __classPrivateFieldGet(this, _LicenseGetResult_vendorSku, "f");
|
|
308
|
+
}
|
|
297
309
|
get rates() {
|
|
298
310
|
return __classPrivateFieldGet(this, _LicenseGetResult_rates, "f");
|
|
299
311
|
}
|
|
@@ -326,6 +338,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
326
338
|
[LicenseGetFields.COLUMN_ACTIVATION_DATETIME]: this.activationDatetime,
|
|
327
339
|
[LicenseGetFields.COLUMN_EXPIRY_DATETIME]: this.expiryDatetime,
|
|
328
340
|
[LicenseGetFields.COLUMN_AUTO_RENEW]: this.autoRenew,
|
|
341
|
+
[LicenseGetFields.COLUMN_MARKETPLACE]: __classPrivateFieldGet(this, _LicenseGetResult_marketplace, "f"),
|
|
329
342
|
[LicenseGetFields.COLUMN_MESSAGE]: this.message,
|
|
330
343
|
[LicenseGetFields.COLUMN_ACTIONS]: (_b = this.actions) === null || _b === void 0 ? void 0 : _b.toJSON(),
|
|
331
344
|
[LicenseGetFields.COLUMN_ACTION_MESSAGES]: (_c = this.actionMessages) === null || _c === void 0 ? void 0 : _c.map((result) => result.toJSON()),
|
|
@@ -349,6 +362,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
349
362
|
[LicenseGetFields.COLUMN_EXTRA_DATA]: (_f = this.extraData) === null || _f === void 0 ? void 0 : _f.map((e) => e.toJSON()),
|
|
350
363
|
[LicenseGetFields.COLUMN_PRICE_BAND]: (_g = this.priceBand) === null || _g === void 0 ? void 0 : _g.toJSON(),
|
|
351
364
|
[LicenseGetFields.COLUMN_VENDOR_CODE]: this.vendorCode,
|
|
365
|
+
[LicenseGetFields.COLUMN_VENDOR_SKU]: this.vendorSku,
|
|
352
366
|
[LicenseGetFields.COLUMN_RATES]: (_h = this.rates) === null || _h === void 0 ? void 0 : _h.toJSON(),
|
|
353
367
|
[LicenseGetFields.COLUMN_ORGANIZATION_UNIT_ID]: this.organizationUnitId,
|
|
354
368
|
[LicenseGetFields.COLUMN_RELATION]: (_j = this.relation) === null || _j === void 0 ? void 0 : _j.map((v) => v.toJSON()),
|
|
@@ -357,5 +371,5 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
357
371
|
}
|
|
358
372
|
}
|
|
359
373
|
exports.LicenseGetResult = LicenseGetResult;
|
|
360
|
-
_LicenseGetResult_license_id = new WeakMap(), _LicenseGetResult_parent_license_id = new WeakMap(), _LicenseGetResult_friendlyName = new WeakMap(), _LicenseGetResult_customer_ref = new WeakMap(), _LicenseGetResult_state = new WeakMap(), _LicenseGetResult_statusCode = new WeakMap(), _LicenseGetResult_isTrial = new WeakMap(), _LicenseGetResult_isAddon = new WeakMap(), _LicenseGetResult_service_ref = new WeakMap(), _LicenseGetResult_sku = new WeakMap(), _LicenseGetResult_name = new WeakMap(), _LicenseGetResult_seats = new WeakMap(), _LicenseGetResult_activeSeats = new WeakMap(), _LicenseGetResult_security = new WeakMap(), _LicenseGetResult_activation_datetime = new WeakMap(), _LicenseGetResult_expiry_datetime = new WeakMap(), _LicenseGetResult_autoRenew = new WeakMap(), _LicenseGetResult_message = new WeakMap(), _LicenseGetResult_actions = new WeakMap(), _LicenseGetResult_actionMessages = new WeakMap(), _LicenseGetResult_order_reference = new WeakMap(), _LicenseGetResult_order = new WeakMap(), _LicenseGetResult_vendor_license_id = new WeakMap(), _LicenseGetResult_periodicity = new WeakMap(), _LicenseGetResult_periodicityCode = new WeakMap(), _LicenseGetResult_term = new WeakMap(), _LicenseGetResult_termCode = new WeakMap(), _LicenseGetResult_category = new WeakMap(), _LicenseGetResult_program = new WeakMap(), _LicenseGetResult_associatedSubscriptionProgram = new WeakMap(), _LicenseGetResult_price = new WeakMap(), _LicenseGetResult_arrowSubCategories = new WeakMap(), _LicenseGetResult_nextRenewalDate = new WeakMap(), _LicenseGetResult_promotion = new WeakMap(), _LicenseGetResult_assets = new WeakMap(), _LicenseGetResult_vendorBillingId = new WeakMap(), _LicenseGetResult_extraData = new WeakMap(), _LicenseGetResult_priceBand = new WeakMap(), _LicenseGetResult_vendorCode = new WeakMap(), _LicenseGetResult_rates = new WeakMap(), _LicenseGetResult_organizationUnitId = new WeakMap(), _LicenseGetResult_relation = new WeakMap(), _LicenseGetResult_marketSegment = new WeakMap();
|
|
374
|
+
_LicenseGetResult_license_id = new WeakMap(), _LicenseGetResult_parent_license_id = new WeakMap(), _LicenseGetResult_friendlyName = new WeakMap(), _LicenseGetResult_customer_ref = new WeakMap(), _LicenseGetResult_state = new WeakMap(), _LicenseGetResult_statusCode = new WeakMap(), _LicenseGetResult_isTrial = new WeakMap(), _LicenseGetResult_isAddon = new WeakMap(), _LicenseGetResult_service_ref = new WeakMap(), _LicenseGetResult_sku = new WeakMap(), _LicenseGetResult_name = new WeakMap(), _LicenseGetResult_seats = new WeakMap(), _LicenseGetResult_activeSeats = new WeakMap(), _LicenseGetResult_security = new WeakMap(), _LicenseGetResult_activation_datetime = new WeakMap(), _LicenseGetResult_expiry_datetime = new WeakMap(), _LicenseGetResult_autoRenew = new WeakMap(), _LicenseGetResult_marketplace = new WeakMap(), _LicenseGetResult_message = new WeakMap(), _LicenseGetResult_actions = new WeakMap(), _LicenseGetResult_actionMessages = new WeakMap(), _LicenseGetResult_order_reference = new WeakMap(), _LicenseGetResult_order = new WeakMap(), _LicenseGetResult_vendor_license_id = new WeakMap(), _LicenseGetResult_periodicity = new WeakMap(), _LicenseGetResult_periodicityCode = new WeakMap(), _LicenseGetResult_term = new WeakMap(), _LicenseGetResult_termCode = new WeakMap(), _LicenseGetResult_category = new WeakMap(), _LicenseGetResult_program = new WeakMap(), _LicenseGetResult_associatedSubscriptionProgram = new WeakMap(), _LicenseGetResult_price = new WeakMap(), _LicenseGetResult_arrowSubCategories = new WeakMap(), _LicenseGetResult_nextRenewalDate = new WeakMap(), _LicenseGetResult_promotion = new WeakMap(), _LicenseGetResult_assets = new WeakMap(), _LicenseGetResult_vendorBillingId = new WeakMap(), _LicenseGetResult_extraData = new WeakMap(), _LicenseGetResult_priceBand = new WeakMap(), _LicenseGetResult_vendorCode = new WeakMap(), _LicenseGetResult_vendorSku = new WeakMap(), _LicenseGetResult_rates = new WeakMap(), _LicenseGetResult_organizationUnitId = new WeakMap(), _LicenseGetResult_relation = new WeakMap(), _LicenseGetResult_marketSegment = new WeakMap();
|
|
361
375
|
//# sourceMappingURL=licenseGetResult.js.map
|
|
@@ -20,9 +20,9 @@ import { UpgradeResult } from './entities/license/upgradeResult';
|
|
|
20
20
|
import { LicenseConversionSkuResult } from './entities/license/licenseConversionSkuResult';
|
|
21
21
|
import { CredentialsResult } from './entities/license/credentialsResult';
|
|
22
22
|
import { ScheduleTasksResult } from './entities/schedule/scheduleTasksResult';
|
|
23
|
-
import {
|
|
23
|
+
import { CompanyTypeEnum, RateTypeEnum } from './entities/pricingRate/getPricingRateResult';
|
|
24
24
|
import { PartialResponse } from '../partialResponse';
|
|
25
|
-
import { BulkBodyArgument } from './types/bulkArguments';
|
|
25
|
+
import { BulkBodyArgument, SpecialPriceRateActive } from './types/bulkArguments';
|
|
26
26
|
/**
|
|
27
27
|
* Parameters passable to the request for refining search.
|
|
28
28
|
*/
|
|
@@ -229,6 +229,11 @@ export declare type LicensePricingRate = {
|
|
|
229
229
|
rateValue: number;
|
|
230
230
|
applyOnNextBillingPeriod: boolean;
|
|
231
231
|
};
|
|
232
|
+
export declare type GetLicensePricingRate = {
|
|
233
|
+
orderItemId: number;
|
|
234
|
+
companyType: CompanyTypeEnum;
|
|
235
|
+
activeTime: SpecialPriceRateActive;
|
|
236
|
+
};
|
|
232
237
|
export declare class LicensesClient extends AbstractRestfulClient {
|
|
233
238
|
/**
|
|
234
239
|
* The base path of the API
|
|
@@ -348,7 +353,6 @@ export declare class LicensesClient extends AbstractRestfulClient {
|
|
|
348
353
|
getConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
|
|
349
354
|
getExistingConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
|
|
350
355
|
getCredentials(licenseReference: string, parameters?: Parameters): Promise<GetResult<CredentialsResult>>;
|
|
351
|
-
getPricingRate(licenseReference: string, parameters?: Parameters): Promise<GetResult<GetPricingRateResult>>;
|
|
352
356
|
setPricingRate(licenseReference: string, payload: LicensePricingRate, parameters?: Parameters): Promise<void>;
|
|
353
357
|
scheduleTasks(licenseReference: string, payload: ScheduleTasks, parameters?: Parameters): Promise<GetResult<ScheduleTasksResult>>;
|
|
354
358
|
private createFilters;
|
|
@@ -15,7 +15,6 @@ const upgradeResult_1 = require("./entities/license/upgradeResult");
|
|
|
15
15
|
const licenseConversionSkuResult_1 = require("./entities/license/licenseConversionSkuResult");
|
|
16
16
|
const credentialsResult_1 = require("./entities/license/credentialsResult");
|
|
17
17
|
const scheduleTasksResult_1 = require("./entities/schedule/scheduleTasksResult");
|
|
18
|
-
const getPricingRateResult_1 = require("./entities/pricingRate/getPricingRateResult");
|
|
19
18
|
const partialResponse_1 = require("../partialResponse");
|
|
20
19
|
const http2_1 = require("http2");
|
|
21
20
|
const bulkArguments_1 = require("./types/bulkArguments");
|
|
@@ -391,10 +390,6 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
391
390
|
this.path = `/${licenseReference}${this.GET_LICENSE_CREDENTIALS}`;
|
|
392
391
|
return new getResult_1.GetResult(credentialsResult_1.CredentialsResult, await this.get(parameters));
|
|
393
392
|
}
|
|
394
|
-
async getPricingRate(licenseReference, parameters = {}) {
|
|
395
|
-
this.path = `/${licenseReference}${this.PRICING_RATE_PATH}`;
|
|
396
|
-
return new getResult_1.GetResult(getPricingRateResult_1.GetPricingRateResult, await this.get(parameters));
|
|
397
|
-
}
|
|
398
393
|
async setPricingRate(licenseReference, payload, parameters = {}) {
|
|
399
394
|
this.path = `/${licenseReference}${this.PRICING_RATE_PATH}`;
|
|
400
395
|
return await this.post(payload, parameters);
|
|
@@ -23,6 +23,11 @@ export declare enum BulkBodyFields {
|
|
|
23
23
|
SPECIAL_PRICE_RATE_VALUE = "specialPriceRateValue",
|
|
24
24
|
SPECIAL_RATE_EFFECTIVE_APPLICATION_DATE = "specialRateEffectiveApplicationDate"
|
|
25
25
|
}
|
|
26
|
+
export declare enum SpecialPriceRateActive {
|
|
27
|
+
ACTIVE_CURRENTLY = 1,
|
|
28
|
+
ACTIVE_LATER = 2,
|
|
29
|
+
ACTIVE_PERIOD = 3
|
|
30
|
+
}
|
|
26
31
|
export declare type BulkBodyArgument = {
|
|
27
32
|
[BulkBodyFields.ACTION_TYPE]: ActionTypes;
|
|
28
33
|
[BulkBodyFields.LICENSES]: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BulkBodyFields = exports.SpecialRateEffectiveApplicationDate = exports.SpecialPriceRateTypes = exports.AutoRenewStatuses = exports.ActionTypes = void 0;
|
|
3
|
+
exports.SpecialPriceRateActive = exports.BulkBodyFields = exports.SpecialRateEffectiveApplicationDate = exports.SpecialPriceRateTypes = exports.AutoRenewStatuses = exports.ActionTypes = void 0;
|
|
4
4
|
var ActionTypes;
|
|
5
5
|
(function (ActionTypes) {
|
|
6
6
|
ActionTypes["SET_RATE"] = "setRate";
|
|
@@ -30,4 +30,10 @@ var BulkBodyFields;
|
|
|
30
30
|
BulkBodyFields["SPECIAL_PRICE_RATE_VALUE"] = "specialPriceRateValue";
|
|
31
31
|
BulkBodyFields["SPECIAL_RATE_EFFECTIVE_APPLICATION_DATE"] = "specialRateEffectiveApplicationDate";
|
|
32
32
|
})(BulkBodyFields = exports.BulkBodyFields || (exports.BulkBodyFields = {}));
|
|
33
|
+
var SpecialPriceRateActive;
|
|
34
|
+
(function (SpecialPriceRateActive) {
|
|
35
|
+
SpecialPriceRateActive[SpecialPriceRateActive["ACTIVE_CURRENTLY"] = 1] = "ACTIVE_CURRENTLY";
|
|
36
|
+
SpecialPriceRateActive[SpecialPriceRateActive["ACTIVE_LATER"] = 2] = "ACTIVE_LATER";
|
|
37
|
+
SpecialPriceRateActive[SpecialPriceRateActive["ACTIVE_PERIOD"] = 3] = "ACTIVE_PERIOD";
|
|
38
|
+
})(SpecialPriceRateActive = exports.SpecialPriceRateActive || (exports.SpecialPriceRateActive = {}));
|
|
33
39
|
//# sourceMappingURL=bulkArguments.js.map
|
package/package.json
CHANGED