@arrowsphere/api-client 3.77.0-rc.bdj.4 → 3.77.0-rc.bdj.6
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.
|
@@ -201,19 +201,13 @@ export declare type PostUpgrade = {
|
|
|
201
201
|
term: number;
|
|
202
202
|
quantity: number;
|
|
203
203
|
};
|
|
204
|
-
export declare enum
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
COLUMN_TABLE_NAME = "tableName",
|
|
208
|
-
COLUMN_VALUE = "value"
|
|
204
|
+
export declare enum SaveBillingCommentsInputFields {
|
|
205
|
+
COLUMN_COMMENT_ONE = "comment1",
|
|
206
|
+
COLUMN_COMMENT_TWO = "comment2"
|
|
209
207
|
}
|
|
210
|
-
export declare type
|
|
211
|
-
[
|
|
212
|
-
[
|
|
213
|
-
[SaveOrderEavsInputFields.COLUMN_VALUE]: string | null;
|
|
214
|
-
};
|
|
215
|
-
export declare type SaveOrderEavsInputType = {
|
|
216
|
-
[SaveOrderEavsInputFields.COLUMN_EAVS]: OrderEavsInputType[];
|
|
208
|
+
export declare type SaveBillingCommentsInputType = {
|
|
209
|
+
[SaveBillingCommentsInputFields.COLUMN_COMMENT_ONE]?: string | null;
|
|
210
|
+
[SaveBillingCommentsInputFields.COLUMN_COMMENT_TWO]?: string | null;
|
|
217
211
|
};
|
|
218
212
|
export declare class LicensesClient extends AbstractRestfulClient {
|
|
219
213
|
/**
|
|
@@ -267,7 +261,7 @@ export declare class LicensesClient extends AbstractRestfulClient {
|
|
|
267
261
|
/**
|
|
268
262
|
* The path to save the license order eavs
|
|
269
263
|
*/
|
|
270
|
-
private
|
|
264
|
+
private SAVE_BILLING_COMMENTS_PATH;
|
|
271
265
|
/**
|
|
272
266
|
* The path of license all available skus
|
|
273
267
|
*/
|
|
@@ -316,7 +310,7 @@ export declare class LicensesClient extends AbstractRestfulClient {
|
|
|
316
310
|
reactivateAutoRenew(licenseReference: string, payload?: PutReactivateAutoRenew, parameters?: Parameters): Promise<void>;
|
|
317
311
|
upgrade(licenseReference: string, payload: PostUpgrade, parameters?: Parameters): Promise<GetResult<UpgradeResult>>;
|
|
318
312
|
upgradeToExisting(licenseReference: string, targetLicenseReference: string, quantity: number, parameters?: Parameters): Promise<void>;
|
|
319
|
-
|
|
313
|
+
saveBillingComments(licenseReference: string, payload: SaveBillingCommentsInputType, parameters?: Parameters): Promise<void>;
|
|
320
314
|
getConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
|
|
321
315
|
getExistingConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
|
|
322
316
|
getCredentials(licenseReference: string, parameters?: Parameters): Promise<GetResult<CredentialsResult>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LicensesClient = exports.
|
|
3
|
+
exports.LicensesClient = exports.SaveBillingCommentsInputFields = exports.LicenseFindParameters = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Class LicensesClient
|
|
6
6
|
*/
|
|
@@ -112,13 +112,11 @@ var LicenseFindParameters;
|
|
|
112
112
|
*/
|
|
113
113
|
LicenseFindParameters["FILTERS_LTE"] = "lte";
|
|
114
114
|
})(LicenseFindParameters = exports.LicenseFindParameters || (exports.LicenseFindParameters = {}));
|
|
115
|
-
var
|
|
116
|
-
(function (
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
SaveOrderEavsInputFields["COLUMN_VALUE"] = "value";
|
|
121
|
-
})(SaveOrderEavsInputFields = exports.SaveOrderEavsInputFields || (exports.SaveOrderEavsInputFields = {}));
|
|
115
|
+
var SaveBillingCommentsInputFields;
|
|
116
|
+
(function (SaveBillingCommentsInputFields) {
|
|
117
|
+
SaveBillingCommentsInputFields["COLUMN_COMMENT_ONE"] = "comment1";
|
|
118
|
+
SaveBillingCommentsInputFields["COLUMN_COMMENT_TWO"] = "comment2";
|
|
119
|
+
})(SaveBillingCommentsInputFields = exports.SaveBillingCommentsInputFields || (exports.SaveBillingCommentsInputFields = {}));
|
|
122
120
|
class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
123
121
|
constructor() {
|
|
124
122
|
super(...arguments);
|
|
@@ -173,7 +171,7 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
173
171
|
/**
|
|
174
172
|
* The path to save the license order eavs
|
|
175
173
|
*/
|
|
176
|
-
this.
|
|
174
|
+
this.SAVE_BILLING_COMMENTS_PATH = '/billingComments';
|
|
177
175
|
/**
|
|
178
176
|
* The path of license all available skus
|
|
179
177
|
*/
|
|
@@ -315,9 +313,9 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
315
313
|
this.path = `/${licenseReference}${this.UPGRADE_PATH}/${targetLicenseReference}`;
|
|
316
314
|
await this.post({ quantity }, parameters);
|
|
317
315
|
}
|
|
318
|
-
async
|
|
319
|
-
this.path = `/${licenseReference}${this.
|
|
320
|
-
await this.post(
|
|
316
|
+
async saveBillingComments(licenseReference, payload, parameters = {}) {
|
|
317
|
+
this.path = `/${licenseReference}${this.SAVE_BILLING_COMMENTS_PATH}`;
|
|
318
|
+
await this.post(payload, parameters);
|
|
321
319
|
}
|
|
322
320
|
async getConversionSku(licenseReference, parameters = {}) {
|
|
323
321
|
this.path = `/${licenseReference}${this.GET_LICENSE_CONVERSION_SKU}`;
|
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.77.0-rc.bdj.
|
|
7
|
+
"version": "3.77.0-rc.bdj.6",
|
|
8
8
|
"description": "Node.js client for ArrowSphere's public API",
|
|
9
9
|
"main": "build/index.js",
|
|
10
10
|
"types": "build/index.d.ts",
|