@arrowsphere/api-client 3.202.0 → 3.203.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,11 @@
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.203.0] - 2025.07.02
7
+
8
+ ### Added
9
+ - [orderSoftware] Add endpoint to delete software order
10
+
6
11
  ## [3.202.0] - 2025.07.02
7
12
 
8
13
  ### Added
@@ -1,4 +1,4 @@
1
- import { AbstractRestfulClient } from '../abstractRestfulClient';
1
+ import { AbstractRestfulClient, Parameters } from '../abstractRestfulClient';
2
2
  import { GetResult } from '../getResult';
3
3
  import { DataListOrdersSoftware } from './entities/dataListOrderSoftware';
4
4
  export declare class OrderSoftwareClient extends AbstractRestfulClient {
@@ -8,4 +8,5 @@ export declare class OrderSoftwareClient extends AbstractRestfulClient {
8
8
  protected basePath: string;
9
9
  getOrdersList(dateBegin?: string): Promise<GetResult<DataListOrdersSoftware>>;
10
10
  getOrder(orderReference: string): Promise<GetResult<DataListOrdersSoftware>>;
11
+ deleteOrder(orderReference: string, parameters?: Parameters): Promise<void>;
11
12
  }
@@ -20,6 +20,10 @@ class OrderSoftwareClient extends abstractRestfulClient_1.AbstractRestfulClient
20
20
  this.path = `/${orderReference}`;
21
21
  return new getResult_1.GetResult(dataListOrderSoftware_1.DataListOrdersSoftware, await this.get());
22
22
  }
23
+ async deleteOrder(orderReference, parameters = {}) {
24
+ this.path = `/${orderReference}`;
25
+ return await this.delete(parameters);
26
+ }
23
27
  }
24
28
  exports.OrderSoftwareClient = OrderSoftwareClient;
25
29
  //# sourceMappingURL=orderSoftwareClient.js.map
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.202.0",
7
+ "version": "3.203.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",