@arrowsphere/api-client 3.146.0 → 3.148.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 CHANGED
@@ -3,6 +3,16 @@
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.148.0] - 2024.10.10
7
+
8
+ ### Added
9
+ - [quotes] add vendorRateType and vendorUplift
10
+
11
+ ## [3.147.0] - 2024.010.09
12
+
13
+ ### Added
14
+ - [quotes] add endpoints to reopen a quote
15
+
6
16
  ## [3.146.0] - 2024.10.08
7
17
 
8
18
  ### Added
@@ -69,6 +69,8 @@ export declare type ItemData = {
69
69
  billingCycle?: number;
70
70
  arrowRateValue?: number;
71
71
  partnerRateValue?: number;
72
+ vendorRateType?: string;
73
+ vendorUplift?: number;
72
74
  arrowSpherePriceBandSku?: string;
73
75
  licenseAgreementType?: string;
74
76
  classification?: string;
@@ -65,6 +65,7 @@ export declare class QuotesClient extends AbstractRestfulClient {
65
65
  requestQuoteForVendor(vendor: string, postData: RequestQuoteIbmRequestType, parameters?: Parameters): Promise<void>;
66
66
  deleteQuote(quoteReference: string, parameters?: Parameters): Promise<void>;
67
67
  validateQuote(quoteReference: string, parameters?: Parameters): Promise<GetResult<PutQuoteResult>>;
68
+ reopenQuote(quoteReference: string, parameters?: Parameters): Promise<GetResult<PutQuoteResult>>;
68
69
  createQuote(postData: CreateQuoteRequestType, parameters?: Parameters): Promise<GetResult<PutQuoteResult>>;
69
70
  publishQuote(quoteReference: string, postData: PublishQuoteRequestType, parameters?: Parameters): Promise<GetResult<PutQuoteResult>>;
70
71
  addCommentToQuote(quoteReference: string, postData: CreateCommentType, parameters?: Parameters): Promise<GetResult<QuoteComments>>;
@@ -27,6 +27,10 @@ class QuotesClient extends abstractRestfulClient_1.AbstractRestfulClient {
27
27
  this.path = `/${quoteReference}/validate`;
28
28
  return new getResult_1.GetResult(PutQuoteResult_1.PutQuoteResult, await this.get(parameters));
29
29
  }
30
+ async reopenQuote(quoteReference, parameters = {}) {
31
+ this.path = `/${quoteReference}/reopen`;
32
+ return new getResult_1.GetResult(PutQuoteResult_1.PutQuoteResult, await this.get(parameters));
33
+ }
30
34
  async createQuote(postData, parameters = {}) {
31
35
  this.path = '';
32
36
  return new getResult_1.GetResult(PutQuoteResult_1.PutQuoteResult, await this.post(postData, parameters));
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.146.0",
7
+ "version": "3.148.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",