@arrowsphere/api-client 3.393.0 → 3.394.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,10 @@
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.394.0] - 2026.08.27
7
+ ### Added
8
+ - [licenses] Add `duplicateQuote` in quotesClient
9
+
6
10
  ## [3.393.0] - 2026.08.26
7
11
  ### Added
8
12
  - [licenses] Add `bundleUuid` and `bundleArrowSphereSku` fields to `LicenseGetResult`
@@ -16,6 +16,11 @@ export declare type RequestQuoteRequestType = {
16
16
  sku: string;
17
17
  vendor: string;
18
18
  };
19
+ export declare type DuplicateQuoteType = {
20
+ customer?: {
21
+ reference: string;
22
+ };
23
+ };
19
24
  export declare type RequestQuoteIbmRequestType = {
20
25
  endCustomerRef?: string;
21
26
  reference?: string;
@@ -63,6 +68,7 @@ export declare class QuotesClient extends AbstractRestfulClient {
63
68
  requestQuote(postData: RequestQuoteRequestType, parameters?: Parameters): Promise<GetResult<QuoteRequest>>;
64
69
  requestQuoteForVendor(vendor: string, postData: RequestQuoteIbmRequestType, parameters?: Parameters): Promise<void>;
65
70
  deleteQuote(quoteReference: string, parameters?: Parameters): Promise<void>;
71
+ duplicateQuote(quoteReference: string, versionId: number, postData?: DuplicateQuoteType): Promise<GetResult<PutQuoteResult>>;
66
72
  validateQuote(quoteReference: string, parameters?: Parameters): Promise<GetResult<PutQuoteResult>>;
67
73
  reopenQuote(quoteReference: string, parameters?: Parameters): Promise<GetResult<PutQuoteResult>>;
68
74
  sendToCustomer(quoteReference: string, parameters?: Parameters): Promise<void>;
@@ -23,6 +23,10 @@ class QuotesClient extends abstractRestfulClient_1.AbstractRestfulClient {
23
23
  this.path = `/${quoteReference}`;
24
24
  return await this.delete(parameters);
25
25
  }
26
+ async duplicateQuote(quoteReference, versionId, postData = {}) {
27
+ this.path = `/${quoteReference}/version/${versionId}/duplicate`;
28
+ return new getResult_1.GetResult(PutQuoteResult_1.PutQuoteResult, await this.post(postData));
29
+ }
26
30
  async validateQuote(quoteReference, parameters = {}) {
27
31
  this.path = `/${quoteReference}/validate`;
28
32
  return new getResult_1.GetResult(PutQuoteResult_1.PutQuoteResult, await this.get(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.393.0",
7
+ "version": "3.394.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",