@arrowsphere/api-client 3.350.0-rc-cpe-1 → 3.352.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,36 @@
|
|
|
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.352.1] - 2026.03.17
|
|
7
|
+
|
|
8
|
+
### Updated
|
|
9
|
+
- Updated the method of deployment to use npm publish
|
|
10
|
+
|
|
11
|
+
## [3.352.0] - 2026.03.17
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- [Partner] Add endpoint to generate GDAP links
|
|
15
|
+
|
|
16
|
+
## [3.351.0] - 2026.03.11
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
- Add script to check version consistency between package.json
|
|
20
|
+
|
|
21
|
+
## [3.350.0] - 2026.03.10
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
- Fix version package
|
|
25
|
+
|
|
26
|
+
## [3.249.2] - 2026.03.09
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
- Fix version package
|
|
30
|
+
|
|
31
|
+
## [3.249.1] - 2026.03.09
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
- [Partner] Fix Unit test
|
|
35
|
+
|
|
6
36
|
## [3.249.0] - 2026.03.05
|
|
7
37
|
|
|
8
38
|
### Added
|
|
@@ -10,12 +40,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
10
40
|
|
|
11
41
|
## [3.248.2] - 2026.03.04
|
|
12
42
|
|
|
13
|
-
###
|
|
43
|
+
### Fixed
|
|
14
44
|
- [Cart] Fix type of the add and update cart endpoint payload
|
|
15
45
|
|
|
16
46
|
## [3.248.1] - 2026.02.26
|
|
17
47
|
|
|
18
|
-
###
|
|
48
|
+
### Fixed
|
|
19
49
|
- [Contact] Fix type of the get and patch contact endpoint payload
|
|
20
50
|
|
|
21
51
|
## [3.248.0] - 2026.02.26
|
|
@@ -245,10 +245,7 @@ export declare type PostUpgrade = {
|
|
|
245
245
|
billingCycle: number;
|
|
246
246
|
term: number;
|
|
247
247
|
quantity: number;
|
|
248
|
-
}
|
|
249
|
-
export declare type PostUpgradeToExisting = {
|
|
250
|
-
quantity: number;
|
|
251
|
-
} & ExtraInformationType;
|
|
248
|
+
};
|
|
252
249
|
export declare enum SaveBillingCommentsInputFields {
|
|
253
250
|
COLUMN_COMMENT_ONE = "comment1",
|
|
254
251
|
COLUMN_COMMENT_TWO = "comment2"
|
|
@@ -437,7 +434,7 @@ export declare class LicensesClient extends AbstractRestfulClient {
|
|
|
437
434
|
reactivateAutoRenew(licenseReference: string, payload?: PutReactivateAutoRenew, parameters?: Parameters): Promise<void>;
|
|
438
435
|
activeRenewExtendedServiceTerm(licenseReference: string, payload?: PutActivateRenewEst, parameters?: Parameters): Promise<void>;
|
|
439
436
|
upgrade(licenseReference: string, payload: PostUpgrade, parameters?: Parameters): Promise<GetResult<UpgradeResult>>;
|
|
440
|
-
upgradeToExisting(licenseReference: string, targetLicenseReference: string,
|
|
437
|
+
upgradeToExisting(licenseReference: string, targetLicenseReference: string, quantity: number, parameters?: Parameters): Promise<void>;
|
|
441
438
|
saveBillingComments(licenseReference: string, payload: SaveBillingCommentsInputType, parameters?: Parameters): Promise<void>;
|
|
442
439
|
getConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
|
|
443
440
|
getExistingConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
|
|
@@ -460,9 +460,9 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
460
460
|
this.path = `/${licenseReference}${this.UPGRADE_PATH}`;
|
|
461
461
|
return new getResult_1.GetResult(upgradeResult_1.UpgradeResult, await this.post(payload, parameters));
|
|
462
462
|
}
|
|
463
|
-
async upgradeToExisting(licenseReference, targetLicenseReference,
|
|
463
|
+
async upgradeToExisting(licenseReference, targetLicenseReference, quantity, parameters = {}) {
|
|
464
464
|
this.path = `/${licenseReference}${this.UPGRADE_PATH}/${targetLicenseReference}`;
|
|
465
|
-
await this.post(
|
|
465
|
+
await this.post({ quantity }, parameters);
|
|
466
466
|
}
|
|
467
467
|
async saveBillingComments(licenseReference, payload, parameters = {}) {
|
|
468
468
|
this.path = `/${licenseReference}${this.SAVE_BILLING_COMMENTS_PATH}`;
|
|
@@ -71,6 +71,9 @@ export declare enum GetUserApiKeysFiltersFields {
|
|
|
71
71
|
COLUMN_CREATION_DATE = "creationDate",
|
|
72
72
|
COLUMN_LAST_ACCESS = "lastAccess"
|
|
73
73
|
}
|
|
74
|
+
export declare enum PostAttachmentFields {
|
|
75
|
+
COLUMN_FILE_ENCODED = "fileEncoded"
|
|
76
|
+
}
|
|
74
77
|
export declare type PatchUserPayload = {
|
|
75
78
|
[PatchUserPayloadFields.COLUMN_FIRSTNAME]?: string;
|
|
76
79
|
[PatchUserPayloadFields.COLUMN_LASTNAME]?: string;
|
|
@@ -132,6 +135,9 @@ export declare type GetUserApiKeysFilters = {
|
|
|
132
135
|
[GetUserApiKeysFiltersFields.COLUMN_CREATION_DATE]?: string;
|
|
133
136
|
[GetUserApiKeysFiltersFields.COLUMN_LAST_ACCESS]?: string;
|
|
134
137
|
};
|
|
138
|
+
export declare type CustomerListPayload = {
|
|
139
|
+
[PostAttachmentFields.COLUMN_FILE_ENCODED]: string;
|
|
140
|
+
};
|
|
135
141
|
export declare class PartnerClient extends AbstractRestfulClient {
|
|
136
142
|
protected basePath: string;
|
|
137
143
|
deletePartner(partnerReference: string, parameters?: Parameters): Promise<void>;
|
|
@@ -154,4 +160,5 @@ export declare class PartnerClient extends AbstractRestfulClient {
|
|
|
154
160
|
getCustomFieldList(parameters?: Parameters): Promise<GetResult<CustomFieldListResponse>>;
|
|
155
161
|
patchCustomField(customFieldId: number, isActive: boolean): Promise<GetResult<CustomFieldResponse>>;
|
|
156
162
|
deleteCustomField(customFieldId: number, parameters?: Parameters): Promise<void>;
|
|
163
|
+
generateGdapLinksFromCustomerListFile(payload: CustomerListPayload): Promise<void>;
|
|
157
164
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PartnerClient = exports.GetUserApiKeysFiltersFields = exports.PartnerCompanyPayloadFields = exports.PartnerAddressFields = exports.PartnerContactPayloadFields = exports.PartnerUserPayloadFields = exports.PartnerFields = exports.PatchUserPayloadFields = void 0;
|
|
3
|
+
exports.PartnerClient = exports.PostAttachmentFields = exports.GetUserApiKeysFiltersFields = exports.PartnerCompanyPayloadFields = exports.PartnerAddressFields = exports.PartnerContactPayloadFields = exports.PartnerUserPayloadFields = exports.PartnerFields = exports.PatchUserPayloadFields = void 0;
|
|
4
4
|
const abstractRestfulClient_1 = require("../abstractRestfulClient");
|
|
5
5
|
const createUserApiKeyResult_1 = require("./types/createUserApiKeyResult");
|
|
6
6
|
const getResult_1 = require("../getResult");
|
|
@@ -79,6 +79,10 @@ var GetUserApiKeysFiltersFields;
|
|
|
79
79
|
GetUserApiKeysFiltersFields["COLUMN_CREATION_DATE"] = "creationDate";
|
|
80
80
|
GetUserApiKeysFiltersFields["COLUMN_LAST_ACCESS"] = "lastAccess";
|
|
81
81
|
})(GetUserApiKeysFiltersFields = exports.GetUserApiKeysFiltersFields || (exports.GetUserApiKeysFiltersFields = {}));
|
|
82
|
+
var PostAttachmentFields;
|
|
83
|
+
(function (PostAttachmentFields) {
|
|
84
|
+
PostAttachmentFields["COLUMN_FILE_ENCODED"] = "fileEncoded";
|
|
85
|
+
})(PostAttachmentFields = exports.PostAttachmentFields || (exports.PostAttachmentFields = {}));
|
|
82
86
|
class PartnerClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
83
87
|
constructor() {
|
|
84
88
|
super(...arguments);
|
|
@@ -163,6 +167,10 @@ class PartnerClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
163
167
|
this.path = `/customField/${customFieldId}`;
|
|
164
168
|
return this.delete(parameters);
|
|
165
169
|
}
|
|
170
|
+
async generateGdapLinksFromCustomerListFile(payload) {
|
|
171
|
+
this.path = `/generateGdap`;
|
|
172
|
+
return await this.post(payload);
|
|
173
|
+
}
|
|
166
174
|
}
|
|
167
175
|
exports.PartnerClient = PartnerClient;
|
|
168
176
|
//# sourceMappingURL=partnerClient.js.map
|
package/package.json
CHANGED