@arrowsphere/api-client 3.248.0 → 3.249.0-rc-cpe-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,17 @@
|
|
|
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.249.0] - 2026.03.04
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- [License] Add ExtraInformationType in upgrade/upgradeToExisting payloads
|
|
11
|
+
|
|
12
|
+
## [3.248.1] - 2026.02.26
|
|
13
|
+
|
|
14
|
+
### Updated
|
|
15
|
+
- [Contact] Fix type of the get and patch contact endpoint payload
|
|
16
|
+
|
|
6
17
|
## [3.248.0] - 2026.02.26
|
|
7
18
|
|
|
8
19
|
### Added
|
|
@@ -36,8 +36,8 @@ export declare class ContactClient extends AbstractRestfulClient {
|
|
|
36
36
|
protected basePath: string;
|
|
37
37
|
createContact(postData: ContactRequestType, parameters?: Parameters): Promise<GetResult<ContactCreate>>;
|
|
38
38
|
listContact(perPage?: number, page?: number, parameters?: Parameters): Promise<GetResult<ContactList>>;
|
|
39
|
-
getContact(
|
|
40
|
-
updateContact(
|
|
39
|
+
getContact(contactId: number, parameters?: Parameters): Promise<GetResult<Contact>>;
|
|
40
|
+
updateContact(contactId: number, patchData: ContactRequestType, parameters?: Parameters): Promise<GetResult<Contact>>;
|
|
41
41
|
lockContact(contactId: number, parameters?: Parameters): Promise<void>;
|
|
42
42
|
unlockContact(contactId: number, parameters?: Parameters): Promise<void>;
|
|
43
43
|
disableMfaContact(contactId: number, parameters?: Parameters): Promise<void>;
|
|
@@ -37,12 +37,12 @@ class ContactClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
37
37
|
this.setPage(page);
|
|
38
38
|
return new getResult_1.GetResult(contactList_1.ContactList, await this.get(parameters));
|
|
39
39
|
}
|
|
40
|
-
async getContact(
|
|
41
|
-
this.path = `/${
|
|
40
|
+
async getContact(contactId, parameters = {}) {
|
|
41
|
+
this.path = `/${contactId}`;
|
|
42
42
|
return new getResult_1.GetResult(contact_1.Contact, await this.get(parameters));
|
|
43
43
|
}
|
|
44
|
-
async updateContact(
|
|
45
|
-
this.path = `/${
|
|
44
|
+
async updateContact(contactId, patchData, parameters = {}) {
|
|
45
|
+
this.path = `/${contactId}`;
|
|
46
46
|
return new getResult_1.GetResult(contact_1.Contact, await this.patch(patchData, parameters));
|
|
47
47
|
}
|
|
48
48
|
async lockContact(contactId, parameters = {}) {
|
|
@@ -245,7 +245,10 @@ export declare type PostUpgrade = {
|
|
|
245
245
|
billingCycle: number;
|
|
246
246
|
term: number;
|
|
247
247
|
quantity: number;
|
|
248
|
-
};
|
|
248
|
+
} & ExtraInformationType;
|
|
249
|
+
export declare type PostUpgradeToExisting = {
|
|
250
|
+
quantity: number;
|
|
251
|
+
} & ExtraInformationType;
|
|
249
252
|
export declare enum SaveBillingCommentsInputFields {
|
|
250
253
|
COLUMN_COMMENT_ONE = "comment1",
|
|
251
254
|
COLUMN_COMMENT_TWO = "comment2"
|
|
@@ -434,7 +437,7 @@ export declare class LicensesClient extends AbstractRestfulClient {
|
|
|
434
437
|
reactivateAutoRenew(licenseReference: string, payload?: PutReactivateAutoRenew, parameters?: Parameters): Promise<void>;
|
|
435
438
|
activeRenewExtendedServiceTerm(licenseReference: string, payload?: PutActivateRenewEst, parameters?: Parameters): Promise<void>;
|
|
436
439
|
upgrade(licenseReference: string, payload: PostUpgrade, parameters?: Parameters): Promise<GetResult<UpgradeResult>>;
|
|
437
|
-
upgradeToExisting(licenseReference: string, targetLicenseReference: string,
|
|
440
|
+
upgradeToExisting(licenseReference: string, targetLicenseReference: string, payload: PostUpgradeToExisting, parameters?: Parameters): Promise<void>;
|
|
438
441
|
saveBillingComments(licenseReference: string, payload: SaveBillingCommentsInputType, parameters?: Parameters): Promise<void>;
|
|
439
442
|
getConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
|
|
440
443
|
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, payload, parameters = {}) {
|
|
464
464
|
this.path = `/${licenseReference}${this.UPGRADE_PATH}/${targetLicenseReference}`;
|
|
465
|
-
await this.post(
|
|
465
|
+
await this.post(payload, parameters);
|
|
466
466
|
}
|
|
467
467
|
async saveBillingComments(licenseReference, payload, parameters = {}) {
|
|
468
468
|
this.path = `/${licenseReference}${this.SAVE_BILLING_COMMENTS_PATH}`;
|
package/package.json
CHANGED